help-gnu-emacs
[Top][All Lists]
Advanced

[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" <address@hidden> writes:

> "Kevin Rodgers" <address@hidden> wrote in message
> news:address@hidden
> > 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


reply via email to

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