bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18336: 24.4.50; When editing externally changed file, Emacs asks too


From: Stefan Kangas
Subject: bug#18336: 24.4.50; When editing externally changed file, Emacs asks too many questions
Date: Mon, 02 Mar 2020 10:04:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stefan Kangas <stefan@marxist.se>
>> Cc: Eli Zaretskii <eliz@gnu.org>,  David Kastrup <dak@gnu.org>,  
>> 18336@debbugs.gnu.org
>> Date: Mon, 02 Mar 2020 09:39:14 +0100
>> 
>> 0. emacs -Q
>> 1. C-x C-f /tmp/moo.txt RET
>> 2. abc C-x C-s
>> 3. From terminal: echo "foo" >> /tmp/moo.txt
>> 4. type something, get these messages:
>> moo.txt changed on disk; really edit the buffer? (y, n, r or C-h) y
>> 5. Answer 'y', save the file, get:
>> - do you really want to save? [not logged]
>> - moo.txt changed on disk; really edit the buffer? (y, n, r or C-h) y
>
> First, this is not what David reported, see his description up-thread.

Isn't it?  He described:

    [Original change behind Emacs' back, the trying to edit buffer]
    smobs.cc changed on disk; really edit the buffer? (y, n, r or C-h) y
    File on disk now will become a backup file if you save these changes.
    [So far so good.  Now pressing C-x C-s]
    Saving file /usr/local/tmp/lilypond/lily/smobs.cc...
    [That message is ok]
    smobs.cc changed on disk; really edit the buffer? (y, n, r or C-h) y
    [That question is ludicrous.  I am saving the file, not editing it.]

I don't think I see what the difference is from what I reported.

(Or maybe my description wasn't clear?)

> And second: are you saying you get the question
>
>   do you really want to save? [not logged]
>
> right after "C-x C-s", then the question
>
>   moo.txt changed on disk; really edit the buffer? (y, n, r or C-h)
>
> right after Emacs says "Wrote moo.txt"?  That is, you didn't do
> anything after saving to get the last prompt?

Yes.

Best regards,
Stefan Kangas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]