From unknown Wed Jun 18 23:05:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78666 <78666@debbugs.gnu.org> To: bug#78666 <78666@debbugs.gnu.org> Subject: Status: 31.0.50; recentf-open-files reports opening the last file accessed Reply-To: bug#78666 <78666@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:05:32 +0000 retitle 78666 31.0.50; recentf-open-files reports opening the last file acc= essed reassign 78666 emacs submitter 78666 Rick severity 78666 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 01 19:35:01 2025 Received: (at submit) by debbugs.gnu.org; 1 Jun 2025 23:35:01 +0000 Received: from localhost ([127.0.0.1]:43423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uLsCi-0003Aw-G8 for submit@debbugs.gnu.org; Sun, 01 Jun 2025 19:35:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51490) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uLsCe-0003AW-QH for submit@debbugs.gnu.org; Sun, 01 Jun 2025 19:34:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uLsCZ-0002lC-2U for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2025 19:34:51 -0400 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uLsCW-0007xF-Kd for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2025 19:34:50 -0400 Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-4a43cbc1ab0so44476941cf.0 for ; Sun, 01 Jun 2025 16:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748820887; x=1749425687; darn=gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=VRbnadLcQJGRkmSE7bM4uO1uOMzU8ODBpOmejrf4VIc=; b=Mnw/2wuSpNPK8Dx3bKoOW5ASMSnzq+6D8jtDecwIhC1hJMZgtTT9O/H+6+7gt0gMib ZTg8jJdIXPSwN3potkToQarL5m1yOMXq5q1hxltFTmMFnTYNE2hHqw4V7Xx5KCx08ShY LXmTNvaG/uGmZD1RaNWPzaltzkmjrMmeasaEOOf/w6y4Kutb+9nMGD0PEnhkIbubM/pO Z12YdxA+0x1e9MCAdlXiYgnZHQLp+QCiU1k8FwhLV1a9+cJZT20X05GEjBPViJVo0rty MEFumsXlhWrbD4wN1UIplTSXG/bhWBoEh8tYGCYyv3ddxvGIwDFxoCRGgZhm/8kPAXfE VIEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748820887; x=1749425687; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VRbnadLcQJGRkmSE7bM4uO1uOMzU8ODBpOmejrf4VIc=; b=CYpIWNvJ7CsqhGPfrIv+Cn2ml71M3eQzA+bZj9ZYH/cAEGy2ZSHGw3Dk8yHz4otgAP biXHRgT63+h0qXWpY23PQx39xR6MjIKvL8hqM6yi0k3UpPAwe6cth3c1ztABcXb1ArGu oXIufUaSN0598mlXnPIMgA1ynAQlQjfknFgr8PYVlcsac5Sh12WAyIH5xk6wQiJH3JS4 EB/eke9/Xsc50qEAXWxtZbv9WyoeqmA6k6Fdj17IH5+8aKDBFtV6QB18KL0yo7U/PL4X mL7oudFEU3N2Tkw+H4IEgHXp46RogcN5NBfEUunXvnmjCal4i+px1Ti2ZmbwRSEJN7Nx /BtQ== X-Gm-Message-State: AOJu0YyIxaJXdGGpIfTXZgy6hxbsT47OUpwowY6rrx19go05De8IIE8c TEsBOsxK2RxpXAF/QbO9YoO6ccxHGkHu505nbU+wAow7INMjbSr6b4NW0JmNTQ== X-Gm-Gg: ASbGncskZYFQZ39TFmuy2hy2e2UyQfI3jwwb3VTUlkNQ3iplekGuB/B5fn8ipB+jkeh CSiZ2oqG9bb4Da1mo0yNuCuWxppWP3x5DxDX9qbV68TOXA+MNJxiKJgWlXCZ/GSz9C8+zCE00qf 3eejTxskcsg5KXjGUUrLWw+PFfPw2CD4rw9ktlemFaJazE+4Se1JyLu0TCGhXi8yz6NLINvIlGO BKKliTOOJM6mVb4WTDWBLj5tSnMuce/QKTkJaQFNL6eTmSim8uTKw1dwpf1+v3RGMZKyn1ShDuF O1728GknaMpk4j+3jYTHPoOS7MAxA/JwCciGG13kHIU0Dp9ynzp33iVGwtN9MPCQkmrcDOIRRtF 9g8k3I+J9qxpVlmCJ3Ox1/Q== X-Google-Smtp-Source: AGHT+IEcJvjyhgNr3//P7G4byFSlvhNcoobN/7FLD2celcs6JfFDEQvH+ffihjZMGpzVhXTtD5h6Ig== X-Received: by 2002:a05:622a:8ca:b0:4a3:e3df:f9de with SMTP id d75a77b69052e-4a4a5eb9260mr123304961cf.23.1748820887062; Sun, 01 Jun 2025 16:34:47 -0700 (PDT) Received: from ?IPV6:2601:447:c580:e8e0:1cf8:ebcb:a429:bcc7? ([2601:447:c580:e8e0:1cf8:ebcb:a429:bcc7]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4a4358e4deasm49703391cf.45.2025.06.01.16.34.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Jun 2025 16:34:46 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------FJnjYe5IlaWgQwokCjIBpOcG" Message-ID: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> Date: Sun, 1 Jun 2025 18:34:45 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: bug-gnu-emacs@gnu.org From: Rick Subject: 31.0.50; recentf-open-files reports opening the last file accessed Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=rbielaws@gmail.com; helo=mail-qt1-x830.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------FJnjYe5IlaWgQwokCjIBpOcG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit --text follows this line-- You can recreate most of the problem starting with -Q however you must have a previously populated recentf file before starting. M-x recentf-mode M-x recentf-open-files Now switch to the *Messagers* buffer and notice something similar to:     Loading /home/rick/.emacs.d/recentf...done     Cleaning up the recentf list...done (0 removed)     Mark set     Open /snap/emacs/2827/usr/share/emacs/31.0.50/lisp/files.el.gz Observe that it claims to have opened the most recent item on recentf-list, as loaded from the pre-populated recentf file.  In my case .../files.el.gz. There doesn't seem to be a buffer actually associated with the file but it's unclear whether it was subsequently closed or a spurious message. Personally, because my .emacs contains the following and I run in server mode I get additional messages that may be helpful. |... '(recentf-auto-cleanup 'never) '(recentf-max-menu-items 40) '(recentf-max-saved-items 200) '(recentf-menu-filter 'recentf-arrange-by-mode) '(recentf-menu-open-all-flag t) '(recentf-mode t) '(recentf-show-file-shortcuts-flag nil) | ... |(setq initial-buffer-choice 'recentf-open-files)| With the above (some of which could be irrelevant but I didn't narrow down) I get the following.  Notice that it reports opening the file 3 times.  It also contains "Collapse node" messages which I see no reference to in either recentf.el or wid-edit.el (its only dependency?).  So I can't tell what is emitting them but it's clearly related and may tell you more than it does me:-) |Starting Emacs daemon. Collapse node Open ~/snap/emacs/site-lisp/anchored-transpose.el Collapse node Open ~/snap/emacs/site-lisp/anchored-transpose.el [2 times] When done with this frame, type C-x 5 0 Mark set Collapse node| I tried (debug-on-entry recentf-open-files) and the messages get created if I simply type 'c' at the debug prompt.  But when I try stepping thru the code I get to the end and I'm presented with a proper menu buffer without ever encountering any code that might have emitted the messages - AND the messages DO NOT appear. This left me out of my depth.  Otherwise I'd have tried to debug and at least report which functions were involved if not a solution proposal. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version  3.24.41, cairo version 1.18.0) of 2025-05-25 built on lcy02-amd64-118 Repository revision: 10e023c15c03ca32d3c9b1ad54111ef4ede6de73 Repository branch: master System Description: Ubuntu 24.04.2 LTS Configured using:  'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3  --without-xaw3d --with-modules --with-cairo  --with-native-compilation=aot --with-pgtk --with-xinput2  --with-tree-sitter 'CFLAGS=-isystem  /build/emacs/parts/emacs/install/usr/include -isystem  /build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem  /build/emacs/stage/usr/include -O2' 'CPPFLAGS=-isystem  /build/emacs/parts/emacs/install/usr/include -isystem  /build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem  /build/emacs/stage/usr/include'  'LDFLAGS=-L/build/emacs/parts/emacs/install/lib  -L/build/emacs/parts/emacs/install/usr/lib  -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu  -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu  -L/build/emacs/stage/usr/lib'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings:   value of $LANG: en_US.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect:   recentf-mode: t   tooltip-mode: t   global-eldoc-mode: t   eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   minibuffer-regexp-mode: t   buffer-read-only: t   line-number-mode: t   indent-tabs-mode: t   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load recentf tree-widget wid-edit time-date compile text-property-search comint subr-x ansi-osc ansi-color ring comp-run bytecomp byte-compile comp-common rx warnings icons cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-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 nadvice seq simple cl-generic indonesian philippine 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 abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 88314 19791) (symbols 48 8421 0) (strings 32 20906 1600)  (string-bytes 1 716862) (vectors 16 12038)  (vector-slots 8 163474 8069) (floats 8 27 2) (intervals 56 460 0)  (buffers 1064 12)) --------------FJnjYe5IlaWgQwokCjIBpOcG Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

--text follows this line--
You can recreate most of the problem starting with -Q however you must
have a previously populated recentf file before starting.

M-x recentf-mode
M-x recentf-open-files

Now switch to the *Messagers* buffer and notice something similar to:

=C2=A0=C2=A0=C2=A0 Loading /home/=
rick/.emacs.d/recentf...done
=C2=A0=C2=A0=C2=A0 Cleaning up the recentf list...done (0 removed)
=C2=A0=C2=A0=C2=A0 Mark set
=C2=A0=C2=A0=C2=A0 Open /snap/emacs/2827/usr/share/emacs/31.0.50/lisp/fil=
es.el.gz

Observe that it claims to have opened the most recent item on recentf-list,
as loaded from the pre-populated recentf file.=C2=A0 In my case .../files.el.gz.

There doesn't seem to be a buffer actually associated with the file but
it's unclear whether it was subsequently closed or a spurious message.

Personally, because my .emacs contains the following and I run in server
mode I get additional messages that may be helpful.=C2=A0

...

 '(recentf-auto-cleanup 'never)
 '(recentf-max-menu-items 40)
 '(recentf-max-saved-items 200)
 '(recentf-menu-filter 'recentf-arrange-by-mode)
 '(recentf-menu-open-all-flag t)
 '(recentf-mode t)
 '(recentf-show-file-shortcuts-flag nil)

=2E..

(setq initial=
-buffer-choice 'recentf-open-files)

With the above (some of which could be irrelevant but I didn't narrow down)
I get the following.=C2=A0 Notice that it reports opening the file = 3 times.=C2=A0 It also
contains "Collapse node" messages which I see no reference to in either
recentf.el or wid-edit.el (its only dependency?).=C2=A0 So I can't = tell what is emitting
them but it's clearly related and may tell you more than it does me:-)

Starting Emac=
s daemon.
Collapse node
Open ~/snap/emacs/site-lisp/anchored-transpose.el
Collapse node
Open ~/snap/emacs/site-lisp/anchored-transpose.el [2 times]
When done with this frame, type C-x 5 0
Mark set
Collapse node

I tried (debug-on-entry recentf-open-files) and the messages get
created if I simply type 'c' at the debug prompt.=C2=A0 But when I = try
stepping thru the code I get to the end and I'm presented with a proper menu buffer without ever encountering any code that might have emitted the messages - AND the messages DO NOT appear.

This left me out of my depth.=C2=A0 Otherwise I'd have tried to de= bug and
at least report which functions were involved if not a solution proposal.


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version =C2=A03.24.41, cairo version 1.18.0) of 2025-05-25 built on lcy02-amd64-118
Repository revision: 10e023c15c03ca32d3c9b1ad54111ef4ede6de73
Repository branch: master
System Description: Ubuntu 24.04.2 LTS

Configured using:
=C2=A0'configure --prefix=3D/snap/emacs/current/usr --with-x-toolki= t=3Dgtk3
=C2=A0--without-xaw3d --with-modules --with-cairo
=C2=A0--with-native-compilation=3Daot --with-pgtk --with-xinput2 =C2=A0--with-tree-sitter 'CFLAGS=3D-isystem
=C2=A0/build/emacs/parts/emacs/install/usr/include -isystem
=C2=A0/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu= -isystem
=C2=A0/build/emacs/stage/usr/include -O2' 'CPPFLAGS=3D-isystem
=C2=A0/build/emacs/parts/emacs/install/usr/include -isystem
=C2=A0/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu= -isystem
=C2=A0/build/emacs/stage/usr/include'
=C2=A0'LDFLAGS=3D-L/build/emacs/parts/emacs/install/lib
=C2=A0-L/build/emacs/parts/emacs/install/usr/lib
=C2=A0-L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
=C2=A0-L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu =C2=A0-L/build/emacs/stage/usr/lib''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Messages

Minor modes in effect:
=C2=A0 recentf-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 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 minibuffer-regexp-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load recentf
tree-widget wid-edit time-date compile text-property-search comint<= br> subr-x ansi-osc ansi-color ring comp-run bytecomp byte-compile
comp-common rx warnings icons cl-loaddefs cl-lib rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen
pgtk-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
nadvice seq simple cl-generic indonesian philippine 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 abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
= code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar
= make-network-process tty-child-frames native-compile emacs)

Memory information:
((conses 16 88314 19791) (symbols 48 8421 0) (strings 32 20906 1600)
=C2=A0(string-bytes 1 716862) (vectors 16 12038)
=C2=A0(vector-slots 8 163474 8069) (floats 8 27 2) (intervals 56 46= 0 0)
=C2=A0(buffers 1064 12))

--------------FJnjYe5IlaWgQwokCjIBpOcG-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 03 17:54:01 2025 Received: (at 78666) by debbugs.gnu.org; 3 Jun 2025 21:54:01 +0000 Received: from localhost ([127.0.0.1]:42887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMZa5-0004FJ-4H for submit@debbugs.gnu.org; Tue, 03 Jun 2025 17:54:01 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:57396) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uMZa2-0004F4-Mh for 78666@debbugs.gnu.org; Tue, 03 Jun 2025 17:53:59 -0400 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7d0976776dcso554999885a.2 for <78666@debbugs.gnu.org>; Tue, 03 Jun 2025 14:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748987633; x=1749592433; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=UyR/GDCOgO9zhZRlFeshY2g3iX0svzA+p+RDN8tmx50=; b=ZO2eJUZAQbVcUQYovazRrGEpurvJU/byE52LusLg+EbKjuw1CLmO0VNKcBe56CJCIm bSs/Za1hugBFjRPa8whv6qB+26Fjbbhb/KkVH2TJo0DWiQLGUNuI36D0bav7UYHJz2va oDqTXqiZnRvB/9OBjV3Xv8voMx4dJ+loZHZ5OHwj8Y1EkGzHBJe17zK3ouHw8r91iTfa dQxbSw39+WaBqCJCrvaAA48+ik7trpEp98h+2JqxRK+bslzKodT8QnamC2mi2rQbqvwj n5ka+bCXwajcpXaJtWCHvuJuf60uNBEvDYRQbXQQUtSVWNcLBL+Pm4Kwn3P3vjcNAJ8k ixUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748987633; x=1749592433; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UyR/GDCOgO9zhZRlFeshY2g3iX0svzA+p+RDN8tmx50=; b=HdqRE9qd7f+bsOgAdCE6UTJpVjzvJtLT1hkZ9ttd9h99xqLi9Jgk+8m03UmksUd8mq AX9YcXxuBYkWs5T73bZeA4q5ZXCBy73jsh5XGVJTROeST2BisVdyooYVpWdF8/fVi3rh UdMVKgQOr5CIWutizFGbTGfBmG0Llksz0wXw6Y6ePkdoSfGVRnkOox1Lz5/7SPr/E0Pm jklmtWWlR78sO2mr7dahnK6yZqFzWgpUpXbBm4vHMf7HVFrPHnAKZRtDUVoT6BEQRnK/ hcOKgzyfVWdMy9jpR5tEUQuxNi6kNOd6SZnGdjNyI6pmQgjcShg06BTxVJLN9TogG1wE BNbw== X-Gm-Message-State: AOJu0YwYgLLQf7bIxZVnc2Itzi9uxVtyi2tGxUqesZZ7NcQbh9w5s6SD H1OSOkWl8julzjog7Z6bwtjPF/D96D3hATzSaGarV48VbflHM2MIL4kP9KSukQ== X-Gm-Gg: ASbGncvRu5nE7VhaZXyLTU+rIOnZXsydwkx3MhowMEaIo6kPKMvJiq7IQ7cKS++Lr+T r/vor4Zy+k0lLSnfQ7LS2ADUNv33AgIFF3Lx97IoajYclNoH4ghk9nDE8+aVslf9KBeHivCY0YA Nqk3ebdoDdPTMbik8BNm/LlfnoIR/YXt4pG34bSrvZo1dEP3F5IFJi4o8zUia/NidlusYWmd41j UNGcvG2dgGEOOoIf/1kmzBZ1/d9Xf+aYYhZEZ1TgjzqMv0K0bmseyYhMV55l30hOLQVNq4IdlCT Gb69jrye2/G7Vv1URIa8Lyn4f/Xy3EFiQ6jvPqgIt/XqJ6+yL1+h4A0TbCYvYAL0UyFq1HDuvga 41g9dXcbI9+CuFyPOgZZFcg== X-Google-Smtp-Source: AGHT+IEOwBgwCIhxvjRtQ7zFeNuXlowBQtk8LfW1V+fa2B4g9h7ycbFENkAD8tX4Z16gljMX/TY9Nw== X-Received: by 2002:a05:620a:471e:b0:7cc:ffaf:60a5 with SMTP id af79cd13be357-7d21986ac45mr113338285a.3.1748987632761; Tue, 03 Jun 2025 14:53:52 -0700 (PDT) Received: from ?IPV6:2601:447:c580:e8e0:8a07:aa2f:a7ed:2879? ([2601:447:c580:e8e0:8a07:aa2f:a7ed:2879]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d09a1a7949sm909745985a.108.2025.06.03.14.53.52 for <78666@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jun 2025 14:53:52 -0700 (PDT) Message-ID: <9ae568fa-e021-4b19-b7f4-6ffd28c86afe@gmail.com> Date: Tue, 3 Jun 2025 16:53:51 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: 31.0.50; recentf-open-files reports opening the last file accessed To: 78666@debbugs.gnu.org References: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> Content-Language: en-US From: Rick In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78666 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) With some help from @NickD in this thread https://emacs.stackexchange.com/questions/84614 I've isolated the messages source to this function: (defun recentf-dialog-goto-first (widget-type)   "Move the cursor to the first WIDGET-TYPE in current dialog. Go to the beginning of buffer if not found."   (goto-char (point-min))   (condition-case nil       (let (done)         (widget-move 1)         (while (not done)           (if (eq widget-type (widget-type (widget-at (point))))               (setq done t)             (widget-move 1))))     (error      (goto-char (point-min))))) Perhaps the real problem is in widget-move and the messages should not even be generated.  But that isn't something I have a way to tell.  What I CAN tell is that given they seem to  serve no purpose beyond creating confusion I see they can easily be eliminated using widget-move's optional suppress-echo parameter. Specifically, change  (widget-move 1)  to  (widget-move 1 t) in BOTH invocations within the above function. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 03 18:51:47 2025 Received: (at 78666) by debbugs.gnu.org; 3 Jun 2025 22:51:48 +0000 Received: from localhost ([127.0.0.1]:43171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMaTy-0000pz-5B for submit@debbugs.gnu.org; Tue, 03 Jun 2025 18:51:47 -0400 Received: from mout.gmx.net ([212.227.15.19]:42731) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uMaTu-0000oN-Bo for 78666@debbugs.gnu.org; Tue, 03 Jun 2025 18:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1748991096; x=1749595896; i=stephen.berman@gmx.net; bh=/xcsUUcJ2mHr0eKthoVL5vEx+unRBJG82D9eYCdzKU4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=atz83Jw0PtBNiNWdJD+k2Y6UFhIscC7RHx8XcsUs0Ql81E6KHN+UmuwxJQg3OCfn hhOYAgJV9ursI79/RZjTDhimgztyji0S37WPy5SV4SuJeA3XXW/vNKF+/aohgaYCD 2bz5X/4yVlrGoocdUzu5lBOg+Ux3ZZq/5ZbiS6cOs/VhlFhvMogHXwSr2M+Nse1H7 DuPLQ1IQTzHodDJOkFECFrq7RQEb6yAnnbWI3Z6vePHAVaxDslwjdfZQlowxLJ3un QqzF2i5xeo6hzTh9eaVKXU7y1W6xRMSzwTNHJzNTCT3UihNhItUt7x2hPROzbKUNR 0z8TV8x6Qaa3bRDqCA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs2 ([94.134.94.214]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N4z6k-1v3Vz201n2-011TNe; Wed, 04 Jun 2025 00:51:36 +0200 From: Stephen Berman To: Rick Subject: Re: bug#78666: 31.0.50; recentf-open-files reports opening the last file accessed In-Reply-To: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> References: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> Date: Wed, 04 Jun 2025 00:51:35 +0200 Message-ID: <87iklcl9qg.fsf@rub.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:UKnlS03YKzBvn78cZ/Hty/degqpvwUB+KkUESih3pW2CSpEEvsw 4U8y1WSZebmnMy9cqrq42IuL6R3eor4CQIbhsz7kwfnsd9frm8Gycjec6yepDZHfYRcJlMw vYvJrsdVrTuYfVFeP6BngUbWsE4qduFZz+le1E2gDkL9n4e52V4L5bnVbzcPI/H6ARHpuPa fOuUMM5mk/ITGzU6PqKxA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:xCGAy9TpMKM=;4VpsZdiMD/H1pjxNXwQWdQv5Jcx bqrBrZCBMyRV7hfvg+nkeFazceDZaICu3dwtPWzs4udyl0CPcOT8AElsDlHz8GbbOPqdd3JFM 4p2q+jDAbGE0igXoOkzQv7chrp8wnSwmt1SQhSmkLuJ83EMqberpaTHbJhNGtLm0+uN9nPWha NlRrKU2JOg8CUlo8qHbpmN6JKWH6lQJmolBDqKUIcHxLavu5ESlkzOeRP+DHQMY9m67bFJEIa 6hnxNJ+nmSo8rMwUtsuTr8BByv9zLpd8yBQ11hs29zFoaP8VECxfXwJboadax5JD53w+tGOdY nOVOmguoeJRtGkOF2yfBZOAmlKWruZyomW32tegl63g256gmtNwm0pvX+vO+POBm7wuayyFsg SegzlM5iIqjQKAMymz2OaHBp7tYgNuwYwDeod8m7l21Rp3yFjKyGmGwfPvjUmFZrZqQ88ECua UgUN4J4Tf7vlTIpL0XtAnyofTGAaW9BxWETJwUQJMUMFcselyhD5MgaGjDYAcd5w7CKWmsz84 tpNSpP5uozKs/0p+vvkp9pvH6QYfl6MsF9FcjcGCISAyhB0I3u6/dCeLQDj5awgd0RV3SW2nH eQTNTSWR03DA0vu0/pUHWib2OcMiYZR1xkIPA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K4L/wkPoVbSqYnP56IhL1TmTq tVyHambbGl0olqzJSn9+tGNIVyeH+iTovboXVlEGhSQv7q1LFLh076rFwVuJwvAmXYaJhkQdK IFo3firxBnuKpjQOxj4Q8AF7mFtFxTG2CGs8cmzxxzKbmi4F/jNm/IiwqfgpM3QPOu80nKFId 0E9e8y+giv8TuRHcBrQ45nBwoxekXicheVpXK7N8T17nzvtW/tE7hn2juMoCxBftS8gRSHCPY ZBJ2oB3/DaG7eX67vQ1i/1aI8aHxL+63yPkoLvsmz62iHAUXA9YG1mMXoMxDBX/WserUCpWQI YSXb0H6ejEbSdJl94zftN1u948JmTYzVz6MdIeGkJRsuTDTcNJn974ihZeQvaApHiP4LN47hN 4ou6g4xwbdMYwEtXE7/8LiN8yaXG1NdOjm0lCCNxweWI8LmwqILGaOPe1uCKzy4hwO3yb8/cA 29b1hxg7y2iYNjhCl27kraPD4U9KvdYOMwGFfsQU871+ZKvdPKUGGBLi3UjJyNEMNkwmct0GH 2c03jL6XhhiKyG/i X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 78666 Cc: 78666@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sun, 1 Jun 2025 18:34:45 -0500 Rick wrote: > --text follows this line-- > You can recreate most of the problem starting with -Q however you must > have a previously populated recentf file before starting. > > M-x recentf-mode > M-x recentf-open-files > > Now switch to the *Messagers* buffer and notice something similar to: > > =C2=A0=C2=A0=C2=A0 Loading /home/rick/.emacs.d/recentf...done =C2=A0=C2= =A0=C2=A0 Cleaning up the recentf > list...done (0 removed) =C2=A0=C2=A0=C2=A0 Mark set =C2=A0=C2=A0=C2=A0 Op= en > /snap/emacs/2827/usr/share/emacs/31.0.50/lisp/files.el.gz > > Observe that it claims to have opened the most recent item on recentf-lis= t, > as loaded from the pre-populated recentf file.=C2=A0 In my case .../files= .el.gz. > > There doesn't seem to be a buffer actually associated with the file but > it's unclear whether it was subsequently closed or a spurious message. I think you misunderstood those messages: each one is help text to inform you that by checking the box of that item you will open the file (in GUI Emacs you can see the same text in a tooltip if you move the mouse pointer over the item). So they are not informing you that the file has been opened. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 03 20:21:33 2025 Received: (at 78666) by debbugs.gnu.org; 4 Jun 2025 00:21:33 +0000 Received: from localhost ([127.0.0.1]:43609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMbso-00015h-3j for submit@debbugs.gnu.org; Tue, 03 Jun 2025 20:21:33 -0400 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:43248) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uMbsk-00014C-GI for 78666@debbugs.gnu.org; Tue, 03 Jun 2025 20:21:27 -0400 Received: by mail-qt1-x82d.google.com with SMTP id d75a77b69052e-4a42f28017eso5251541cf.0 for <78666@debbugs.gnu.org>; Tue, 03 Jun 2025 17:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748996480; x=1749601280; darn=debbugs.gnu.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=CxwKwNWfq3wlnmSM4zYazWUZtIkYREieGxHk+M+3ePg=; b=h7nHEAGq0vQTw6pZEwfpPVXMVdboVvgxmGlCCtG5CIww60263hH2nI2eMAweOGlINZ k1LLtpLLXzafSZz0YS5ec54Lin7x/wwr3caa/R64Ud4vkB6VkWUnruN8jAx1lQXnrEez YE2pZwp0feQwJhOwNoLxB/bpF2djkGmwMy9c9Cjyve5apVVXOLOAKUS74ldbjE8xnUsQ fOGSflYAOcCf+VFk4oTVPWDQUNL1oB1sI0y6gLJD5lG4uCmKNPVvmUUNAKOC6w9tJ2AH 8KKYy5cIWsJ89ikPgwrOEKDFU00rAiqvO6HKO0B41TZc74xI3lXCSEy0L136abp4IIX5 drKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748996480; x=1749601280; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=CxwKwNWfq3wlnmSM4zYazWUZtIkYREieGxHk+M+3ePg=; b=n1f56qBCECBUfEzE9+y/n7AxCUNQztEyL8eOEU6EQbUOmAVVu2LcCy8gACjx9MG7m3 4pTfFid/69YcEgZEnEqF5dmBfSkjVnUJAeIP8fVv0rS/e1aD/mEEQkXmYfVmeoYFEMob ZJkVOkOhnaA7eT4XGL6zfIl+/bpxVCyUG90CD+pHpSIdV0PfdKquKbH+98EDcSKSWIl+ vBgOveFakXfFbQ9FQBrJlxXJkbN6OjxIl7/wqA7KbGYKEKvQhbCH9KzD1JwBHbdv1Gsy VV/McjdbSYwyRNyo4F2twKdS9jQYpRhF/2lZ5NmkoqiX81iuzm2YRzoR/jwhN5IygYz0 QV1w== X-Gm-Message-State: AOJu0YzmJQhfHMcZX1zB6WUTEL771ayYkF6b7AsOX2mKmGwwK+876pDt bajLAtpGWt8yP+zkUCvyqaooM4uYEh7M/IqngwyYGUbgKJCJIXLbZEPa X-Gm-Gg: ASbGncvTG6ipLNIQdqw55gTouYU83R7OUOmEdp8DLRYImJ3504rsTbcw4hTLzHrW4Jj gYUBHc+DG/NWhUTG6Er9lsIv8011UXzlmmmPyY9D0V5Gaengi+E4+wuhWrMjFClzURcGD7+foM8 T6lAdvQHO9dXntGMX8+ITMQ0hp70NDrNHqoLAHWsEEADW2FqPhrq5GoaIgfnL/3jmRLrhlKU5Et vXY42aABuSNZl4d3zcVPirbaL3/eHyoQhJlL+0Kn1b4Qh4wOdvQehP1IUwZW1XOZRnG8p+tn94T JNQ9a2e1S7vVhBhPzwbWmv+OgXjCjYlcKKtUG9we72tnBt1XUJZGg9s+Pxlp+88dmJkBsfOjV73 A8Kv/1pnf6CZINbFpajSxWQ== X-Google-Smtp-Source: AGHT+IHV+NQwKDS4JHI098wEwz/WCmSipEM1d28K/YyW0iNJ40Ojwkff/drx+Gk+s/xeFyd11WdRxQ== X-Received: by 2002:a05:622a:1c0f:b0:494:9d6b:620f with SMTP id d75a77b69052e-4a5a56f44a1mr15348841cf.14.1748996480487; Tue, 03 Jun 2025 17:21:20 -0700 (PDT) Received: from ?IPV6:2601:447:c580:e8e0:8a07:aa2f:a7ed:2879? ([2601:447:c580:e8e0:8a07:aa2f:a7ed:2879]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4a5917e334bsm35033281cf.50.2025.06.03.17.21.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jun 2025 17:21:20 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------FuiCC8e70x5DJjxYdRY0UBOV" Message-ID: <229cdfb2-904f-4184-991c-af0bdb2139ac@gmail.com> Date: Tue, 3 Jun 2025 19:21:19 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#78666: 31.0.50; recentf-open-files reports opening the last file accessed To: Stephen Berman References: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> <87iklcl9qg.fsf@rub.de> Content-Language: en-US From: Rick In-Reply-To: <87iklcl9qg.fsf@rub.de> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78666 Cc: 78666@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------FuiCC8e70x5DJjxYdRY0UBOV Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit It seems you are confirming that the messages are in fact spurious at this point in the execution process because they are generated prior to the window being presented to the user.   You are describing messages that are only useful once the user starts being able to interact with the buffer so other than at this point they are correct, necessary, appropriate. Given I'm not mistaken, I'm now much more confident that the fix I suggested an hour or so ago ago is only pretty close to the correct way to deal with it.  I will now amend my suggestion to the following. Add the optional parameter (accepted by widget-move) to recentf-dialog-goto-first so that 't' can be passed to widget-move when recentf-edit-list and recentf-open-files call it.  All other callers will default to nil and therefore be unaffected.  This should cleanly remove them exactly and only where they are inappropriate. (defun recentf-dialog-goto-first (widget-type *_&optional quietly_*)   "Move the cursor to the first WIDGET-TYPE in current dialog. Go to the beginning of buffer if not found."   (goto-char (point-min))   (condition-case nil       (let (done)         (widget-move 1 _*quietly*_)         (while (not done)           (if (eq widget-type (widget-type (widget-at (point))))               (setq done t)             (widget-move 1 _*quietly*_))))     (error      (goto-char (point-min))))) (defun recentf-open-files (&optional files buffer-name) ...     (recentf-dialog-goto-first 'link *_t_*))) (defun recentf-edit-list () ...     (recentf-dialog-goto-first 'checkbox *_t_*))) On 6/3/25 17:51, Stephen Berman wrote: > On Sun, 1 Jun 2025 18:34:45 -0500 Rick wrote: > >> --text follows this line-- >> You can recreate most of the problem starting with -Q however you must >> have a previously populated recentf file before starting. >> >> M-x recentf-mode >> M-x recentf-open-files >> >> Now switch to the *Messagers* buffer and notice something similar to: >> >>     Loading /home/rick/.emacs.d/recentf...done     Cleaning up the recentf >> list...done (0 removed)     Mark set     Open >> /snap/emacs/2827/usr/share/emacs/31.0.50/lisp/files.el.gz >> >> Observe that it claims to have opened the most recent item on recentf-list, >> as loaded from the pre-populated recentf file.  In my case .../files.el.gz. >> >> There doesn't seem to be a buffer actually associated with the file but >> it's unclear whether it was subsequently closed or a spurious message. > I think you misunderstood those messages: each one is help text to > inform you that by checking the box of that item you will open the file > (in GUI Emacs you can see the same text in a tooltip if you move the > mouse pointer over the item). So they are not informing you that the > file has been opened. > > Steve Berman --------------FuiCC8e70x5DJjxYdRY0UBOV Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

It seems you are confirming that the messages are in fact spurious
at this point in the execution process because they are generated
prior to the window being presented to the user.   You are
describing messages that are only useful once the user starts
being able to interact with the buffer so other than at this point
they are correct, necessary, appropriate.

Given I'm not mistaken, I'm now much more confident that the
fix I suggested an hour or so ago ago is only pretty close to
the correct way to deal with it.  I will now amend my suggestion
to the following.  

Add the optional parameter (accepted by widget-move) to
recentf-dialog-goto-first so that 't' can be passed to widget-move
when recentf-edit-list and recentf-open-files call it.  All other
callers will default to nil and therefore be unaffected.  This should
cleanly remove them exactly and only where they are inappropriate.

(defun recentf-dialog-goto-first (widget-type &optional quietly)
  "Move the cursor to the first WIDGET-TYPE in current dialog.
Go to the beginning of buffer if not found."
  (goto-char (point-min))
  (condition-case nil
      (let (done)
        (widget-move 1 quietly)
        (while (not done)
          (if (eq widget-type (widget-type (widget-at (point))))
              (setq done t)
            (widget-move 1 quietly))))
    (error
     (goto-char (point-min)))))


(defun recentf-open-files (&optional files buffer-name)
...
    (recentf-dialog-goto-first 'link t)))


(defun recentf-edit-list ()
...
    (recentf-dialog-goto-first 'checkbox t)))


On 6/3/25 17:51, Stephen Berman wrote:
On Sun, 1 Jun 2025 18:34:45 -0500 Rick <rbielaws@gmail.com> wrote:

--text follows this line--
You can recreate most of the problem starting with -Q however you must
have a previously populated recentf file before starting.

M-x recentf-mode
M-x recentf-open-files

Now switch to the *Messagers* buffer and notice something similar to:

    Loading /home/rick/.emacs.d/recentf...done     Cleaning up the recentf
list...done (0 removed)     Mark set     Open
/snap/emacs/2827/usr/share/emacs/31.0.50/lisp/files.el.gz

Observe that it claims to have opened the most recent item on recentf-list,
as loaded from the pre-populated recentf file.  In my case .../files.el.gz.

There doesn't seem to be a buffer actually associated with the file but
it's unclear whether it was subsequently closed or a spurious message.
I think you misunderstood those messages: each one is help text to
inform you that by checking the box of that item you will open the file
(in GUI Emacs you can see the same text in a tooltip if you move the
mouse pointer over the item).  So they are not informing you that the
file has been opened.

Steve Berman
--------------FuiCC8e70x5DJjxYdRY0UBOV-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 04 09:37:30 2025 Received: (at 78666) by debbugs.gnu.org; 4 Jun 2025 13:37:30 +0000 Received: from localhost ([127.0.0.1]:48946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMoJ3-0004UX-Bh for submit@debbugs.gnu.org; Wed, 04 Jun 2025 09:37:29 -0400 Received: from mout.gmx.net ([212.227.17.20]:60425) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uMoIx-0004Sn-Fb for 78666@debbugs.gnu.org; Wed, 04 Jun 2025 09:37:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1749044232; x=1749649032; i=stephen.berman@gmx.net; bh=9KPzMzjaUbV1ASB1LWNAJLih1zJqZQUg1+SViWFyIAQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=WTtERVRNZLfLJLen3ji5OinUywsaI5s99hQBTQCGtF+UuNMlQFIzNFj+2jSN77c6 xbpXmCZ80ZaFFnbZT4MDGX1SR0qaDL/GOFQBt4YYDnAEZNL+6VXLiKuaCSQScZDut E/hPcOL+8mzU09HTnXfJEgDAv5yCaQEupe3k5An368XZkqtlhahGHUhFgZntXJ5ii 7US3EpYqFjchVHbELsjCb7v7AhJLIre/LD0v8xOJozJsM5sqy/MSJ6fJBL+n3D8xC LIrJayXBgAdMzqxNe4Osyy5SBFW9sJ8PUm0w8j6EjSxRRZ5nq6uiql8EnWTR+4wr2 OhGwdcIF34VeJ8ETjw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs2 ([88.130.50.123]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M9Fnj-1uT9Qe2vkV-003tw2; Wed, 04 Jun 2025 15:37:11 +0200 From: Stephen Berman To: Rick Subject: Re: bug#78666: 31.0.50; recentf-open-files reports opening the last file accessed In-Reply-To: <229cdfb2-904f-4184-991c-af0bdb2139ac@gmail.com> References: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> <87iklcl9qg.fsf@rub.de> <229cdfb2-904f-4184-991c-af0bdb2139ac@gmail.com> Date: Wed, 04 Jun 2025 15:37:11 +0200 Message-ID: <87a56nr5ko.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:8Mtiw3VqgPA9FLSgr0uYTDQJwxwQfz5wDKUZbSzs0JlV7ShOXeI LWsehETxkzJLU8Jc5hfJ3Y9lrVQo+zoPREps/ujuW2Xv+V8t2ys9uHmPQBJIJf89bVw8owZ cLnaYJP+OHh8MiUFBha40fcH+a1JUOjzs7Jl1OHxPlxpwB0jagf2791r59bh+z3WDS6sokI areaqHRcHrGf5P9zF3vvQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:P70AQ9BuQ5E=;HL2lADU80H4SfagF78NQRQ/wTQj YwVtmf8lNusDWOGIpY8MQKZo6m0+oYZZs9drmFlexiWz/DOYI5vObvrLvqA/fgjULV5xfUsCE HNJbzN1qrMdYycBuV3sHrxaEo0VGXtzgUar1WrVnSyivaYB1WM+xPNyTwKLZbMaNB9NAmhI/s tbALZxWGLnDm+U6zGeviWmOJ906Kc9Zl71JRYhfCLkbJ1JC/BDifNIxRHde7KVk4QhSrNHXjQ iVVucnb89HqgWV4jOEl65xl3a2sDkxp6e4i6b3YRKKBguq8xNoTdi8ftIErJL3Cs8qtWT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oMgqRVde4lQrsfiDuV4sLEb 00qU1fGyYCBZA6DkuafctPfgNfZFQBxvJfniWPU6c3rFvIHfRFt9Ru+d8f5o3Km6I9uM+POKn Xlyc4MQVzVywjlw1yWBOk99m20RjynXzTb5AQkx6DIgwAeBShqANwxpdNCXRdIB+qacrdpEDU ddPJEXmwJWNH/8EhmZEig21WIfudnmQd69d7j5niItFjsVrNUmz6iE9vXDVjdhsKUoBqYB0Dr HLEhdmvNKcycWMn1pr8kHbQaT5+HSNOTMzKDQzQaYmAC7SxzWQi4xGtkqyA7940pWfrj9g++r RLue4NkSpbzwrlKElaJ8H7pIIuBLwYq81XmrhWvizaWsQK1XapTvRniu4K4ol3kNX1gfUlyfO HUyowsYaKVsHTC9ENpNiCiHAiWi5Cj2KaxJgCrzzo6kLifHpMnnRQmutKjLIJz5noxm+ybVyp N393taAek3/SXklyAMet1X9hOxHQ2eyf2PgCxgVstC2A0emvgnc43qxhMn6Kv0hMLffhyf62Q LQrRu5n+w7W6GlwGeRByAIgvQ6gjrXSVoC0xngswxS4yN3Fhaj9U9hMf+jrUxse7sYltwLz/A W18EmRbslSQyOl9oaceaZMsjXi1oemuWgP164MuEg6Pn7T0DhyWOKdb1CbJbaw+8/tS1q0PNS DdEJUpihe0tNGkGwfvU9NntXskz0ozVIYvuu3HU0+p8LT9DOI4dx1TifUBtTAnHk9+IREuOYw YVZdNiIm2BIHS4HlSb4CQGbbrPXrMDXy3PFBc6tCZhXsGIInXy1YhLfZzNdYF8pMISe7ZHpa5 B0CfX60gZZZaDPHB09uHfv8qqCTI5npYpgYH884OIWIvrXDpvWU6uRQ1CjA= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 78666 Cc: 78666@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, 3 Jun 2025 19:21:19 -0500 Rick wrote: [I moved the quoted message from me up for continuity.] > On 6/3/25 17:51, Stephen Berman wrote: >> On Sun, 1 Jun 2025 18:34:45 -0500 Rick wrote: >> >>> --text follows this line-- >>> You can recreate most of the problem starting with -Q however you must >>> have a previously populated recentf file before starting. >>> >>> M-x recentf-mode >>> M-x recentf-open-files >>> >>> Now switch to the *Messagers* buffer and notice something similar to: >>> >>> =C2=A0=C2=A0=C2=A0 Loading /home/rick/.emacs.d/recentf...done =C2=A0= =C2=A0=C2=A0 Cleaning up the recentf >>> list...done (0 removed) =C2=A0=C2=A0=C2=A0 Mark set =C2=A0=C2=A0=C2=A0 = Open >>> /snap/emacs/2827/usr/share/emacs/31.0.50/lisp/files.el.gz >>> >>> Observe that it claims to have opened the most recent item on recentf-l= ist, >>> as loaded from the pre-populated recentf file.=C2=A0 In my case .../fil= es.el.gz. >>> >>> There doesn't seem to be a buffer actually associated with the file but >>> it's unclear whether it was subsequently closed or a spurious message. >> I think you misunderstood those messages: each one is help text to >> inform you that by checking the box of that item you will open the file >> (in GUI Emacs you can see the same text in a tooltip if you move the >> mouse pointer over the item). So they are not informing you that the >> file has been opened. >> >> Steve Berman > > It seems you are confirming that the messages are in fact spurious > at this point in the execution process because they are generated > prior to the window being presented to the user.=C2=A0=C2=A0 You are > describing messages that are only useful once the user starts > being able to interact with the buffer so other than at this point > they are correct, necessary, appropriate. > > Given I'm not mistaken, I'm now much more confident that the > fix I suggested an hour or so ago ago is only pretty close to > the correct way to deal with it.=C2=A0 I will now amend my suggestion > to the following. > > Add the optional parameter (accepted by widget-move) to > recentf-dialog-goto-first so that 't' can be passed to widget-move > when recentf-edit-list and recentf-open-files call it.=C2=A0 All other > callers will default to nil and therefore be unaffected.=C2=A0 This should > cleanly remove them exactly and only where they are inappropriate. > > (defun recentf-dialog-goto-first (widget-type *_&optional quietly_*) > =C2=A0 "Move the cursor to the first WIDGET-TYPE in current dialog. > Go to the beginning of buffer if not found." > =C2=A0 (goto-char (point-min)) > =C2=A0 (condition-case nil > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let (done) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (widget-move 1 _*quietly*_) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (while (not done) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (eq widget-typ= e (widget-type (widget-at (point)))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (setq done t) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (widge= t-move 1 _*quietly*_)))) > =C2=A0=C2=A0=C2=A0 (error > =C2=A0=C2=A0=C2=A0=C2=A0 (goto-char (point-min))))) > > > (defun recentf-open-files (&optional files buffer-name) > ... > =C2=A0=C2=A0=C2=A0 (recentf-dialog-goto-first 'link *_t_*))) > > > (defun recentf-edit-list () > ... > =C2=A0=C2=A0=C2=A0 (recentf-dialog-goto-first 'checkbox *_t_*))) I took a closer look at recentf.el and found that the messages (which come from the :help-echo property in `recentf-open-files-item') are displayed only on invoking `recentf-open-files' and on tabbing between items in the *Open Recent* buffer; invoking `recentf-edit-list' or tabbing between check boxes in that list does not display such a message (so my assertion above was wrong in referring to check boxes). So you don't need to change `recentf-edit-list'. (And in fact, it isn't necessary to change `recentf-open-files' either, see the attached patch.) Also, your change only affects displaying the message on creating the open file dialog; further messages are still displayed when tabbing between items in that buffer. In your second post you said you saw several messages, also repeated ones. AFAICT all messages but the first can only result from tabbing between items; if this is not what you see, please give a precise recipe detailing what you find problematic. If you do also want to suppress the messages on tabbing between items, then I think more extensive changes are needed. For one thing, since displaying the messages has long been the status quo, suppressing them should be optional (though I agree with you that displaying the message on creating the *Open Recent* buffer seems like a bug). Moreover, since tabbing invokes the commands `widget-forward' and `widget-backward' (which in turn invoke `widget-move'), these need to be changed as well. The attached patch implements these changes. Steve Berman --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Description: patch for bug#78666 Content-Transfer-Encoding: quoted-printable diff --git a/lisp/recentf.el b/lisp/recentf.el index a773ea9ec01..71f3eedfe43 100644 =2D-- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -330,6 +330,14 @@ recentf-show-messages :group 'recentf :type 'boolean :version "31.1") + +(defcustom recentf-suppress-open-file-help nil + "If non-nil, suppress help message on tabbing in open file dialog. +If nil, show the help message on tabbing. (In any case, the help text +is displayed in a tooltip when the mouse pointer moves over the item)." + :group 'recentf + :type 'boolean + :version "31.1") =0C ;;; Utilities ;; @@ -1099,15 +1107,34 @@ recentf-dialog-goto-first Go to the beginning of buffer if not found." (goto-char (point-min)) (condition-case nil - (let (done) - (widget-move 1) + (let ((no-echo (or recentf-suppress-open-file-help + (not (or (eq this-command #'recentf-forward) + (eq this-command #'recentf-backward))))= ) + done) + (widget-move 1 no-echo) (while (not done) (if (eq widget-type (widget-type (widget-at (point)))) (setq done t) - (widget-move 1)))) + (widget-move 1 no-echo)))) (error (goto-char (point-min))))) =20 +(defun recentf-forward (arg) + "Move the cursor to the next widget in the current dialog. +With prefix argument ARG, move to the ARGth next widget. If +`recentf-suppress-open-file-help' is non-nil, suppress help messages in +the echo area in the open recentf dialog." + (interactive "p") + (widget-forward arg recentf-suppress-open-file-help)) + +(defun recentf-backward (arg) + "Move the cursor to the previous widget in the current dialog. +With prefix argument ARG, move to the ARGth previous widget. If +`recentf-suppress-open-file-help' is non-nil, suppress help messages in +the echo area in the open recentf dialog." + (interactive "p") + (widget-backward arg recentf-suppress-open-file-help)) + (defvar-keymap recentf-dialog-mode-map :doc "Keymap used in recentf dialogs." :parent (make-composed-keymap recentf--shortcuts-keymap widget-keymap) @@ -1139,6 +1166,8 @@ recentf-dialog (recentf-dialog-mode) ,@forms (widget-setup) + (keymap-local-set " " #'recentf-forward) + (keymap-local-set " " #'recentf-backward) (switch-to-buffer (current-buffer)))) =0C ;;; Edit list dialog diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index db241ca914a..311e39f4c0f 100644 =2D-- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -1383,19 +1383,23 @@ widget-move (widget-echo-help (point))) (run-hooks 'widget-move-hook)) =20 -(defun widget-forward (arg) +(defun widget-forward (arg &optional suppress-echo) "Move point to the next field or button. -With optional ARG, move across that many fields." +With optional ARG, move across that many fields. +When the second optional argument is non-nil, +nothing is shown in the echo area." (interactive "p") (run-hooks 'widget-forward-hook) - (widget-move arg)) + (widget-move arg suppress-echo)) =20 -(defun widget-backward (arg) +(defun widget-backward (arg &optional suppress-echo) "Move point to the previous field or button. -With optional ARG, move across that many fields." +With optional ARG, move across that many fields. +When the second optional argument is non-nil, +nothing is shown in the echo area." (interactive "p") (run-hooks 'widget-backward-hook) - (widget-move (- arg))) + (widget-move (- arg) suppress-echo)) =20 ;; Since the widget code uses a `field' property to identify fields, ;; ordinary beginning-of-line does the right thing. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 04 10:43:56 2025 Received: (at 78666) by debbugs.gnu.org; 4 Jun 2025 14:43:56 +0000 Received: from localhost ([127.0.0.1]:50642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMpLQ-0003ME-9s for submit@debbugs.gnu.org; Wed, 04 Jun 2025 10:43:56 -0400 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:44511) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uMpLN-0003Ld-Fq for 78666@debbugs.gnu.org; Wed, 04 Jun 2025 10:43:54 -0400 Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-7d0a47f6692so552713485a.1 for <78666@debbugs.gnu.org>; Wed, 04 Jun 2025 07:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749048228; x=1749653028; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kFyiA9TySUtmmhxPgG6lFxI5A4YqQA7fsUNwk677pc8=; b=M+GzRfPNwnc5rITrplFgQ/NJutxuvmLlL4jAEOGj1mwXXLMjc28rU+vdQcYlRCddt9 u9rum9DhNpWaoSuP7OGrnUZHkrqFC3lYDbkJt1nDPHKlsjrh3wOtw5HRHdaA4EnOdKCb TIQnf97YnUFP34uNqdkhxYQBAHM3s6YRDOnITOFe6q6wsfUqvkQ3kHB5QZscWPcWJUxA YPzzCQLPor/2lv3t2+wkQKnLCXSiFqICh3Oi5c4qNQa9DJ2jGuI8dzGxry4Tk6nQ50K9 ZZQeUxyM/qsbTHzwhxTOOkisbFCZ6tWDW+CRURav/pPeK7Sv0n2YLwgth9i7MaJJ8jwF PnNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749048228; x=1749653028; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kFyiA9TySUtmmhxPgG6lFxI5A4YqQA7fsUNwk677pc8=; b=iS40nMYL8Dz9ZqueGSbtiIXchyDVEbKr/kVMCNHiNnusDWhySrSn/xasVi98utufyw HA4kMYVFZQnai302L91Xlz9nHKiuc3BTr8sNEp1ZUIN4AcDa1fNXLzjkam/f5HOiGBGj HqkHWL0p+HLLm8K5j8kzHIWGqxFd8ZQy0ayf3B8SMi2ZeLDh9k8GsFecEN75X/1sCGsv KmhGWGbtD96ux0H5oU/uEfrsRXlM+Hsb+UsU4CKyVtiR2cx/Oo0CzvAQkByKyvy7zNBk vRQihafrPf9WvFpgtwIG7Oq52xsK8bYD8NgGJQgCuYGD8DB7ND1LJOMbaXO1Y3gD+q0c qjgg== X-Gm-Message-State: AOJu0YxeHsb6XA/KKRkzmJiJHeZ+qRPga1/bwsmPVO2T2t8ArReqGPee WsI9CRQywys2s0YO6IbKCq2PhI9vrGyYdXjhkJFFvyAPm9+M7BJvww9s X-Gm-Gg: ASbGncvbb2q/+kTZtx0SInQzMDbPhLp6DJDNGS9OMEKOuPfRz0iNL4yuf0QNyhbHrU7 kuO9eIPzVaOcXtYtA8i67Y7QqqCX509vr4QQS6VdumnuSE0HcEgKVRlu9DiAFOFjaxS5MYZkIFp dp5hBfVVhjOPLeadaQ4rr1loId5lNay7G5MspZ82WB4NBHfcIJei5EtsIdakGiTBFJG8tmCk8Kc L3Y/YSZBkHqK024aIBnZgK3QfpWJWZ7vJH5k3M8YNOMVMHHyZHqXxI6dlo65+eMd8olq9ep/b4c XQDuKVuqyvy8Yw0/EJGlH7fwHLcoZa8uJRmyH6vR+zWcGv6i5P8ugvW4PEYxYz60bdY0ly8fsj+ EmkRFweUNbZJ6eWsYY0/pOw== X-Google-Smtp-Source: AGHT+IFhg+zXSZEDa0gunsKOJKrCVmYcw32zzNtuTh2l3xr8fmnDUGvzo42vMcGoZpeXdkejaFl08w== X-Received: by 2002:a05:620a:24d1:b0:7cd:49d6:32ce with SMTP id af79cd13be357-7d21a69874fmr369528885a.32.1749048227531; Wed, 04 Jun 2025 07:43:47 -0700 (PDT) Received: from ?IPV6:2601:447:c580:e8e0:3550:9e3a:283a:90d4? ([2601:447:c580:e8e0:3550:9e3a:283a:90d4]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d09a1142d0sm1039428185a.65.2025.06.04.07.43.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jun 2025 07:43:47 -0700 (PDT) Message-ID: Date: Wed, 4 Jun 2025 09:43:46 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#78666: 31.0.50; recentf-open-files reports opening the last file accessed To: Stephen Berman References: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> <87iklcl9qg.fsf@rub.de> <229cdfb2-904f-4184-991c-af0bdb2139ac@gmail.com> <87a56nr5ko.fsf@gmx.net> Content-Language: en-US From: Rick In-Reply-To: <87a56nr5ko.fsf@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78666 Cc: 78666@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I took a closer look at recentf.el and found that the messages (which > come from the :help-echo property in `recentf-open-files-item') are > displayed only on invoking `recentf-open-files' and on tabbing between > items in the *Open Recent* buffer; invoking `recentf-edit-list' or > tabbing between check boxes in that list does not display such a message > (so my assertion above was wrong in referring to check boxes). So you > don't need to change `recentf-edit-list'. (And in fact, it isn't > necessary to change `recentf-open-files' either, see the attached > patch.) > > Also, your change only affects displaying the message on creating the > open file dialog; further messages are still displayed when tabbing > between items in that buffer. In your second post you said you saw > several messages, also repeated ones. AFAICT all messages but the first > can only result from tabbing between items; if this is not what you see, > please give a precise recipe detailing what you find problematic. > > If you do also want to suppress the messages on tabbing between items, > then I think more extensive changes are needed. For one thing, since > displaying the messages has long been the status quo, suppressing them > should be optional (though I agree with you that displaying the message > on creating the *Open Recent* buffer seems like a bug). Moreover, since > tabbing invokes the commands `widget-forward' and `widget-backward' > (which in turn invoke `widget-move'), these need to be changed as well. > The attached patch implements these changes. > > Steve Berman Nice bonus.  Thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 17 03:51:15 2025 Received: (at 78666) by debbugs.gnu.org; 17 Jun 2025 07:51:15 +0000 Received: from localhost ([127.0.0.1]:52846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRR6A-0000lX-9i for submit@debbugs.gnu.org; Tue, 17 Jun 2025 03:51:14 -0400 Received: from mout.gmx.net ([212.227.17.20]:49653) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRR66-0000kk-Sd for 78666@debbugs.gnu.org; Tue, 17 Jun 2025 03:51:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1750146664; x=1750751464; i=stephen.berman@gmx.net; bh=ZNjT4Ku13pkOMHXZ3ySOJ8scxcHChpI+0vdClfnjBVM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=UeuvWnW6+6HohdhjnQb1C8mlGcH3JlNrHFeUuA5VfVpRpqWjIfrSlvX+nhz/k0Us e5vMHrG9yTdogXPomZ90DyIzbIYOgqfvyU5g/Unno2EE+biGQz2/7nHPxUSbql89Q 3oiJ5Y3aprpnphh8oyuhW1AIpqEjKbCzhlWbMebS4LLcVg71cP/+Qczg9ZGAjFAUe tsaPSV9JyNSBIpnAoFXTAMMD2aaDHF9iuNIgVjEyztPpKqZ0h4Ui45wZ/UX8z2S8K fYBY33szl7PYVQi+OvBQymKJq33MkUf7u3v5YMRePatZxvjcq29FXg9GV3rhm+nOd mU8Z60v1AmGUI7qGIQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs2 ([94.134.94.38]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mf0BG-1uz5tV3orK-00mf42; Tue, 17 Jun 2025 09:51:03 +0200 From: Stephen Berman To: Rick Subject: Re: bug#78666: 31.0.50; recentf-open-files reports opening the last file accessed In-Reply-To: References: <0ff49cfb-3682-4c70-954d-1d99eda00ad2@gmail.com> <87iklcl9qg.fsf@rub.de> <229cdfb2-904f-4184-991c-af0bdb2139ac@gmail.com> <87a56nr5ko.fsf@gmx.net> Date: Tue, 17 Jun 2025 09:51:03 +0200 Message-ID: <87cyb2olg8.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:y1D/nzp3KMpC8ZVXWpdGdc878DWw6IjGoDP6OpV9jd7kpzK2V0S bMkNopvryCPfg2eSH1dGXnQnZJv6SrSoMvoq02NbuLpfl9jC1HbxSlY3XlfY+dfaZtNVdcg n4/RL21lrU9146wxX4x8yeaJBw7Y5+zdQuNZM+Mif+rh/66+f34vMB9X+74AAoHYuQKkIEK lKNmsn4LWjYKVXbbZoLjg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:5eQupMVjGxI=;c3bkdkeLxbHuIAUwF6VG56GHAAs lW2AcmeEYX4nscIIBOw+q/7QM3dX1cL0L/TsSznalW1QlDKPWj/+kPyiy96xFI3AC6CWEpgsh CIkGjVd7WsoeQ348WDuZmcHGatvP9LOFSje561q5t2aIDMbLQlk/h7MuCdSulpDCKDk1J1qxO HO5FzXfwIanSdWypczk0oQNLwG8pODtjvmz3uJU7KHQdjZr8NEaSY9+WSrlRxW35+Y4VkdiCp 6vtsxroV8NG6hEHz0RX/z37neIMmmY0vxsWOHmwbNYHdNUd+1GdSrLMSMRpe/dMlwfQRuegUp LmUHuqxvC0Otnm4PyG5/gIjst7l2efsNGZb2+wp1heW+WqG8Mwkc6MMO4J+jw+361fsW7iGJE ZBMjSAg99bJumsGAw4uJLWrToZEykokqDFsIDB2UPpr/rBpDZdA2NqDFU0l+jdrr+C5+mq6uf /SUgKaN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OCkHxprec/45UsxcBsBfnEKniRk6X62R9UD51dvtCu QG6DLJ8O8MfMkkOxNBXZSeMsgkd8W7jsyqdWqVWJCdR2oWjxjISg2p4jiVHjEM6Pa9xN9skF9 747wVvzKVrwhMzMkdkKWrqPogqVCZileaTbnLGa4HMe3Yyh0+C+BocZ21SXh60/mqXMjzJGzO VyroFsFdaRkUUUr39WN9rBg7BIxl6uUp5eKgXH7qx67zr3Q8XUtdKQkqFKyk8kj5CbegvpQsn LuMAU1g+6B3GSn3plYvKfjiRkXqw1Ozq1/uTCRnqvqhEgx6/Ac8DdHcmcfZF/F1H/T7F5/LA1 nOFFeteT6KpcBC7zINtVDMrZdVXm4pk7Z/zDJhdlQy2kR0Dt7St7NckTgOOm62FWvVQsiBgp2 hM00/NpRt7lJ3qSZTyD6e+aIaemOkA1c8nGZulUUN0WYRU/xK4V1spvltuctvNQWDNeG2kP41 TxUCYrcsW1Qym5TuupBGGqbSvxV3qo3hZUJdaySZ8TfR1HS6kSFH6Gy7ZZxega6AkXTgBsyJt Rea8fYJMLgNJ3XfUHDg83oZy0MaT6mf9EOn6e3V9EbjjtC9I26rI1OuM4+Dx7zUlabR2oKagT TkFyTlIiV7C0AueEczi1CTTt+OUcAk9Q3RqtL5lTX/VKAHpFzMb7anVqzqRfVRrKtysA= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 78666 Cc: 78666@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, 4 Jun 2025 09:43:46 -0500 Rick wrote: >> I took a closer look at recentf.el and found that the messages (which >> come from the :help-echo property in `recentf-open-files-item') are >> displayed only on invoking `recentf-open-files' and on tabbing between >> items in the *Open Recent* buffer; invoking `recentf-edit-list' or >> tabbing between check boxes in that list does not display such a message >> (so my assertion above was wrong in referring to check boxes). So you >> don't need to change `recentf-edit-list'. (And in fact, it isn't >> necessary to change `recentf-open-files' either, see the attached >> patch.) >> >> Also, your change only affects displaying the message on creating the >> open file dialog; further messages are still displayed when tabbing >> between items in that buffer. In your second post you said you saw >> several messages, also repeated ones. AFAICT all messages but the first >> can only result from tabbing between items; if this is not what you see, >> please give a precise recipe detailing what you find problematic. >> >> If you do also want to suppress the messages on tabbing between items, >> then I think more extensive changes are needed. For one thing, since >> displaying the messages has long been the status quo, suppressing them >> should be optional (though I agree with you that displaying the message >> on creating the *Open Recent* buffer seems like a bug). Moreover, since >> tabbing invokes the commands `widget-forward' and `widget-backward' >> (which in turn invoke `widget-move'), these need to be changed as well. >> The attached patch implements these changes. >> >> Steve Berman > > Nice bonus.=C2=A0 Thanks Since my patch goes beyond a minimal fix for the problem reported, I think it's appropriate that at least one of the Emacs maintainers should approve it or explain why it should not be installed. So this is a request for maintainer feedback. Thanks. Steve Berman