unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Howard Melman <hmelman@gmail.com>
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 10:33:20 +0300	[thread overview]
Message-ID: <86o7yl885b.fsf@mail.linkov.net> (raw)
In-Reply-To: <D3A75276-8497-4728-AE7A-4AC97D86BCEE@gmail.com> (Howard Melman's message of "Tue, 21 Jun 2022 16:54:16 -0400")

>> It's very surprising to worry about keeping the *Messages* buffer clean.
>
> I don't usually.  In this case I was working at reducing my startup time
> (from ~3 secs to ~1 sec).
>
> My init is broken up into about 2 dozen files; logical groupings like some
> major modes I typically use, mac settings, gnus stuff, magit stuff,
> dired, minor modes, etc.  I load each with a function that times the load
> and prints it out with some gc info.  Here's part of what I saw:
>
> Loaded in   0.21ms with 0 gcs hrm-funcs
> Loaded in   1.08ms with 0 gcs hrm-frame
> Loaded in   1.11ms with 0 gcs hrm-tabs
> Loading /Users/hmelman/.emacs.d/recentf...done
> Cleaning up the recentf list...
> File /Users/hmelman/Library/Mobile Documents/iCloud~md~obsidian/Documents/Film Lists/Alfred Hitchcock.md removed from the recentf list
> Cleaning up the recentf list...done (1 removed)
> Repeat mode is enabled for 14 commands and 7 keymaps; see `describe-repeat-maps'.
> Loaded in 252.90ms with 0 gcs hrm-minor.....VERY LONG
> Loaded in  42.70ms with 0 gcs hrm-packages.....LONG
> Loaded in   2.03ms with 0 gcs hrm-help
> Loaded in   0.73ms with 0 gcs hrm-git

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))

> As I said in the OP:
>
>> I'm working on my configuration and of all the other minor-modes
>
>> I enable by calling from lisp, none of them print such a message,
>
>> so this stands out when I'm looking at *Messages*.
>
> 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.





  reply	other threads:[~2022-06-22  7:33 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 [this message]
2022-06-22 13:16                   ` Howard Melman
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=86o7yl885b.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=55041@debbugs.gnu.org \
    --cc=hmelman@gmail.com \
    --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).