unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Howard Melman <hmelman@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: 55041@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>,
	Stefan Kangas <stefan@marxist.se>
Subject: bug#55041: 28.1; repeat-mode always prints message when enabled
Date: Wed, 22 Jun 2022 09:16:17 -0400	[thread overview]
Message-ID: <A1E5A5BF-CB4F-47F4-8A1A-791BEEFC52C2@gmail.com> (raw)
In-Reply-To: <86o7yl885b.fsf@mail.linkov.net>


> On Jun 22, 2022, at 3:33 AM, Juri Linkov <juri@linkov.net> wrote:
> 
> Do you think it would help you to disable messages during activating these modes:
> 
>  (let (inhibit-message message-log-max)
>    (size-indication-mode)
>    (column-number-mode)
>    (show-paren-mode)
>    (recentf-mode)
>    (which-function-mode)
>    (global-hl-line-mode)
>    (context-menu-mode)
>    (global-so-long-mode)
>    (repeat-mode))
> 
>> Since nothing else printed out stuff I thought it might have been
>> a mistake that the new repeat-mode command did.
> 
> Strange, I see a lot of such stuff in the *Messages* buffer:
> 
>  Cleaning up the recentf list...
>  File ~/src/emacs/.git/MERGE_MSG removed from the recentf list
>  Cleaning up the recentf list...done (1 removed)
>  Repeat mode is enabled for 23 commands and 9 keymaps; see ‘describe-repeat-maps’
>  Starting new Ispell process /usr/bin/hunspell with american dictionary...done
>  Wrote ~/.emacs.d/.emacs.desktop.lock
>  Desktop: 1 frame, 24 buffers restored.

So just two more than me: desktop, which I don't use and ispell which 
I don't pre-start the sub-process.

I could inhibit messages for those two but it seems a little messy.
I'd rather not inhibit generally in case there are issues, I'd have to
do it in each of my files so that I'd still see loading timings.  I could
do it for recentf and repeat-mode but that feels like working around
their specific behavior.

I'd kinda like to inhibit stdout and leave stderr, to put it in those terms.
IMHO the above seems like unnecessary information. Yes
it's specific, but it's also of little use.  I enabled repeat-mode, I expect
it to be enabled, I don't really care that 23 commands and 9 keymaps
were affected vs some other number of commands; and I don't need 
help like "see describe-repeat-maps" every time I enable it.

Howard




  reply	other threads:[~2022-06-22 13:16 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 14:53 bug#55041: 28.1; repeat-mode always prints message when enabled Howard Melman
2022-04-20 17:10 ` Juri Linkov
2022-04-20 18:32   ` Howard Melman
2022-04-21 11:55   ` Lars Ingebrigtsen
2022-06-19 14:09     ` Stefan Kangas
2022-06-19 14:22       ` Lars Ingebrigtsen
2022-06-20 16:51       ` Juri Linkov
2022-06-20 22:04         ` Howard Melman
2022-06-21 11:54           ` Stefan Kangas
2022-06-21 17:49             ` Juri Linkov
2022-06-21 18:42               ` Drew Adams
2022-06-21 20:54               ` Howard Melman
2022-06-22  7:33                 ` Juri Linkov
2022-06-22 13:16                   ` Howard Melman [this message]
2022-06-22 13:30                     ` Eli Zaretskii
2022-06-22 14:30                       ` Howard Melman
2022-06-22 15:34                         ` Drew Adams
2022-06-22 16:00                         ` Eli Zaretskii
2022-06-22 16:18                           ` Howard Melman
2022-06-22 16:22                             ` Eli Zaretskii
2022-06-23  9:01                               ` Lars Ingebrigtsen
2022-06-23  9:54                                 ` Eli Zaretskii
2022-06-23 11:36                                   ` Lars Ingebrigtsen
2022-06-23 12:58                                     ` Eli Zaretskii
2022-06-22 18:30                     ` Juri Linkov
2022-06-22 19:29                       ` Howard Melman
2022-06-21 23:16               ` Stefan Kangas
2022-06-21 17:46           ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A1E5A5BF-CB4F-47F4-8A1A-791BEEFC52C2@gmail.com \
    --to=hmelman@gmail.com \
    --cc=55041@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=larsi@gnus.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).