unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Writing text to a dedicated buffer
Date: Tue, 04 May 2021 16:07:47 +0300	[thread overview]
Message-ID: <m2tuni8x5o.fsf@fastmail.fm> (raw)
In-Reply-To: <trinity-8b3fffea-8625-415f-8193-a0d036b6f633-1619959709762@3c-app-mailcom-bs08> (Christopher Dimech's message of "Sun, 2 May 2021 14:48:29 +0200")

On 02/05/2021 14:48 +0200, Christopher Dimech wrote:

> I am writing text to a package dedicated buffer.  Is this the way to
> go about doing that.  Or are there neater ways?

Check out with-output-to-temp-buffer, looks like it fits your use case.

Filipp



      parent reply	other threads:[~2021-05-04 13:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02 12:48 Writing text to a dedicated buffer Christopher Dimech
2021-05-02 13:05 ` Christopher Dimech
2021-05-02 17:08   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-02 13:25 ` Christopher Dimech
2021-05-02 14:23   ` Joost Kremers
2021-05-02 17:06 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04 13:07 ` Filipp Gunbin [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=m2tuni8x5o.fsf@fastmail.fm \
    --to=fgunbin@fastmail.fm \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).