[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

readline: completions with newlines?

From: Sam Steingold
Subject: readline: completions with newlines?
Date: 12 Jun 2002 13:16:53 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

sometimes it does not make sense to complete on TAB but it does make
sense to print some help.
I tried returning ("" "long help message") from my custom completer
routine so that readline will know that there is no clear completion and
will print (on the second TAB) the "long help message".
Unfortunately, when the "long help message" contains newlines,
they are printed as ^J.
How can I prevent that?

Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Winners never quit; quitters never win; idiots neither win nor quit.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]