From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs 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 Message-ID: <874kv83pg7.fsf@fencepost.gnu.org> References: <87mwaq74xg.fsf@fencepost.gnu.org> <87h7z86hs9.fsf@stefankangas.se> <86v9nooxcg.fsf@gmail.com> <87tv38kp33.fsf@fencepost.gnu.org> <83sgisypbd.fsf@gnu.org> <87pndwklz6.fsf@fencepost.gnu.org> <83o8tgyn1k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="77985"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: stefan@marxist.se, npostavs@gmail.com, 18336@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 01 19:23:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j8TF8-000KAc-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Mar 2020 19:23:10 +0100 Original-Received: from localhost ([::1]:50936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8TF8-0007Su-25 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Mar 2020 13:23:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8TF1-0007Sm-3T for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 13:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8TF0-0003Nh-15 for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 13:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8TEz-0003Na-U8 for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 13:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8TEz-0002Rs-RN for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 13:23:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87mwaq74xg.fsf@fencepost.gnu.org> Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Mar 2020 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18336 X-GNU-PR-Package: emacs Original-Received: via spool by 18336-submit@debbugs.gnu.org id=B18336.15830869639362 (code B ref 18336); Sun, 01 Mar 2020 18:23:01 +0000 Original-Received: (at 18336) by debbugs.gnu.org; 1 Mar 2020 18:22:43 +0000 Original-Received: from localhost ([127.0.0.1]:36945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8TEh-0002Qw-FY for submit@debbugs.gnu.org; Sun, 01 Mar 2020 13:22:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8TEg-0002Qd-39 for 18336@debbugs.gnu.org; Sun, 01 Mar 2020 13:22:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j8TEa-0003JJ-Mu; Sun, 01 Mar 2020 13:22:36 -0500 Original-Received: from x4e307dec.dyn.telefonica.de ([78.48.125.236]:57630 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j8TEZ-0001jT-Tv; Sun, 01 Mar 2020 13:22:36 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176735 Archived-At: Eli Zaretskii writes: >> From: David Kastrup >> 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 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