On Nov 26, 2015 5:11 AM, "Stephan Beal" <sgb...@googlemail.com> wrote: > > On Thu, Nov 26, 2015 at 1:47 PM, Abilio Marques <abili...@gmail.com> wrote: >>> >>> >>> ... >>> >>> i believe fossil should always display (in CLI mode) exactly what was input, without any sort of reformatting.) >> >> >> But actually that's not the case. Fossil doesn't show at least newlines (making a long comment a huge blob). >> > > > My phrasing was unfortunately ambiguous. You're correct: fossil does reformat. My intended meaning was, "if i had my way, fossil would not do that." (But i believe i'm in the minority on that opinion. ;)
I *think* git reads first content to newline for display of short synopsis by default, and will print the long form by demanding it. *I* think that would be ideal. Example: "Fixes [cafebabe] formatting error for timeline. Shows by default (keep this short). This is the long form, and not displayed by default in listing (CLI or web). Here we describe the challenges and steps, maybe appropriate hints for this, etc. Examples or code samples would be appropriate here." So, for the default short display, it *could* conceivably be fine to format for width (by wrapping), since it's not multi-line anyway - you're not breaking user-provided multi-line formatting here because we're only dealing w one line. -bch >> >> Yeah, I tried the css trick >> early yesterday >> , but then I learned the hard way that span items can't take many properties as a >> block element can >> , so I wasn't able to get any hide and show when hover trick to work >> . That's why I ended up doing it in javascript, so it shows only the title, and when you hover with the mouse, it shows the rest (see the example at >> http://abiliojr.homenet.org:20003/cleantimeline/timeline) > > > A SPAN is not a block element, but perhaps we should consider making the comment lines DIVs instead (since DIVs are block elements)? > > Another option: you can convert a timelineComment span to a block element with CSS: > > span.timelineComment { > display: block > } > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users