unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: pauline-galea@gmx.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Writing newline in message buffer
Date: Fri, 14 May 2021 23:22:06 +0700	[thread overview]
Message-ID: <CAP_d_8XYRqBrM6jmuEYxzaia6RBr_k4HQtZKU4CqpFTSOhFo3w@mail.gmail.com> (raw)
In-Reply-To: <trinity-f37b972d-4d8e-4c2a-9342-f83b2910be67-1620989036658@3c-app-mailcom-bs04>

On Fri, 14 May 2021 at 17:44, <pauline-galea@gmx.com> wrote:

> How can I add a newline in the messages buffer
>
> Have read about terpri
>
> I can write the following but want to avoid the \n at beginning of my string.
>
>    (message "\nmymessage")

The line ending character is usually put at the end of a line:

(message "mymessage\n")



      parent reply	other threads:[~2021-05-14 16:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 10:43 Writing newline in message buffer pauline-galea
2021-05-14 13:37 ` Jeremie Juste
2021-05-14 14:07   ` Jean Louis
2021-05-14 13:52 ` Jean Louis
2021-05-14 16:22 ` Yuri Khan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8XYRqBrM6jmuEYxzaia6RBr_k4HQtZKU4CqpFTSOhFo3w@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pauline-galea@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).