[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25340: Save-some-buffers gets called when installing packages.
From: |
npostavs |
Subject: |
bug#25340: Save-some-buffers gets called when installing packages. |
Date: |
Sat, 07 Jan 2017 13:47:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com> writes:
> I had the idea of doing this:
>
> (defun byte-recompile-directory (directory &optional arg force
> limit-buffer-saving)
>
> ...
>
> If forth argument LIMIT-BUFFER-SAVING is 'directory, only files within
> DIRECTORY would be saved. When LIMIT-BUFFER-SAVING is t no existing buffers
> would be checked for modification.
>
>
> But I found out out that having LIMIT-BUFFER-SAVING with value t like
> this would not work without an accompanying change to
> byte-recompile-file - since byte-recompile-file already checks whether
> there's a buffer for that file and that buffer is modified.
>
I don't see where byte-recompile-file is checking that?
> So, since I don't think that doing changes to byte-recompile-file is
> the best idea, here's my current version.
>
> Also, note that the check in byte-recompile-file actually makes
> calling save-some-buffers somewhat redundant.
- bug#25340: Save-some-buffers gets called when installing packages., Nikolay Kudryavtsev, 2017/01/02
- bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/04
- bug#25340: Save-some-buffers gets called when installing packages., Nikolay Kudryavtsev, 2017/01/05
- bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/08
- bug#25340: Save-some-buffers gets called when installing packages., Nikolay Kudryavtsev, 2017/01/08
- bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/08
- Message not available
- bug#25340: Fwd: bug#25340: Save-some-buffers gets called when installing packages., Noam Postavsky, 2017/01/09
- bug#25340: Fwd: bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/15