From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: c-update-modeline format for c-block-comment-flag
Date: Fri, 13 Oct 2017 17:25:03 +0100 [thread overview]
Message-ID: <vz1k1zz582o.fsf@gmail.com> (raw)
In-Reply-To: 20171013153623.GB3881@ACM
On Fri 13 Oct 2017, Alan Mackenzie wrote:
> The lighter for these modes has "always" included a "/" followed by
> status letters, where "always" means for at least 15 years. The "*" or
> second "/" is a recent innovation to indicate the current default form of
> comments.
Most of those letters are disabled in my usage, so I notice it less.
The mode reported by Dired has changed - that used to be "C" or "C++"
in 25.3, but is now e.g. "C/*" or "C++//".
It would perhaps be more flexible to configure these lighters as minor
modes, e.g. to show the c style I have:
(define-minor-mode c-show-style-mode
"Minor mode to display the C indentation style in the mode line."
:lighter (c-show-style-mode
(" " (:propertize c-indentation-style face italic))))
(defun ajm:c-mode-common-init ()
(c-show-style-mode 1))
(add-hook 'c-mode-common-hook 'ajm:c-mode-common-init)
AndyM
prev parent reply other threads:[~2017-10-13 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 10:24 c-update-modeline format for c-block-comment-flag Andy Moreton
2017-10-13 12:24 ` Eli Zaretskii
2017-10-13 14:45 ` Alan Mackenzie
2017-10-13 15:20 ` Andy Moreton
2017-10-13 15:36 ` Alan Mackenzie
2017-10-13 16:25 ` Andy Moreton [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vz1k1zz582o.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.