GNU bug report logs - #64452
[Wishlist/PATCH] Use special-mode for *Native-compile-log*, *Async-native-compile-log*

Previous Next

Package: emacs;

Reported by: No Wayman <iarchivedmywholelife <at> gmail.com>

Date: Tue, 4 Jul 2023 00:31:01 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: iarchivedmywholelife <iarchivedmywholelife <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64452 <at> debbugs.gnu.org, acorallo <at> gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#64452: [Wishlist/PATCH] Use special-mode for *Native-compile-log*, *Async-native-compile-log*
Date: Wed, 05 Jul 2023 08:52:44 -0400
[Message part 1 (text/plain, inline)]
Feel free to alter the patch as you see fit.I have no more time to invest in it.
-------- Original message --------From: Eli Zaretskii <eliz <at> gnu.org> Date: 7/5/23  7:25 AM  (GMT-05:00) To: No Wayman <iarchivedmywholelife <at> gmail.com> Cc: acorallo <at> gnu.org, monnier <at> iro.umontreal.ca, 64452 <at> debbugs.gnu.org Subject: Re: bug#64452: [Wishlist/PATCH] Use special-mode for *Native-compile-log*, *Async-native-compile-log* > From: No Wayman <iarchivedmywholelife <at> gmail.com>> Cc: Andrea Corallo <acorallo <at> gnu.org>, Stefan Monnier>  <monnier <at> iro.umontreal.ca>, 64452 <at> debbugs.gnu.org> Date: Tue, 04 Jul 2023 18:21:00 -0400> > Eli Zaretskii <eliz <at> gnu.org> writes:> > > Thanks, but why not elisp-compile-mode, like we do in > > *Compile-log*> > buffers for byte compilation?> > Works for me. Revision attached.> > diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el> index 22fb08e4688..5f42d10407f 100644> --- a/lisp/emacs-lisp/comp.el> +++ b/lisp/emacs-lisp/comp.el> @@ -1133,7 +1133,8 @@ comp-log-to-buffer>           (log-buffer>               (or (get-buffer comp-log-buffer-name)>                   (with-current-buffer (get-buffer-create comp-log-buffer-name)> -                   (setf buffer-read-only t)> +                   (unless (derived-mode-p 'emacs-lisp-compilation-mode)> +                     (emacs-lisp-compilation-mode))bytecomp.el uses    (unless (derived-mode-p 'compilation-mode)      (emacs-lisp-compilation-mode))Isn't that better?Also, do we really need to do this twice in comp-run-async-workers?Andrea, any comments?
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.