Thread View: news.software.readers
3 messages
3 total messages
Started by Byrial Jensen
Wed, 13 Aug 1997 00:00
slrn: patch for new wrapping behaviour
Author: Byrial Jensen
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
39 lines
2030 bytes
2030 bytes
A few days ago J.E.D. posted here a patch (See <URL:news:slrn5uk8oa.b5b.davis@aluche.mit.edu> (to the wishlist: slrn ought to understand such news URLs) in the thread "[SLRN] problem with reject_long_lines") to allow slrn to wrap Path and Newsgoup headerlines at the '!'-signs respectively the commas. I have worked this patch into my existing wrap patch which you can get at <URL:http://home3.inet.tele.dk/byrial/slrn/wrap.patch>. My patch now have these effects: 1) The continuation of a wrapped line will now always begin with exactly one space independently of the amount of whitespace at the breakpoint. 2) Any trailing whitespace in a line can not anymore cause the line to wrap. 3) A new wrap flag has been made. Adding 8 to the value of wrap_flags now means that words longer than the line length will be split to avoid too long lines. The default is never to split a word. 4) The slrn function wrap_article can now take a prefix argument. A value of 0 will unwrap the current article (nothing happens if it isn't wrapped). Other values will wrap or rewrap the current article with the value used as wrap_flags. 5) After a window resize articles will now only be (re)wrapped if the flag for automatic wrapping is set in wrap_flags (value 4). 6) Path and Newsgroup headerlines can be wrapped just *after* a '!' respectively ','. (It was just *before* in JED's patch). Best regards - Byrial
Re: slrn: patch for new wrapping behaviour
Author: Sven Guckes
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
19 lines
1214 bytes
1214 bytes
byrial@post3.tele.dk (Byrial Jensen): > ... <URL:news:slrn5uk8oa.b5b.davis@aluche.mit.edu> > (to the wishlist: slrn ought to understand such news URLs) Added to the wishlist! > <URL:http://home3.inet.tele.dk/byrial/slrn/wrap.patch>. > My patch now have these effects: [...] Good! :-) JED - will you include any of these features with slrn? > 2) Any trailing whitespace in a line can not anymore cause the line to wrap. "trailing whitespace" - how is this defined? [\s\t]*$ ? Sven
Re: slrn: patch for new wrapping behaviour
Author: Byrial Jensen
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
23 lines
1254 bytes
1254 bytes
I wrote: >I have worked this patch into my existing wrap patch which you can get >at <URL:http://home3.inet.tele.dk/byrial/slrn/wrap.patch>. > >My patch now have these effects: > >2) Any trailing whitespace in a line can not anymore cause the line to >wrap. Answer to Sven Guckes: By trailing whitespace I mean any sequence of spaces and tabs at the end of a line. >6) Path and Newsgroup headerlines can be wrapped just *after* a '!' >respectively ','. (It was just *before* in JED's patch). The newest version will also try to break Followup-To headerlines after commas. Best regards - Byrial
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads