all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Christopher Schmidt <ch@ristopher.com>, 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 09:08:53 -0700 (PDT)	[thread overview]
Message-ID: <37ba5ef5-1ea0-49fb-a2bd-200d6f33acc6@default> (raw)
In-Reply-To: <8738frs18w@ristopher.com>

>     (setq mode-line-modes
>           (cl-nsubstitute '(:eval (when (buffer-narrowed-p) " DREW"))
>                           "%n"
>                           mode-line-modes
>                           :test 'string=
>                           :key (lambda (e) (when (stringp e) e))))

Good; thx.  I didn't realize there was a separate % construct
just for `Narrow'.

Is `Narrow' the only such "abnormal" lighter implemented in C?
If so then I will close this bug.  Thx.





  reply	other threads:[~2014-05-30 16:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 15:34 bug#17644: 24.4.50; provide access to all mode-line lighters (e.g. those from C code) Drew Adams
2014-05-30 15:57 ` Andreas Schwab
2014-05-30 16:02 ` Christopher Schmidt
2014-05-30 16:08   ` Drew Adams [this message]
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

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

  git send-email \
    --in-reply-to=37ba5ef5-1ea0-49fb-a2bd-200d6f33acc6@default \
    --to=drew.adams@oracle.com \
    --cc=17644@debbugs.gnu.org \
    --cc=ch@ristopher.com \
    /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.