all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kevin Ryde <user42_kevin@yahoo.com.au>
Cc: 19224@debbugs.gnu.org
Subject: bug#19224: 24.4; elisp manual mode-line example mode-line-mode-name
Date: Sat, 03 Aug 2019 15:00:55 +0200	[thread overview]
Message-ID: <87pnlmiet4.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87fvd1umbq.fsf@blah.blah> (Kevin Ryde's message of "Sun, 30 Nov 2014 19:25:29 +1100")

Kevin Ryde <user42_kevin@yahoo.com.au> writes:

> In the elisp manual node "Mode Line Top", the example setting of
> `mode-line' shows
>
>     '(:eval (mode-line-mode-name))
>
> But function mode-line-mode-name doesn't seem to exist.
>
> I know it's only an example, but it could be good if it worked as well
> as illustrating the mode line features.

Indeed.  I've now changed the :eval example into

:eval (format-time-string "%F")

since there didn't seem to be any appropriate mode-line-* functions to
use here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-08-03 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-30  8:25 bug#19224: 24.4; elisp manual mode-line example mode-line-mode-name Kevin Ryde
2019-08-03 13:00 ` Lars Ingebrigtsen [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=87pnlmiet4.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=19224@debbugs.gnu.org \
    --cc=user42_kevin@yahoo.com.au \
    /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.