Re: mutliline input newlines replaced with spaces

Noah Friedman <[email protected]> Fri, 31 Jan 2003 14:13:28 -0800 (PST)
Newsgroups gmane.emacs.zenirc.bugs
Message-ID <[email protected]>
The current input mechanism works by sending all the text from the process
mark to the end of the line point is on, as a single message (which may be
split if it exceeds the maximum message length in the irc protocol).

The practical upshot of that mechanism is that if you want to send text
line-by-line, then paste what you want into the buffer, go back up to the
beginning, and hit return on each line.  Since point advances
automatically, you can just hit return a bunch of times with no
intermediate motion commands.

Be warned that rapidly sending a bunch of lines can get you knocked off
the server for "flooding", or at the very least will throttle your
connection so that you are very lagged.

Re:
>This may be considered a feature request more than a bug although the
>typical behavior in other irc clients is to send each line
>separately and not replace the newlines with spaces.  Forgive me if
>this is a faq but I don't see one linked from http://www.zenirc.org
>nor archives of these mailing lists.  I certainly see how someone may
>prefer newlines converted to spaces, the behavior should ideally be
>configured with a customizable variable.
>
>Lisp hack to correct appreciated.  I'll see if I can figure something
>out in spite of my modest lisp skills and if I get something I guess
>I'll post back here.  
>
>Regards,
>
>-- 
>Ted Guild <[email protected]>
>http://www.guilds.net