GNU bug report logs - #2034
23.0.60; c-subword-mode incompatible with xml-mode

Previous Next

Package: emacs;

Reported by: me <at> rpatterson.net

Date: Sun, 25 Jan 2009 02:20:03 UTC

Severity: normal

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 2034 <at> debbugs.gnu.org, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz <at> gnu.org>
Subject: bug#2034: [PATCH] 27.0.50; Support mode line constructs for `mode-name' in c-mode
Date: Wed, 4 Jul 2018 01:37:20 +1200
On 03/07/18 10:53, Phil Sainty wrote:
> I'll write a revised patch to address these points.

An updated version is on branch origin/fix/bug-2034 with the
following change log.


Support mode line constructs for 'mode-name' in c-mode (bug#2034)

Also make the inclusion of minor mode flags in 'mode-name' optional.

* lisp/progmodes/cc-cmds.el (c-modeline-flags): New variable.
(c-modeline-flags-major-modes-processed): New variable.
(c-modeline-display-flags): New user option.
(c-update-modeline): Use them.  Use mode line constructs, rather than
string concatenation, to optionally include minor mode flags in
'mode-name'.

* lisp/progmodes/cc-mode.el (c-submit-bug-report): Format 'mode-name'.

* lisp/progmodes/cc-styles.el (c-set-style): Format 'mode-name'.

* etc/NEWS: Mention new user option and behaviors.

* doc/misc/cc-mode.texi: Document 'c-modeline-display-flags'.




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

Previous Next


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