From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#55041: 28.1; repeat-mode always prints message when enabled Date: Wed, 22 Jun 2022 10:33:20 +0300 Organization: LINKOV.NET Message-ID: <86o7yl885b.fsf@mail.linkov.net> References: <86CCF73D-0E9C-4DCE-B848-222F583290AE@gmail.com> <865yn3adfv.fsf@mail.linkov.net> <87k0bi7isq.fsf@gnus.org> <86o7ynmgiy.fsf@mail.linkov.net> <2E1D2C1A-5041-4BED-A82A-ACA00470B371@gmail.com> <867d59kit9.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39734"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 55041@debbugs.gnu.org, Lars Ingebrigtsen , Stefan Kangas To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 09:53:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3vBS-000A7t-KP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 09:53:54 +0200 Original-Received: from localhost ([::1]:44324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3vBR-0002lA-DC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 03:53:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3vAc-0001pZ-Mj for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 03:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3vAc-00029b-F1 for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 03:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3vAc-0008Pe-Dw for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 03:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jun 2022 07:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55041 X-GNU-PR-Package: emacs Original-Received: via spool by 55041-submit@debbugs.gnu.org id=B55041.165588433432248 (code B ref 55041); Wed, 22 Jun 2022 07:53:02 +0000 Original-Received: (at 55041) by debbugs.gnu.org; 22 Jun 2022 07:52:14 +0000 Original-Received: from localhost ([127.0.0.1]:33878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3v9q-0008O4-IB for submit@debbugs.gnu.org; Wed, 22 Jun 2022 03:52:14 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:41443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3v9p-0008Nc-8l for 55041@debbugs.gnu.org; Wed, 22 Jun 2022 03:52:14 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 1AAD320002; Wed, 22 Jun 2022 07:52:04 +0000 (UTC) In-Reply-To: (Howard Melman's message of "Tue, 21 Jun 2022 16:54:16 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235006 Archived-At: >> 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.