unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 17644@debbugs.gnu.org
Subject: bug#17644: 24.4.50; provide access to all mode-line lighters (e.g. those from C code)
Date: Fri, 30 May 2014 08:34:27 -0700 (PDT)	[thread overview]
Message-ID: <067c46c8-34b1-4ba7-a5b0-1795e4fc75af@default> (raw)

Elisp users can modify mode-line lighters for a major or a minor mode,
using `mode-name' and `minor-mode-alist'.  But they cannot modify (or
even remove) other lighters that are added by Emacs C code.  Please
enhance Emacs by making this possible (from Lisp).

For example, when the buffer is narrowed, the lighter `Narrow' appears.
It is neither a major-mode lighter nor a minor-mode lighter.  And there
is no way for a programmer to modify it from Lisp.

Please (a) document all such abnormal/extraneous lighters together,
somewhere in the Elisp manual and (b) provide a means for users to
access and modify them using Lisp.

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-05-25 on ODIEONE
Bzr revision: 117153 tsdh@gnu.org-20140525174054-vzeh4zeg00a1ley8
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





             reply	other threads:[~2014-05-30 15:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 15:34 Drew Adams [this message]
2014-05-30 15:57 ` bug#17644: 24.4.50; provide access to all mode-line lighters (e.g. those from C code) Andreas Schwab
2014-05-30 16:02 ` Christopher Schmidt
2014-05-30 16:08   ` Drew Adams
2014-05-30 23:37     ` Drew Adams
2016-04-29 20:09       ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=067c46c8-34b1-4ba7-a5b0-1795e4fc75af@default \
    --to=drew.adams@oracle.com \
    --cc=17644@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).