From: Kaushal Modi <kaushal.modi@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: 28412@debbugs.gnu.org
Subject: bug#28412: 26.0.50; Let save-some-buffers accept write-contents-functions
Date: Mon, 18 Sep 2017 21:48:15 +0000 [thread overview]
Message-ID: <CAFyQvY335mKtdJY9Vi0dMLFoZR6_JHYOzCEMKbci5i+u3_jE7g@mail.gmail.com> (raw)
In-Reply-To: <87vakfenjv.fsf@ericabrahamsen.net>
[-- Attachment #1: Type: text/plain, Size: 657 bytes --]
On Mon, Sep 18, 2017 at 4:53 PM Eric Abrahamsen <eric@ericabrahamsen.net>
wrote:
>
> It might be nice to have something like:
>
> (defsubst buffer-internal-p (buf)
> (eq (aref (buffer-name buf) 0) ?\s))
>
Yup. I also see this in the "(emacs) Undo" Info node:
Some specialized buffers do not make undo records. Buffers whose
names start with spaces never do; these buffers are used internally by
Emacs to hold text that users don’t normally look at or edit.
But I cannot find the code that implements that.
It would be nice to have these places to use the same defsubst.
Btw I confirm the fix. Thanks!
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1163 bytes --]
next prev parent reply other threads:[~2017-09-18 21:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-10 21:50 bug#28412: 26.0.50; Let save-some-buffers accept write-contents-functions Eric Abrahamsen
[not found] ` <handler.28412.B.15050803219580.ack@debbugs.gnu.org>
2017-09-10 22:01 ` bug#28412: Acknowledgement (26.0.50; Let save-some-buffers accept write-contents-functions) Eric Abrahamsen
2017-09-11 15:03 ` Eli Zaretskii
2017-09-11 21:41 ` Eric Abrahamsen
2017-09-12 14:41 ` Eli Zaretskii
2017-09-12 23:18 ` Eric Abrahamsen
2017-09-18 16:16 ` bug#28412: 26.0.50; Let save-some-buffers accept write-contents-functions Kaushal Modi
2017-09-18 18:04 ` Eli Zaretskii
2017-09-18 18:14 ` Eric Abrahamsen
2017-09-18 19:25 ` Eli Zaretskii
2017-09-18 20:30 ` Eric Abrahamsen
2017-09-18 19:12 ` Eric Abrahamsen
2017-09-18 19:23 ` Kaushal Modi
2017-09-18 20:53 ` Eric Abrahamsen
2017-09-18 21:48 ` Kaushal Modi [this message]
2017-09-19 16:13 ` Eli Zaretskii
2017-09-25 14:46 ` Kaushal Modi
2017-10-19 15:25 ` Eric Abrahamsen
2017-09-19 16:09 ` Eli Zaretskii
2017-09-18 19:28 ` Eli Zaretskii
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=CAFyQvY335mKtdJY9Vi0dMLFoZR6_JHYOzCEMKbci5i+u3_jE7g@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=28412@debbugs.gnu.org \
--cc=eric@ericabrahamsen.net \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).