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

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

Re: Writing newline in message buffer


From: Jean Louis
Subject: Re: Writing newline in message buffer
Date: Fri, 14 May 2021 17:07:39 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* Jeremie Juste <jeremiejuste@gmail.com> [2021-05-14 16:38]:
> Hello Pauline,
> 
> > I can write the following but want to avoid the \n at beginning of my 
> > string.
> >
> >    (message "\nmymessage")

You could just get used to "\n" as that is handy. You can also use creative 
approached:

(setq oh-no (char-to-string 10))

(message (concat oh-no "my message"))

That way you avoid "\n" while still have it. 

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




reply via email to

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