GNU bug report logs - #34956
Fix for define-compilation-mode

Previous Next

Package: emacs;

Reported by: Troy Hinckley <t.macman <at> gmail.com>

Date: Sat, 23 Mar 2019 15:54:02 UTC

Severity: minor

Tags: fixed

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Troy Hinckley <t.macman <at> gmail.com>
To: 34956 <at> debbugs.gnu.org
Subject: bug#34956: Fix for define-compilation-mode
Date: Sat, 23 Mar 2019 07:26:34 -0600
[Message part 1 (text/plain, inline)]
Hello,
This a is small patch that removes compilation-buffer-name-function-from
define-compilation-mode. compilation-buffer-name-function is used before
the major-mode is loaded, therefore overriding it in
define-compilation-mode is ineffectual. Removing it from the list of
overridden variables will ensure that it is not mistaken for a variable
that can be major mode specific. Also the function compilation-start takes
an optional argument name-function, so there is already a mechanism to
override it.
[Message part 2 (text/html, inline)]
[0001-Remove-compilation-buffer-name-function-from-derived.patch (application/octet-stream, attachment)]

This bug report was last modified 6 years and 43 days ago.

Previous Next


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