[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New symptom and code
From: |
David Kastrup |
Subject: |
Re: New symptom and code |
Date: |
07 Jul 2004 03:24:12 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
"David Vanderschel" <DJV4@Austin.RR.com> writes:
> "Kevin Rodgers" <ihs_4664@yahoo.com> wrote in message
> 40EAEC5D.8040603@yahoo.com">news:40EAEC5D.8040603@yahoo.com...
> > David Vanderschel wrote:
> > > I should have mentioned that I am using the minibuffer primarily so
> > > that I can get a temporary multi-line display. Otherwise, I could
> > > have used message. I am not letting the user edit in the minibuffer.
> > > I am just showing him some data. The single character he types is
> > > treated by my program as a command, which then modifies the display.
>
> > I don't understand. What's wrong with
>
> > (message "First line\nSecond line\nThird line")
>
> Well, when I try that, what I see in the echo area is
>
> "First line^JSecond line^JThird line"
>
> which is not acceptable.
You are confusing the output of the message command with its return
value. Obviously, if you use M-x eval-expression RET, then the last
thing that gets displayed is the evaled expression.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
New symptom and code, David Vanderschel, 2004/07/06
Re: Minibuffer wipeout: "Auto-saving... done", Kevin Rodgers, 2004/07/06