all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: ihs_4664@yahoo.com, Luc Teirlinck <teirllm@dms.auburn.edu>,
	emacs-devel@gnu.org
Subject: Re: Lisp manual is incomplete w.r.t. mode-line-format
Date: Wed, 08 Jun 2005 12:27:42 -0400	[thread overview]
Message-ID: <87ekbchl4p.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1DfzFT-0006q5-31@fencepost.gnu.org> (Richard Stallman's message of "Wed, 08 Jun 2005 08:01:31 -0400")

>     It appears to still be true.  But it is not just the Elisp manual that
>     fails to mention this and should be fixed.  The `mode-line-format'
>     docstring does not mention it either.  Is it intentional behavior?

> Yes and no.  It has to do SOMETHING in this case, but it must not
> signal an error.  So this seems like the best thing for it to do.

Also it's convenient for the typical var which defaults to nil but might not
yet be loaded (i.e. where unbound and nil are somewhat equivalent).
Those same variables which would be tested with bound-and-true-p.

Of course we could also define (VAR THEN-FORMAT ELSE-FORMAT UNBOUND-FORMAT)
so the fourth element is used if the var is unbound instead of being nil.


        Stefan

  reply	other threads:[~2005-06-08 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03 15:36 Lisp manual is incomplete w.r.t. mode-line-format Kevin Rodgers
2005-06-04 10:16 ` Richard Stallman
2005-06-07  0:50   ` Luc Teirlinck
2005-06-08 12:01     ` Richard Stallman
2005-06-08 16:27       ` Stefan Monnier [this message]
2005-06-06 16:04 ` Kevin Rodgers

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=87ekbchl4p.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=ihs_4664@yahoo.com \
    --cc=teirllm@dms.auburn.edu \
    /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.