unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>,
	leungbk@mailfence.com, emacs-devel@gnu.org
Subject: Re: master cfcf42f 2/2: Ensure that gud commands for non-GDB debuggers are handled by repeat-mode
Date: Sun, 01 Aug 2021 11:32:13 +0300	[thread overview]
Message-ID: <87y29lhmbm.fsf@mail.linkov.net> (raw)
In-Reply-To: <jwvlf5nfoq6.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 30 Jul 2021 18:03:03 -0400")

> It definitely makes sense to use the "FILE:TXT" warning format for that
> warning (after all, we do have the file name).  I don't think we can
> usefully put a line number info there, but a 0 should do the trick.

At least, this patch can highlight them as informational messages
(according to syntax in etc/compilation.txt) that also increments
their number displayed with green on the mode-line:

diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 9d1ae70597..5238e985f2 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -626,8 +626,8 @@ autoload--make-defs-autoload
                       (radix-tree-iter-mappings
                        (cdr x) (lambda (s _)
                                  (push (concat prefix s) dropped)))
-                      (message "Not registering prefix \"%s\" from %s.  Affects: %S"
-                               prefix file dropped)
+                      (message "%s:0:I: Not registering prefix \"%s\" from %s.  Affects: %S"
+                               file prefix file dropped)
                       nil))))
               prefixes)))
         `(register-definition-prefixes ,file ',(sort (delq nil strings)



  reply	other threads:[~2021-08-01  8:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210727211521.15408.98852@vcs0.savannah.gnu.org>
     [not found] ` <20210727211523.AE6F72065F@vcs0.savannah.gnu.org>
2021-07-28 15:40   ` master cfcf42f 2/2: Ensure that gud commands for non-GDB debuggers are handled by repeat-mode Lars Ingebrigtsen
2021-07-28 16:24     ` Juri Linkov
2021-07-28 16:35       ` Lars Ingebrigtsen
2021-07-28 16:49         ` Juri Linkov
2021-07-29 20:13           ` Lars Ingebrigtsen
2021-07-29 22:43             ` Juri Linkov
2021-07-30 10:53               ` Lars Ingebrigtsen
2021-07-30 17:51                 ` Juri Linkov
2021-07-30 18:13                   ` Lars Ingebrigtsen
2021-07-30  5:43             ` Eli Zaretskii
2021-07-30 10:55               ` Lars Ingebrigtsen
2021-07-30 11:03                 ` Eli Zaretskii
2021-07-30 11:16                   ` Lars Ingebrigtsen
2021-07-30 12:13                     ` Eli Zaretskii
2021-07-30 12:20                       ` Lars Ingebrigtsen
2021-07-30 13:22                         ` Eli Zaretskii
2021-07-30 14:39                           ` Lars Ingebrigtsen
2021-07-30 17:54               ` Juri Linkov
2021-07-30 18:26                 ` Eli Zaretskii
2021-07-30 22:08                 ` Stefan Monnier
2021-07-30 22:03               ` Stefan Monnier
2021-08-01  8:32                 ` Juri Linkov [this message]
2021-08-01 10:42                   ` Lars Ingebrigtsen
2021-08-01 14:28                   ` Stefan Monnier

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=87y29lhmbm.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=leungbk@mailfence.com \
    --cc=monnier@iro.umontreal.ca \
    /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).