GNU bug report logs - #67946
30.0.50; [RFC PATCH] Add an option to not report "Wrote ..." when saving recentf.

Previous Next

Package: emacs;

Reported by: Vladimir Nikishkin <for_emacs-recentf-patch_2023-12-21 <at> lockywolf.net>

Date: Thu, 21 Dec 2023 04:52:01 UTC

Severity: wishlist

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #61 received at 67946 <at> debbugs.gnu.org (full text, mbox):

From: Ship Mints <shipmints <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Lockywolf <for_emacs-recentf-patch_2023-12-21 <at> lockywolf.net>,
 Eli Zaretskii <eliz <at> gnu.org>, 67946 <at> debbugs.gnu.org
Subject: Re: bug#67946: [PATCH v3] lisp/recentf.el: Add verbosity option
Date: Thu, 13 Feb 2025 07:34:44 -0500
[Message part 1 (text/plain, inline)]
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 AM Ship Mints <shipmints <at> gmail.com> wrote:

> 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 AM Stefan Kangas <stefankangas <at> gmail.com>
> wrote:
>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> From: Lockywolf <for_emacs-recentf-patch_2023-12-21 <at> lockywolf.net>
>> >> Cc: eliz <at> gnu.org,
>> >>      stefankangas <at> gmail.com,
>> >>      Lockywolf <for_emacs-recentf-patch_2023-12-21 <at> lockywolf.net>
>> >> 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.
>>
>>
>>
>>
[Message part 2 (text/html, inline)]

This bug report was last modified 89 days ago.

Previous Next


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