GNU bug report logs - #18336
24.4.50; When editing externally changed file, Emacs asks too many questions

Previous Next

Package: emacs;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Wed, 27 Aug 2014 08:19:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.4.50

Fixed in version 28.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 18336 <at> debbugs.gnu.org (full text, mbox):

From: David Kastrup <dak <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: stefan <at> marxist.se, npostavs <at> gmail.com, 18336 <at> debbugs.gnu.org
Subject: Re: bug#18336: 24.4.50; When editing externally changed file, Emacs
 asks too many questions
Date: Sun, 01 Mar 2020 19:22:32 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: David Kastrup <dak <at> gnu.org>
>> Cc: npostavs <at> gmail.com,  stefan <at> marxist.se,  18336 <at> debbugs.gnu.org
>> Date: Sun, 01 Mar 2020 18:45:33 +0100
>> 
>> > Please try the latest pretest of Emacs 27, things are more reasonable
>> > now.
>> 
>> Uh, I compiled today from master.
>
> Then you see something very different from what I see on the emacs-27
> branch, which is very strange.
>
> When I modify the file in Emacs, after it was modified by some other
> program, I see this:
>
>   FILE changed on disk; really edit the buffer? (y, n, r or C-h)
>
> Pressing 'y' shows this:
>
>   File on disk now will become a backup file if you save these changes.
>
> Typing C-x C-s then shows this:
>
>   FILE has changed since visited or saved.  Save anyway? (yes or no)
>
> Typing "yes" then says
>
>   Wrote FILE
>
> That sounds reasonable to me.

Well, I said that version control may be involved but this is the same
using emacs -Q and on a file not under version control.  Here is the
current report-emacs-bug blurb for identification:

In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.12, cairo version 1.16.0)
 of 2020-03-01 built on lola
Repository revision: 279bf23695aff0f680fc846d285c5dc2b9596e76
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
System Description: Ubuntu 19.10

This is actually

commit e98ee8ddac24f7db3acfbbaadde5116d138bf698 (origin/master, origin/HEAD)
Author: Stefan Kangas <stefankangas <at> gmail.com>
Date:   Sun Mar 1 01:19:23 2020 +0100

    Make 'load-dangerous-libraries' obsolete (Bug#37819)
    
    When 'load-dangerous-libraries' was t, Emacs allowed loading .elc
    files compiled by XEmacs.  This patch removes the support for that use
    case, and declares the variable obsolete.
    
    * lisp/subr.el (load-dangerous-libraries): Declare obsolete.
    * src/lread.c (Fload): Ignore its value, and thereby refuse to load
    files byte compiled by XEmacs.
    (syms_of_lread): Update doc string of 'bytecomp-version-regexp' to not
    refer to it.
    * doc/emacs/building.texi (Lisp Libraries): Remove its documentation.

with two unrelated commits of mine on top.


-- 
David Kastrup




This bug report was last modified 5 years and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.