all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: stefan@marxist.se, npostavs@gmail.com, 18336@debbugs.gnu.org
Subject: bug#18336: 24.4.50; When editing externally changed file, Emacs asks too many questions
Date: Sun, 01 Mar 2020 19:22:32 +0100	[thread overview]
Message-ID: <874kv83pg7.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87mwaq74xg.fsf@fencepost.gnu.org>

Eli Zaretskii <eliz@gnu.org> writes:

>> From: David Kastrup <dak@gnu.org>
>> Cc: npostavs@gmail.com,  stefan@marxist.se,  18336@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@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





  reply	other threads:[~2020-03-01 18:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  7:44 bug#18336: 24.4.50; When editing externally changed file, Emacs asks too many questions David Kastrup
2020-03-01  0:27 ` Stefan Kangas
2020-03-01 16:26   ` Noam Postavsky
2020-03-01 16:38     ` David Kastrup
2020-03-01 17:09       ` Eli Zaretskii
2020-03-01 17:45         ` David Kastrup
2020-03-01 17:58           ` Eli Zaretskii
2020-03-01 18:22             ` David Kastrup [this message]
2020-03-01 18:27               ` Eli Zaretskii
2020-03-02  4:14                 ` Noam Postavsky
2020-03-02  8:27                   ` Eli Zaretskii
2020-03-02  9:42                     ` David Kastrup
2020-03-02 11:04                       ` Eli Zaretskii
2020-03-02 11:41                         ` David Kastrup
2020-03-02 11:51                           ` Eli Zaretskii
2020-03-02  8:39                   ` Stefan Kangas
2020-03-02  8:55                     ` Eli Zaretskii
2020-03-02  9:04                       ` Stefan Kangas
2020-03-02 11:01                         ` Eli Zaretskii
2020-03-02  9:53                     ` David Kastrup
2020-03-02 12:20                       ` Noam Postavsky
2020-03-02 16:33                         ` Eli Zaretskii
2020-03-05 14:13                           ` Noam Postavsky
2020-03-05 15:07                             ` David Kastrup
2020-03-05 17:54                               ` Noam Postavsky
2020-03-05 19:31                                 ` Eli Zaretskii
2020-03-22  1:13                                   ` Noam Postavsky
2020-03-22 14:35                                     ` Eli Zaretskii
2020-03-22 15:45                                       ` Noam Postavsky
2020-03-22 17:09                                         ` Eli Zaretskii
2020-03-22 19:46                                           ` Noam Postavsky
2020-03-22 20:16                                             ` Eli Zaretskii
2020-03-23  3:26                                               ` Noam Postavsky
2020-03-05 16:02                             ` Eli Zaretskii

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=874kv83pg7.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=18336@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=npostavs@gmail.com \
    --cc=stefan@marxist.se \
    /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.