From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Dec 2023 04:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 67946@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170313431429983 (code B ref -1); Thu, 21 Dec 2023 04:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Dec 2023 04:51:54 +0000 Received: from localhost ([127.0.0.1]:42212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGB2F-0007nQ-GK for submit@debbugs.gnu.org; Wed, 20 Dec 2023 23:51:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:56480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG9tT-0000nY-9p for submit@debbugs.gnu.org; Wed, 20 Dec 2023 22:38:46 -0500 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 1rG9tI-0003Jc-Pw for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 22:38:32 -0500 Received: from public.lockywolf.net ([46.23.90.181]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rG9tE-0004vK-Tx for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 22:38:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2021-05-20; bh=dtUnK51Qh rm6v4/LTBRztXz4bPOIemU9K9HUueF9eWg=; h=date:subject:to:from; d=lockywolf.net; b=XxrLM4SqOfKrUWHFHuQpprTzg8sIabYPiKL9IqNcSTuxhN7dhzA yYIEWwPfffbXLfV5wA2h2lllWKtgiplAobYz83zZHl8MIVI+a3+01YbrWcE19jQf5Eo/cR OX5LNlMts2bxXm5xy9NO8LgFQERyop78VBigxmMbVvSw6YWQYs= Received: from laptop.lockywolf.net ( [2001:470:24:315::102]) by public.lockywolf.net (OpenSMTPD) with ESMTPSA id a38a5f31 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 21 Dec 2023 04:38:17 +0100 (CET) User-agent: mu4e 1.10.7; emacs 30.0.50 From: Vladimir Nikishkin Date: Thu, 21 Dec 2023 11:26:52 +0800 Message-ID: <87a5q41azk.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=46.23.90.181; envelope-from=for_emacs-recentf-patch_2023-12-21@lockywolf.net; helo=public.lockywolf.net 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Mailman-Approved-At: Wed, 20 Dec 2023 23:51:45 -0500 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.1 (/) --=-=-= Content-Type: text/plain Dear Emacs Developers, I have the following setting in my init.el (add-hook 'buffer-list-update-hook 'recentf-track-opened-file) (add-hook 'buffer-list-update 'recentf-save-list) The first one is the one recommended by describe-function recentf-mode, and the second one is to make this switch persistent, and resistant to emacs being killed. However, I am getting a lot of messages like `Wrote /home/lockywolf/.emacs.d/recentf', which are not very helpful normally. I am attaching a trivial patch (001_patch-recentf-verbose.patch), which adds a `recentf-verbose' defcustom, which, when set to nil, would suppress these messages. Please, consider including it into Emacs. In GNU Emacs 30.0.50 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2023-09-22 built on laptop.lockywolf.net Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Slackware 15.0 x86_64 Configured using: 'configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --mandir=/usr/man --infodir=/usr/info --without-gconf --without-gsettings --with-modules --with-json --with-native-compilation=aot --with-imagemagick --with-pdumper --with-xwidgets --enable-year2038 --with-tree-sitter --with-cairo-xcb --build=x86_64-slackware-linux 'CFLAGS=-O2 -fPIC -g'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: memento-mori-mode: t highlight-doxygen-global-mode: t hes-mode: t global-highlight-parentheses-mode: t highlight-parentheses-mode: t global-color-identifiers-mode: t frecentf-mode: t idle-org-agenda-mode: t gnus-dired-mode: t mu4e-modeline-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t ido-everywhere: t async-bytecomp-package-mode: t global-git-commit-mode: t magit-auto-revert-mode: t server-mode: t global-flycheck-mode: t global-hl-todo-mode: t gdb-many-windows: t global-company-mode: t company-mode: t auto-insert-mode: t pdf-occur-dired-minor-mode: t pdf-occur-global-minor-mode: t shackle-mode: t dired-omit-mode: t global-auto-revert-mode: t electric-pair-mode: t which-function-mode: t global-hl-line-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-hi-lock-mode: t hi-lock-mode: t windmove-mode: t savehist-mode: t recentf-mode: t save-place-mode: t super-save-mode: t xterm-mouse-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t auto-save-visited-mode: t abbrev-mode: t Load-path shadows: /home/lockywolf/.emacs.d/elpa/company-cmake-0.1/company-cmake hides /home/lockywolf/.emacs.d/elpa/company-20230303.2331/company-cmake /home/lockywolf/OfficialRepos/org-noter/org-noter hides /home/lockywolf/.emacs.d/elpa/org-noter-20230728.2037/org-noter /home/lockywolf/OfficialRepos/org-noter/org-noter-core hides /home/lockywolf/.emacs.d/elpa/org-noter-20230728.2037/org-noter-core /home/lockywolf/.emacs.d/elpa/cmake-mode-20230323.1312/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/lockywolf/.emacs.d/elpa/transient-20231112.923/transient hides /usr/share/emacs/30.0.50/lisp/transient /home/lockywolf/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /usr/share/emacs/30.0.50/lisp/use-package/bind-key /home/lockywolf/.emacs.d/elpa/flim-20230205.1423/sasl hides /usr/share/emacs/30.0.50/lisp/net/sasl Features: (shadow mail-extr face-remap emacsbug time-stamp shortdoc bug-reference c++-ts-mode c-ts-mode c-ts-common cl-print ffap misearch multi-isearch vc-git matlab matlab-scan matlab-syntax matlab-compat pulse dired-aux company-oddmuse company-keywords make-mode company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb init rc-local lockywolf-postamble-laptop display-line-numbers lockywolf-exwm exwm exwm-input xcb-keysyms exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xkb xcb-xproto xcb-types xcb-debug lockywolf-erc erc-track erc-match erc erc-backend erc-networks erc-common erc-compat erc-loaddefs lockywolf-equake equake lockywolf-gui-x11 hamburger-menu lockywolf-gui-general diary-lib diary-loaddefs memento-mori highlight-doxygen highlight-escape-sequences highlight-parentheses rainbow-mode color-identifiers-mode prettify-greek form-feed tsdh-dark-theme lockywolf-calc calc calc-loaddefs calc-macs lockywolf-monitoring frecentf persist frecency a dirtrack idle-org-agenda lockywolf-autocomplete-ido avy lockywolf-org-scientific-large org-download org-attach org-mind-map org-sticky-header org-pdftools pdf-annot facemenu org-noter org-noter-djvu org-noter-nov org-noter-pdf org-noter-core org2blog ox-wp writegood-mode metaweblog xml-rpc url-http url-auth url-gw nsm hydra lv htmlize org-journal org-crypt cal-iso org-sidebar org-ql-search org-ql-view ov org-super-agenda ht org-ql peg ts org-habit org-duration org-mru-clock ox-beamer ox-org ox-md ox-extra ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-clock ob-maxima ob-fortran ob-shell ob-latex ob-scheme geiser-impl help-fns radix-tree geiser-custom geiser-base geiser ob-C ob-plantuml org-tempo tempo org-protocol ox-youtube org-ebib org-bibtex-extras ol-bibtex ox-bibtex org-inlinetask org-fancy-priorities lockywolf-cryptography pinentry lockywolf-elfeed lockywolf-email-pim bbdb bbdb-site gnus-dired mu4e-speedbar speedbar ezimage dframe mu4e mu4e-org mu4e-notification notifications mu4e-main mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win mu4e-headers mu4e-compose mu4e-draft mu4e-actions mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-config mu4e-window mu4e-obsolete message-view-patch auth-source-xoauth2 auth-source-pass smtpmail-multi smtpmail khardel yaml-mode vdirel org-vcard lockywolf-tex company-auctex vdm-snippets yasnippet bib-cite auctex-latexmk latex latex-flymake tex-ispell tex-style tex texmathp cdlatex lockywolf-bibtex ivy-bibtex bibtex-completion org-capture biblio biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi biblio-core ido f f-shortdoc s ebib helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async ivy delsel ivy-faces ivy-overlay colir ebib-reading-list ebib-notes org-element org-persist org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat avl-tree org-version org-macs ebib-filters ebib-keywords ebib-utils ebib-db parsebib mule-util bibretrieve bibtex-utils reftex reftex-loaddefs reftex-vars bibtex lockywolf-plantuml flycheck-plantuml plantuml-mode lockywolf-matlab lockywolf-scheme scheme-complete scheme lockywolf-emacs-lisp paredit-menu paredit lockywolf-helm lockywolf-vala vala-mode cc-langs lockywolf-cpp clang-format+ clang-format eldoc-cmake cmake-mode rst company-c-headers flycheck-clangcheck google-c-style cc-mode cc-fonts cc-guess cc-menus cc-cmds lockywolf-fortran f90 lockywolf-bash sh-script smie treesit executable lockywolf-version-control magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient magit-git magit-base crm magit-section vc vc-dispatcher lockywolf-spellchecking-hard languagetool languagetool-server languagetool-console languagetool-java languagetool-issue languagetool-correction languagetool-core flycheck lockywolf-spellchecking-simple hl-todo compat flyspell ispell lockywolf-debugging gdb-mi bindat gud lockywolf-advanced-editing eglot external-completion jsonrpc flymake-proc flymake diff diff-mode ert debug backtrace markdown-mode color company autoinsert ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util lockywolf-ggtags ggtags hippie-exp etags fileloop xref project ewoc lockywolf-tramp lockywolf-shells esh-help dash em-unix em-smart esh-mode esh-var eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util lockywolf-paper-pdf-djvu djvu pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc pdf-tools pdf-view derived pdf-cache pdf-info tq pdf-util pdf-macs doc-view jka-compr image-mode exif ps-print ps-print-loaddefs lpr lockywolf-downloaded-packages diminish shackle trace mic-paren cl lockywolf-dired dired-x lockywolf-treesitter lockywolf-standard-packages artist picture reporter rect eww url-queue thingatpt shr pixel-fill kinsoku url-file svg dom puny mm-url gnus nnheader gnus-util range woman man info-colors secrets dbus comp comp-cstr warnings xml locate dired dired-loaddefs arc-mode archive-mode compile autorevert filenotify elec-pair which-func imenu hl-line display-fill-column-indicator hi-lock foldout edmacro kmacro noutline outline windmove bookmark text-property-search savehist recentf tree-widget saveplace tramp-sh tramp trampver tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec ansi-color tramp-loaddefs super-save rmail rfc6068 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils image-file image-converter cl-extra help-mode lockywolf-handy-own-functions-keybindings lockywolf-basic-init xt-mouse use-package-ensure-system-package system-packages cus-edit pp cus-load icons wid-edit use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core init-custom finder-inf 0blayout-autoloads auctex-latexmk-autoloads auth-source-xoauth2-autoloads bind-key-autoloads cdlatex-autoloads centered-cursor-mode-autoloads chatgpt-shell-autoloads cmake-font-lock-autoloads cmake-mode-autoloads color-identifiers-mode-autoloads anaconda-mode-autoloads auctex-autoloads tex-site company-emoji-autoloads company-math-autoloads ac-php-core-autoloads company-quickhelp-autoloads company-shell-autoloads company-autoloads consult-eglot-autoloads consult-autoloads csv-mode-autoloads debpaste-autoloads diminish-autoloads djvu-autoloads ebib-autoloads elisp-depmap-autoloads emms-info-mediainfo-autoloads emms-autoloads ess-autoloads exwm-x-autoloads exwm-autoloads flycheck-ocaml-autoloads flycheck-phpstan-autoloads flymake-easy-autoloads frecentf-autoloads frecency-autoloads a-autoloads geiser-chez-autoloads geiser-chibi-autoloads geiser-mit-autoloads geiser-racket-autoloads geiser-stklos-autoloads geiser-autoloads flycheck-autoloads gitlab-pipeline-autoloads ghub-autoloads go-mode-autoloads graphviz-dot-mode-autoloads haskell-mode-autoloads highlight-doxygen-autoloads highlight-escape-sequences-autoloads highlight-indent-guides-autoloads highlight-parentheses-autoloads hy-mode-autoloads i3wm-autoloads i3wm-config-mode-autoloads imenu-list-autoloads info-colors-autoloads ivy-bibtex-autoloads ivy-autoloads jabber-autoloads fsm-autoloads jupyter-autoloads khardel-autoloads kotlin-mode-autoloads languagetool-autoloads lua-mode-autoloads magit-todos-autoloads hl-todo-autoloads markdown-preview-mode-autoloads markdown-mode-autoloads math-symbol-lists-autoloads matlab-mode-autoloads merlin-autoloads mermaid-mode-autoloads mermaid-ts-mode-autoloads message-view-patch-autoloads magit-autoloads pcase git-commit-autoloads mic-paren-autoloads mu4e-conversation-autoloads mu4e-jump-to-list-autoloads nginx-mode-autoloads ob-hy-autoloads ob-mermaid-autoloads ocaml-ts-mode-autoloads org-bib-mode-autoloads org-contrib-autoloads org-download-autoloads org-imenu-autoloads org-journal-autoloads org-mru-clock-autoloads org-pdftools-autoloads org-noter-autoloads org-ref-autoloads citeproc-autoloads bibtex-completion-autoloads biblio-autoloads biblio-core-autoloads org-roam-autoloads magit-section-autoloads emacsql-autoloads org-sidebar-autoloads org-ql-autoloads org-sticky-header-autoloads org-super-agenda-autoloads org-xlatex-autoloads org2blog-autoloads metaweblog-autoloads ov-autoloads ox-pandoc-autoloads paredit-autoloads parsebib-autoloads pcre2el-autoloads pcsv-autoloads pdf-drop-mode-autoloads pdf-view-pagemark-autoloads pdf-tools-autoloads peg-autoloads persist-autoloads phpstan-autoloads php-mode-autoloads pomm-autoloads alert-autoloads log4e-autoloads gntp-autoloads pos-tip-autoloads pythonic-autoloads f-autoloads qml-mode-autoloads qt-pro-mode-autoloads queue-autoloads rainbow-mode-autoloads semi-autoloads flim-autoloads apel-autoloads shell-maker-autoloads sml-mode-autoloads smog-autoloads spell-fu-autoloads sr-speedbar-autoloads srv-autoloads string-inflection-autoloads sudo-edit-autoloads tablist-autoloads telega-autoloads rainbow-identifiers-autoloads transient-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads treepy-autoloads ts-autoloads dash-autoloads tuareg-autoloads rx caml-autoloads cc-styles cc-align cc-engine cc-vars cc-defs vdirel-autoloads helm-autoloads popup-autoloads helm-core-autoloads async-autoloads org-vcard-autoloads visual-fill-column-autoloads websocket-autoloads with-editor-autoloads info compat-autoloads writegood-mode-autoloads xml-rpc-autoloads yaml-mode-autoloads s-autoloads zmq-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1523764 420437) (symbols 48 99499 0) (strings 32 382852 18970) (string-bytes 1 12879328) (vectors 16 147918) (vector-slots 8 3842385 201399) (floats 8 1392 9690) (intervals 56 11091 4667) (buffers 992 41)) -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=001_patch-recentf-verbose.patch diff --git a/lisp/recentf.el b/lisp/recentf.el index 94ae871763b..b9272cb672e 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -319,6 +319,11 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-verbose t + "Non-nil means to show debugging messages related to the recentf machinery." + :group 'recentf + :type 'boolean) ;;; Utilities ;; @@ -1324,7 +1329,10 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + recentf-verbose + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Dec 2023 09:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Vladimir Nikishkin Cc: 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.170315153022137 (code B ref 67946); Thu, 21 Dec 2023 09:39:01 +0000 Received: (at 67946) by debbugs.gnu.org; 21 Dec 2023 09:38:50 +0000 Received: from localhost ([127.0.0.1]:42420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGFVx-0005kz-TI for submit@debbugs.gnu.org; Thu, 21 Dec 2023 04:38:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGFVu-0005kl-Sv for 67946@debbugs.gnu.org; Thu, 21 Dec 2023 04:38:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGFVl-0007iE-57; Thu, 21 Dec 2023 04:38:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kUcwvh5puz4gh4DB8yv6nKI5s/kjoqalzmpMdUCp9mo=; b=lOtdqPx3J9OF SffKHA9peTtlmbgrYgJFqOVoS5qtS1n/9R43vpomVnr/f5snH2svTJDjJ924G9VrlS6hnmTrnCVL8 l5t1LBNu1LfXcZaZ+5kz7j/vRgM7uRITAeapP57+Y7iUrMOf8vI5F/5eskc34Qx/Mkzqjf1hyf8he 9EWbkK6qC/71kVq6b/3rcROv03xS22Zt+xkat6HN4S/EcGcGnAhuHwuNUD1XBG2M0DnjFCdqyOitA tm+VF8WY58/u/YKJ5rmoGrtMK1cnKhYJjVPFFevsXTv3vBprHj/9dMiJj3uQuRrxDZHs17stPypMQ 1airZ1hnWy5KJSExN0J87g==; Date: Thu, 21 Dec 2023 11:37:54 +0200 Message-Id: <83zfy3gakt.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87a5q41azk.fsf@laptop.lockywolf.net> (message from Vladimir Nikishkin on Thu, 21 Dec 2023 11:26:52 +0800) References: <87a5q41azk.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Vladimir Nikishkin > Date: Thu, 21 Dec 2023 11:26:52 +0800 > > I have the following setting in my init.el > > (add-hook 'buffer-list-update-hook 'recentf-track-opened-file) > (add-hook 'buffer-list-update 'recentf-save-list) > > The first one is the one recommended by describe-function recentf-mode, > and the second one is to make this switch persistent, and resistant to > emacs being killed. > > However, I am getting a lot of messages like > `Wrote /home/lockywolf/.emacs.d/recentf', which are not very helpful > normally. > > I am attaching a trivial patch (001_patch-recentf-verbose.patch), which > adds a `recentf-verbose' defcustom, which, when set to nil, would > suppress these messages. Thanks, I have a few comments about the proposed changes: > +(defcustom recentf-verbose t > + "Non-nil means to show debugging messages related to the recentf machinery." > + :group 'recentf > + :type 'boolean) This currently only controls the "Wrote" message, so "show debugging messages" is a bit misleading. Also, new defcustoms should have a :version tag > @@ -1324,7 +1329,10 @@ recentf-save-list > (format ";; coding: %s\n" recentf-save-file-coding-system) > ";; End:\n") > (write-region (point-min) (point-max) > - (expand-file-name recentf-save-file)) > + (expand-file-name recentf-save-file) > + nil > + recentf-verbose > + ) You pass the value of recentf-verbose, either nil or t, to write-region, but the only way to suppress the "Wrote" message from write-region is to pass a non-nil, non-t value in the 5th argument; see the doc string of write-region. So the above will not suppress the "Wrote" message, neither if the new defcustom is t nor if it is nil, and the code needs some simple changes to do what you want. Am I missing something? Finally, this change needs a NEWS entry. And please accompany the change with a ChangeLog-style commit log message; see CONTRIBUTE for how to format the log message, and see "git log" in the repository for examples of how we do this in practice. Thanks again for working on this. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Dec 2023 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Vladimir Nikishkin Cc: 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.170342878129412 (code B ref 67946); Sun, 24 Dec 2023 14:40:02 +0000 Received: (at 67946) by debbugs.gnu.org; 24 Dec 2023 14:39:41 +0000 Received: from localhost ([127.0.0.1]:51848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHPdl-0007eK-Bs for submit@debbugs.gnu.org; Sun, 24 Dec 2023 09:39:41 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:52564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHPdj-0007e4-7F for 67946@debbugs.gnu.org; Sun, 24 Dec 2023 09:39:39 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-55333eb0312so2593158a12.1 for <67946@debbugs.gnu.org>; Sun, 24 Dec 2023 06:39:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703428767; x=1704033567; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=jknWbwHkoxG5NcLm+awgcF5bhJbaECD/Tie8JVBoaII=; b=d27n+Qpk1ql57uJUfwxAKUjA69wsNKZAT/Lfqk8UO2FgZ33nBxvfs6k18jQ+Ytbcy5 SVasvDwQUfTAeHYYaXzLffXlodAF1gEax1kdsm2fIEXkZGWzt8holYS4Kj6FvBocMDHO /PvPiNrqSPw4AyN14hg8DA9cZbv5NQsvbxoz5ybOfr8BC9guRY8VH4aScFs1YoHmXY3v j/GhoP2Jma+Yn4rUg9zw7tOsbxmL9B3A4CU2SlFP7v7Q6v8UYh+DdO0QIYbZ5GizatMb hjRBin5IDkckO2XaM9Jpnr9LW7SNnXFt8nfXLTCyNZkrOuT8U8LNZc+AVsEl8RgeM+hd t70A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703428767; x=1704033567; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jknWbwHkoxG5NcLm+awgcF5bhJbaECD/Tie8JVBoaII=; b=cq29bw8wld55gXlbZSus+JYuzer/knVG5LwmYd2cHJRtqqR2+otTvr0m3tebC3dCSP pwp+r2f/MQlTjUrklWA4CwTyktU+N+wJbjSdLaliVxpm2AtPkpEMr03TCNl6vSV3B8Ir GT9z4El4EhyrPa9X+FYwY6jQ1R2sfj4dWTW4D/TKGpz/IHf/jS+2Q07pZon3ZuXMBBdp 0PMdGYn4nfIDfgAOEt9Vv4ADL+9fL6LbtYaIpzneANYfBOltF+r4he2EpYw+zgzpIL3F Vt1BQKrI/H8urV1y48X0sf7Hy5ktaAfjeBVpDwwvGTwpd5TCzmwTPkcmCzwAo5Moisbw U68w== X-Gm-Message-State: AOJu0YzCjQn1LGNud+JHQOvoMANp0Ti9cttsaiL5J2TadpYF+9VcKJb6 ro3dMqBzdf2uduQEzqCBAYm9h93Se/1A/EMOZCY= X-Google-Smtp-Source: AGHT+IHEVxqEmg5v6/Wfp9A7a6epOR2sdAzdLTCo2FW+Shdh3DYiQvYeOhv9Zd716j5BpU1OcZB4tuubr4s1sTkIud0= X-Received: by 2002:a50:8d4e:0:b0:554:53d0:23ea with SMTP id t14-20020a508d4e000000b0055453d023eamr3248761edt.60.1703428767452; Sun, 24 Dec 2023 06:39:27 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Dec 2023 06:39:27 -0800 From: Stefan Kangas In-Reply-To: <87a5q41azk.fsf@laptop.lockywolf.net> (Vladimir Nikishkin's message of "Thu, 21 Dec 2023 11:26:52 +0800") References: <87a5q41azk.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Date: Sun, 24 Dec 2023 06:39:27 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) 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 (-) Vladimir Nikishkin writes: > I have the following setting in my init.el > > (add-hook 'buffer-list-update-hook 'recentf-track-opened-file) > (add-hook 'buffer-list-update 'recentf-save-list) > > The first one is the one recommended by describe-function recentf-mode, > and the second one is to make this switch persistent, and resistant to > emacs being killed. > > However, I am getting a lot of messages like > `Wrote /home/lockywolf/.emacs.d/recentf', which are not very helpful > normally. When are these messages helpful? From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Dec 2023 05:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17034816031616 (code B ref 67946); Mon, 25 Dec 2023 05:21:02 +0000 Received: (at 67946) by debbugs.gnu.org; 25 Dec 2023 05:20:03 +0000 Received: from localhost ([127.0.0.1]:53801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHdNh-0000Pj-En for submit@debbugs.gnu.org; Mon, 25 Dec 2023 00:20:02 -0500 Received: from public.lockywolf.net ([2a03:6000:6f63:638::2]:47062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHdNc-0000PV-Tc for 67946@debbugs.gnu.org; Mon, 25 Dec 2023 00:20:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2021-05-20; bh=EXOfB796D NJmrDfYbVjFe/kJUKjDfWQuNWcvqGxpPkw=; h=in-reply-to:date:subject:cc:to: from:references; d=lockywolf.net; b=X/ZvThBw1kBsmUYJHzVOPMTH40Oz841s+w PuaXvUliHAUMBppzTusNK9zV00wjLkyu3sHhwMya1DN+qagZ8Qk72vi0GfYeepZruiSsrL MnTidPg6baq7lh1Y8VwqFez73/1msDqqRgU6RNLoiwMuf36dyFCNGrxcA7wSLO0QiUM= Received: from laptop.lockywolf.net ( [2001:470:24:315::102]) by public.lockywolf.net (OpenSMTPD) with ESMTPSA id 67ac0256 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 25 Dec 2023 06:19:45 +0100 (CET) References: <87a5q41azk.fsf@laptop.lockywolf.net> User-agent: mu4e 1.10.7; emacs 30.0.50 From: Vladimir Nikishkin Date: Mon, 25 Dec 2023 13:17:37 +0800 In-reply-to: Message-ID: <87wmt2505y.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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 (-) Stefan Kangas writes: > Vladimir Nikishkin > writes: > >> I have the following setting in my init.el >> >> (add-hook 'buffer-list-update-hook 'recentf-track-opened-file) >> (add-hook 'buffer-list-update 'recentf-save-list) >> >> The first one is the one recommended by describe-function recentf-mode, >> and the second one is to make this switch persistent, and resistant to >> emacs being killed. >> >> However, I am getting a lot of messages like >> `Wrote /home/lockywolf/.emacs.d/recentf', which are not very helpful >> normally. > > When are these messages helpful? Are you suggesting to turn them off unconditionally? It would make sense, I guess. It might be useful when debugging "why is my recentf file not updated", but if such an issue arises, I guess, instrumenting "recentf-save-list" is more of a straightforward thing? -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Dec 2023 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Vladimir Nikishkin Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17035071463195 (code B ref 67946); Mon, 25 Dec 2023 12:26:02 +0000 Received: (at 67946) by debbugs.gnu.org; 25 Dec 2023 12:25:46 +0000 Received: from localhost ([127.0.0.1]:54101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHk1i-0000pQ-91 for submit@debbugs.gnu.org; Mon, 25 Dec 2023 07:25:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHk1g-0000p6-9t for 67946@debbugs.gnu.org; Mon, 25 Dec 2023 07:25:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHk1U-0000Hx-BK; Mon, 25 Dec 2023 07:25:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zQ2vv1eLhhRRZWa0IPeSUyGJk1UHYjqR9r68i1Qa1uo=; b=NPcVX9CkphCm q/zoR8unhVKvVCkV+7f5lUzXU0MOkaQAy6NKPdaiTNU88EUHerJfLYUzc1okq9uWMUYshX0gcsTFy +pn+UZsCLApK1tEluRnf7rG+YAp91q9YXmive1nWs/p4BUh3lEJ1qG+1i8PCxvbNDOuhba7eHsSXX ocqwhWwcXX75/u9XZOiY2MdtiA7yzIJeZrhRWYn807zts+IzCWVNOn3+++QM6AezwAa00suB/1Jxw mC32APTD2TBScCZZHLmBkP1tQlZZCol8Y/arOD7H2clrAk47pBhbjekD63Sv+eh9gfStY2iLbMjPq bzaOehJMWexqQ7Dgq1XLmA==; Date: Mon, 25 Dec 2023 14:25:28 +0200 Message-Id: <834jg6bhaf.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87wmt2505y.fsf@laptop.lockywolf.net> (message from Vladimir Nikishkin on Mon, 25 Dec 2023 13:17:37 +0800) References: <87a5q41azk.fsf@laptop.lockywolf.net> <87wmt2505y.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > Cc: 67946@debbugs.gnu.org > From: Vladimir Nikishkin > Date: Mon, 25 Dec 2023 13:17:37 +0800 > > > Stefan Kangas writes: > > > Vladimir Nikishkin > > writes: > > > >> I have the following setting in my init.el > >> > >> (add-hook 'buffer-list-update-hook 'recentf-track-opened-file) > >> (add-hook 'buffer-list-update 'recentf-save-list) > >> > >> The first one is the one recommended by describe-function recentf-mode, > >> and the second one is to make this switch persistent, and resistant to > >> emacs being killed. > >> > >> However, I am getting a lot of messages like > >> `Wrote /home/lockywolf/.emacs.d/recentf', which are not very helpful > >> normally. > > > > When are these messages helpful? > > Are you suggesting to turn them off unconditionally? If we decide to turn it off, we will need a knob to revert to the old behavior, because after so many years of the existing behavior, someone somewhere might be used to it. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Dec 2023 21:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii , Vladimir Nikishkin Cc: 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.170354103323115 (code B ref 67946); Mon, 25 Dec 2023 21:51:02 +0000 Received: (at 67946) by debbugs.gnu.org; 25 Dec 2023 21:50:33 +0000 Received: from localhost ([127.0.0.1]:55487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHsqH-00060l-0I for submit@debbugs.gnu.org; Mon, 25 Dec 2023 16:50:33 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:47214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHsqB-00060S-Rh for 67946@debbugs.gnu.org; Mon, 25 Dec 2023 16:50:31 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-554e9f51522so668339a12.2 for <67946@debbugs.gnu.org>; Mon, 25 Dec 2023 13:50:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703541015; x=1704145815; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=ycJecH0/mIKGG9/EL17m1H/LPW9eoW3GK4s+JxRvzi8=; b=iyyzcgR9zodIsUXpu1BL9Rtvxx+Xm6ZiLUHcl5hQEe+tZMHqu3aPQgkBYcreE8a89A cW7a53THwJ9IOC1Elq2mFKaJbMrKmWgKTmckgLygL/b9nTDTNvpbnCFCyZLdHM86ZtFx UZEx2FLfRzmsrOoXnOD0BWAOrhrRPxQZR1q0N4dX3DTLwASZW0vE4exsECh2scA6rCD5 ifUbkW2ABdTS78lwcz+xo1k0ShbOFpuubp09RNgyjnTL5eBvbYX8YYbCd7MRWRZO8uyU fwYFEkKX/9qn8mgkNqpMIQ9WGg9gMHXWzS9H0HVt6TI+PCCUk5HgmzRtI7hYOmhcRxWz GngA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703541015; x=1704145815; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ycJecH0/mIKGG9/EL17m1H/LPW9eoW3GK4s+JxRvzi8=; b=QvkjHL2Y+AVsmPymOvessAHGdMJbC2nwMRJE3sOy90OUlOIaiIQM70vrRBMu2nS/S8 3wI0iN1ZEIIJSfRZh7cvPuiRVoUyI2hzqp4mTNA6nQ6DVZoEvgot5TD8DBCENswu4EOG cSD3QkT1Tn5G4txPxspRNx1MBbkahUIHv399GnMYqDpHeitrwZLftZJfd+e6AXzN3mJ4 yXX9fufhkxB3QnHsPnIyeUFXloLgahPGOrxGx0SzD1WtxkHvwG6pSjaqB64hidXVJFls cCCosfuVKQt8I85FqoJVM86edDMC7An6qEZu6b39rKY6xQefbBksif6XpX8pFpPwEAhh d0KA== X-Gm-Message-State: AOJu0YxWNiXRr2mZnFn2JFEGH1P+R014aC8IuVqlGEdgMyjXzWXahN4F NRo4CWIZSnVjhMKRj0K22ElBH+zJ1OWbLsVZTT8= X-Google-Smtp-Source: AGHT+IHzEjJexOj52iI0w35ohfnFfKT2WOHjnKKz6U2wlJsekDeWBwB9s5TE4vrkCK8IPxIaLJ8EZZkfPduwo+9Vo9A= X-Received: by 2002:a50:9999:0:b0:552:fcca:ee11 with SMTP id m25-20020a509999000000b00552fccaee11mr3640135edb.74.1703541014954; Mon, 25 Dec 2023 13:50:14 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 25 Dec 2023 13:50:14 -0800 From: Stefan Kangas In-Reply-To: <834jg6bhaf.fsf@gnu.org> References: <87a5q41azk.fsf@laptop.lockywolf.net> <87wmt2505y.fsf@laptop.lockywolf.net> <834jg6bhaf.fsf@gnu.org> MIME-Version: 1.0 Date: Mon, 25 Dec 2023 13:50:14 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) 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 (-) Eli Zaretskii writes: > If we decide to turn it off, we will need a knob to revert to the old > behavior, because after so many years of the existing behavior, > someone somewhere might be used to it. I think the existing patch basically has that already, but it seems to be lacking a NEWS entry and a :version tag for the defcustom before it can go in. Vladimir, could you fix that and send a new patch? From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Dec 2023 06:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: Eli Zaretskii , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.170357045211779 (code B ref 67946); Tue, 26 Dec 2023 06:01:01 +0000 Received: (at 67946) by debbugs.gnu.org; 26 Dec 2023 06:00:52 +0000 Received: from localhost ([127.0.0.1]:55691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rI0Um-00033D-1q for submit@debbugs.gnu.org; Tue, 26 Dec 2023 01:00:52 -0500 Received: from public.lockywolf.net ([46.23.90.181]:21371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rI0Uf-0002qR-Pn for 67946@debbugs.gnu.org; Tue, 26 Dec 2023 01:00:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2021-05-20; bh=SsJMpn4id pVSKiPgW0sX58ueOSKnicXJ5BNvfl85elc=; h=in-reply-to:date:subject:cc:to: from:references; d=lockywolf.net; b=HvR5YLHu709FiLvX9LEO1cKrmUIiR1XEDE luNKnhEyePC/E0CFNm+AIP9CCJqE9Sqtrui2KP8UlUSL15BrSKdiIXbDaOVqU9NPiKrywc 5IPxE3q297WzjDABvya9m5DAw++zaFhdd7ZD/ThF78XDrzH6Pd1iSas6ykA5+0mQJzA= Received: from laptop.lockywolf.net ( [2001:470:24:315::102]) by public.lockywolf.net (OpenSMTPD) with ESMTPSA id 10508e90 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 26 Dec 2023 07:00:32 +0100 (CET) References: <87a5q41azk.fsf@laptop.lockywolf.net> <87wmt2505y.fsf@laptop.lockywolf.net> <834jg6bhaf.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 30.0.50 From: Vladimir Nikishkin Date: Tue, 26 Dec 2023 13:58:45 +0800 In-reply-to: Message-ID: <87plyt4i6k.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain Stefan Kangas writes: > Eli Zaretskii writes: > >> If we decide to turn it off, we will need a knob to revert to the old >> behavior, because after so many years of the existing behavior, >> someone somewhere might be used to it. > > I think the existing patch basically has that already, but it seems to > be lacking a NEWS entry and a :version tag for the defcustom before it > can go in. > > Vladimir, could you fix that and send a new patch? Added an entry to etc/NEWS, and, seems, fixed the actual verbosity message printing condition. -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=001_patch-recentf-verbose_v2.patch diff --git a/etc/NEWS b/etc/NEWS index 1ff2f8a149f..9bc58e790f5 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1046,7 +1046,11 @@ desktop restoration to continue. Similarly to buffer restoration by Desktop, 'recentf-mode' checking of the accessibility of remote files can now time out if 'remote-file-name-access-timeout' is set to a positive number. - +*** New use option 'recentf-verbose'. +By default 'recentf-save-list' prints a message when saving the +recentf list. The new option, if set to nil, suppresses this message. +If more debugging info suppression switches are to be added, this +option might become more useful. ** Notifications +++ diff --git a/lisp/recentf.el b/lisp/recentf.el index 94ae871763b..616bd373232 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -319,6 +319,13 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-verbose 1 + "0 means to not show debugging messages related to the recentf machinery. +1 means show messages that were printed by default on Emacs <= 29.1." + :group 'recentf + :type 'integer + :version "30.1") ;;; Utilities ;; @@ -1324,7 +1331,12 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + (if (= recentf-verbose 1) + nil ;; show "Wrote ..." messages. + 1) ;; non-nil, non-t, non-string, do not show. + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Dec 2023 12:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Vladimir Nikishkin Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.170359455426281 (code B ref 67946); Tue, 26 Dec 2023 12:43:01 +0000 Received: (at 67946) by debbugs.gnu.org; 26 Dec 2023 12:42:34 +0000 Received: from localhost ([127.0.0.1]:56074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rI6lV-0006pp-Ru for submit@debbugs.gnu.org; Tue, 26 Dec 2023 07:42:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rI6lT-0006pb-LA for 67946@debbugs.gnu.org; Tue, 26 Dec 2023 07:42:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rI6lG-0001NV-VG; Tue, 26 Dec 2023 07:42:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ds3HS3Qo7s/9584XC7+WnQb7FxeCPthu/l7kMpz7dU0=; b=OUkwLrxs0TpU 2tnmDbY3Y8GqueobAybV+d9TUWKkGawJaQP7ZslDULZw1fc1Hkdl/PYgSxO1xG206DT+um4V3KJ5u sZhbN6ZOK0lSLZ9lU/5oWpBGmZnjn2peqx2T8Y/Ej2ta4ikOvGofw42SjnSD36yX5USVm22MnQkZD 7seFKU/yf5hd3AtsLE/YpRSdvda8+1CQ/Wboz9nVaxLRtSnJLdPFiOZ0SIwdaDv5ZV3tzBmSUzAde ThuLEJrcljGdgGeDtcVDGMVPgWSprb1A8+ojP+NAWxz08kbPp0mbp2dyErbjcfSo44Q9psp82r/Sg sF3q0xmpteHStysEzWrMrQ==; Date: Tue, 26 Dec 2023 14:41:56 +0200 Message-Id: <837cl19luz.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87plyt4i6k.fsf@laptop.lockywolf.net> (message from Vladimir Nikishkin on Tue, 26 Dec 2023 13:58:45 +0800) References: <87a5q41azk.fsf@laptop.lockywolf.net> <87wmt2505y.fsf@laptop.lockywolf.net> <834jg6bhaf.fsf@gnu.org> <87plyt4i6k.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Vladimir Nikishkin > Cc: Eli Zaretskii , 67946@debbugs.gnu.org > Date: Tue, 26 Dec 2023 13:58:45 +0800 > > Stefan Kangas writes: > > > Eli Zaretskii writes: > > > >> If we decide to turn it off, we will need a knob to revert to the old > >> behavior, because after so many years of the existing behavior, > >> someone somewhere might be used to it. > > > > I think the existing patch basically has that already, but it seems to > > be lacking a NEWS entry and a :version tag for the defcustom before it > > can go in. > > > > Vladimir, could you fix that and send a new patch? > > Added an entry to etc/NEWS, and, seems, fixed the actual verbosity > message printing condition. Thanks, a few minor comments: > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -1046,7 +1046,11 @@ desktop restoration to continue. > Similarly to buffer restoration by Desktop, 'recentf-mode' checking > of the accessibility of remote files can now time out if > 'remote-file-name-access-timeout' is set to a positive number. > - That empty separator line should not be deleted. > +*** New use option 'recentf-verbose'. ^^^ "user" > +By default 'recentf-save-list' prints a message when saving the > +recentf list. The new option, if set to nil, suppresses this message. ^^ Two spaces between sentences, please. > +If more debugging info suppression switches are to be added, this > +option might become more useful. I don't think we need this last sentence in NEWS. NEWS is about changes that are actually done, not about potential changes in the future. > +(defcustom recentf-verbose 1 > + "0 means to not show debugging messages related to the recentf machinery. > +1 means show messages that were printed by default on Emacs <= 29.1." A doc string should start with a single sentence that summarizes what the variable or function does. In this case, I suggest Whether to show verbose messages about low-level recentf actions. Also, if we are going to use an integer here, the variable should be called something like recentf-verbosity. Alternatively, we could make it a simple boolean, since we have no plans to extend it to more than 2 levels. > + :group 'recentf Do you need this :group tag? It shouldn't be needed in this case, I think. Finally, the commit log message is still missing. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 27 16:49:19 2023 Received: (at control) by debbugs.gnu.org; 27 Dec 2023 21:49:19 +0000 Received: from localhost ([127.0.0.1]:37997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbmB-0007PI-FR for submit@debbugs.gnu.org; Wed, 27 Dec 2023 16:49:19 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:60867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbm9-0007P2-Cc for control@debbugs.gnu.org; Wed, 27 Dec 2023 16:49:17 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3368fe4dcb1so4126156f8f.1 for ; Wed, 27 Dec 2023 13:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703713752; x=1704318552; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=YeXak7sRf+OvzFOeJrhZd5dKUeQHbB0PkrWbaJgxJ58=; b=KTZoAv2BDjDycS11722Za6EVNZtygWei6dhIwi2Ycq6s0pYVC5T5tIL2Woqh4baf8Q 3ngKYg9o7QmKGWo7Pf7rg8DXtw9Hnjmrtj/EKIrQrSgCDGEaynIvD7wWNsOGIADdSiA8 EnIdBWBx9e1fKOMod0jVPwgKt0YUU9Lz+6QV6W8dyEGlhQZ8W7QkoMNXEGw+kD0NNyYY ufwG0XJP2fJo6g1RNZll0IUKDbJ1FGMIllwpIT8ctWzFvBOc9G8XOPw9Le2KSWsNW9O6 R9E/nhVs0cApNsXhSLohIpVfUTjK4y2fHvSWm8VKtCLk0WnmSbYak4E+G5VZ+hdc/61v Z61w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703713752; x=1704318552; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YeXak7sRf+OvzFOeJrhZd5dKUeQHbB0PkrWbaJgxJ58=; b=vBiujxAzY2pEVLsELeIgopRpt/NEQC4MjN/JPSyboUA1za5w/Qpvs8RI8/3iDTUI95 xj8OIoRFZb6gtnIF4OSJdZWfgMhrGXPHNS7Zo2mOokQLIkNU5i2c9fp7lFJ7gOihZfWy SuNtJePc6OXi01O49h/pqK0pVlc0x2iJ/Y3vkdTn27IkO24d4I99LYq2d+LHFViAoPYY z5Vq817qpc/ZUBz68wxA7v3tQjoi4NtExQrm3xP03iRaEFTWM4yW2al1caC/E5HL7klB T8VvMkcAQRKH25rKKJn30B39mFdH6vvNfwwy4dSMu3bHrWWB/x8Av+6HH+/Z7aT2y1Cz jIhg== X-Gm-Message-State: AOJu0YxIpnxOqkg30jDdLCLmjCoG6ejWUDK70ZKMWbSOHn9dvrI728KE CLoqq5ZJ+2BH4n9AZo6Zgye6gX8ak3RgdJa0FdEOERaY3Po= X-Google-Smtp-Source: AGHT+IELZa6yshQuyeitSvGltF8yEbAz5n2mw6Xm43puBCpht0CuTJzr3dZd2Db4mDm7E6/55RZnp/ugsbo5JfOdFyY= X-Received: by 2002:a5d:4012:0:b0:336:6da4:e676 with SMTP id n18-20020a5d4012000000b003366da4e676mr6272585wrp.77.1703713752480; Wed, 27 Dec 2023 13:49:12 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 27 Dec 2023 13:49:12 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 27 Dec 2023 13:49:12 -0800 Message-ID: Subject: control message for bug #67946 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control 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 (-) severity 67946 wishlist quit From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Feb 2025 03:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: Vladimir Nikishkin , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17393327142283 (code B ref 67946); Wed, 12 Feb 2025 03:59:01 +0000 Received: (at 67946) by debbugs.gnu.org; 12 Feb 2025 03:58:34 +0000 Received: from localhost ([127.0.0.1]:60069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ti3tO-0000ah-0C for submit@debbugs.gnu.org; Tue, 11 Feb 2025 22:58:34 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:42122) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ti3tL-0000aL-Do for 67946@debbugs.gnu.org; Tue, 11 Feb 2025 22:58:28 -0500 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5dccaaca646so857584a12.0 for <67946@debbugs.gnu.org>; Tue, 11 Feb 2025 19:58:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739332701; x=1739937501; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=Hhe1MY5UOvC/VENCDyZu5RR95215A1PcV3W/NqW1lR0=; b=mRecj9tDgH8RDWpFWMHMfDw20UmQHtoSUjyP5I0LkodqQ4CUhFfRIzZS64Y8VMoI6Y 9qXfloFGShH/1iScisHiy9tpHwxTMv0gPyDpUnVzyUG+8qp8T8/g3y8t1luuKf6windF vZSDzdn25p1Eqnz9pC4w02UI4pvmwCvrIORGo4IhpMvytX3kxi1OhOwFtkyL0WLveq3T Z4hu+ahNAm3xL0lPb94VtQPI8kTdYhPLL9vx/YPbxCA4yxaKdNh2ZzZflAMEn3i2vAuh lYBRQB+ZFrra17Ymb36nBzYcDSay2fRhh3E02JqmXOv2GXug6FMPVmf7PEUEQLMoVF7T 25pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739332701; x=1739937501; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Hhe1MY5UOvC/VENCDyZu5RR95215A1PcV3W/NqW1lR0=; b=OlTKsPWM8LBcOenKqB4WjyBRAOgFUGnnH5F2uMg/V1cG3FniIx8+b5gwApPG/pfMb/ wRuI0zqF223QHErlILW1Z9wxNiTpJ9ecceQjFQjg2wi92VnHSJt2KJhaiz3EOcDL8jHE 1g09jNpTfTqex5WjhdW5c951xVN/41/6aJU5ORwKKw3i+hhkT0EMyuLJqDewbdJjQSwo 0KjYDZPaRgrso2SwJqZyEyAKPaBtINar0Qhy7fHIzPS4OcH6AaHFYjgHo5mq7irJ4csJ oN6ZNjTxSDyd+EAI5qiyghtTL7F3db/s1MV7Qy7iyZGb59cmcA5johNRgbeCxX/kmQfi Qzbw== X-Forwarded-Encrypted: i=1; AJvYcCXKgrAqKtcbdJKuiNOzF9RNTabj9yq2HgUeTamINailNmVTX0MjFP3I5lkjBErsyZX6n5hDHA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw5TJNimzU4lQCzCYFFsznI5i0G0dGD9ujZ28ZA4chgv8lklXmA 4v9awQgnG/Arhw/8YqUEG8+dSbiAIu4X8f3dMoZZ9eG8MRIw7iCiQ0fcnuL3is3Hy5UK8K4YvKM Qul1BYWxkW6ILLR03BVeRoLGAbMs= X-Gm-Gg: ASbGncuTz1kPuASqEGVJ/vdYnk0mZusCXtES6q5AJDWtIVwFMv14dIkTBWEX3MVzQaG 7ddLt3pDu4jSJ5Tm5HJ11xOfl+a1KegaK7KYKOl+p3oAUmBkxhZn+LD0SpaZTjioY2T3zEGYb X-Google-Smtp-Source: AGHT+IEXAM1uxKsHm6AWvKEaTgMPMHMU6tBNsBu87jBYK3we03EyOnbdYDQbzAPdaWBQ1cB/uZ/qbZSi9ajLupODzYA= X-Received: by 2002:a05:6402:f8f:b0:5d3:e99c:6bda with SMTP id 4fb4d7f45d1cf-5de9ba09937mr4275583a12.16.1739332701254; Tue, 11 Feb 2025 19:58:21 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 11 Feb 2025 19:58:20 -0800 From: Stefan Kangas In-Reply-To: <837cl19luz.fsf@gnu.org> References: <87a5q41azk.fsf@laptop.lockywolf.net> <87wmt2505y.fsf@laptop.lockywolf.net> <834jg6bhaf.fsf@gnu.org> <87plyt4i6k.fsf@laptop.lockywolf.net> <837cl19luz.fsf@gnu.org> MIME-Version: 1.0 Date: Tue, 11 Feb 2025 19:58:20 -0800 X-Gm-Features: AWEUYZkbLccm3tOPyxcWkSSuCyXz4cmELiPQN3BFQ0mWRVUnLu3Wyg811m5eUY0 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) 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 (-) Eli Zaretskii writes: >> From: Vladimir Nikishkin >> Cc: Eli Zaretskii , 67946@debbugs.gnu.org >> Date: Tue, 26 Dec 2023 13:58:45 +0800 >> >> Stefan Kangas writes: >> >> > Eli Zaretskii writes: >> > >> >> If we decide to turn it off, we will need a knob to revert to the old >> >> behavior, because after so many years of the existing behavior, >> >> someone somewhere might be used to it. >> > >> > I think the existing patch basically has that already, but it seems to >> > be lacking a NEWS entry and a :version tag for the defcustom before it >> > can go in. >> > >> > Vladimir, could you fix that and send a new patch? >> >> Added an entry to etc/NEWS, and, seems, fixed the actual verbosity >> message printing condition. > > Thanks, a few minor comments: > >> --- a/etc/NEWS >> +++ b/etc/NEWS >> @@ -1046,7 +1046,11 @@ desktop restoration to continue. >> Similarly to buffer restoration by Desktop, 'recentf-mode' checking >> of the accessibility of remote files can now time out if >> 'remote-file-name-access-timeout' is set to a positive number. >> - > > That empty separator line should not be deleted. > >> +*** New use option 'recentf-verbose'. > ^^^ > "user" > >> +By default 'recentf-save-list' prints a message when saving the >> +recentf list. The new option, if set to nil, suppresses this message. > ^^ > Two spaces between sentences, please. > >> +If more debugging info suppression switches are to be added, this >> +option might become more useful. > > I don't think we need this last sentence in NEWS. NEWS is about > changes that are actually done, not about potential changes in the > future. > >> +(defcustom recentf-verbose 1 >> + "0 means to not show debugging messages related to the recentf machinery. >> +1 means show messages that were printed by default on Emacs <= 29.1." > > A doc string should start with a single sentence that summarizes what > the variable or function does. In this case, I suggest > > Whether to show verbose messages about low-level recentf actions. > > Also, if we are going to use an integer here, the variable should be > called something like recentf-verbosity. Alternatively, we could make > it a simple boolean, since we have no plans to extend it to more than > 2 levels. > >> + :group 'recentf > > Do you need this :group tag? It shouldn't be needed in this case, I > think. > > Finally, the commit log message is still missing. Ping. Vladimir, could you look into Eli's comments above and re-send the patch? Could you please also send it as an attachment as formatted by git format-patch -1 Thanks in advance. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option References: <87a5q41azk.fsf@laptop.lockywolf.net> In-Reply-To: <87a5q41azk.fsf@laptop.lockywolf.net> Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 04:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 67946@debbugs.gnu.org Cc: Lockywolf , eliz@gnu.org, stefankangas@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17394195109341 (code B ref 67946); Thu, 13 Feb 2025 04:06:01 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 04:05:10 +0000 Received: from localhost ([127.0.0.1]:39376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiQTN-0002Ps-N6 for submit@debbugs.gnu.org; Wed, 12 Feb 2025 23:05:10 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:48722) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiQTL-0002Mb-VN for 67946@debbugs.gnu.org; Wed, 12 Feb 2025 23:05:08 -0500 Received: from laptop.lockywolf.net (unknown [IPv6:2001:470:24:315::102]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 7D26F21810; Thu, 13 Feb 2025 12:05:03 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739419506; bh=OjM+wQVDhYW1cyLE9raruQdSbnbDJ+u+vc3f0prkm34=; h=From:To:Cc:Subject:Date; b=eMDI+otZNXpV8jUe45mNd1k6wWxRV8/w2XflK8ZmrJoCsKtMN2Deu9D+TCpxxmesi PBdhy0U3DdbzOKcvkb5gRkkFxXcqx2+y7C7gnc+PRVzry+jfanB9oX3SCsq+zlYG6Q cVZXB9YD8rSrzb90eBRphkQqnTl69c2mFfNr+cNGqsa/imHxU45pMamP7t5UYgtRUd F6TAEG0hP5YSSVmaFa6+jE5+e8JYISARQbLmYzIORjeopCvDIhzXG9nHEHgLG4FWjP HovXzbsACYyo1uDRTz/iXZq/lF6go/9uJyuxWMD8EYydcNDeZGpT5XMhudExUjF38w et29+Rl51ru0Q== From: Lockywolf Date: Thu, 13 Feb 2025 12:04:30 +0800 Message-ID: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> X-Mailer: git-send-email 2.46.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) 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 (-) * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 15 ++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) > Ping. Vladimir, could you look into Eli's comments above and re-send > the patch? Sorry, it has been a long time. diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..b7de9384fe7 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-verbose'. +By default 'recentf-save-list' prints a message when saving the +recentf list. The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..eeeade8a5f1 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-verbosity 1 + "Whether to show verbose messages about low-level recentf actions. +0 means to not show debugging messages related to the recentf machinery. +1 means show messages that were printed by default on Emacs <= 31.1." + :group 'recentf + :type 'integer + :version "31.1") ;;; Utilities ;; @@ -1331,7 +1339,12 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + (if (>= recentf-verbosity 1) + nil ;; show "Wrote ..." messages. + 1) ;; non-nil, non-t, non-string, do not show. + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option References: <87a5q41azk.fsf@laptop.lockywolf.net> In-Reply-To: <87a5q41azk.fsf@laptop.lockywolf.net> Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 04:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 67946@debbugs.gnu.org Cc: Lockywolf , eliz@gnu.org, stefankangas@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173942012811243 (code B ref 67946); Thu, 13 Feb 2025 04:16:01 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 04:15:28 +0000 Received: from localhost ([127.0.0.1]:39394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiQdM-0002vH-0P for submit@debbugs.gnu.org; Wed, 12 Feb 2025 23:15:28 -0500 Received: from [2a04:c5c0:0:d7:f816:3eff:fe6b:287f] (port=53122 helo=coconut.lockywolf.net) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiQdJ-0002v6-9c for 67946@debbugs.gnu.org; Wed, 12 Feb 2025 23:15:25 -0500 Received: from laptop.lockywolf.net (unknown [IPv6:2001:470:24:315::102]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 5D83D20343; Thu, 13 Feb 2025 12:15:20 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739420124; bh=aqqb2rqp8/msS5wH3ADRyBRrf5RSTuRcuWW7ZbyxRkM=; h=From:To:Cc:Subject:Date; b=CCrWp50NK1fOKsdbSY436DWk2iD5eeolr9e0CJXLvX3xZNaYV/7Udi5VO62G/uXfT lhjxVCZrfckrlG62S70qk3BYhkJIBmAqUFdeMPMArpR3fxVS5gkqxhbcrhroBGUtbb NOJ4EM98tsBMiCBAv5z8OXxNJXflAAENehseDhXPQ/ZTcG28ZHYhcllb5u664yQngq YrchN5Bw/u1Hy0IkM0FWvHrKa233jhOiiB8MqeVZFoDQDYbyEOhvS2f7hLtVe4gMkj 07rjpxhqArcJc7HN84c8Atm/oOjFhz0zind3bw6+wTqHpMDsXrzPKFxgF9fYnUuWh0 Lrk5AaT/eeGhw== From: Lockywolf Date: Thu, 13 Feb 2025 12:15:02 +0800 Message-ID: <20250213041510.21051-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> X-Mailer: git-send-email 2.46.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 15 ++++ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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.3 (/) * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 15 ++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..b7de9384fe7 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-verbose'. +By default 'recentf-save-list' prints a message when saving the +recentf list. The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..eeeade8a5f1 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-verbosity 1 + "Whether to show verbose messages about low-level recentf actions. +0 means to not show debugging messages related to the recentf machinery. +1 means show messages that were printed by default on Emacs <= 31.1." + :group 'recentf + :type 'integer + :version "31.1") ;;; Utilities ;; @@ -1331,7 +1339,12 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + (if (>= recentf-verbosity 1) + nil ;; show "Wrote ..." messages. + 1) ;; non-nil, non-t, non-string, do not show. + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 04:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 67946@debbugs.gnu.org, eliz@gnu.org, stefankangas@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173942041712188 (code B ref 67946); Thu, 13 Feb 2025 04:21:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 04:20:17 +0000 Received: from localhost ([127.0.0.1]:39402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiQi1-0003AW-E5 for submit@debbugs.gnu.org; Wed, 12 Feb 2025 23:20:17 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:54404) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiQhz-0003AK-2S for 67946@debbugs.gnu.org; Wed, 12 Feb 2025 23:20:15 -0500 Received: from laptop.lockywolf.net (unknown [IPv6:2001:470:24:315::102]) by coconut.lockywolf.net (Postfix) with ESMTPSA id A6F15217F6; Thu, 13 Feb 2025 12:20:11 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739420413; bh=PuxDUyvPp8ZVgYYzAlEzydjLOiFQPN2xmBOvDnqUtvw=; h=References:From:To:Subject:Date:In-reply-to; b=sKcDycqxznfwi6qfH/Y0BEVcjS1zlGJzMdo+AinNnuKIKnWUy1gle1WEGMzQsxEUl GxcCEbPtrgyGc6wTI9uJLSh13BEzF7UUYEjn2ybo6cQDE3F0luXoHPTDh8kvu1T1u7 dOyHmKWBbRd6UwFM9K4XDd2kxfGN/PGLc5BeuHtD60KFUDx8DvHrbEuhyWbHG6+KvX pranZ9imPIAZ8Zh5TUYZKyuQyBm1/w/9kUF7guU5CIfSobXtRbWpKP//7BDH3erCai hdxl55tv/GJZ6d9mxscyjZ8YaFcx1ndDJw6EvmvRwjbGe5pUnzcoW5Dgd6ZrgxFTmq rhMv2kJ8vRd3g== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> User-agent: mu4e 1.10.7; emacs 30.0.50 From: Lockywolf Date: Thu, 13 Feb 2025 12:17:12 +0800 In-reply-to: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> Message-ID: <874j0yjx1s.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain It seems that debbugs doesn't like patches sent by git-send-email, so I am attaching the patch created by git format-patch -1 --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ61y9gAKCRD71sGyD+xt qnuYAQDu2poZAgZXmT3eazVfun3iKf8IFj1O4YXTayCikE2UawEAo99WWLOkDZQU e0WW/Nze/5FkUCKMM+kdSSEEBRllIgg= =3pDf -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-recentf.el-Add-verbosity-option.patch >From 43a55892d510fd27b4d6d734f8eae80b241e9198 Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 15 ++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..b7de9384fe7 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-verbose'. +By default 'recentf-save-list' prints a message when saving the +recentf list. The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..eeeade8a5f1 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-verbosity 1 + "Whether to show verbose messages about low-level recentf actions. +0 means to not show debugging messages related to the recentf machinery. +1 means show messages that were printed by default on Emacs <= 31.1." + :group 'recentf + :type 'integer + :version "31.1") ;;; Utilities ;; @@ -1331,7 +1339,12 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + (if (>= recentf-verbosity 1) + nil ;; show "Wrote ..." messages. + 1) ;; non-nil, non-t, non-string, do not show. + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-= Content-Type: text/plain -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 05:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf , 67946@debbugs.gnu.org, eliz@gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173942398823048 (code B ref 67946); Thu, 13 Feb 2025 05:20:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 05:19:48 +0000 Received: from localhost ([127.0.0.1]:39527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiRdb-0005zg-SH for submit@debbugs.gnu.org; Thu, 13 Feb 2025 00:19:48 -0500 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:60756) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiRdZ-0005zP-JF for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 00:19:46 -0500 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-aaee2c5ee6eso77965766b.1 for <67946@debbugs.gnu.org>; Wed, 12 Feb 2025 21:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739423979; x=1740028779; darn=debbugs.gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:from:to:cc:subject:date:message-id :reply-to; bh=QDFRNPBmB2Pn6opbUHVMxCaklBq9xpNKZszkhCNkrkk=; b=lUNk/r8ssMac8VFjNvZFrAt9ywBYF4qE6Ox12XgedNJRi5Zud6xs6War0edC4zST4f J3xbOwPEPUY3tmQY2nsVOPdFz8FCF8VwwPiygag+O0HcxMIrOODulcp6RWPGraFKchXT kAEKYqWR7KyuXys8F74YFiCwjJerxtQDbewTIxb3fxiWwhMjeOLKQOEXhS8CYFaxKPak tFZUxgtWkUh0jXvzD/f/qcoXYSUz9BYy7+TKcj3OW2piJxlaJtj9tGF40TdVq1x1gTe5 K+InXi+j1kX24Tr10SnFviyXC6vpfThjKHBh57xo/uZ9AS+E0cyFd65xwpUyKoUzikIN M1aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739423979; x=1740028779; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=QDFRNPBmB2Pn6opbUHVMxCaklBq9xpNKZszkhCNkrkk=; b=ORWScjQPhAUFqtHR0OUNRrd4JNNvhuVvg5BrPRgE0ctU8kanZleFNQNdv554Og2vDo N0DZZjDJtEECkThdrXlplolIZ+tm4CNcwSKUITKGKmAeSN+jVtj7XCnXWKhTto+kM1fw +qruXveRtVZdM64jyr9/2lVFga2xNf7GUtVhCTvVgTk5viJVDu2AFol+U76MrmzQIiqD Omj4KAt8pGrT8NJvxPYtIVZkDZ18mMVung+0t5dMCR5mfx2F+BnH+VUykwuVGV728Nzp Q7VdWxtUefai3o1J15hfUNmZdQLuHyeac1KxfflmXPNwh6xvYi/zzTy+e9B1CpbTzMwX Tkaw== X-Forwarded-Encrypted: i=1; AJvYcCUXwpd8QBp3v7UHtLaMSV4cCnxqy/IG3An8h8os8/wEeYVcSmGz/UntYm4GHKA+2uJWttt1qg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzl7K3s9WtabIeLqbbQkMxOlvYWFR8fr0f8RuSEGrk8UAlQRNI/ coYc3zpdWnHi+EuvGBSq2M8v59Za9yY+WnDUTNAzfzXPYEa3KK6hubJtvO0iChbNzfStK3nON3a bOZj4V0vW6tGwj1XGVv5gsuK9Y6V1lhZa3Oai5g== X-Gm-Gg: ASbGncvN1uY/MQl0fq487CHrkM2nvz8qeA4xt2A1KPiQcM/wNhvdzbgjtSBgMOID8zT 0MbEcBCzLQT2IxeACNOqum5eqSUhtjJ8ILNq2O5DM+koaEZ6SEh4zTvS1Lu2xBdnt7DY16OcAo5 w= X-Google-Smtp-Source: AGHT+IGn//ixKuOaPu0QMyuTULt2DIDApN9eaKYGdczRWXhlTZVwZrNC/I5vUP0bw7ZvmIBgOh4n7CvNaK0nGJEOF4c= X-Received: by 2002:a17:907:3d94:b0:ab7:eaf7:2bd6 with SMTP id a640c23a62f3a-ab7f34a50ebmr578088166b.49.1739423978539; Wed, 12 Feb 2025 21:19:38 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Feb 2025 21:19:38 -0800 From: Stefan Kangas In-Reply-To: <874j0yjx1s.fsf@laptop.lockywolf.net> References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <874j0yjx1s.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Date: Wed, 12 Feb 2025 21:19:38 -0800 X-Gm-Features: AWEUYZk81SRhXKSKsd86wuVdqfC6Cs86Odw21krpiR3AA-NrzCvay0NShA2eAjI Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) Lockywolf writes: >> Ping. Vladimir, could you look into Eli's comments above and re-send >> the patch? > > Sorry, it has been a long time. No problem, and thanks for sending an updated patch. > From 43a55892d510fd27b4d6d734f8eae80b241e9198 Mon Sep 17 00:00:00 2001 > From: Lockywolf > Date: Thu, 13 Feb 2025 11:51:50 +0800 > Subject: [PATCH] lisp/recentf.el: Add verbosity option > > * lisp/recentf.el: add verbosity (bug#67946) > recentf-verbosity: add defcustom to control verbosity > (recentf-save-list): make use of recentf-verbosity > --- > etc/NEWS | 7 +++++++ > lisp/recentf.el | 15 ++++++++++++++- > 2 files changed, 21 insertions(+), 1 deletion(-) > > diff --git a/etc/NEWS b/etc/NEWS > index 33f5df84d4b..b7de9384fe7 100644 > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -500,6 +500,13 @@ This user option controls the width of the type colu= mn on the bookmark > menu 'bookmark-bmenu-list'. The default value is 8 which is backwards > compatible. > > +** Recentf > + > +--- > +*** New user option 'recentf-verbose'. > +By default 'recentf-save-list' prints a message when saving the > +recentf list. The new option, if set to nil, suppresses this message. > + > ** Saveplace > > --- > diff --git a/lisp/recentf.el b/lisp/recentf.el > index a282fbee3b1..eeeade8a5f1 100644 > --- a/lisp/recentf.el > +++ b/lisp/recentf.el > @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag > used as shortcuts to open the Nth file." > :group 'recentf > :type 'boolean) > + > +(defcustom recentf-verbosity 1 > + "Whether to show verbose messages about low-level recentf actions. > +0 means to not show debugging messages related to the recentf machinery. > +1 means show messages that were printed by default on Emacs <=3D 31.1." > + :group 'recentf > + :type 'integer > + :version "31.1") I think this should be a boolean called `recentf-verbose` or even `recentf-messages`. If there is a strong need for more fine-grained control, we can always introduce an integer option later. I would also set it to nil by default, because as we discussed earlier these messages are unlikely to be useful. We should of course then also explain in NEWS how to get the old behavior back. > > =0C > ;;; Utilities > ;; > @@ -1331,7 +1339,12 @@ recentf-save-list > (format ";; coding: %s\n" recentf-save-file-coding-syste= m) > ";; End:\n") > (write-region (point-min) (point-max) > - (expand-file-name recentf-save-file)) > + (expand-file-name recentf-save-file) > + nil > + (if (>=3D recentf-verbosity 1) > + nil ;; show "Wrote ..." messages. > + 1) ;; non-nil, non-t, non-string, do not show. > + ) I think the comments here are superfluous; the `write-region` interface should be well-known to anyone looking at this code. That last part could probably just be (with the boolean option): (and recentf-verbose 1) > > (when recentf-save-file-modes (set-file-modes > recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 > > > > -- > Your sincerely, > Vladimir Nikishkin (MiEr, lockywolf) > (Laptop) From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 08:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf Cc: for_emacs-recentf-patch_2023-12-21@lockywolf.net, 67946@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17394338503887 (code B ref 67946); Thu, 13 Feb 2025 08:05:03 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 08:04:10 +0000 Received: from localhost ([127.0.0.1]:40124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiUCg-00010Y-9a for submit@debbugs.gnu.org; Thu, 13 Feb 2025 03:04:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33186) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiUCd-000105-Ju for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 03:04:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tiUCY-00058r-3J; Thu, 13 Feb 2025 03:04:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZZLLnm5gNp00MAVwoGcANU/4Kfj1c0d1Sy5mKt+h+Lg=; b=Qe4UYPTrWH/p iQ8DrqDumHnC0PC7BuGm7g1H3g4vUNyyVmMQhQo0a+f6RRJnym09titZ/T9sOhfhaJV0OEihLmowe WrtSo0d/b7K+nX16d2QYB9Jgh9tAoNgDKyMJE+pC+aG0H/irY7XFrXXPAioKqN1EybpVXPZ2rpvqF BuG0nCPRWdk1uUkJJrOEHjDTPXu5FSSrNSQbrqptk4LoYhHnuzyiNg42xAHcWfuqgOpQ28PZUZa36 5FPEN2uyqvY/n/oEp1RlAQVtiRp/4Q6eIVwMEiIT9IpMeWr9hiCMS66L+At4HL73D60mZ+FypmG/r lleeBPIM2tkKst5hlzEemA==; Date: Thu, 13 Feb 2025 10:03:59 +0200 Message-Id: <86y0yai840.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> (message from Lockywolf on Thu, 13 Feb 2025 12:04:30 +0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lockywolf > Cc: eliz@gnu.org, > stefankangas@gmail.com, > Lockywolf > Date: Thu, 13 Feb 2025 12:04:30 +0800 > > +(defcustom recentf-verbosity 1 > + "Whether to show verbose messages about low-level recentf actions. > +0 means to not show debugging messages related to the recentf machinery. > +1 means show messages that were printed by default on Emacs <= 31.1." > + :group 'recentf > + :type 'integer > + :version "31.1") I think referring to the "Wrote..." messages as "debugging" is incorrect, since this is the normal Emacs operation when saving a buffer. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: for_emacs-recentf-patch_2023-12-21@lockywolf.net, 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17394339874626 (code B ref 67946); Thu, 13 Feb 2025 08:07:01 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 08:06:27 +0000 Received: from localhost ([127.0.0.1]:40165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiUEs-0001CY-QS for submit@debbugs.gnu.org; Thu, 13 Feb 2025 03:06:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54546) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiUEr-0001CL-Ll for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 03:06:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tiUEm-0005ba-5t; Thu, 13 Feb 2025 03:06:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=I1OUHbQ6WOjUR7PfuRidxvshBuqub0Of7OzwR91C/qA=; b=O1sBnQBOQ4WZ 2JmOAfiGoCqlKZt0vtxowigeqTT9HcAGsZlsNpjcYqf+5txwI0+1EOCNnCXUoONBOf2L4Q1UjOX9y yVsQ1+Xz4n73byzJMMWue3FUOyf34p2EyKs4gzKm2i/kcZf21OEux7+cBpvRXG8esjpVRceNZ8c/h j27gY1Y9IEevvW8mE+2sTqqew5i2auJprlOPWtO4XUKKU2Xy0gxI9Df7zKwx7wnYmTfeCfgwvK6bR wt/lp8yQcVub/pzv5HOpNdT3Q3FhiQ+Cs09tqZZKEGfcuxVdCtHx772JcME3B2kKueBAGN4R87Ygw En/E9nclqLvpJ7sUd4Hw7A==; Date: Thu, 13 Feb 2025 10:06:17 +0200 Message-Id: <86wmdui806.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Wed, 12 Feb 2025 21:19:38 -0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <874j0yjx1s.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Stefan Kangas > Date: Wed, 12 Feb 2025 21:19:38 -0800 > > > +(defcustom recentf-verbosity 1 > > + "Whether to show verbose messages about low-level recentf actions. > > +0 means to not show debugging messages related to the recentf machinery. > > +1 means show messages that were printed by default on Emacs <= 31.1." > > + :group 'recentf > > + :type 'integer > > + :version "31.1") > > I think this should be a boolean called `recentf-verbose` or even > `recentf-messages`. Agreed. > I would also set it to nil by default, because as we discussed earlier > these messages are unlikely to be useful. We should of course then also > explain in NEWS how to get the old behavior back. Why make a change in normal Emacs behavior that no one except Vladimir asked for? From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: for_emacs-recentf-patch_2023-12-21@lockywolf.net, 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17394343895683 (code B ref 67946); Thu, 13 Feb 2025 08:14:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 08:13:09 +0000 Received: from localhost ([127.0.0.1]:40185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiULI-0001TX-VR for submit@debbugs.gnu.org; Thu, 13 Feb 2025 03:13:08 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:48225) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiULH-0001T1-0A for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 03:13:03 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5dccc90a52eso855580a12.0 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 00:13:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739434377; x=1740039177; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=ly5J5H6XIlyLuIyoejeiGgWW4RTwo9YwM450dp87LX4=; b=YQpvEaSjNEP3U0L4AmlCGDl5zEDXm2EHES/+Bw0n0J445/3wrwq5TaXwzsTuQuw9Yq 9WoT9NHnXX+lidyF08vLza3KerA4UKMuCmA3/8v2ad4z0B1k4Xgmgw9giNzX//HV9HGN wnbpnKV2SaIWP1SoSAB7pJZwrZTA/RYHsDB6wnqAvRQO0/UQq5VkE1wMqmiaJjMFtS79 4BGir+qV7jneWhVgzK35CXNoy5GZ09DXcFv1eEObdvS72jXgRh3mCPl3Fptv/IhI1ow7 sXUxx3TcmRiOOTx2qaOfiNyn/zHIIPLfPFX6tjyL+7nSjXIxududvOeHflwjJF5mwamN jGTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739434377; x=1740039177; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ly5J5H6XIlyLuIyoejeiGgWW4RTwo9YwM450dp87LX4=; b=O4O/6qRnAP7rTsFBTDNRX6BOzmiHZsoVHbwgPMhPxPk8PBn8S/PkgoIMn7CCLUhdrE 86unnKSpHogPfO7ZlOL1Hr7aKL1bstTka61L3njhqwHlHIv2fc3TW1C4plbNbrbGJyXl 44v/lkhL5zeEJXVzfP9JJlSplVrEAh02m6R5Xb1O8/+LxP26ZLsXdiyiVOQsKmYW0MlU /+XQWbZ1wuz8XMP9ePAvGT4x+DFganyyTiIZHAwXmPbMJQCEdzg7LHRU0koHt3ULl6Pl DdFAZK3phczrC+El+S0iVyM7J30vLokUoOG0BFn1BnLQqLiKPfkgw0DE6YP5wZFt5nGi LTgQ== X-Forwarded-Encrypted: i=1; AJvYcCVKFC5FFHCPZBxt05kuHcy+/R9ciae7LVaq6O/C+y+vLEKQmk8VhyTqP6xEk1ovP64rRdl7aQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz175stcNrpDvblbdQR9Dvn6dfai0XLW1fNjdK2sq0pLHvcyrbB yDTc7gzYnhLl30uEOAe9D9pUN2wivcUvptdnoQr+kMJfNG7XeHFbpnUiTwWIiCvGOnPylF/MQvb R4jJ47cQBZ++kAdXaoPenKT/TrL18ejaq/XMUDA== X-Gm-Gg: ASbGncunFJwZj2EKGw2sphLFeCIlI61fjtIjww8iIJi7G0Oi283+cZBM8rFpi0bIg0y LbAMOZiKLXDRVHcYQqJxJ9yY4dHbA10eU1wgwP+M/QQRAMj1gdAPwBz7soDjSFq6HOwZtDSZXxn M= X-Google-Smtp-Source: AGHT+IGMxTv3Za3ri1AMGQgcEQbx4glGEXFdYH3h44NJQgntCjLeAxb7CdYp3ASOpZ7OcqHMtxEupP2u710iAVIr+Bw= X-Received: by 2002:a05:6402:460a:b0:5de:525c:53cb with SMTP id 4fb4d7f45d1cf-5deadd7d2c2mr6182532a12.6.1739434376729; Thu, 13 Feb 2025 00:12:56 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Feb 2025 00:12:56 -0800 From: Stefan Kangas In-Reply-To: <86wmdui806.fsf@gnu.org> References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <874j0yjx1s.fsf@laptop.lockywolf.net> <86wmdui806.fsf@gnu.org> MIME-Version: 1.0 Date: Thu, 13 Feb 2025 00:12:56 -0800 X-Gm-Features: AWEUYZl5Ylmm_Mi2zw03VxmSe4fFjio7-u2t6oy6tB2K_krXb21zMhpmriQXxnE Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) 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 (-) Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Wed, 12 Feb 2025 21:19:38 -0800 >> >> I would also set it to nil by default, because as we discussed earlier >> these messages are unlikely to be useful. We should of course then also >> explain in NEWS how to get the old behavior back. > > Why make a change in normal Emacs behavior that no one except Vladimir > asked for? The messages are just not very useful, IMHO. But I won't insist. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii , Lockywolf Cc: 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17394344715838 (code B ref 67946); Thu, 13 Feb 2025 08:15:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 08:14:31 +0000 Received: from localhost ([127.0.0.1]:40194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiUMg-0001W6-PZ for submit@debbugs.gnu.org; Thu, 13 Feb 2025 03:14:31 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:58615) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiUMe-0001Vr-1N for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 03:14:28 -0500 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5de4f4b0e31so1100906a12.0 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 00:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739434462; x=1740039262; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=bfIiVpwC8+OcCegVGXuMpBc8fg4WM8xLzH6jql4VzYk=; b=bSfXExX4ShZssQn+YxiNdPbWE/I4yxvOl78NeF06M0QDJMc8qroJ2hwOoXIC4mV8aK VyUFqgAizZcSviL0GVX18W2GXzu3YQocdDaHwlV2w6cGOUfB8KHD1oqEcjAB/MKU56A/ IKts3nwW5O+izI5zr+uq7BSSBfgHwKQdVuHpQyJtGmkZsVRni2ANZiKOii403qFq8pBv IUjZejCBgr02boA9LsI4PFb+SRbTlcbgJwltXNa+Mgk01McZjFwC6Wf6tFiVyOo28SBc 2VXXMYoa3BuE9ZCv5kol5aUgZxKM0m/Fl6JyLwXUiPdkhoaj6bD1TggbcyxebulsgUW2 v5lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739434462; x=1740039262; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bfIiVpwC8+OcCegVGXuMpBc8fg4WM8xLzH6jql4VzYk=; b=O0ImXZe8+kKc6FbegomlknsCQOk1TdlsRbTnX04AIaiz3tKWdXBGrulJxHJMrW7ObZ kK/lVT+TVh0ma5bLBPC9gF14fPYkCnUk+rVAO5wG5eyqSjYo8PTEKSZ8po+UjobnggwT TgFXpa9+emalpQZEIfLrMMvKmRtI6iqFmTr9fnUDC9cJOYx0x+X0UlYlTDmJUG6lVJJA 4KRV55+ZFWziplpjE33cyKNJ0hN9jRwBloEn3EldG3uIADuihgUf6LthkIhZiDr3I7nS 27/WTASZXYy0A1M9MsgHiZss7ZTNPluytpQLeDr+7wdvNZrdWMQVuCYVUEwXsldtnO6M +xdg== X-Gm-Message-State: AOJu0YwD7DceP0hqK0eBehP6sABS63sCN9XB8WFpxOXrn+F4mwdnGs51 M7S+H60hSbbDQOLgT1vYN+G+IAfN90zL2o7ePdplU8aXNImsp1XiTlDo5Dr7hoNozkWmj3UK1Ah nFaxk6sRTW87O9FGBuCM0AOcjmgw= X-Gm-Gg: ASbGncvO+xLJUU8bkYQMjHx2Rkqb1kIjlRYD3iNSb9B/LubLerLyNoKB/QOO0eoBvTk 0/Jeus5QG1AadF1cB2VavoX/b4RYZ6TH1h5eOetwjyczW2vYfLUEEXf6aE7R9mKgC8Halhd3MWu g= X-Google-Smtp-Source: AGHT+IHlK/fIGbvp4aXSlVcj01uGGdZNr53Mh+hvMO+T6VJZ/cvEKFMNNrL2oyASABnLudqz7jhJOU82+1Xh3Scps9U= X-Received: by 2002:a05:6402:2106:b0:5dc:a452:4f7 with SMTP id 4fb4d7f45d1cf-5deade07f4dmr6202553a12.28.1739434461743; Thu, 13 Feb 2025 00:14:21 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Feb 2025 00:14:21 -0800 From: Stefan Kangas In-Reply-To: <86y0yai840.fsf@gnu.org> References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> MIME-Version: 1.0 Date: Thu, 13 Feb 2025 00:14:21 -0800 X-Gm-Features: AWEUYZm8Ndju4qMfh5nf8xEG8K_eoCpz0a9ts1QMKPi2v8BNwgU39tMP_RHH3zE Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) 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 (-) Eli Zaretskii writes: >> From: Lockywolf >> Cc: eliz@gnu.org, >> stefankangas@gmail.com, >> Lockywolf >> Date: Thu, 13 Feb 2025 12:04:30 +0800 >> >> +(defcustom recentf-verbosity 1 >> + "Whether to show verbose messages about low-level recentf actions. >> +0 means to not show debugging messages related to the recentf machinery. >> +1 means show messages that were printed by default on Emacs <= 31.1." >> + :group 'recentf >> + :type 'integer >> + :version "31.1") > > I think referring to the "Wrote..." messages as "debugging" is > incorrect, since this is the normal Emacs operation when saving a > buffer. In context, and from the users point of view, this is not something one should normally need to care about or look at. I'd consider this debugging output, myself. Just my two cents, of course. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 10:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: Lockywolf , Eli Zaretskii , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17394412578921 (code B ref 67946); Thu, 13 Feb 2025 10:08:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 10:07:37 +0000 Received: from localhost ([127.0.0.1]:40678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiW88-0002Jp-NW for submit@debbugs.gnu.org; Thu, 13 Feb 2025 05:07:37 -0500 Received: from mail-vk1-xa30.google.com ([2607:f8b0:4864:20::a30]:53428) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiW86-0002JZ-60 for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 05:07:35 -0500 Received: by mail-vk1-xa30.google.com with SMTP id 71dfb90a1353d-520691f8f13so194662e0c.2 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 02:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739441248; x=1740046048; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=A8RUYL94n4k8SmgDyhFUkZML4139fcj4nZ2PhY5OIIo=; b=B/qHw5I5SxR++0URxvGxzG1MjQt2J5UjJDuQwBXHzggT7QXbuMCi91cBJgf7iG1N9V OSByudGVoyo/gyW+CEglK/Z4yOSXtXYzBchuw4MMpW0AJMIqy+qLwog6S9Kf1dXYylyr bApF3M7Ii1U256cdOF0WaS38tBQ9MhevFTaN8lDu6ozkg98lfMa9th/zv7SJJewuFZ+v KX9nxz5VJFrcLte1atmI1e8jpuN6rh3dcu/sEvyqy66zUuECR7e5NP02uARLRbB61RSa 6FFkARCBqPiuSws4Nvo8ktlg4k6B6/WRtLAsd1r8/RMDOYGEl3lMJ7K1YOn2qElLSVdk +GyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739441248; x=1740046048; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=A8RUYL94n4k8SmgDyhFUkZML4139fcj4nZ2PhY5OIIo=; b=TyrSGqi7NMuiHN/7S6e3w9HrQWkGXS5j5n6YI9O+A/SNFZWC187Fx99bKOVALx21KN bhJ+yfSkxqRUvBuhhTYkO6wkoL2p2ELmOxXcWQ0O4AEQFnSk2pXR/mvhOH8psy4qBlX3 Ir26AIWrWWZ0UCwHTR6c1ssEvbX9nh7ACZD1oUyXukh3TGnASg7kaCUo0LADC+Coo2EI e8fevSolBamTuEHAYyeB9SmoZYRdMYyLobxPP+Rgo0cXXQRt5Vg+kb0+OwdTOtE8H2b5 AZyrPfxbFBvweAqQuotyA+UYAmOqRpbPXzq2ZT1YLPV9kMayQCBilUOaWUD/cIZ5buMu YL/A== X-Forwarded-Encrypted: i=1; AJvYcCWzbPmSpLel7bBkDgPXDJW1z2ooYlAhZkYzJafemdhdSFTswSt49vZuC2UPO9fWYwPY7/1YMQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwOZKNfdKcrZlmDmo2u3niEsVBwoSEbjNqZC7JgSTsQzlKdxx+W YDH3Jv6wPOEnu340mpdC40LAjkKAwEAE9h5yp0Yr905F+RhjTU8LqNNZkfYdOtB/v5yWF+b733v R8C9XPz/PU0pwE75YdqlPt+nERDM= X-Gm-Gg: ASbGnctZmiysrRw5s1tU2JVO/apFZJbV+tBB8VJNSF0od9ICFEny7w1khyO1YjKljZv fq0q6BlYKTqc13nSBNO4rQ6IYDFu+couCID/52YrWhxHyO4s5NL/k/87qVsO9khRWeSWmZ7Rt X-Google-Smtp-Source: AGHT+IEzbJBe/iG1jdQFWofpouTH8Lt1QCDdTkcWusTxFkMotpf5uJP7e/Pv6WM2O5tNsr80/uF6ulzxRhw47nKqE8Y= X-Received: by 2002:a05:6122:1783:b0:51b:b750:8303 with SMTP id 71dfb90a1353d-52077f4b59dmr2026055e0c.11.1739441248492; Thu, 13 Feb 2025 02:07:28 -0800 (PST) MIME-Version: 1.0 References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> In-Reply-To: From: Ship Mints Date: Thu, 13 Feb 2025 05:07:17 -0500 X-Gm-Features: AWEUYZklTWbsG8OzZ5K8QJLTrpivF3-tU1Ddohf8_W-3zCDz_PYygeSpnVRaHmo Message-ID: Content-Type: multipart/alternative; boundary="000000000000b964cd062e03397c" X-Spam-Score: 1.0 (+) 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 (-) --000000000000b964cd062e03397c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable These kinds of messages interfere with minibuffer use when they appear. My recentf timer is hourly, yet I still notice it from time to time. I forcibly suppress the message in a messier way than I'd prefer. It was on my list to one day submit a patch for the same thing with a defcustom called recentf-inhibit-messages. On Thu, Feb 13, 2025 at 3:15=E2=80=AFAM Stefan Kangas wrote: > Eli Zaretskii writes: > > >> From: Lockywolf > >> Cc: eliz@gnu.org, > >> stefankangas@gmail.com, > >> Lockywolf > >> Date: Thu, 13 Feb 2025 12:04:30 +0800 > >> > >> +(defcustom recentf-verbosity 1 > >> + "Whether to show verbose messages about low-level recentf actions. > >> +0 means to not show debugging messages related to the recentf > machinery. > >> +1 means show messages that were printed by default on Emacs <=3D 31.1= ." > >> + :group 'recentf > >> + :type 'integer > >> + :version "31.1") > > > > I think referring to the "Wrote..." messages as "debugging" is > > incorrect, since this is the normal Emacs operation when saving a > > buffer. > > In context, and from the users point of view, this is not something one > should normally need to care about or look at. I'd consider this > debugging output, myself. Just my two cents, of course. > > > > --000000000000b964cd062e03397c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
These kinds of messages interfere with minibuffer use when they appear. = My recentf timer is hourly, yet I still notice it from time to time. I forc= ibly suppress the message in a messier way than I'd prefer.

It was on my list to one= day submit a patch for the same thing with a defcustom called recentf-inhi= bit-messages.

On Thu, Feb 13, 2025 at 3:15=E2=80= =AFAM Stefan Kangas <stefankan= gas@gmail.com> wrote:
Eli Zaretskii <eliz@gnu.org> writes:

>> From: Lockywolf <for_emacs-recentf-patch_2023-12-21@= lockywolf.net>
>> Cc: eliz@gnu.org= ,
>>=C2=A0 =C2=A0 =C2=A0 stefankangas@gmail.com,
>>=C2=A0 =C2=A0 =C2=A0 Lockywolf <for_emacs-recentf-pat= ch_2023-12-21@lockywolf.net>
>> Date: Thu, 13 Feb 2025 12:04:30 +0800
>>
>> +(defcustom recentf-verbosity 1
>> +=C2=A0 "Whether to show verbose messages about low-level rec= entf actions.
>> +0 means to not show debugging messages related to the recentf mac= hinery.
>> +1 means show messages that were printed by default on Emacs <= =3D 31.1."
>> +=C2=A0 :group 'recentf
>> +=C2=A0 :type 'integer
>> +=C2=A0 :version "31.1")
>
> I think referring to the "Wrote..." messages as "debugg= ing" is
> incorrect, since this is the normal Emacs operation when saving a
> buffer.

In context, and from the users point of view, this is not something one
should normally need to care about or look at.=C2=A0 I'd consider this<= br> debugging output, myself.=C2=A0 Just my two cents, of course.



--000000000000b964cd062e03397c-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 12:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: Lockywolf , Eli Zaretskii , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173945010529456 (code B ref 67946); Thu, 13 Feb 2025 12:36:01 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 12:35:05 +0000 Received: from localhost ([127.0.0.1]:41213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiYQq-0007eH-Ka for submit@debbugs.gnu.org; Thu, 13 Feb 2025 07:35:05 -0500 Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]:61663) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiYQn-0007d2-M8 for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 07:35:02 -0500 Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-4bbbf49a329so148720137.2 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 04:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739450096; x=1740054896; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aFrsXzerW4NkF/pifef/Re0MW/cnEf3fy+OmEBNhw6A=; b=WkqGoItrjXIrDzhiK6AjYNAKqTbbj7tSnsZOsZfs7lcV+3WdiwWC1RnXTDNB6I7bH+ +s619BkqOQLozmCarkfHkmN14rk1qQpKQSvNIu86SVmp6L5b5g/PTOuuM3OlT8hQ1Kx5 kr2O4YtPNE/pclS3wzs+cIT0O8VB4mg+VEsxwrSk2mAsDZ5+8LDsai1ZvxA3mH9ygVpd 70DCSS7uITD+pWXDOWx0glWw3VHMNso31eKGgvZkv6xoWEwD6ebYTEU3cOJDSlO1Jujy uD3FS2AjXIST21Ogo4eO3Petwgf1PnqvDOpxc80xplPZfpfst46Wv7PKXzFEg/ze08bt oO+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739450096; x=1740054896; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aFrsXzerW4NkF/pifef/Re0MW/cnEf3fy+OmEBNhw6A=; b=JaFDNnoIoJsZ1gWOWDzNZEHYuvxJb9I7oqfikEXGWySIAQgPi/2A7MLe4GywU9FMHk ku/lBvYpQfAw9WG169ITM4DdHAmsi3o+wgpJQ+NSP0gF1LQrZMF7VyeXsv6RrEoses1K Zho/ES3kvFBYzQZGCdB+hd4CcKGdkuMOUkgFjyHnfN35/Nv6Q/mqj/U/2diH6L26BqBw CKO7vVjHO+d8sQzKJzrljeXlaaFEee2vYnD0j0I2VP2+Ndyd4Wt1O+AmF8mXITTcqM5x woxBItboAGBkpUca7/OsS4xqHfA2adVBL63ZLAUfp4Q/lpQ6I6Pn2N92t3I+P/hs7034 frZg== X-Forwarded-Encrypted: i=1; AJvYcCWEIBJ6oqx2TExlGQQrZL3cyeFRsw5YC9aejqEit/SyigsOezMyEi+/n6MjuxN0EfW8H6BjJg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx6s4jsWpTS7252LVvoDz8QMjaRCkTP17cWuqBICVvh2vS/e+v2 CqVBDIhkEHzdk+rY9XZ9NEVkfV8313WgSZlcF2e/TuSqkIK8oQIk0zyFLzhGtBKY0KHk5pzbUsc nYBx6KkpO294R3JCu1iAnQ47beHg= X-Gm-Gg: ASbGncvo1WtQ3agGBlJZ/33E4uq3x1c3gJhkKMx2V58zC6DAW2qNGi1vgpTpx+NWyiS bYcbkrMBDJdZmWAKHS2rO8PFFYdlXeCz3Q+RuOtEDttw1/cXyPOZ4i9+8zF3zggmrhv+9XATU X-Google-Smtp-Source: AGHT+IGnAd1kV2Ck6TgmI7XovgqHA2Oe7pwmir5VAFJSIXMmGIXL60CU1eDbGkpae465ouvl+LFr9aerxCcamnStmTw= X-Received: by 2002:a05:6102:f0f:b0:4bb:ba51:7d54 with SMTP id ada2fe7eead31-4bbf21c7eb9mr6383902137.6.1739450095723; Thu, 13 Feb 2025 04:34:55 -0800 (PST) MIME-Version: 1.0 References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> In-Reply-To: From: Ship Mints Date: Thu, 13 Feb 2025 07:34:44 -0500 X-Gm-Features: AWEUYZkF39-CdqPTfqGPnPqL_tolbV83etkEwN_eX5azH1EIWCHsiiIqhK2l1Do Message-ID: Content-Type: multipart/alternative; boundary="0000000000000f6c21062e054926" X-Spam-Score: 1.0 (+) 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 (-) --0000000000000f6c21062e054926 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If we can agree on a name for a "be quiet" variable, I will patch saveplace to do the same. That one has been annoying me for a while, too. It uses write-region without an option to suppress its "Wrote" message. Or, in contrast, savehist uses write-region and produces a message only when called interactively, otherwise it's quiet. Perhaps that's even better= ? On Thu, Feb 13, 2025 at 5:07=E2=80=AFAM Ship Mints wr= ote: > These kinds of messages interfere with minibuffer use when they appear. M= y > recentf timer is hourly, yet I still notice it from time to time. I > forcibly suppress the message in a messier way than I'd prefer. > > It was on my list to one day submit a patch for the same thing with a > defcustom called recentf-inhibit-messages. > > On Thu, Feb 13, 2025 at 3:15=E2=80=AFAM Stefan Kangas > wrote: > >> Eli Zaretskii writes: >> >> >> From: Lockywolf >> >> Cc: eliz@gnu.org, >> >> stefankangas@gmail.com, >> >> Lockywolf >> >> Date: Thu, 13 Feb 2025 12:04:30 +0800 >> >> >> >> +(defcustom recentf-verbosity 1 >> >> + "Whether to show verbose messages about low-level recentf actions. >> >> +0 means to not show debugging messages related to the recentf >> machinery. >> >> +1 means show messages that were printed by default on Emacs <=3D 31.= 1." >> >> + :group 'recentf >> >> + :type 'integer >> >> + :version "31.1") >> > >> > I think referring to the "Wrote..." messages as "debugging" is >> > incorrect, since this is the normal Emacs operation when saving a >> > buffer. >> >> In context, and from the users point of view, this is not something one >> should normally need to care about or look at. I'd consider this >> debugging output, myself. Just my two cents, of course. >> >> >> >> --0000000000000f6c21062e054926 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If we can agree on a name for a "be quiet" variable, I will pa= tch saveplace to do the same. That one has been annoying me for a while, to= o. It uses write-region without an option to suppress its "Wrote"= message.

Or,= in contrast, savehist uses write-region and produces a message only when c= alled interactively, otherwise it's quiet. Perhaps that's even bett= er?

On Thu, Feb 13, 2025 at 5:07=E2=80=AFAM Ship= Mints <shipmints@gmail.com&g= t; wrote:
The= se kinds of messages interfere with minibuffer use when they appear. My rec= entf timer is hourly, yet I still notice it from time to time. I forcibly s= uppress the message in a messier way than I'd prefer.

It was on my list to one day= submit a patch for the same thing with a defcustom called recentf-inhibit-= messages.

On Thu, Feb 13, 2025 at 3:15=E2=80=AFAM Stefan Kangas <<= a href=3D"mailto:stefankangas@gmail.com" target=3D"_blank">stefankangas@gma= il.com> wrote:
Eli Zaretskii <e= liz@gnu.org> writes:

>> From: Lockywolf <for_emacs-recentf-patch_2023-12-21@= lockywolf.net>
>> Cc: eliz@gnu.org= ,
>>=C2=A0 =C2=A0 =C2=A0 stefankangas@gmail.com,
>>=C2=A0 =C2=A0 =C2=A0 Lockywolf <for_emacs-recentf-pat= ch_2023-12-21@lockywolf.net>
>> Date: Thu, 13 Feb 2025 12:04:30 +0800
>>
>> +(defcustom recentf-verbosity 1
>> +=C2=A0 "Whether to show verbose messages about low-level rec= entf actions.
>> +0 means to not show debugging messages related to the recentf mac= hinery.
>> +1 means show messages that were printed by default on Emacs <= =3D 31.1."
>> +=C2=A0 :group 'recentf
>> +=C2=A0 :type 'integer
>> +=C2=A0 :version "31.1")
>
> I think referring to the "Wrote..." messages as "debugg= ing" is
> incorrect, since this is the normal Emacs operation when saving a
> buffer.

In context, and from the users point of view, this is not something one
should normally need to care about or look at.=C2=A0 I'd consider this<= br> debugging output, myself.=C2=A0 Just my two cents, of course.



--0000000000000f6c21062e054926-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ship Mints Cc: Lockywolf , Eli Zaretskii , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173945133012297 (code B ref 67946); Thu, 13 Feb 2025 12:56:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 12:55:30 +0000 Received: from localhost ([127.0.0.1]:41254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiYkb-0003CH-T7 for submit@debbugs.gnu.org; Thu, 13 Feb 2025 07:55:30 -0500 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:49363) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiYka-0003C2-FZ for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 07:55:29 -0500 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-aaecf50578eso185361366b.2 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 04:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739451322; x=1740056122; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=IZvbFDIvgYBV19jflaGYju53luZLs/fjZ+WQSeHKKNQ=; b=e0JwXklcaI10YEQHbj7U09BHZ6oyqoGg3CUqkHqm2uXHUjpKpsUdjEmR8L6b/4vztz Ri2RczWO6FphdKBhAIFNH/tzeUAQC/lIwBmSj/HAF3geF0jKkBifauVrSLKiAXDgNxTv nXrOmabpWpnMal5owSovBLA9Cs948LMZ85X2b2e9LFYg6nK+IHgkvQb9OsrWZuBpOSCb 5VSAKVnkEL5zZ0vJCBIYg0vqMNsRZq4fDdcWvYdKSMY8LH3PksO834T9jBfZHXsn3VU+ PjsWRnj7cuXUnj0jkCnNkrbuJjUnlXY94DAOlgSSPzJw2ZcDlCU1Z6DYcMddzPqT9Sq/ NXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739451322; x=1740056122; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IZvbFDIvgYBV19jflaGYju53luZLs/fjZ+WQSeHKKNQ=; b=wjoFhj3gxB4IIIBsyq0HiNOVvgGBLwlYdxqOhXLYd1dN8Er2KoB6eMU97Arse1t0/o 7lH+DzF+nDdQKZHZ0fL7fk/hRi48zvSxioeiNpU2VOf/kFzIsexmb+Ihi28kt0maNw1Y Hbnr/tHiIhmPW1IwN6xaen19Aicn/GZTLBXCxI0JY4Se1tpi8gmUL1SIZ2nXAPNnFBcT 5qV5TraGXHNh2CxWjfy8OU/aebJdiAufh6fvWuuub1hjM+ibG4/rNHl2k1uLkm7nx6p7 fj4G0JBplMyGugs4RhpZXpPCsPKPNIdT0t9gYmpvKvc+j6pnfS9QNP7DgHgMQnGLnEMW solQ== X-Forwarded-Encrypted: i=1; AJvYcCU/J90Fk1x5KgpKQVrM5eErprh/S8a9k1Stp0Byo9nXiYJjAMfVC9VIFcpq9OSRTho1hrOSKg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwJfdtHPufFUUUV/Sv7ZGXB1yzFC8SvoK15CfuylXRR9usl5b7Q vkqau2fT40kE4OXIYSZ8Z3Qsudk8ai8FEGiAeOGh45Loh5ydD0/z7x9Jf/oEQ4ghtTaeR2MV6/A +eO/S556hJhUanUu9GBRwX2/EU0ZGeGqEQY9iSg== X-Gm-Gg: ASbGncsMvSZ5lLH/GX3zwtx1K77Lphkn2ga7mL3tFo7HU78pyu+OQemG+MIAtjDj+7v MIXyT0XpN+S43Z+C8ZjB3UdWzkKimQKU5uS66dDU4sxAxkbnlPJNNPL29hyh5BY4DW5ZZX/1Spx A= X-Google-Smtp-Source: AGHT+IHjRp4VpYFZ+PGafghoKBbVjwZavGqFYLbahUQOrBtEC65huFYmgzSfx0MkiwhrOEDc5BkPA+S2mJtZi/tq3DI= X-Received: by 2002:a17:907:7208:b0:ab6:36fd:942a with SMTP id a640c23a62f3a-ab7f34d3138mr672147866b.50.1739451321830; Thu, 13 Feb 2025 04:55:21 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Feb 2025 04:55:21 -0800 From: Stefan Kangas In-Reply-To: References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> MIME-Version: 1.0 Date: Thu, 13 Feb 2025 04:55:21 -0800 X-Gm-Features: AWEUYZmyx1KfOhEe-U3sm9CLEatAXJInALh9HZycszgwVWdm4ggkNT79R90HnMQ Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) 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 (-) Ship Mints writes: > If we can agree on a name for a "be quiet" variable, I will patch saveplace > to do the same. That one has been annoying me for a while, too. It uses > write-region without an option to suppress its "Wrote" message. > > Or, in contrast, savehist uses write-region and produces a message only > when called interactively, otherwise it's quiet. Perhaps that's even better? That's an excellent point, actually. I think it would make a whole lot of sense to make recentf behave like savehist here. It would also save us from having to add yet another (arguably low-value) user option. Note that, by default, recentf-mode only saves once on exit, so the "write" message will be lost in the noise of exiting anyways. Eli, WDYT? Are you okay with making that change instead? From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 12:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas , Eli Zaretskii , 67946@debbugs.gnu.org, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173945153412641 (code B ref 67946); Thu, 13 Feb 2025 12:59:01 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 12:58:54 +0000 Received: from localhost ([127.0.0.1]:41263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiYnu-0003Hp-AP for submit@debbugs.gnu.org; Thu, 13 Feb 2025 07:58:54 -0500 Received: from [2a04:c5c0:0:d7:f816:3eff:fe6b:287f] (port=49732 helo=coconut.lockywolf.net) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiYnr-0003Hd-7A for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 07:58:52 -0500 Received: from laptop.lockywolf.net (unknown [58.19.1.220]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 5573D218A9; Thu, 13 Feb 2025 20:58:48 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739451529; bh=ziqc6ChI4yOvShCUamJG9OF/xeui9gAi6vmQ17zWmA0=; h=References:From:To:Subject:Date:In-reply-to; b=fZ0Yui1+v2gm22QMRBYkoTtGmHPqcbnTaRmwUsUPsD8n5yYARl417ZLhQ7ftr5IIb KVHkGqpFMDmuodwgNfUOEWznDDhTkatjFdd+EZu8ozUBrj0EO/H89+Rv4j6rLDlYgK U1Um1Qb7iqY4kUU1c3WqDWtJLwOW5OISHbJ+HWnnMokIybm3x38tlasNvqlxpKiHbd mKE09LyMC2syzfF6xVxxoelR3XEXktVAhW59RerU+omPicKrXgL3SGz1UbkMaXe2Ck WDpMIxQJ4tCDX80ynknXHV11v+Fut18H3XWVe7Q+xXAFs76ld6JyEBJP8TomMTNVLw orldvOc/Uo86g== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 30.0.50 From: Lockywolf Date: Thu, 13 Feb 2025 20:48:03 +0800 In-reply-to: Message-ID: <87jz9uhugy.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >These kinds of messages interfere with minibuffer use when they appear. My recentf timer is hourly, yet I > still notice it from time to time. I forcibly suppress the message in a messier way than I' [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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.3 (/) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain >These kinds of messages interfere with minibuffer use when they appear. My recentf timer is hourly, yet I > still notice it from time to time. I forcibly suppress the message in a messier way than I'd prefer. I am saving recentf files on each new visited file or killed buffer because, well, why wouldn't I? Why would I risk losing even a single recentf entry if the impact of IO on an nvme is negligible, so I am seeing this message all the time. I have updated the patch, calling the variable `recentf-inhibit-messages', because this is probably a better name, and I have also made it a boolean. I don't think that "saveplace" and "recentf" should share a variable, because they are different packages, and people might be using them in a different way. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ63sgAAKCRD71sGyD+xt qmHVAPsFkVhB7WXQRrK9bG+e+SnfUJyNHxF0zAn2mQOLdW5oyAEAgCG5MaswyOmn qVGRnG+HjuJc/qev+IhibLR8dZu/xAM= =3uAv -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-lisp-recentf.el-Add-verbosity-option.patch Content-Description: patch >From 1c557fa8d6cf0a3481d6028189074cd0b3fad671 Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 15 ++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..b7de9384fe7 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-verbose'. +By default 'recentf-save-list' prints a message when saving the +recentf list. The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..36508acf2b3 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-inhibit-messages t + "Whether to show verbose messages about low-level recentf actions. +t means to not show messages related to the recentf machinery. +nil means show messages that were printed by default on Emacs <= 30.1." + :group 'recentf + :type 'boolean + :version "30.1") ;;; Utilities ;; @@ -1331,7 +1339,12 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + (if (or recentf-inhibit-messages + (not (called-interactively-p 'any))) + 1 nil) + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-= Content-Type: text/plain -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: Lockywolf , Eli Zaretskii , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173945194714223 (code B ref 67946); Thu, 13 Feb 2025 13:06:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 13:05:47 +0000 Received: from localhost ([127.0.0.1]:41289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiYuZ-0003hI-2t for submit@debbugs.gnu.org; Thu, 13 Feb 2025 08:05:47 -0500 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]:60633) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tiYuV-0003h4-VF for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 08:05:44 -0500 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6d8e8445219so7784916d6.0 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 05:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739451938; x=1740056738; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kqARwfq53GF8qFNUZsQm3maBKg8GbmVv98vv7eOnHcE=; b=Y/LKADv518t54j6GivxliXz0lBgcvSaFxfkLOqQiiO2K3d57YkaZj0r0RQIIwevgLO BYtY1USRovHq9FS2WP1+73XnejUMlxU1xpnLJElxnOE66kEH499r+iDrknxqrWchkdOv ACOrA70AjsvOkT9siq3v3X2rfo/Z0465Z/EMQ3yDY/3MFbEQamHRilz+JX301IsVsBmG utHhpIuoxe6fx9KYRNa8pdpl3N2ZnTym1T/N30Zs2z5WUte/XfHRKlbnMSqYNFCH57BE uamNtczhQQVqRVhLDzlpVlo9VWPwQnhtrHyPBRZB/ULO8mu8+5AHk7D10fnR+LnQTviy 6AUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739451938; x=1740056738; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kqARwfq53GF8qFNUZsQm3maBKg8GbmVv98vv7eOnHcE=; b=L1Bo0aVdjHXdADOgrfwbTVPUn2A5t6NAdHPmD22T+rYEIt/Qehya6o/B7pBd/sCHUQ EeIm7pmTXwa/WKEUeu0xn7K1XDk2gNozsNSfOTvLwubChnHH+O/FxgKTnHGTXQMt2hzS b0qwKT3k+ZNRhJhi0KbhmYeHrEWT5TKA8AUYbyvDt/jqpou5gfB3SraZU/ku+f4lmFMA EkAmGMwadqtqFIT/Il5txq/dxJ3tFXYBY22M+EQEyRQZAWh++iyI2Mp8qUHn8ddg3ei6 WH/w7SnmRvfCksnfdEZdNqLeY5wSKfQPhJOa3CKGIqzKl2uT6GzuDx4fSYvwKjL5w8ss /JQw== X-Forwarded-Encrypted: i=1; AJvYcCURZtbAgpZogrF5DfCjKXaS42OT84NgSXhyBgLIiGtmajzaWNaH7S4pCtIzQa+DaDuX0daOlA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyR4iNQdKnJpZL9cJQXSHPZ9ocghV9W67yHBfBL+of2X+QvMsOd 9fFbx4rv9TZdeM3JPO9il3hTmQPqdNXZLK2Kj5/axJDy/Fy9ecOymf1bhW0Fnf61a/xqAnthR7x l0qo4iiNB4AXWd1TT0dxu0H50gi8= X-Gm-Gg: ASbGnctnDeCwg3JlShWY6wpl5qYNIOgs90lXE2orIb/CZo/qJUClgD2alt05NHAlKbM LTxU85ll8fzqJKHjyxJZqr1JxZIfichjTnrtb/mRoE6vBbdBkVL29Eww3oBvPKMKHdhfRc42u X-Google-Smtp-Source: AGHT+IEsM6D/AAyGfiMeR3M4mhiOqbuiLkI3J/bYoHe8C0x/14xbpRe9pp/MzFC8hNoehrG8xj/PVAw1rmK/bJtlENA= X-Received: by 2002:ad4:4eea:0:b0:6e2:4911:cd8a with SMTP id 6a1803df08f44-6e46ed8a397mr108368286d6.26.1739451938042; Thu, 13 Feb 2025 05:05:38 -0800 (PST) MIME-Version: 1.0 References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> In-Reply-To: From: Ship Mints Date: Thu, 13 Feb 2025 08:05:26 -0500 X-Gm-Features: AWEUYZk4mBITfcQE7HYAhudbWHLKnNPzo7sLCa2sSkpkhmOUAInGpdijhlwyyNY Message-ID: Content-Type: multipart/alternative; boundary="000000000000defb15062e05b6fa" X-Spam-Score: 0.0 (/) 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 (-) --000000000000defb15062e05b6fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'll patch saveplace in harmony with savehist and leave recentf up to you and the OP. On Thu, Feb 13, 2025 at 7:55=E2=80=AFAM Stefan Kangas wrote: > Ship Mints writes: > > > If we can agree on a name for a "be quiet" variable, I will patch > saveplace > > to do the same. That one has been annoying me for a while, too. It uses > > write-region without an option to suppress its "Wrote" message. > > > > Or, in contrast, savehist uses write-region and produces a message only > > when called interactively, otherwise it's quiet. Perhaps that's even > better? > > That's an excellent point, actually. I think it would make a whole lot > of sense to make recentf behave like savehist here. It would also save > us from having to add yet another (arguably low-value) user option. > > Note that, by default, recentf-mode only saves once on exit, so the > "write" message will be lost in the noise of exiting anyways. > > Eli, WDYT? Are you okay with making that change instead? > --000000000000defb15062e05b6fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'll patch saveplace=C2=A0in harmony with savehist and leave recentf= up to you and the OP.

On Thu, Feb 13, 2025 at 7= :55=E2=80=AFAM Stefan Kangas <= stefankangas@gmail.com> wrote:
Ship Mints <shipmints@gmail.com> writes:

> If we can agree on a name for a "be quiet" variable, I will = patch saveplace
> to do the same. That one has been annoying me for a while, too. It use= s
> write-region without an option to suppress its "Wrote" messa= ge.
>
> Or, in contrast, savehist uses write-region and produces a message onl= y
> when called interactively, otherwise it's quiet. Perhaps that'= s even better?

That's an excellent point, actually.=C2=A0 I think it would make a whol= e lot
of sense to make recentf behave like savehist here.=C2=A0 It would also sav= e
us from having to add yet another (arguably low-value) user option.

Note that, by default, recentf-mode only saves once on exit, so the
"write" message will be lost in the noise of exiting anyways.

Eli, WDYT?=C2=A0 Are you okay with making that change instead?
--000000000000defb15062e05b6fa-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas , Eli Zaretskii , 67946@debbugs.gnu.org, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173945397331953 (code B ref 67946); Thu, 13 Feb 2025 13:40:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 13:39:33 +0000 Received: from localhost ([127.0.0.1]:41408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiZRE-0008JJ-TW for submit@debbugs.gnu.org; Thu, 13 Feb 2025 08:39:33 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:49956) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiZRC-0008JA-IO for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 08:39:31 -0500 Received: from laptop.lockywolf.net (unknown [IPv6:2408:824e:d2e:8ed0:d09f:b746:43d6:229f]) by coconut.lockywolf.net (Postfix) with ESMTPSA id C6ED8218A6; Thu, 13 Feb 2025 21:39:23 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739453968; bh=8DZR2laBAcMjhWVOsQwccpkpxbnP/mUuD69uziykUj0=; h=References:From:To:Subject:Date:In-reply-to; b=glybx+w4Yde3+eOlmBpv0JO8eDSeOfFxntv6VvVoChVRXpF2726IzzuJ3ugsjE0rF 2oEis09R/uZKNF+1Rj1/1JN0bzMDEJzM4x7CTNirRfibug0xSw05ouY9cOmhTtKwSR gNJtmddd/vjMLge1Tc3w1R3P7Gtl+tiMl8fmd94fBN3wCf++ex9blzF461kNyVVmfB nve02QBk8YRJmEmO5rLtR9DxKemKuAt0BNQGKetqJqVFEsz6pepxrFED4bDaKRH892 zQMhPW3DkUzsFrHbM60iX0YkHYXBLYOYLYRbJXvtoQaowBDs4DShYFRXkfaXWYfiBk GvjuOTa5EbubA== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Date: Thu, 13 Feb 2025 21:34:05 +0800 In-reply-to: Message-ID: <87y0yaotfm.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Ship Mints writes: > I'll patch saveplace in harmony with savehist and leave recentf up to you and the OP. Okay, I actually had a look at savehist, and it quite makes sense. I am attaching a new patch, with the following contents: (write-region (point-min) (point-max) (expand-file-name recentf-save-file) nil (unless (or (called-interactively-p 'interactive) recentf-show-messages) 'quiet))) This is almost like what savehist does, but with an additional check for explicitly enabling messages for people who are I/O bound and want to save recentf rarely. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ632AAAKCRD71sGyD+xt qhbmAQDvzzHyg3zvU1JU9AFDO40aQAf8NzmyatWV09E+AJgubwD9FhXUqan+ExP3 MS2KAOpcq9lxzLk1/ULpgmCNN/q73w8= =KV6E -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-lisp-recentf.el-Add-verbosity-option.patch >From 1290f7b57d343b28f98a96cc11865bda5bf3ae1d Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..c00dc987257 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-show-messages'. +'recentf-save-list' can print a message when saving the recentf list. +The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..e8fc1928713 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-show-messages nil + "Whether to show verbose messages about low-level recentf actions. +nil means to not show messages related to the recentf machinery. +t means show messages that were printed by default on Emacs <= 30.1." + :group 'recentf + :type 'boolean + :version "30.1") ;;; Utilities ;; @@ -1330,8 +1338,8 @@ recentf-save-list (insert "\n \n;; Local Variables:\n" (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") - (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (write-region (point-min) (point-max) (expand-file-name recentf-save-file) nil + (unless (or (called-interactively-p 'interactive) recentf-show-messages) 'quiet))) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-= Content-Type: text/plain -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: for_emacs-recentf-patch_2023-12-21@lockywolf.net, 67946@debbugs.gnu.org, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173946426412848 (code B ref 67946); Thu, 13 Feb 2025 16:32:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 16:31:04 +0000 Received: from localhost ([127.0.0.1]:45126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tic7D-0003L9-R2 for submit@debbugs.gnu.org; Thu, 13 Feb 2025 11:31:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35080) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tic7B-0003Kb-Fn for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 11:31:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tic75-0002gB-Im; Thu, 13 Feb 2025 11:30:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hlNtXenGSaXJZT2rkLQUvP3slXYtNgnMoGBueUZI/F0=; b=l5tvNB5S3lsT Ir2sw0I3nGaNbgv6RMaYCy2e6UqIJPvn3o8ETNDrFeTAFyNpvUgn/yDa3G85re8Ab/tmD2cYcH1BG kwLf+9rSkE8ib/PvRTlIsIXsz6IBJVRvCKXC5433heyiUtE0fyDR7NR5WVqkPWY1zR5/IW9jxFuDZ x7k14h3YAw6W8GWefxk5uhtXVD2eYrVtfeodeJTWCV25T+UO+PxhdlaZs92MKepQSx/rqgMb1Nsdh BcJxFtT7H7Ca9PTI9YAgFBc1Wr1MDP3NFEeBMjUClUX0poRdIHPI3jCOcHaTUZEmPxhDMINjzpsnK HGhjp+HFDBQgeK57cQwYMg==; Date: Thu, 13 Feb 2025 18:30:50 +0200 Message-Id: <8634ghiz7p.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 13 Feb 2025 04:55:21 -0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Stefan Kangas > Date: Thu, 13 Feb 2025 04:55:21 -0800 > Cc: Eli Zaretskii , > Lockywolf , 67946@debbugs.gnu.org > > Ship Mints writes: > > > If we can agree on a name for a "be quiet" variable, I will patch saveplace > > to do the same. That one has been annoying me for a while, too. It uses > > write-region without an option to suppress its "Wrote" message. > > > > Or, in contrast, savehist uses write-region and produces a message only > > when called interactively, otherwise it's quiet. Perhaps that's even better? > > That's an excellent point, actually. I think it would make a whole lot > of sense to make recentf behave like savehist here. It would also save > us from having to add yet another (arguably low-value) user option. > > Note that, by default, recentf-mode only saves once on exit, so the > "write" message will be lost in the noise of exiting anyways. > > Eli, WDYT? Are you okay with making that change instead? I don't think I understand what change is being suggested, sorry. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173946459813845 (code B ref 67946); Thu, 13 Feb 2025 16:37:01 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 16:36:38 +0000 Received: from localhost ([127.0.0.1]:45160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ticCb-0003bE-Qi for submit@debbugs.gnu.org; Thu, 13 Feb 2025 11:36:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43798) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ticCZ-0003ax-HI for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 11:36:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ticCT-0003RO-AR; Thu, 13 Feb 2025 11:36:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+TfPdDJwzSRPJSb80F3iIDd6aTqPKGCLnbiXHkbJ8Aw=; b=eT/WuLdR3NKF +79SxXgPnAOOE7yqkR9V9IT9BTYzm+XZ0C+xE2N/dsFCko/L4W02gVtBHFaqjHMPusr6oLsSCliC/ G8JuHsi0m7X2ylxPbwpd8hElNnYR+uUvRiutlWK8eExqzVdLbc+RZ8Ml33UF0GSpdVMkQa/LWinuy 4jkUayxXfyquSfsh+dnTmWLv4rqzghEfEScr3AeYMBN2Vs8qkUiEuar9lkGptOMQmbvUsjJZfTqtO r20cyiiMaue5qKbL5WWvF0dmPiYFSOi/uDVDi6OjnMdhV/73e4op5+kdyd7Ofs2tona44Bjh3E8/U 9L1kvFb+ibVBRLvSd/jvTA==; Date: Thu, 13 Feb 2025 18:36:15 +0200 Message-Id: <86zfiphke8.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87y0yaotfm.fsf@laptop.lockywolf.net> (message from Lockywolf on Thu, 13 Feb 2025 21:34:05 +0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lockywolf > Date: Thu, 13 Feb 2025 21:34:05 +0800 > > +(defcustom recentf-show-messages nil > + "Whether to show verbose messages about low-level recentf actions. > +nil means to not show messages related to the recentf machinery. > +t means show messages that were printed by default on Emacs <= 30.1." > + :group 'recentf > + :type 'boolean > + :version "30.1") Thanks. The version information is incorrect, it should be 31.1. And the default value makes this incompatible behavior change, something I'd rather avoid. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii , Stefan Kangas Cc: "for_emacs-recentf-patch_2023-12-21@lockywolf.net" , "67946@debbugs.gnu.org" <67946@debbugs.gnu.org> Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173946565128505 (code B ref 67946); Thu, 13 Feb 2025 16:55:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 16:54:11 +0000 Received: from localhost ([127.0.0.1]:45235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ticTb-0007Ph-0y for submit@debbugs.gnu.org; Thu, 13 Feb 2025 11:54:11 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:46816) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ticTX-0007PW-Va for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 11:54:08 -0500 Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51DGfWuo026041; Thu, 13 Feb 2025 16:54:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=gYzuFdk6HT6lPiaxX1J6ZBiHEj3MWQvtOqhT+KOHNX8=; b= BbWjy61lXVaGb+l1GiaDpu2EbLdq7tzRE5U5UphrXybz+QmILCCtzBtEaRD1hKVM m9RpYhY7p3IiorCl5qCt9DXZU2j1LUdgfKSSNLJjBI/4d2fYMva9U6aa4RtEbF3t 3LaIt6GNjbv/1ps5bPC9nWEwupK0pDXVLKDSTIvNcE+15G5D+QJBnv88V5K3PMiP 0zRcjO8hgdTCsAMG3HLB4c5/M6uaJufvyaLu8JDc9d5S3x7xlhmzJkIxQetsoSh9 FBbeKJ6enEOTayrGfDKjSiwd0b6DmQ0On1SqY+cOxUa2lzAtlXzVCAuDVrmAnp6i 76/EFHtownN3MZd416+mmQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 44p0qyt2bp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Feb 2025 16:54:06 +0000 (GMT) Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 51DFtSbF025433; Thu, 13 Feb 2025 16:54:06 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2044.outbound.protection.outlook.com [104.47.55.44]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 44nwqjgkfb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Feb 2025 16:54:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=odhxBgusCryWLDpDkJju7p0ugTJG5fZtuT1rt8UnwT/2RiJbe4riYS/uKwX/kYudfUjki/y+6hnIsxsbI4uparj1bScADiQ5qzi1KyQmkUTu4liy8bQPy/hoUO5jxg9IvbZPkntg7gyDI+5v7DdVNTOIbjVQLdo9RJ4PqioJDPMAGHiG5qNXpJ5j1KmkxjI9YXmufhBq+l1jG610V18cKUQWVFdqhVMNQ8Z1ko+heFC31IWEpMN7EMATmqfeBsXJU9LpLiHtoWPwvAezNJQYBPQMqtwT+I6BrXetGDxyHHvbbqRybxVe33ujYES8xTowpetJapvuXmddqZ+R60vvPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gYzuFdk6HT6lPiaxX1J6ZBiHEj3MWQvtOqhT+KOHNX8=; b=id3ve+4y9kbNp/wrjBl98/RKrvJZNqPmVqK9yjt+SlCy9xTYl6sAf3mZ6lJXhxYAyxhCTIoru1E4p5UCYfFD0pp9yAGmSmb6EFCqZ71eeE9ztEUozydUEqeVp/f5beoG8W1L32E4mPwrgmTUwKMcWZ3yilocEqS/gs0zKns0sLiqDW+N8WIViYpA4dUXwTrw0ROAmyuBiHkco1azQNMsdFSgvEa5arFgtmjnqzR1q+lDU11Q6648Gn6DP5RkNW9UcI2VtSxiTx3FYCDG76Gikb9zrsN/rxMyBUx971HaRNBmYLHyTNtLskGKh/vcQXOdCVu39yP9Iur/ACWllBVQsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gYzuFdk6HT6lPiaxX1J6ZBiHEj3MWQvtOqhT+KOHNX8=; b=HZ9PCsAbAwBmcUCFM/5BPi4QKsJrncaLFALmoZ9eUZdR2sOxN//1bnJRYvp1ZoJCQr6MFOiGOfX7OBOiXFxMC8wovu+MKRT04tqz6rfEJpl30mFHni/5OAJ4N0jk62eVjFWT3u/FnJkovxMxa8ffXd83dg1R+f5Sx9Lhyl5AITQ= Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by IA0PR10MB7157.namprd10.prod.outlook.com (2603:10b6:208:400::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8445.13; Thu, 13 Feb 2025 16:54:03 +0000 Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8445.013; Thu, 13 Feb 2025 16:54:02 +0000 From: Drew Adams Thread-Topic: [External] : bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Thread-Index: AQHbfe5NSEqpLgLvVEmk4nRi1OgwBrNFcnwA Date: Thu, 13 Feb 2025 16:54:02 +0000 Message-ID: References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <874j0yjx1s.fsf@laptop.lockywolf.net> <86wmdui806.fsf@gnu.org> In-Reply-To: <86wmdui806.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|IA0PR10MB7157:EE_ x-ms-office365-filtering-correlation-id: 4823fcef-8909-45f4-1d01-08dd4c4f0506 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: N+KTfhncaEsWMI7U1+StLo9bS2VQr0SCQEFKYqlucl/myjA3s3QCl+mNeTlzmxWmVCm++IMxr+RfEI8m/c8v9UgfOSG2IE1yMzmrhNoqvOyyzMv+umxy/B9WNnfH0ckdxa6aEZh9FQanwGm+23LNKP1IsEXgh1WHMyK7KK7xkfqQwTO/Alii7gjx+cdaLfpAqzdZcLqrErJG8CVl/9OM0ZutytxMxD7zjJXIbX9ixRwfEfDV7DQ4BdpmdTkkbmB13lzA1bAJkLe/85vcWJl68p9WnWRMeMZTtERY4DHZkBk/jpklqJNLj/ZtU7F69QL91wKDENuv/GDzdRl4/jfRn8cnbzj+hLmPQKSrrHwMR2m1ff1J3GS3MJxsr+Q0HysA/nnW6qSov2yt5rhRfkOPxdMueYvVu9dcvds91y3MOnqxUDpCZGVmjOAbW8KwmNKJoWVrOSaxSoBjfhpjEu0b9HhUwqmdR8wCYi5Ypafni/6sZKYHznALhUeATdhezBWYaZdClhkP6+KUI2VkXUu/urpLyMpqXdu34nmAB7zrK+5TdnWYiIz3ZFfSNNX5Sbm1dfNtyfMZk9qppkF39cbTNnGszuw80fFIObSfRvze3cjTzpjKqsbeivlZFl8EuivzYyN3uWXWMyovFzz5CXe9dc8mlt9oU4bFRm1xEcnnyMmlcjPocik40IUjeIspi9K6jgizr7o44O9AAWIehDQJSvgQe/cwu5Gn0rF2pGQsmpgO4UFl7+t8klJqWuoigZBhkVdkOH15rLnDWFeS2JtleBLpdix3mWTRF/HJEK6Sc+NtO0yEOjSRke48p08rJwdwRfIM/4AivsQ6Ytlxu+hLDRwQ/D1DLSq4b7UUj8nHP3D/pnIVqlGxDqMdLKPfIyb6/jTVfbiP6efMmQ4wvqXiqSsytX8SrYRg9hBFBGJt9BIP/neVWut3R9zwUBb3dKT2Psr5bPS7psvgIpMA06Qoudf+PACa0AwAU4850UKhS0K2QkK2Pfm0XTRHO+SYNUGlakP2o3sRkWeFVmEZVMlH3mIyp/44MMiVMMBWlPvbbVQRyPlIOTpFB4Otjqk1Y3b2bT+VnUp6Z+Bvo1J/vybz1nPEW71zsffvsnVUB8dGjzF/lCaVPXYh/NA1OJmiPI0xly6NdjErlWdVsdTnIcmtLlYz1J3H4pbv9EeVvuEco8uRfKLfrtKXyvK2FtorHt0Ms/DdHBgCbDSVJ2UFuR/oItEkjo/dtzO1JXU16j3+sP+Uc5GnBQXH2rHsQ+AAkTlQ90fY0lj2CBVwYjDW6ia59pFONp26VDrZVGuAZRZx2NhRvfxcONDZk5MIs9RcmZdL8gbEqyBgGUgcGL6DlpmPIqCi53fyNHh3UJBZ2QWcEiuKodT6MKCU+s5OK9Ae3Ci65TnsuU1oyaPNB1FXXtR6XtaUkVhj+GS+2ephaYCpGtHbqNNqzfcMeof6gJFnQqKr x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 7HhSj1+0fSrydwtHfjuFnFxPJuA5V38nLmDuLNtLeGOM2x1aNJLezB3pS350/Qsf/gT4AStblXFMF5S5ghno9St521mCPGDZCZuDdtirM9kgzWlM+haxjg7OQKfF5kQQiCrpqdyHgEXT9kIqT1RxXpW2REXYCPgDYlLyyvPDUk9JCNO9ynIdyNo0hfgKZu+spYTtWMDVSBPHZsfSYPI1TNsXjev23UNJlkTuLn/KyCT2Di8MfcY5k1IVGwlkohog0k0Me2O4+YERBB9vB90KOWMn71OTUA1ptRwTaCvhzZCO/yWH0WfJZQFc7lkWQAPPmKzUPNZEM4QpAFhXI74Hww4hKJEw1IxJSdxFt1WXV8MBScPiasujj985RN3wDRot+rTP5l5h+vTzzNGbU8lsAk057TxQFhDYPbeIUgq8ugMP9xAd0QcTtOxYh3oaavYVuZB9YdPODNY7cAuoOqm7crrLlG+nLOdhwqFILjU5mKFtOn26m1U/uNA2d/pX2lGZidLHL11MwXxtBx2cxX3EJRRIqlXDFCKF96MiwG8p1WBqizGXq97Npb7FGB1kcNg7BGWEhuZ8cTcBaEWjGwcEaVi5AVg3MuUNIwwhus3e9S9MaZFPNf8vI+ooFWPcbc5N5a75gHPtEPGuDTJrcvyrCvkZyXyaQyuwTu6LIwN5AjhIs//tzVBfYrZgvP1hEQWCWBrJk1IyU1qJnc7jou6/N2FutdLK+wwzwrpz3oxkjEopW2yxZiqdZritZl04+iiOn8bY49Xcy5tZutAxnpUMZP9BDESz+YKTKB5J9zmZl29MEwcHlrQelVkAruVlqfS8ROxLIhhAKIISvj12KTdZF/MdPSq+YLfyYAf+18X8y+auPzkUdt4N7yu5WT0GkSe6btaO3PMpIHuqARiYkqbYUf4sXqVLlYGqqb9jR10ax4T/u5PEZ50V5nt009ZNjmSozz8jHH3JKo7rLP3aWfq3FGlqD0ruhRA6UlZrNa6xMcWKxNvU3pQk0sEYjsbV2Yn355X8SO8RWrvahFBCz3MAdu+yoa8fKxi6nTMNxt5prYQ5FvwUaBnhQvIUDDAGTZvhxONclcYaNGc9janjjF4ZuQV5zUT+MFe8cLBF8sgoX7WiUc9Z8TvHhUwyuwb/Cxm5tgRN50ez+TbvvBalqn+nBr2+T/VgGarWB4on8mzDwiCzXZY8nWeGoyPdyQypszb3pDG7/TgVdLg4ZSxT2CmkiZxZDT4FqapXSdgSxHOeNZTwbctvNDccZbXDvb2tGzMr2HQYO4OR7B/QQDWso3HGkEtFaWVz95WXSXYqQKrdmPjxYWhRMeBSddQtIYJhoGFRcru3gC70Hn4Op84a3mvhnCTK1ZzlFXt+hKgZBtNY/6Du+9wdi3waXtmnQmxxR7sWPto27PzpjaIiuzi+fYHqVBW0RX61D/1rHRTd+NfOC+sHKC7CLXgeBjDHPrZXQEYrQKMZyWAiJrdW+inQcM1b4nSe+hrAh4yKCeXlFyoHyYmCtce4kIiB/WNYnpluTj2iRyK00Jw1lMPmxOW7zFPlhaj0vWhgthsByI5zsdhAlMzGMRc2OcWRAaKDX11YxoGr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: HaaYD4ah2zC1DbFJjf++mc1K3ELUqZlH8mjSb3XO/+LLWYz/SXCYAhfJ/MSAcJ9Gi2tCYwyb45YIxNlL9LS03wWXUfxvOe8bmUqUbDla592vj6cGqEefh8iHVm3mXbkvuOxsvyD3pS9hKyPkI2o/lMn/JRjwyNf11zEefkGWKvuERRlHPFzV7WBGCtIqmr9XDlohQ3TpuAc7bbhcNb0fH3x+kJrKHCCpBUQRIlYEFZ2XGEIYQE6JUoidL9B3H+pJlEQTvzaO8nJiMsRkfNnC9qOSHtrUBbU8YuuLF0GO3vlLCVQwUSUQwBIQcUhibRVwHFeCBTX7tEcFDOeB8MKQklOmSHOrAbI66bo+fxi6DQ6gpPd5/7wIHrWd8dxlZhin2Q2zT7oIPC7GavM1xXsDdY+1y0LYgatdtS0ZvmMjb+vdM3qlF94YehX0FW4OQNGSMiMHeK58h9tC+T1VxtUBM0hC7IcXxmdtp1Qgh3u0JnlayRMctCVtCm1MOpajgPf0+OhQjFgh/E+kpShSXYzApQb4soaAldTHxoWtAyKYJCr9ZeBnybFn8RooOmiavpwtY0xOCGZW4CJefe2vuyf2YRzwaB5aYyFjjPcX/0rPCLQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4823fcef-8909-45f4-1d01-08dd4c4f0506 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2025 16:54:02.6808 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lJy43PPAh6mPIJgAGCzHCk+Tv0by2jKpCzrYtctBB9vJJCYi846MYfpfG+y8TJoWeKl6dXsR1dvCIBhzDu8o6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB7157 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-13_07,2025-02-13_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2501170000 definitions=main-2502130121 X-Proofpoint-ORIG-GUID: AzgexItLwbJMjZjBjhiozYDhhnUUy_LD X-Proofpoint-GUID: AzgexItLwbJMjZjBjhiozYDhhnUUy_LD X-Spam-Score: -0.7 (/) 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 (-) > > > +(defcustom recentf-verbosity 1 > > > + "Whether to show verbose messages about low-level recentf actions. > > > +0 means to not show debugging messages related to the recentf > machinery. > > > +1 means show messages that were printed by default on Emacs <=3D 31.= 1." > > > + :group 'recentf > > > + :type 'integer > > > + :version "31.1") > > > > I think this should be a boolean called `recentf-verbose` or even > > `recentf-messages`. > > Agreed. +1. nil & non-nil are what we usually use for a binary choice. And if other choices are added later, we distinguish those using particular non-nil values. =20 > > I would also set it to nil by default, because as we discussed earlier > > these messages are unlikely to be useful. We should of course then als= o > > explain in NEWS how to get the old behavior back. >=20 > Why make a change in normal Emacs behavior that no one except Vladimir > asked for? +1. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2025 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas Cc: Lockywolf , eliz@gnu.org, 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173946611830053 (code B ref 67946); Thu, 13 Feb 2025 17:02:02 +0000 Received: (at 67946) by debbugs.gnu.org; 13 Feb 2025 17:01:58 +0000 Received: from localhost ([127.0.0.1]:45255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ticb7-0007oe-QU for submit@debbugs.gnu.org; Thu, 13 Feb 2025 12:01:58 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:44119) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ticb5-0007oQ-8d for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 12:01:55 -0500 Received: by mail-pl1-x642.google.com with SMTP id d9443c01a7336-220e6028214so9596245ad.0 for <67946@debbugs.gnu.org>; Thu, 13 Feb 2025 09:01:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739466109; x=1740070909; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BGQOpxVv+btSO5vRWaLY+0oA806715gho3Nn0dGRm5s=; b=ZqUoAuwLyt+bEYk9kYJI0CHYQkhRBKTbZIp+NblI3E1GqF2pZPio+ncHat6sZagQR4 655wGSk89s7YM2jnxeD8nD609Jeiell3Sj0PMUvDT6jI2NFIYaDqUI7um2pSDMo8n56x jAwbZs4Lw4MdNs63sG8dG4AQsLUDgjGLWe7YToTKghXuHjYH5Mu+SdcWLF19NQO6UJ/n cMpQEFentkEVzYtZQ/PgS7X1JJWt2jWc1R5DPaygStznYPAXF9RQEjoxoomlC0lV2XO+ IZ+oMxN9YLkCziG+XqNY1lf+eCbtrpxs6Kip7CTKtBkhAtuuEPSs7ObTF4+wzSdpr5Wo F+Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739466109; x=1740070909; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BGQOpxVv+btSO5vRWaLY+0oA806715gho3Nn0dGRm5s=; b=WUVpviYG46ZSpA8tmug9NMXOP8A2+7lV38qBaMdQuUhdaKc0UcO3DqX5wwyGzEkt3f nDL2Q+RILF6abdIMZWpHzhkp3fzVFXZjJYTKRqJxOXamSbxcvaPhzwxUOsEz/TMBg8Yy CUZ60AokxOBNdfGWRmT1J1Fh/bsp8NYAxgNEUYLGByh/fhqm3t/P8C35raVWmVQjqP+t 377cSeiQY7B6EUxqHhyEaVC03v5nzzR87FReBHqE0jt0F2Bg3XdhficEIWLiCpb+n8Hi 8Hce5Z5bc5f6eWmorbJiKJsfYc4g/k1z3GH8D2kbFlhfvWs8A6zadpIUrwXQEfNlazdd hteA== X-Forwarded-Encrypted: i=1; AJvYcCWzx/KkBu2phpqo/NNp9bLv6xNe68wLazFz7FlByOG61SPvJeXNgnP16l9RgFFRTSiowlHIVA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw74b6Oh0ieVZbYdIS3pxOgc/Pyx4QajTLP0x+cbfY0kB4fCkJx +fDt8jNcfPXh9KOg1fKE2rWAHflunVev5Ys665khXCetd4u05rB5 X-Gm-Gg: ASbGncuL8anuuCQIojkPBrTZJZxH+ZlJfOW2CpkBQ5Ci0F6JO/uAMTLsyn9Eiz5MQ8W IvXyW9RDgct9xlfLzrNgITflDLG6NBl3Aa6h9qtoNYe7cWmurGGjcUVuOZWyCMRxdeokf84opTj v0JoUeLVysqNdTqf+a4dgy9rKUSSzrDZNnvYpeknwlJc3Yi1b7KVXg14567/FiLDT8h3D16uhTm mbxPWGgeg3ytrEZOXb0t1tHMs2A6wYi5uV7BZQ3pLXzUwn3h9wdoTHFY6XWcu1sq8o+LsLGE1b1 JzCYoqc= X-Google-Smtp-Source: AGHT+IEUD/g/B1jITJsgNDiz//sWoBW4UYGyICpdZY2opAc4hSahpuHTlLkCyuDKq2Oj7h35P00kYA== X-Received: by 2002:a05:6a20:7345:b0:1ee:3576:7299 with SMTP id adf61e73a8af0-1ee5e530c55mr14560767637.3.1739466109038; Thu, 13 Feb 2025 09:01:49 -0800 (PST) Received: from localhost ([1.7.159.71]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-7324273d9fbsm1546681b3a.102.2025.02.13.09.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2025 09:01:48 -0800 (PST) From: Visuwesh In-Reply-To: (Stefan Kangas's message of "Wed, 12 Feb 2025 21:19:38 -0800") References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <874j0yjx1s.fsf@laptop.lockywolf.net> Date: Thu, 13 Feb 2025 22:31:45 +0530 Message-ID: <87h64xixs6.fsf@gmail.com> 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-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: =?UTF-8?Q?[=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D_?= =?UTF-8?Q?=E0=AE=AA=E0=AE=BF=E0=AE=AA=E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF?= 12, 2025] Stefan Kangas wrote: > I would also set it to nil by default, because as we discussed earlier > these messages are unlikely to be useful. We should of course then also > explain in NEWS how to get the old behavior back. Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [1.7.159.71 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (visuweshm[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 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: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: =?UTF-8?Q?[=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D_?= =?UTF-8?Q?=E0=AE=AA=E0=AE=BF=E0=AE=AA=E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF?= 12, 2025] Stefan Kangas wrote: > I would also set it to nil by default, because as we discussed earlier > these messages are unlikely to be useful. We should of course then also > explain in NEWS how to get the old behavior back. Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [1.7.159.71 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (visuweshm[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager [=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=AA=E0=AE=BF=E0=AE=AA= =E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF 12, 2025] Stefan Kangas wrote: > I would also set it to nil by default, because as we discussed earlier > these messages are unlikely to be useful. We should of course then also > explain in NEWS how to get the old behavior back. There is at least one person, yours truly, who finds value in this message. Whenever I want remote files and files that I no longer care about removed from the recentf list, I find this message informative (and reassuring). From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2025 04:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17395063278328 (code B ref 67946); Fri, 14 Feb 2025 04:13:02 +0000 Received: (at 67946) by debbugs.gnu.org; 14 Feb 2025 04:12:07 +0000 Received: from localhost ([127.0.0.1]:46460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tin3f-0002AE-4n for submit@debbugs.gnu.org; Thu, 13 Feb 2025 23:12:07 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:58320) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tin3c-00029z-FT for 67946@debbugs.gnu.org; Thu, 13 Feb 2025 23:12:05 -0500 Received: from laptop.lockywolf.net (unknown [IPv6:2408:824e:d2e:8ed0:d09f:b746:43d6:229f]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 9882C2038F; Fri, 14 Feb 2025 12:11:50 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739506322; bh=He6Q7l58pTvIaOMQwsuWr/kRoPGf0MKPQ2DCuSXeAvg=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=jxmiYpgaAshaW/cQ+MNqA9pXBY5c2RadkwwXQ8iLfak13cI+sJCdY8/4nyqAP3n0A YMUM3fkvqR9waIl5/dQUTeDbzu3qgaI2kkmK2qokF8JslAuVdmfZhsAoAAJaBJngli 8ihlrrymZBDde+Re1DUnxVHQ+yLcQN6BbcTCKEvc2wD1+fJ5NvUP7DVqsJoZ2H6bxo ToKPNzFQ/LSTctcAYDBu0Z4NdDq6LyjeagN0EvjZd3k9CFhV3W56KWsovYHKNWRFTl wue9CtTxhazWz5jq50fQj/iVdCP86lX2k5bqpQTp2dig5Fgt22wx1OypwOWSKDKA5M ihAZ46nRQUVtg== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Date: Fri, 14 Feb 2025 12:09:36 +0800 In-reply-to: <86zfiphke8.fsf@gnu.org> Message-ID: <87seohp3ly.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > Thanks. > > The version information is incorrect, it should be 31.1. > > And the default value makes this incompatible behavior change, > something I'd rather avoid. Both are fixed in the attached patch. =2D-=20 Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ67CgQAKCRD71sGyD+xt qs62AP4yJzQjrmiImTzgC6osXLhtOE8GcgHy1ZoKXwvAFi3eyQEAhEaGhjuCdlcz q9mYLbzwrXvMCVYO5QpCFaduSeJOew8= =Xh1d -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-recentf.el-Add-verbosity-option.patch >From 1290f7b57d343b28f98a96cc11865bda5bf3ae1d Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..c00dc987257 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-show-messages'. +'recentf-save-list' can print a message when saving the recentf list. +The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..e8fc1928713 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-show-messages t + "Whether to show verbose messages about low-level recentf actions. +nil means to not show messages related to the recentf machinery. +t means show messages that were printed by default on Emacs <= 30.1." + :group 'recentf + :type 'boolean + :version "31.1") ;;; Utilities ;; @@ -1330,8 +1338,8 @@ recentf-save-list (insert "\n \n;; Local Variables:\n" (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") - (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (write-region (point-min) (point-max) (expand-file-name recentf-save-file) nil + (unless (or (called-interactively-p 'interactive) recentf-show-messages) 'quiet))) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2025 11:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii , stefankangas@gmail.com, 67946@debbugs.gnu.org, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173961766718197 (code B ref 67946); Sat, 15 Feb 2025 11:08:01 +0000 Received: (at 67946) by debbugs.gnu.org; 15 Feb 2025 11:07:47 +0000 Received: from localhost ([127.0.0.1]:53560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjG1T-0004jQ-AO for submit@debbugs.gnu.org; Sat, 15 Feb 2025 06:07:47 -0500 Received: from [2a04:c5c0:0:d7:f816:3eff:fe6b:287f] (port=58222 helo=coconut.lockywolf.net) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjG1P-0004jG-Ih for 67946@debbugs.gnu.org; Sat, 15 Feb 2025 06:07:45 -0500 Received: from laptop.lockywolf.net (unknown [58.19.1.5]) by coconut.lockywolf.net (Postfix) with ESMTPSA id C7F2D218A4; Sat, 15 Feb 2025 19:07:39 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739617662; bh=nzEppEcUbTFY/BNgHWxB7G88D4fLc/ChgPK54bIRzfU=; h=References:From:To:Subject:Date:In-reply-to; b=c2+xd9Rdhbr6vyXSzHhVhliY5LefkFX4cBnAzA2oP65htdh1bX2NKfq46ARAJHBTJ PesorXkabaLWncnBDBADeKH2s969dbCSv7TTXaLHlsq4gLFH+Z7CPA479C/UhTLf2A QZNNWnk710v1E2Uktu0+SGamPJsHb+nTCaOSfyWuda8J/pigsUaVh0rFapjAEsCozl Ozj8V0S2SY1jveWp6gYdeXraZaJwzKX8VMB9lz4gZrbSgoQWyeSSk+j4JAk4s6Ptb2 ORHj2W/DZdrLf+Iq/gnLRUB55hswAMR0yG1sDHPw94hO8CaRRt1Uj3r+7oaP7ul3MI w98QCDlK/C6FA== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Date: Sat, 15 Feb 2025 19:06:34 +0800 In-reply-to: <87seohp3ly.fsf@laptop.lockywolf.net> Message-ID: <87o6z3pits.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lockywolf writes: Eli Zaretskii writes: > Thanks. > > The version information is incorrect, it should be 31.1. > > And the default value makes this incompatible behavior change, > something I'd rather avoid. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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.3 (/) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Lockywolf writes: Eli Zaretskii writes: > Thanks. > > The version information is incorrect, it should be 31.1. > > And the default value makes this incompatible behavior change, > something I'd rather avoid. Both are fixed in the attached patch. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ7B1dAAKCRD71sGyD+xt qspSAP9A1OodueBvh8zPhT+99jhWjkmYwG3UWgqKalK1AZmYQgEAnSofpNN2LPpS IyIHl9kGh8XtsD3NBBmJP9tkthN8FgQ= =N6EL -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-recentf.el-Add-verbosity-option.patch >From 1290f7b57d343b28f98a96cc11865bda5bf3ae1d Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..c00dc987257 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-show-messages'. +'recentf-save-list' can print a message when saving the recentf list. +The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..e8fc1928713 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-show-messages t + "Whether to show verbose messages about low-level recentf actions. +nil means to not show messages related to the recentf machinery. +t means show messages that were printed by default on Emacs <= 30.1." + :group 'recentf + :type 'boolean + :version "31.1") ;;; Utilities ;; @@ -1330,8 +1338,8 @@ recentf-save-list (insert "\n \n;; Local Variables:\n" (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") - (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (write-region (point-min) (point-max) (expand-file-name recentf-save-file) nil + (unless (or (called-interactively-p 'interactive) recentf-show-messages) 'quiet))) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-= Content-Type: text/plain -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2025 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii , 67946@debbugs.gnu.org Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.173987192212285 (code B ref 67946); Tue, 18 Feb 2025 09:46:02 +0000 Received: (at 67946) by debbugs.gnu.org; 18 Feb 2025 09:45:22 +0000 Received: from localhost ([127.0.0.1]:54828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkKAL-0003C4-P3 for submit@debbugs.gnu.org; Tue, 18 Feb 2025 04:45:22 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:53684) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkKAH-0003BX-Tb for 67946@debbugs.gnu.org; Tue, 18 Feb 2025 04:45:19 -0500 Received: from laptop.lockywolf.net (unknown [58.19.0.88]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 37ED721869; Tue, 18 Feb 2025 17:45:14 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1739871916; bh=FWp0Jxq3DP7nx53KqmsyC6gT6NKwMgYLxrB3CfMSp50=; h=References:From:To:Subject:Date:In-reply-to; b=kD1JSlNGhmtF7NuyloEfu8dIX1XC3/f114GdOdZqoeKuavx2/uxd256DJr9nvIL/o dnJcCOfxDj2LICgYid3aQsvxBSZB6l11e2FP4nsRsVEs+QwSD7Bi4nWMJDMbTCsE2p v3/Z+v8kQp2ffhqOAGLovcKQuVMgd2b97aRNXGrni2/Av5ub91MQ0z+Ij/3aXWXJwu FkcXKYXpFkasBmN8PFUr2/r+hQjLLWmkclZBetZGMoKHrg8lixphz1lCf7D/5oQmyG tGNikPZh0OVHHdeXD6riiCh0acOhfYyeuvv30tEJUjkzE+2RqX4XNlFTviLjUGG6v2 BgSKdg+T/Ek4g== References: <87a5q41azk.fsf@laptop.lockywolf.net> <87wmt2505y.fsf@laptop.lockywolf.net> <834jg6bhaf.fsf@gnu.org> <87plyt4i6k.fsf@laptop.lockywolf.net> <837cl19luz.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Vladimir Nikishkin Date: Tue, 18 Feb 2025 17:44:35 +0800 In-reply-to: Message-ID: <87cyffa8ny.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ping? Could someone review my last patch, please? =2D-=20 Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ7RWowAKCRD71sGyD+xt qsbKAQCVnjX7MzQPjmTNc8Dg8CeYX2PNdWIx9Sv50sr51yOgVAD/d+ydhRhqlFmi nRncY8tleW/YDLMS0QvD9VeolbToogY= =jCCG -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 10:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.17402186024189 (code B ref 67946); Sat, 22 Feb 2025 10:04:02 +0000 Received: (at 67946) by debbugs.gnu.org; 22 Feb 2025 10:03:22 +0000 Received: from localhost ([127.0.0.1]:48086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlmLw-00015Q-LE for submit@debbugs.gnu.org; Sat, 22 Feb 2025 05:03:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60336) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlmLu-00014D-8z for 67946@debbugs.gnu.org; Sat, 22 Feb 2025 05:03:18 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlmLo-0000LN-SY; Sat, 22 Feb 2025 05:03:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GUULga2xIwBR0BPEPZdnZ1eSo/8lqOBpFJ4c9VLlCEY=; b=UEUsao4jCZZj Hh4DUiAOXOapzNFYsoH2/UG8i4BRt16wGGyudukKOF/NBk9WSTtgQbSGmhp8WU9tc1jTZkg2YJjts L7Jg4lVO4hGHA7eohgG7kX8/PNi/9aEH7D6pRVlCHyLLsNTIJMIIQS9+SP0Stk3+phdJhzoDclAio BlTUuKA55IYODU8OBFRIyvZCmI7v12J3a1d0T6z5ais7uSh0S/Sm1/OfxFXvmKqPG0XZ1wqQhF2vo PiDH2DqMEeVSZxT9wQ6AoQtOFf9+JNZNP837EfuLbqkxTl6EqOf/oKkXBGGG4x8cBUffpY0bplzNn X4uG7FPLoIPnmZhnxLXobg==; Date: Sat, 22 Feb 2025 12:03:08 +0200 Message-Id: <86ikp2jnz7.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87o6z3pits.fsf@laptop.lockywolf.net> (message from Lockywolf on Sat, 15 Feb 2025 19:06:34 +0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lockywolf > Date: Sat, 15 Feb 2025 19:06:34 +0800 > > Lockywolf writes: > > Eli Zaretskii writes: > > > Thanks. > > > > The version information is incorrect, it should be 31.1. > > > > And the default value makes this incompatible behavior change, > > something I'd rather avoid. > > Both are fixed in the attached patch. Thanks. Compiling the patched recentf.el produces the following: In recentf-save-list: recentf.el:1331:4: Warning: `nil' is not a condition name (in condition-case) recentf.el:1331:19: Warning: Unused lexical variable `error' recentf.el:1348:53: Warning: reference to free variable `error' recentf.el: Error: Invalid read syntax: ")", 1348, 62 So I guess something went wrong in sending the patch; please send a fixed patch. Also, please make sure the lines are not too long (maybe that's one of the side-effects of the patch corruption?). From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.174022824725451 (code B ref 67946); Sat, 22 Feb 2025 12:45:02 +0000 Received: (at 67946) by debbugs.gnu.org; 22 Feb 2025 12:44:07 +0000 Received: from localhost ([127.0.0.1]:50584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlorV-0006cF-7Y for submit@debbugs.gnu.org; Sat, 22 Feb 2025 07:44:06 -0500 Received: from coconut.lockywolf.net ([2a04:c5c0:0:d7:f816:3eff:fe6b:287f]:48178) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlorT-0006bd-0w for 67946@debbugs.gnu.org; Sat, 22 Feb 2025 07:44:04 -0500 Received: from laptop.lockywolf.net (unknown [58.19.1.79]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 756972186A; Sat, 22 Feb 2025 20:43:59 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1740228240; bh=/CDyJnHNUOPICfuDMrthaPKXp/M0l2Bz8Y8PzqIbh5A=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=Vlai/Qq92jBvvF1tmX9SeC4sI884jLHftnZMRzEYnfVbQAZ3SLVUwZPCrkzNtzXpJ +TJNRS7+ZGNIYAB4tU/Ws1HM5i5Ng3ccBBDw5UHFtIdmxXyy9TTypncr7SdjZy/WTN Lcf2IN3kbclhaIbTOMZ/tPMU/tcH2kLl/UUobiQkUEbZVMLbaHGmRCkP5PZ0h0pY1Q Y+PaxPHneaNhz3ommxG5uXvDPkUfyU280vvJECQPntlRTejXBWsxVvAAkcWF2EkaD+ n/TyToPktgXLrsIvQzqEJgTKCr4cNgufkE56Etwg8zNsWyYrghW+uH4hH6Nk2GoHNT 6jnllTMnCmP7Q== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Date: Sat, 22 Feb 2025 20:42:57 +0800 In-reply-to: <86ikp2jnz7.fsf@gnu.org> Message-ID: <87o6yukv3u.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Eli Zaretskii writes: > So I guess something went wrong in sending the patch; please send a > fixed patch. > > Also, please make sure the lines are not too long (maybe that's one of > the side-effects of the patch corruption?). Done. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ7nGhwAKCRD71sGyD+xt qrrOAP9ZzmefywNTJQmvngd1EADqHmqW4CZKzSp14FbHnrxS2gEAi7Z2cThCzpjk h1xjdxu3FhhnMp5OKdrJtWedeUMYfwY= =NsBD -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-recentf.el-Add-verbosity-option.patch >From 35e263cb59b36b4765388ee891e1508c8b214712 Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 16 ++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..c00dc987257 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-show-messages'. +'recentf-save-list' can print a message when saving the recentf list. +The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..d1cc07c969c 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-show-messages nil + "Whether to show verbose messages about low-level recentf actions. +nil means to not show messages related to the recentf machinery. +t means show messages that were printed by default on Emacs <= 30.1." + :group 'recentf + :type 'boolean + :version "30.1") ;;; Utilities ;; @@ -1330,8 +1338,12 @@ recentf-save-list (insert "\n \n;; Local Variables:\n" (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") - (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (write-region (point-min) + (point-max) + (expand-file-name recentf-save-file) nil + (unless (or (called-interactively-p 'interactive) + recentf-show-messages) + 'quiet)) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-= Content-Type: text/plain -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.174023145624132 (code B ref 67946); Sat, 22 Feb 2025 13:38:02 +0000 Received: (at 67946) by debbugs.gnu.org; 22 Feb 2025 13:37:36 +0000 Received: from localhost ([127.0.0.1]:51469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlphG-0006Gw-N8 for submit@debbugs.gnu.org; Sat, 22 Feb 2025 08:37:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37930) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlphD-0006Fe-CY for 67946@debbugs.gnu.org; Sat, 22 Feb 2025 08:37:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlph7-0005FO-UU; Sat, 22 Feb 2025 08:37:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iZ1A3gB4XM/flT8uE0qI8cBmxY0iHAYr8iG+ZtCB7bM=; b=oBlCB0RMSr1s FfxquDO6Xo+9UDTAA6DUpSJrgJqFL+mkiGVrOZBrR6L9VIUaPZo2oPMfBE/yOTRqg54faVUlpi5jW xR3xru0Dq/iH6I4CR2j6OqqJ3YznXrUENCfT7p/SJBZhCVgYdBJFJyD8zryd1DA+sRTl0zQq44WY+ Fgc8mXsiUosaclv29QN0aHd1j/7q8LCEpDkmi5eZUwtHNbrRWsKTqJYFyKhnJNikIu9ECGfkDeduf tVLwzxfbRCbCEPw9c2cqMY+eiyK3IVmfSI3PEPm8bv3GGPLV9GmtwrImjSrR4iHZEH9pGEtnNYAHg 1i6UQL6MqSgDMWmG6+diHQ==; Date: Sat, 22 Feb 2025 15:37:24 +0200 Message-Id: <861pvqje23.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87o6yukv3u.fsf@laptop.lockywolf.net> (message from Lockywolf on Sat, 22 Feb 2025 20:42:57 +0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lockywolf > Cc: stefankangas@gmail.com, 67946@debbugs.gnu.org, shipmints@gmail.com > Date: Sat, 22 Feb 2025 20:42:57 +0800 > > Eli Zaretskii writes: > > So I guess something went wrong in sending the patch; please send a > > fixed patch. > > > > Also, please make sure the lines are not too long (maybe that's one of > > the side-effects of the patch corruption?). > > Done. Thanks, but is this the right patch? The previous problems with the default value and the :version tag are back. Also, your email address in the commit looks strange; is that intended? From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 67946@debbugs.gnu.org, stefankangas@gmail.com, shipmints@gmail.com Received: via spool by 67946-submit@debbugs.gnu.org id=B67946.174023186028036 (code B ref 67946); Sat, 22 Feb 2025 13:45:02 +0000 Received: (at 67946) by debbugs.gnu.org; 22 Feb 2025 13:44:20 +0000 Received: from localhost ([127.0.0.1]:51578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlpnn-0007I3-Gl for submit@debbugs.gnu.org; Sat, 22 Feb 2025 08:44:20 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:52816) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlpnk-0007HS-RG for 67946@debbugs.gnu.org; Sat, 22 Feb 2025 08:44:17 -0500 Received: from laptop.lockywolf.net (unknown [58.19.1.37]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 9E6D22186A; Sat, 22 Feb 2025 21:44:13 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1740231855; bh=oStFfsyCsnG3VYY5bGNCMNAbVKXfv9PpWNtzoPfOKiw=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=Vei/0Fn9juPX5+khYTbq9r/JB3/2rlsKNMqOEsdEzryFU+WrY5/jx+S+WD9vBfBz2 U2dhVz16CxkcuNECrNZorMweFXYFf2qdQAyf9WhzOr4wQKYIyHwW8WEJC8V/ze43IG 1ut+Vv9gch3nxFkkE8bb+AsVQ8YwBq8NHVoSc4yYEGKvXFti/U/XMLBdMWl/RQeo0k ignidH8MZ9tVZfEbxck5D9dRxYqQcTwtKkwA0VHj6I0g7KWxWC+CkBFxDiRzFRjsgh DdUYFtruC80MFfVJ2Gbqq2L072g8VOgvJEwFpNhI6+EYOERIqKkS0/c1k/TSO4gO8E 0PSK26cb/dj4w== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> <861pvqje23.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Lockywolf Date: Sat, 22 Feb 2025 21:42:21 +0800 In-reply-to: <861pvqje23.fsf@gnu.org> Message-ID: <87jz9iksbf.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Eli Zaretskii writes: > Thanks, but is this the right patch? The previous problems with the > default value and the :version tag are back. Sorry, I overlooked. The one attached to this email should be the one. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ7nUpQAKCRD71sGyD+xt qrXwAQD111uXV5xY7LER6NucBo0m+tEaPrQurMwqtzgu6Tm6xAEA2w5B8hBXwnPB XP34u2q21rDjGlF45M2bbnyarBlTCg8= =p2JL -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-recentf.el-Add-verbosity-option.patch >From 2ae5a277fa89f1a363d29cfd769895f4576c8928 Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Thu, 13 Feb 2025 11:51:50 +0800 Subject: [PATCH] lisp/recentf.el: Add verbosity option * lisp/recentf.el: add verbosity (bug#67946) recentf-verbosity: add defcustom to control verbosity (recentf-save-list): make use of recentf-verbosity --- etc/NEWS | 7 +++++++ lisp/recentf.el | 16 ++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 33f5df84d4b..c00dc987257 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -500,6 +500,13 @@ This user option controls the width of the type column on the bookmark menu 'bookmark-bmenu-list'. The default value is 8 which is backwards compatible. +** Recentf + +--- +*** New user option 'recentf-show-messages'. +'recentf-save-list' can print a message when saving the recentf list. +The new option, if set to nil, suppresses this message. + ** Saveplace --- diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..09abe5fb903 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -320,6 +320,14 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-show-messages t + "Whether to show verbose messages about low-level recentf actions. +nil means to not show messages related to the recentf machinery. +t means show messages that were printed by default on Emacs <= 31.1." + :group 'recentf + :type 'boolean + :version "31.1") ;;; Utilities ;; @@ -1330,8 +1338,12 @@ recentf-save-list (insert "\n \n;; Local Variables:\n" (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") - (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (write-region (point-min) + (point-max) + (expand-file-name recentf-save-file) nil + (unless (or (called-interactively-p 'interactive) + recentf-show-messages) + 'quiet)) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) -- 2.46.3 --=-=-= Content-Type: text/plain > Also, your email address in the commit looks strange; is that > intended? Yes, this email is correct. -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vladimir Nikishkin Subject: bug#67946: closed (Re: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option) Message-ID: References: <86y0xyhyux.fsf@gnu.org> <87a5q41azk.fsf@laptop.lockywolf.net> X-Gnu-PR-Message: they-closed 67946 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 67946@debbugs.gnu.org Date: Sat, 22 Feb 2025 13:52:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1740232327-32697-1" This is a multi-part message in MIME format... ------------=_1740232327-32697-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67946: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when s= aving recentf. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67946@debbugs.gnu.org. --=20 67946: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67946 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1740232327-32697-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67946-done) by debbugs.gnu.org; 22 Feb 2025 13:51:23 +0000 Received: from localhost ([127.0.0.1]:51687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlpud-0008Ov-34 for submit@debbugs.gnu.org; Sat, 22 Feb 2025 08:51:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51162) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlpuQ-0008M0-KG for 67946-done@debbugs.gnu.org; Sat, 22 Feb 2025 08:51:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlpuK-00073Z-To; Sat, 22 Feb 2025 08:51:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jzwP6dQ4g3iZrvQIov/HfrMoSs5f12iUGsn7jtZHQD0=; b=WBkp0WJIUmKN 5c6ZAkkyn04S2NKpGSMHqfeb5c5AaBwKXelX+zLmym4B4VNFmJilg7AWYQzxj1gVmEX2352TBirOx 0wfeWzDs/c4cO8H5kyANDUFTYx9Am03dUzuG4rMr40JREY/1S4Cs9FNDO/BLN6hchkjv2iOw1pOzc 1CvHG1ZnqiTh0Hk7ZrUaTDnoTiktMX2+VQtqNjDztaqYSbVT7k4Dzn5I1LREfAqd/bXsgfz3gg2Sx XZKYSgBWl8YKyxboUaESO28RYDI3m7xtLaNog4XdhIiP+nxfE+Od78vHQJPE6E7qo9lBEqUJkTVY4 u9sCSPwsBn0Ks3sUi/gbJg==; Date: Sat, 22 Feb 2025 15:51:02 +0200 Message-Id: <86y0xyhyux.fsf@gnu.org> From: Eli Zaretskii To: Lockywolf Lockywolf In-Reply-To: <87jz9iksbf.fsf@laptop.lockywolf.net> (message from Lockywolf Lockywolf on Sat, 22 Feb 2025 21:42:21 +0800) Subject: Re: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> <861pvqje23.fsf@gnu.org> <87jz9iksbf.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67946-done Cc: shipmints@gmail.com, stefankangas@gmail.com, 67946-done@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: -3.3 (---) > From: Lockywolf Lockywolf > Cc: stefankangas@gmail.com, 67946@debbugs.gnu.org, shipmints@gmail.com > Date: Sat, 22 Feb 2025 21:42:21 +0800 > > Eli Zaretskii writes: > > > Thanks, but is this the right patch? The previous problems with the > > default value and the :version tag are back. > > Sorry, I overlooked. > > The one attached to this email should be the one. Thanks, installed on the master branch. > > Also, your email address in the commit looks strange; is that > > intended? > > Yes, this email is correct. So you will use a different email address for each changeset? ------------=_1740232327-32697-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Dec 2023 04:51:54 +0000 Received: from localhost ([127.0.0.1]:42212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGB2F-0007nQ-GK for submit@debbugs.gnu.org; Wed, 20 Dec 2023 23:51:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:56480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG9tT-0000nY-9p for submit@debbugs.gnu.org; Wed, 20 Dec 2023 22:38:46 -0500 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 1rG9tI-0003Jc-Pw for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 22:38:32 -0500 Received: from public.lockywolf.net ([46.23.90.181]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rG9tE-0004vK-Tx for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 22:38:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2021-05-20; bh=dtUnK51Qh rm6v4/LTBRztXz4bPOIemU9K9HUueF9eWg=; h=date:subject:to:from; d=lockywolf.net; b=XxrLM4SqOfKrUWHFHuQpprTzg8sIabYPiKL9IqNcSTuxhN7dhzA yYIEWwPfffbXLfV5wA2h2lllWKtgiplAobYz83zZHl8MIVI+a3+01YbrWcE19jQf5Eo/cR OX5LNlMts2bxXm5xy9NO8LgFQERyop78VBigxmMbVvSw6YWQYs= Received: from laptop.lockywolf.net ( [2001:470:24:315::102]) by public.lockywolf.net (OpenSMTPD) with ESMTPSA id a38a5f31 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 21 Dec 2023 04:38:17 +0100 (CET) User-agent: mu4e 1.10.7; emacs 30.0.50 From: Vladimir Nikishkin To: bug-gnu-emacs@gnu.org Subject: 30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf. Date: Thu, 21 Dec 2023 11:26:52 +0800 Message-ID: <87a5q41azk.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=46.23.90.181; envelope-from=for_emacs-recentf-patch_2023-12-21@lockywolf.net; helo=public.lockywolf.net 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 20 Dec 2023 23:51:45 -0500 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.1 (/) --=-=-= Content-Type: text/plain Dear Emacs Developers, I have the following setting in my init.el (add-hook 'buffer-list-update-hook 'recentf-track-opened-file) (add-hook 'buffer-list-update 'recentf-save-list) The first one is the one recommended by describe-function recentf-mode, and the second one is to make this switch persistent, and resistant to emacs being killed. However, I am getting a lot of messages like `Wrote /home/lockywolf/.emacs.d/recentf', which are not very helpful normally. I am attaching a trivial patch (001_patch-recentf-verbose.patch), which adds a `recentf-verbose' defcustom, which, when set to nil, would suppress these messages. Please, consider including it into Emacs. In GNU Emacs 30.0.50 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2023-09-22 built on laptop.lockywolf.net Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Slackware 15.0 x86_64 Configured using: 'configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --mandir=/usr/man --infodir=/usr/info --without-gconf --without-gsettings --with-modules --with-json --with-native-compilation=aot --with-imagemagick --with-pdumper --with-xwidgets --enable-year2038 --with-tree-sitter --with-cairo-xcb --build=x86_64-slackware-linux 'CFLAGS=-O2 -fPIC -g'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: memento-mori-mode: t highlight-doxygen-global-mode: t hes-mode: t global-highlight-parentheses-mode: t highlight-parentheses-mode: t global-color-identifiers-mode: t frecentf-mode: t idle-org-agenda-mode: t gnus-dired-mode: t mu4e-modeline-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t ido-everywhere: t async-bytecomp-package-mode: t global-git-commit-mode: t magit-auto-revert-mode: t server-mode: t global-flycheck-mode: t global-hl-todo-mode: t gdb-many-windows: t global-company-mode: t company-mode: t auto-insert-mode: t pdf-occur-dired-minor-mode: t pdf-occur-global-minor-mode: t shackle-mode: t dired-omit-mode: t global-auto-revert-mode: t electric-pair-mode: t which-function-mode: t global-hl-line-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-hi-lock-mode: t hi-lock-mode: t windmove-mode: t savehist-mode: t recentf-mode: t save-place-mode: t super-save-mode: t xterm-mouse-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t auto-save-visited-mode: t abbrev-mode: t Load-path shadows: /home/lockywolf/.emacs.d/elpa/company-cmake-0.1/company-cmake hides /home/lockywolf/.emacs.d/elpa/company-20230303.2331/company-cmake /home/lockywolf/OfficialRepos/org-noter/org-noter hides /home/lockywolf/.emacs.d/elpa/org-noter-20230728.2037/org-noter /home/lockywolf/OfficialRepos/org-noter/org-noter-core hides /home/lockywolf/.emacs.d/elpa/org-noter-20230728.2037/org-noter-core /home/lockywolf/.emacs.d/elpa/cmake-mode-20230323.1312/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/lockywolf/.emacs.d/elpa/transient-20231112.923/transient hides /usr/share/emacs/30.0.50/lisp/transient /home/lockywolf/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /usr/share/emacs/30.0.50/lisp/use-package/bind-key /home/lockywolf/.emacs.d/elpa/flim-20230205.1423/sasl hides /usr/share/emacs/30.0.50/lisp/net/sasl Features: (shadow mail-extr face-remap emacsbug time-stamp shortdoc bug-reference c++-ts-mode c-ts-mode c-ts-common cl-print ffap misearch multi-isearch vc-git matlab matlab-scan matlab-syntax matlab-compat pulse dired-aux company-oddmuse company-keywords make-mode company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb init rc-local lockywolf-postamble-laptop display-line-numbers lockywolf-exwm exwm exwm-input xcb-keysyms exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xkb xcb-xproto xcb-types xcb-debug lockywolf-erc erc-track erc-match erc erc-backend erc-networks erc-common erc-compat erc-loaddefs lockywolf-equake equake lockywolf-gui-x11 hamburger-menu lockywolf-gui-general diary-lib diary-loaddefs memento-mori highlight-doxygen highlight-escape-sequences highlight-parentheses rainbow-mode color-identifiers-mode prettify-greek form-feed tsdh-dark-theme lockywolf-calc calc calc-loaddefs calc-macs lockywolf-monitoring frecentf persist frecency a dirtrack idle-org-agenda lockywolf-autocomplete-ido avy lockywolf-org-scientific-large org-download org-attach org-mind-map org-sticky-header org-pdftools pdf-annot facemenu org-noter org-noter-djvu org-noter-nov org-noter-pdf org-noter-core org2blog ox-wp writegood-mode metaweblog xml-rpc url-http url-auth url-gw nsm hydra lv htmlize org-journal org-crypt cal-iso org-sidebar org-ql-search org-ql-view ov org-super-agenda ht org-ql peg ts org-habit org-duration org-mru-clock ox-beamer ox-org ox-md ox-extra ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-clock ob-maxima ob-fortran ob-shell ob-latex ob-scheme geiser-impl help-fns radix-tree geiser-custom geiser-base geiser ob-C ob-plantuml org-tempo tempo org-protocol ox-youtube org-ebib org-bibtex-extras ol-bibtex ox-bibtex org-inlinetask org-fancy-priorities lockywolf-cryptography pinentry lockywolf-elfeed lockywolf-email-pim bbdb bbdb-site gnus-dired mu4e-speedbar speedbar ezimage dframe mu4e mu4e-org mu4e-notification notifications mu4e-main mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win mu4e-headers mu4e-compose mu4e-draft mu4e-actions mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-config mu4e-window mu4e-obsolete message-view-patch auth-source-xoauth2 auth-source-pass smtpmail-multi smtpmail khardel yaml-mode vdirel org-vcard lockywolf-tex company-auctex vdm-snippets yasnippet bib-cite auctex-latexmk latex latex-flymake tex-ispell tex-style tex texmathp cdlatex lockywolf-bibtex ivy-bibtex bibtex-completion org-capture biblio biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi biblio-core ido f f-shortdoc s ebib helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async ivy delsel ivy-faces ivy-overlay colir ebib-reading-list ebib-notes org-element org-persist org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat avl-tree org-version org-macs ebib-filters ebib-keywords ebib-utils ebib-db parsebib mule-util bibretrieve bibtex-utils reftex reftex-loaddefs reftex-vars bibtex lockywolf-plantuml flycheck-plantuml plantuml-mode lockywolf-matlab lockywolf-scheme scheme-complete scheme lockywolf-emacs-lisp paredit-menu paredit lockywolf-helm lockywolf-vala vala-mode cc-langs lockywolf-cpp clang-format+ clang-format eldoc-cmake cmake-mode rst company-c-headers flycheck-clangcheck google-c-style cc-mode cc-fonts cc-guess cc-menus cc-cmds lockywolf-fortran f90 lockywolf-bash sh-script smie treesit executable lockywolf-version-control magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient magit-git magit-base crm magit-section vc vc-dispatcher lockywolf-spellchecking-hard languagetool languagetool-server languagetool-console languagetool-java languagetool-issue languagetool-correction languagetool-core flycheck lockywolf-spellchecking-simple hl-todo compat flyspell ispell lockywolf-debugging gdb-mi bindat gud lockywolf-advanced-editing eglot external-completion jsonrpc flymake-proc flymake diff diff-mode ert debug backtrace markdown-mode color company autoinsert ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util lockywolf-ggtags ggtags hippie-exp etags fileloop xref project ewoc lockywolf-tramp lockywolf-shells esh-help dash em-unix em-smart esh-mode esh-var eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util lockywolf-paper-pdf-djvu djvu pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc pdf-tools pdf-view derived pdf-cache pdf-info tq pdf-util pdf-macs doc-view jka-compr image-mode exif ps-print ps-print-loaddefs lpr lockywolf-downloaded-packages diminish shackle trace mic-paren cl lockywolf-dired dired-x lockywolf-treesitter lockywolf-standard-packages artist picture reporter rect eww url-queue thingatpt shr pixel-fill kinsoku url-file svg dom puny mm-url gnus nnheader gnus-util range woman man info-colors secrets dbus comp comp-cstr warnings xml locate dired dired-loaddefs arc-mode archive-mode compile autorevert filenotify elec-pair which-func imenu hl-line display-fill-column-indicator hi-lock foldout edmacro kmacro noutline outline windmove bookmark text-property-search savehist recentf tree-widget saveplace tramp-sh tramp trampver tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec ansi-color tramp-loaddefs super-save rmail rfc6068 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils image-file image-converter cl-extra help-mode lockywolf-handy-own-functions-keybindings lockywolf-basic-init xt-mouse use-package-ensure-system-package system-packages cus-edit pp cus-load icons wid-edit use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core init-custom finder-inf 0blayout-autoloads auctex-latexmk-autoloads auth-source-xoauth2-autoloads bind-key-autoloads cdlatex-autoloads centered-cursor-mode-autoloads chatgpt-shell-autoloads cmake-font-lock-autoloads cmake-mode-autoloads color-identifiers-mode-autoloads anaconda-mode-autoloads auctex-autoloads tex-site company-emoji-autoloads company-math-autoloads ac-php-core-autoloads company-quickhelp-autoloads company-shell-autoloads company-autoloads consult-eglot-autoloads consult-autoloads csv-mode-autoloads debpaste-autoloads diminish-autoloads djvu-autoloads ebib-autoloads elisp-depmap-autoloads emms-info-mediainfo-autoloads emms-autoloads ess-autoloads exwm-x-autoloads exwm-autoloads flycheck-ocaml-autoloads flycheck-phpstan-autoloads flymake-easy-autoloads frecentf-autoloads frecency-autoloads a-autoloads geiser-chez-autoloads geiser-chibi-autoloads geiser-mit-autoloads geiser-racket-autoloads geiser-stklos-autoloads geiser-autoloads flycheck-autoloads gitlab-pipeline-autoloads ghub-autoloads go-mode-autoloads graphviz-dot-mode-autoloads haskell-mode-autoloads highlight-doxygen-autoloads highlight-escape-sequences-autoloads highlight-indent-guides-autoloads highlight-parentheses-autoloads hy-mode-autoloads i3wm-autoloads i3wm-config-mode-autoloads imenu-list-autoloads info-colors-autoloads ivy-bibtex-autoloads ivy-autoloads jabber-autoloads fsm-autoloads jupyter-autoloads khardel-autoloads kotlin-mode-autoloads languagetool-autoloads lua-mode-autoloads magit-todos-autoloads hl-todo-autoloads markdown-preview-mode-autoloads markdown-mode-autoloads math-symbol-lists-autoloads matlab-mode-autoloads merlin-autoloads mermaid-mode-autoloads mermaid-ts-mode-autoloads message-view-patch-autoloads magit-autoloads pcase git-commit-autoloads mic-paren-autoloads mu4e-conversation-autoloads mu4e-jump-to-list-autoloads nginx-mode-autoloads ob-hy-autoloads ob-mermaid-autoloads ocaml-ts-mode-autoloads org-bib-mode-autoloads org-contrib-autoloads org-download-autoloads org-imenu-autoloads org-journal-autoloads org-mru-clock-autoloads org-pdftools-autoloads org-noter-autoloads org-ref-autoloads citeproc-autoloads bibtex-completion-autoloads biblio-autoloads biblio-core-autoloads org-roam-autoloads magit-section-autoloads emacsql-autoloads org-sidebar-autoloads org-ql-autoloads org-sticky-header-autoloads org-super-agenda-autoloads org-xlatex-autoloads org2blog-autoloads metaweblog-autoloads ov-autoloads ox-pandoc-autoloads paredit-autoloads parsebib-autoloads pcre2el-autoloads pcsv-autoloads pdf-drop-mode-autoloads pdf-view-pagemark-autoloads pdf-tools-autoloads peg-autoloads persist-autoloads phpstan-autoloads php-mode-autoloads pomm-autoloads alert-autoloads log4e-autoloads gntp-autoloads pos-tip-autoloads pythonic-autoloads f-autoloads qml-mode-autoloads qt-pro-mode-autoloads queue-autoloads rainbow-mode-autoloads semi-autoloads flim-autoloads apel-autoloads shell-maker-autoloads sml-mode-autoloads smog-autoloads spell-fu-autoloads sr-speedbar-autoloads srv-autoloads string-inflection-autoloads sudo-edit-autoloads tablist-autoloads telega-autoloads rainbow-identifiers-autoloads transient-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads treepy-autoloads ts-autoloads dash-autoloads tuareg-autoloads rx caml-autoloads cc-styles cc-align cc-engine cc-vars cc-defs vdirel-autoloads helm-autoloads popup-autoloads helm-core-autoloads async-autoloads org-vcard-autoloads visual-fill-column-autoloads websocket-autoloads with-editor-autoloads info compat-autoloads writegood-mode-autoloads xml-rpc-autoloads yaml-mode-autoloads s-autoloads zmq-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1523764 420437) (symbols 48 99499 0) (strings 32 382852 18970) (string-bytes 1 12879328) (vectors 16 147918) (vector-slots 8 3842385 201399) (floats 8 1392 9690) (intervals 56 11091 4667) (buffers 992 41)) -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=001_patch-recentf-verbose.patch diff --git a/lisp/recentf.el b/lisp/recentf.el index 94ae871763b..b9272cb672e 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -319,6 +319,11 @@ recentf-show-file-shortcuts-flag used as shortcuts to open the Nth file." :group 'recentf :type 'boolean) + +(defcustom recentf-verbose t + "Non-nil means to show debugging messages related to the recentf machinery." + :group 'recentf + :type 'boolean) ;;; Utilities ;; @@ -1324,7 +1329,10 @@ recentf-save-list (format ";; coding: %s\n" recentf-save-file-coding-system) ";; End:\n") (write-region (point-min) (point-max) - (expand-file-name recentf-save-file)) + (expand-file-name recentf-save-file) + nil + recentf-verbose + ) (when recentf-save-file-modes (set-file-modes recentf-save-file recentf-save-file-modes)) nil) --=-=-=-- ------------=_1740232327-32697-1-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 14:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: shipmints@gmail.com, stefankangas@gmail.com, 67946-done@debbugs.gnu.org Received: via spool by 67946-done@debbugs.gnu.org id=D67946.17402328785619 (code D ref 67946); Sat, 22 Feb 2025 14:02:01 +0000 Received: (at 67946-done) by debbugs.gnu.org; 22 Feb 2025 14:01:18 +0000 Received: from localhost ([127.0.0.1]:51875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlq4E-0001SX-6I for submit@debbugs.gnu.org; Sat, 22 Feb 2025 09:01:18 -0500 Received: from coconut.lockywolf.net ([2a04:c5c0:0:d7:f816:3eff:fe6b:287f]:51894) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlq4B-0001S1-Fw for 67946-done@debbugs.gnu.org; Sat, 22 Feb 2025 09:01:16 -0500 Received: from laptop.lockywolf.net (unknown [58.19.1.37]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 97A092186B; Sat, 22 Feb 2025 22:01:12 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1740232874; bh=5sHaD+qGy4i+SVsJhaE5pFSJxXp3ppZB1G0qCJg4MzA=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=noxwaoYuq4xHLMAYbzfWrj+UnSjmq7xRDCSvM65KH6d3U91prYTU9i/UC6KDV3GKn iyn5ABNJS6vQMtpzVPvn0GLfcnjcPzoHYfI3BQ54bDzcch9K3mbpzOcBQ5SGjsjd1L uNzy3VJ2cYYLFr2apCmrqPNca+i6PTMXjbuNku1bvanQ47LVkpK1SLZLkaitqCQTIa kXgwk6NEEl2hidoFyRRC1vw79wrmXxLFIoc+c5jt2OV+ebnhvJdiCWQ2K3taVxzEVW TgjC/fzI0ZDeehCMCj+z243Leityp17iwwAiWmI1RJ+0K4tIeUWdQYkPn/Dk6289FW D4tTjH56onTPQ== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> <861pvqje23.fsf@gnu.org> <87jz9iksbf.fsf@laptop.lockywolf.net> <86y0xyhyux.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Date: Sat, 22 Feb 2025 21:58:29 +0800 In-reply-to: <86y0xyhyux.fsf@gnu.org> Message-ID: <87cyfakrj4.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > So you will use a different email address for each changeset? Well, principally yes. It allows me to track "where the person messaging me is coming from". =2D-=20 Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ7nYoQAKCRD71sGyD+xt qoqhAQDExdyK8uaLvfJJggeVqLOWBOWCTrtr6dUhOUTpmG6HygD/eK0bnKy0p668 TVB6ET49jnvNYwD7cqSPdAnvguCrYg8= =Tr4j -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 14:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf Cc: shipmints@gmail.com, stefankangas@gmail.com, 67946-done@debbugs.gnu.org Received: via spool by 67946-done@debbugs.gnu.org id=D67946.174023363212991 (code D ref 67946); Sat, 22 Feb 2025 14:14:02 +0000 Received: (at 67946-done) by debbugs.gnu.org; 22 Feb 2025 14:13:52 +0000 Received: from localhost ([127.0.0.1]:52080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlqGN-0003NN-Iu for submit@debbugs.gnu.org; Sat, 22 Feb 2025 09:13:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50158) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlqGL-0003M6-1d for 67946-done@debbugs.gnu.org; Sat, 22 Feb 2025 09:13:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlqGF-00013W-CS; Sat, 22 Feb 2025 09:13:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Eanzap5HFQSVEwA2g/IF6qomOQsE+vAKIbQ3oYmKVq0=; b=olWQnD1+JNZx IrjJL6XgGJdKcScAJi6Ce9PHk7gnhL/oJkcuuVXYbnPEu8hrJkEZy+cXcKiRim7qQas0k/kUExQ1M ZKPFyGvkwPNZcYlCIii269b7uB/J2ZT/OVCzX+3xYqR7HKkGoe+U5BRi6TDS5/xcZwgOmuxM/+063 orqBAWVsiSycFAnxrX4akKy7Oop9q6AcKBqWLSB0ASkPqG1yRKcGK7vbInjnH/vob2pcdckW6mmR3 a5G2lSup7soyurW5Pakq1OQBVg9B33e6eCKQtUf61dtZ9YYOPkKDjazGq6M1YM/heLmUm9wSFtuDE Xdyc/A9WMOpeoeoIG2GsqA==; Date: Sat, 22 Feb 2025 16:13:40 +0200 Message-Id: <86tt8mhxt7.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87cyfakrj4.fsf@laptop.lockywolf.net> (message from Lockywolf on Sat, 22 Feb 2025 21:58:29 +0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> <861pvqje23.fsf@gnu.org> <87jz9iksbf.fsf@laptop.lockywolf.net> <86y0xyhyux.fsf@gnu.org> <87cyfakrj4.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lockywolf > Cc: stefankangas@gmail.com, 67946-done@debbugs.gnu.org, shipmints@gmail.com > Date: Sat, 22 Feb 2025 21:58:29 +0800 > > Eli Zaretskii writes: > > > So you will use a different email address for each changeset? > > Well, principally yes. > It allows me to track "where the person messaging me is coming from". But makes your attributions inconsistent, and also complicates lookups in the copyright assignment list. From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Lockywolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 14:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: shipmints@gmail.com, stefankangas@gmail.com, 67946-done@debbugs.gnu.org Received: via spool by 67946-done@debbugs.gnu.org id=D67946.174023410017936 (code D ref 67946); Sat, 22 Feb 2025 14:22:04 +0000 Received: (at 67946-done) by debbugs.gnu.org; 22 Feb 2025 14:21:40 +0000 Received: from localhost ([127.0.0.1]:52211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlqNv-0004f6-5x for submit@debbugs.gnu.org; Sat, 22 Feb 2025 09:21:39 -0500 Received: from coconut.lockywolf.net ([213.165.252.157]:42544) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlqNs-0004e8-20 for 67946-done@debbugs.gnu.org; Sat, 22 Feb 2025 09:21:37 -0500 Received: from laptop.lockywolf.net (unknown [58.19.1.37]) by coconut.lockywolf.net (Postfix) with ESMTPSA id 89CCD2186B; Sat, 22 Feb 2025 22:21:31 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lockywolf.net; s=2024-10-06; t=1740234093; bh=axYALbEil4HPCJBeqwHN58fOAXQUhYc3JK97Y0MQpmY=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=dOZuEdaDDZH9u1FrjRP4zNEU7rAk4Q8eWib67iCIKq7MwC8KdshrK4ODS/qIJKFUG 9FJ60chtqJL+LsP1B3+CesRNl8U9YQdpKoulVKECbRybbSnoImvQyOGoo73OKyL+Yg aCm+su8qi6v3BDMNz6+siad44x455W3IMMNgs80N6XD8p3t6AtiRg1nyZX/c9lNUom OXOkCqJlI4r0GtPXvlOm/LQkaxJ6uSwm0GGVyoH6+YAjFpGIsvm5BEJTTevXcgFda2 ardkbxFXTfuWQE/sxgL2aM/jTmLhzD8mpH9CclC6BFJVgxsBpUIT0RaiPq4rTmeQg2 GeL5w7PVSLvJw== References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> <861pvqje23.fsf@gnu.org> <87jz9iksbf.fsf@laptop.lockywolf.net> <86y0xyhyux.fsf@gnu.org> <87cyfakrj4.fsf@laptop.lockywolf.net> <86tt8mhxt7.fsf@gnu.org> User-agent: mu4e 1.10.7; emacs 31.0.50 From: Lockywolf Date: Sat, 22 Feb 2025 22:17:20 +0800 In-reply-to: <86tt8mhxt7.fsf@gnu.org> Message-ID: <87y0xyjc0s.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > But makes your attributions inconsistent, and also complicates lookups > in the copyright assignment list. I will make an email for emacs submissions specifically when I am contributing next time if that is more in line with Emacs development. But overall, I do not care about consistent attribution, I can renounce my authorship right, not just copyright, in favour of the GNU project or FSF, or whoever. If Emacs development favours consistent attribution, I am happy to comply. =2D-=20 Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSWBebxCAoqaJP8N/j71sGyD+xtqgUCZ7ndZAAKCRD71sGyD+xt qo3ZAP9E5vvCKoVhrqUzyfgzQh+8NjKlZwQtXqSFeFxM8RSM+AD/TTG/ZB4DNNi8 fHEFN2AcIs9t8oXBv1uUQwuAUHYl3wo= =uscW -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 07:54:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2025 15:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lockywolf Cc: shipmints@gmail.com, stefankangas@gmail.com, 67946-done@debbugs.gnu.org Received: via spool by 67946-done@debbugs.gnu.org id=D67946.17402387813101 (code D ref 67946); Sat, 22 Feb 2025 15:40:03 +0000 Received: (at 67946-done) by debbugs.gnu.org; 22 Feb 2025 15:39:41 +0000 Received: from localhost ([127.0.0.1]:56507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlrbP-0000ng-D5 for submit@debbugs.gnu.org; Sat, 22 Feb 2025 10:39:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49638) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlrbJ-0000mE-O9 for 67946-done@debbugs.gnu.org; Sat, 22 Feb 2025 10:39:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlrbD-00030Z-M3; Sat, 22 Feb 2025 10:39:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5ar4oBZnaTVGMlGmWH49931iaTh6+H7sAfda/0+hzmA=; b=eQxhpuGjCBCX XYF1PmgXqCkrbD6upNkJBlBuKsStyBgyKZl9QIv3QCyh2L6MzAkcE5V6r6xQgC46gvmUUNSirGEn5 nUwqzwRh71i5v2P884NirhlD0vMu0kg1bXfTPnvSeddKSAmz1DYBTaiGMyNOYrcFqAktIoozpB170 irvKnKvSK/hpIXwKnN8ZfrJPZkCGf3NQGW8n3SUDYVyWIJepGwsR39N7KQ4aedAG3/GIyJmpcMurs 9NNhT/KZ9hRav/grCtUMoG2txAf35Zb7MQTHTLqbAZXXdI0prRsTwn0cUowkT9caYiPZe0l0GQkwO AzSExfNmz4RrepVBZobXZA==; Date: Sat, 22 Feb 2025 17:39:03 +0200 Message-Id: <86seo6htuw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87y0xyjc0s.fsf@laptop.lockywolf.net> (message from Lockywolf on Sat, 22 Feb 2025 22:17:20 +0800) References: <20250213040455.3657-1-for_emacs-recentf-patch_2023-12-21@lockywolf.net> <86y0yai840.fsf@gnu.org> <87y0yaotfm.fsf@laptop.lockywolf.net> <86zfiphke8.fsf@gnu.org> <87seohp3ly.fsf@laptop.lockywolf.net> <87o6z3pits.fsf@laptop.lockywolf.net> <86ikp2jnz7.fsf@gnu.org> <87o6yukv3u.fsf@laptop.lockywolf.net> <861pvqje23.fsf@gnu.org> <87jz9iksbf.fsf@laptop.lockywolf.net> <86y0xyhyux.fsf@gnu.org> <87cyfakrj4.fsf@laptop.lockywolf.net> <86tt8mhxt7.fsf@gnu.org> <87y0xyjc0s.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lockywolf > Cc: stefankangas@gmail.com, 67946-done@debbugs.gnu.org, shipmints@gmail.com > Date: Sat, 22 Feb 2025 22:17:20 +0800 > > Eli Zaretskii writes: > > > But makes your attributions inconsistent, and also complicates lookups > > in the copyright assignment list. > > I will make an email for emacs submissions specifically when I am > contributing next time if that is more in line with Emacs development. > > But overall, I do not care about consistent attribution, I can renounce > my authorship right, not just copyright, in favour of the GNU project or > FSF, or whoever. > If Emacs development favours consistent attribution, I am happy to > comply. It's up to you. We can manage.