Re: user_prefs: mind the linebreak
This is bug 5442, btw. On Mon, 2008-02-18 at 23:54 -0500, Daryl C. W. O'Shea wrote: For what? The only config lines that I can think of that are really long are for rules. We're certainly not going to go sticking backslashes in the middle of regexes. Not necessarily in the middle of REs, but what about before them? describe __MY_VERY_OWN_RULE I dont forget my own rule, do I header __MY_VERY_OWN_RULE X-Spam-Relays-Untrusted =~ m,(long)? re, There's plenty of whitespace and opportunity to support basic line continuation between the tokens. header __MY_VERY_OWN_RULE X-Spam-Relays-Untrusted =~ \ m,this long re won't wrap even with old school terminals, Also, meta rules tend to get really long, and it would make a difference if one can fold them. FWIW, I'd appreciate this, too. :) guenther -- char *t=[EMAIL PROTECTED]; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1: (c=*++x); c128 (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
Re: user_prefs: mind the linebreak
MK Why would there ever be a problem fitting on one line? Lines aren't MK limited to 80 characters or anything silly like that.. MK That sounds a bit like complaining that a ship must fit in the water.. MK There's a whole ocean out there, so who cares if you can't put one MK boat in 2 rain puddles.. Call me old fashioned, but I still want to be able to keep lines to a length I prefer. Yes I imagine your world probably looks like editing a Wikipedia article with its long lines, but in mine, emacs: toggle-truncate-lines is an interactive compiled Lisp function in `simple.el'. Toggle whether to fold or truncate long lines for the current buffer. With arg, truncate long lines iff arg is positive. Both are uncomfortable with long lines. Also how do you print long lines on a line printer? Never mind. Anyway, maybe http://en.wikipedia.org/wiki/Carriage_return http://en.wikipedia.org/wiki/Newline talk about the problem, maybe not. Don't tell me I'm the only one who is still line-length aware.
Re: user_prefs: mind the linebreak
[EMAIL PROTECTED] wrote: MK Why would there ever be a problem fitting on one line? Lines aren't MK limited to 80 characters or anything silly like that.. MK That sounds a bit like complaining that a ship must fit in the water.. MK There's a whole ocean out there, so who cares if you can't put one MK boat in 2 rain puddles.. Call me old fashioned, but I still want to be able to keep lines to a length I prefer. Call me older fashioned.. I consider line-wrapping a bit too fancy for my config editing preferences.
RE: user_prefs: mind the linebreak
-Original Message- From: Matt Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 February 2008 4:43 p.m. To: [EMAIL PROTECTED] Cc: users@spamassassin.apache.org Subject: Re: user_prefs: mind the linebreak [EMAIL PROTECTED] wrote: MK Why would there ever be a problem fitting on one line? Lines aren't MK limited to 80 characters or anything silly like that.. MK That sounds a bit like complaining that a ship must fit in the water.. MK There's a whole ocean out there, so who cares if you can't put one MK boat in 2 rain puddles.. Call me old fashioned, but I still want to be able to keep lines to a length I prefer. Call me older fashioned.. I consider line-wrapping a bit too fancy for my config editing preferences. Line wrapping in config is bad. I've had several instances of an editor in linux that I won't name where I've lost config data because of it wrapping lines instead of just displaying it off page until I'm ready to see it. This seems to happen a lot more frequently with terminal emulation, however, usually when SSH'd into a linux box using an emu like putty. And they still haven't got terminal emulation correct, after all these years. Admittedly if you stick to 80x25 you're probably a bit better off, but 80x25 don't cut it on a 21 inch LCD. Cheers, Mike
Re: user_prefs: mind the linebreak
MK Call me older fashioned.. I consider line-wrapping a bit too fancy MK for my config editing preferences. I see, you must have a billion column wide terminal or something. Oops. You whippersnappers don't call them terminals these days. Anyway, I swear I am not dreaming: $ info make We split each long line into two lines using backslash-newline; this is like using one long line, but is easier to read. http://en.wikipedia.org/wiki/Backslash#Usage So OK call me a user with disabilities then, but don't hinder my accessibility. Please spamassassin implement backslash-newline like make, sh, etc.
Re: user_prefs: mind the linebreak
Michael Hutchinson wrote: Line wrapping in config is bad. I've had several instances of an editor in linux that I won't name where I've lost config data because of it wrapping lines instead of just displaying it off page until I'm ready to see it. This seems to happen a lot more frequently with terminal emulation, however, usually when SSH'd into a linux box using an emu like putty. And they still haven't got terminal emulation correct, after all these years. Admittedly if you stick to 80x25 you're probably a bit better off, but 80x25 don't cut it on a 21 inch LCD. tip: Terraterm can be set to scale terminal size to match window size, and the right versions can do ssh..
Re: user_prefs: mind the linebreak
[EMAIL PROTECTED] wrote: MK Call me older fashioned.. I consider line-wrapping a bit too fancy MK for my config editing preferences. I see, you must have a billion column wide terminal or something. Oops. You whippersnappers don't call them terminals these days. Anyway, I swear I am not dreaming: $ info make We split each long line into two lines using backslash-newline; this is like using one long line, but is easier to read. http://en.wikipedia.org/wiki/Backslash#Usage So OK call me a user with disabilities then, but don't hinder my accessibility. Please spamassassin implement backslash-newline like make, sh, etc. For what? The only config lines that I can think of that are really long are for rules. We're certainly not going to go sticking backslashes in the middle of regexes. Daryl