emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master cfcf42f 2/2: Ensure that gud commands for non-GDB debuggers a


From: Juri Linkov
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]