all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dave Abrahams <dave@boostpro.com>
Cc: 9478@debbugs.gnu.org
Subject: bug#9478: 23.3; custom-save-all could be faster
Date: Wed, 25 Aug 2021 15:00:42 +0200	[thread overview]
Message-ID: <878s0pisqt.fsf@gnus.org> (raw)
In-Reply-To: <m2ehznlyfl.fsf@pluto.luannocracy.com> (Dave Abrahams's message of "Sun, 11 Sep 2011 14:35:26 -0400")

Dave Abrahams <dave@boostpro.com> writes:

> In the case where the file isn't already in a buffer, I suggest that
> `custom-save-all' calls `find-file-noselect' with the RAWFILE argument
> set to t and `find-file-hook' set to nil.  I'm not sure if there are
> other places where emacs is going to open and close a file without
> presenting it to the user, but the same approach could probably be
> followed in other places.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Like Andreas pointed out, we can't really do the RAWFILE thing, because
that would mess up the file.  I don't think we can bind `find-file-hook'
to nil, either -- the user may well want to do things to the file in
this case, too.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      parent reply	other threads:[~2021-08-25 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11 18:35 bug#9478: 23.3; custom-save-all could be faster Dave Abrahams
2011-09-11 19:31 ` Andreas Schwab
2011-09-11 19:41   ` Dave Abrahams
2011-09-13  0:35 ` Stefan Monnier
2021-08-25 13:00 ` Lars Ingebrigtsen [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

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

  git send-email \
    --in-reply-to=878s0pisqt.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=9478@debbugs.gnu.org \
    --cc=dave@boostpro.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.