GNU bug report logs - #52242
29.0.50; Feature Request: Offer to run`diff-buffer-with-file' in `recover-this-file' prompt

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Visuwesh <visuwesh@HIDDEN>; merged with #53280; dated Thu, 2 Dec 2021 12:29:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 52242 53280. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Dec 2021 12:28:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 02 07:28:35 2021
Received: from localhost ([127.0.0.1]:46919 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mslCV-0002Ff-3l
	for submit <at> debbugs.gnu.org; Thu, 02 Dec 2021 07:28:35 -0500
Received: from lists.gnu.org ([209.51.188.17]:32888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuwesh@HIDDEN>) id 1mslCR-0002FV-FR
 for submit <at> debbugs.gnu.org; Thu, 02 Dec 2021 07:28:34 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35760)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1mslCR-0002ey-7t
 for bug-gnu-emacs@HIDDEN; Thu, 02 Dec 2021 07:28:31 -0500
Received: from w1.tutanota.de ([81.3.6.162]:53692)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1mslCM-0004iw-T9
 for bug-gnu-emacs@HIDDEN; Thu, 02 Dec 2021 07:28:30 -0500
Received: from w3.tutanota.de (unknown [192.168.1.164])
 by w1.tutanota.de (Postfix) with ESMTP id 55A74FBF86F
 for <bug-gnu-emacs@HIDDEN>; Thu,  2 Dec 2021 12:28:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638448104; 
 s=s1; d=tutanota.com;
 h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender;
 bh=cX91pScdkCWBpUeDg9fOPlDMsdy7HtyzXOl175tZwcI=;
 b=fEEp9TxKlE9o0ZdjeZDfU/P5Md8kxDuen2Ou/WPgbRSk5DWGNQWca0QqTtRVGKCx
 66pS5dfofRvS8+DK9K6Kv57E6GEz5128WHonhseu2RaN1s5eCPH+dEBYItSeS47t8xx
 xC7kcxhzf0+6xXHVjgtSlFfoPBNJXj6h+h+qYknv7NmX6afLqFWuruYdrqG/WMLpao4
 A7MPWo7Ih1DD/vRGqbr5i4gJWa8nXqmqRtsrvTfdY3xavTu33B1kA4ggAlSTgLSsbOF
 MutwA5EUu9nMnzTTwrHeG36v+U053s5UHa03CYfx6mZfyCSXML1fM/AzIX2vDzOXQ70
 xcaQeDFH3g==
Date: Thu, 2 Dec 2021 13:28:24 +0100 (CET)
From: Visuwesh <visuwesh@HIDDEN>
To: Bug Gnu Emacs <bug-gnu-emacs@HIDDEN>
Message-ID: <Mpv6Uhs--B-2@HIDDEN>
Subject: 29.0.50;  Feature Request: Offer to run`diff-buffer-with-file' in
 `recover-this-file' prompt
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=81.3.6.162; envelope-from=visuwesh@HIDDEN;
 helo=w1.tutanota.de
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

`recover-this-file' quite helpfully shows the time of creation of the
auto-save file.=C2=A0 However, this is not always enough to decide whether =
I
should recover from said auto-save file since there's no way of knowing
if the changes in auto-save file are desirable [1] so I end up answering
yes, then run `diff-buffer-with-file' anyway.=C2=A0 I think having a
`diff-buffer-with-file' option like `save-some-buffers' would be a
quality-of-life improvement.

Thanks.
[1] I fat finger my keyboard quite a lot and end up garbling the file
even after explicitly saving the buffer.=C2=A0 When I open the file in a ne=
w
Emacs session again, I get suggested to `recover-this-file' and 8/10
times, I have to undo.=C2=A0 Having a diff option directly in the prompt
would save some keystrokes.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, c=
airo version 1.16.0)
Repository revision: da67e888d5360297cdf20cd3d2a1148727d16e5a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12012000
System Description: NixOS 21.11 (Porcupine)

Configured using:
'configure
--prefix=3D/nix/store/mlv737k3wph8lhxi2lm9942kbm31wmdz-emacs-gcc-20211030.0
--disable-build-details --with-modules --with-x-toolkit=3Dgtk3 --with-xft
--with-cairo --with-native-compilation'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
=C2=A0 value of $EMACSLOADPATH:
=C2=A0 value of $EMACSNATIVELOADPATH: /nix/store/hagxad2bnmdwy79yjkvkwjjynx=
pik7fw-emacs-packages-deps/share/emacs/native-lisp::
=C2=A0 value of $LANG: en_GB.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 TeX-PDF-mode: t
=C2=A0 recentf-mode: t
=C2=A0 paredit-mode: t
=C2=A0 eros-mode: t
=C2=A0 flymake-mode: t
=C2=A0 hl-todo-mode: t
=C2=A0 pdf-occur-global-minor-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 minibuffer-depth-indicate-mode: t
=C2=A0 repeat-mode: t
=C2=A0 display-time-mode: t
=C2=A0 display-battery-mode: t
=C2=A0 straight-use-package-mode: t
=C2=A0 straight-package-neutering-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 abbrev-mode: t

Load-path shadows:
/home/viz/.nix-profile/share/emacs/site-lisp/site-start hides /nix/store/ha=
gxad2bnmdwy79yjkvkwjjynxpik7fw-emacs-packages-deps/share/emacs/site-lisp/si=
te-start
/home/viz/lib/emacs/straight/build/map/map hides /nix/store/mlv737k3wph8lhx=
i2lm9942kbm31wmdz-emacs-gcc-20211030.0/share/emacs/29.0.50/lisp/emacs-lisp/=
map
/home/viz/lib/emacs/straight/build/let-alist/let-alist hides /nix/store/mlv=
737k3wph8lhxi2lm9942kbm31wmdz-emacs-gcc-20211030.0/share/emacs/29.0.50/lisp=
/emacs-lisp/let-alist

Features:
(shadow sort emacsbug sendmail reporter preview tex-buf
latex-mode-expansions latex latex-flymake tex-ispell tex-style tex crm
trace edebug hippie-exp re-builder holidays hol-loaddefs cal-move
autoload math-delimiters cursor-sensor org-pdftools pdf-annot facemenu
org-noter executable time-stamp comp comp-cstr cl-print debug backtrace
thai-util thai-word misearch multi-isearch view mule-util
ement-room-list ement ement-notify ement-room ewoc ement-api
ement-structs ement-macros plz dns ts s etags fileloop xref rect
mail-extr wdired dired-aux shortdoc dired-x help-fns radix-tree
expand-region text-mode-expansions cc-mode-expansions
the-org-mode-expansions er-basic-expansions expand-region-core
expand-region-custom pulse color reveal recentf tree-widget vc-git
diff-mode vc-dispatcher server paredit edmacro kmacro eros checkdoc
lisp-mnt flymake-proc flymake project hl-todo writegood-mode-autoloads
ement-autoloads ts-autoloads s-autoloads map-autoloads plz-autoloads
transmission-autoloads lua-mode-autoloads nix-mode-autoloads
magit-section-autoloads racket-mode-autoloads eros-autoloads
flymake-shellcheck-autoloads avy avy-autoloads siege-mode
siege-mode-autoloads paredit-autoloads expand-region-autoloads
filladapt-autoloads compose quail notifications org-capture doct
warnings org-refile org-clock scroll-other-window org-pdftools-autoloads
org-noter-autoloads finder-inf pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools package url-handlers
compile cus-edit pdf-view bookmark pp pdf-cache pdf-info tq pdf-util
pdf-macs pdf-tools-autoloads let-alist-autoloads tablist-autoloads
math-delimiters-autoloads doct-autoloads valign flyspell ispell
face-remap goto-addr org-indent org-num org-element avl-tree generator
ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art
mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom
browse-url gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int
gnus-range message rmc puny rfc822 mml mml-sec epa epg rfc6068
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search
mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr
image-mode exif dired dired-loaddefs ol-bibtex ol-bbdb ol-w3m ol-doi
org-link-doi ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs ob-shell shell ob-racket dash async
ob-async org-starless cdlatex texmathp org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete
pcomplete comint ansi-color ring org-list org-faces org-entities
noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table
oc-basic bibtex iso8601 time-date ol org-keys oc org-compat advice
org-macs org-loaddefs find-func ob-async-autoloads dash-autoloads
async-autoloads emacs-ob-racket-autoloads valign-autoloads easy-mmode
org-starless-autoloads cdlatex-autoloads auctex-autoloads tex-site tempo
derived mb-depth cus-load repeat visual-fill-autoloads
olivetti-autoloads hl-todo-autoloads moody-autoloads time format-spec
battery dbus filenotify xml disp-table vz-nh-theme shell-command+
shell-command-plus-autoloads icalendar diary-lib diary-loaddefs cal-menu
calendar cal-loaddefs url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse auth-source eieio
eieio-core eieio-loaddefs password-cache json map url-vars mailcap rx
chemtable chemtable-autoloads molar-mass-autoloads pcase
straight-autoloads info cl-seq cl-extra help-mode straight cl-macs
cl-loaddefs cl-lib seq gv subr-x byte-opt bytecomp byte-compile cconv
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 1208185 292637)
(symbols 48 42228 4)
(strings 32 303314 43731)
(string-bytes 1 8562492)
(vectors 16 108614)
(vector-slots 8 2355085 365629)
(floats 8 691 1499)
(intervals 56 52079 12887)
(buffers 992 50))





Acknowledgement sent to Visuwesh <visuwesh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#52242; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 15 Jan 2022 10:30:02 UTC

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