unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Andreas Politz <politza@hochschule-trier.de>
Cc: 25964@debbugs.gnu.org
Subject: bug#25964: 26.0.50; byte-recompile-directory saving unrelated buffer
Date: Sat, 20 May 2017 18:29:00 -0400	[thread overview]
Message-ID: <87o9ungo2b.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87r32daasu.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sat, 04 Mar 2017 00:08:33 -0500")

severity 25964 minor
tags 25340 fixed
close 25340 26.1
quit

npostavs@users.sourceforge.net writes:
>
> Andreas Politz <politza@hochschule-trier.de> writes:
>
>> I think it is somewhat annoying when I install a Lisp package and it
>> asks me whether I want to save a completely unrelated buffer in some
>> other project.  This is especially true, if this unrelated buffer has a
>> function like check-parens on its after-save-hook, which may signal an
>> error, and in turn will abort the whole package installation.
>>
>> The buffer saving happens in byte-recompile-directory via
>> save-some-buffer. So I wonder, if this can be made more selective, like
>> so:
>
> There is a similar patch in #25340, although it makes the behaviour
> optional.

It seems #25340 is stalled, so I've pushed your patch instead [1: f151eb0141].

[1: f151eb0141]: 2017-05-20 18:28:23 -0400
  Don't save unrelated buffers before recompiling directory (Bug#25964)
  http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f151eb01418b80d102c767566e93ac332a8bf7c3





      parent reply	other threads:[~2017-05-20 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04  4:58 bug#25964: 26.0.50; byte-recompile-directory saving unrelated buffer Andreas Politz
2017-03-04  5:08 ` npostavs
2017-03-04 10:08   ` Andreas Politz
2017-05-20 22:29   ` npostavs [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=87o9ungo2b.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=25964@debbugs.gnu.org \
    --cc=politza@hochschule-trier.de \
    /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).