From: Alex S. <al...@em...> - 2002-08-14 00:00:52
|
The following message is a courtesy copy of an article that has been posted to gnu.emacs.help as well. tim...@ho... (Tim Freedom) writes: > ;; (add-hook 'erc-mode-hook 'erc-add-scroll-to-bottom) > ;; (setq erc-timestamp-format "[%H:%M] ") > > 1. The "scroll-to-bottom" (commented line) doesn't seem to work or > really make any noticeable difference. Seems to be a bug. This adds a func to window-scroll-functions; but I dunno how that is supposed to work. > 2. If I include the "timestamp-format" the 'filling' gets screwed-up, > > I go from (correct view), > > <name_long> bla bla bla bla > bla bla > <name> bleh bleh bleh bleh > bleh bleh > > to (incorrect view - note line-wrap alignment), > > [11:15] <name_long> bla bla bla bla > bla bla > [11:16] <name> bleh bleh bleh bleh > bleh bleh > > Note how the "bla" and "bleh" (text) no longer lines up as before. > Any way to have the timestamp and also have the proper initial > alignment ? Bug. There was some work on ERC CVS for timestamp related issues. > 3. I tend to use "auto-fill-mode" and so I never opt to use the horizontal > scrolling (ie. I don't set or use "auto-hscroll-mode" -- I don't > like it); I think this is automatic in Emacs 21? > so here's my question. Is there any setting that I could invoke which > would let me get the same affect of "auto-fill-mode" but not have my > posts appear as though they are multiple lines. In other words, I would > love to see ERC be able to line-wrap my text as I enter it (before I press > ENTER) and appear as one line. No, this is currently not possible. > So it should look like this, > > <my_name> bla bla bla bla bla bla bla > blu blu blu blu blu blu blu > blo blo blo blo > > instead of (note multiple lines), > > <my_name> bla bla bla bla bla bla bla > <my_name> blu blu blu blu blu blu blu > <my_name> blo blo blo blo > > Without "auto-fill-mode" which ERC notes not to use (or horizontal > scrolling which I dread), any long lines that I type scroll to the > right of the screen without me seeing what I'm typing (unless I keep > 'C-x >' (scroll-left)). How can I get in effect "auto-fill-mode" type > of behavior but have the Carriage-Returns stripped ? You could set truncate-lines to nil (the default) in erc buffers. > Thanks all for your help (do please CC any replies) Sorry, I read your post on the erc list and didn't know what to reply, either. Alex. -- http://www.electronicintifada.net/diaries/index.html http://www.us-israel.org/jsource/US-Israel/hr2506c.html |