unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Style in elisp: how to show a flag value in the modeline?
Date: Fri, 21 Feb 2003 22:59:01 +0100	[thread overview]
Message-ID: <84heaxqore.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 87vfzdpc33.fsf@noos.fr

francois.fleuret@noos.fr (François Fleuret) writes:

> Yes, but the flag appears in the modeline whatever the buffer is. I
> still could not decide if this was a bad or a good thing. Let me think
> about it a few more days :)

You could omit the flag if off.  (That's what Emacs does for the
other flags.)

Or you turn it into a three-way thing with values on, off, unset.
Then you can set the default value of the buffer-local variable to be
unset.

-- 
A preposition is not a good thing to end a sentence with.

  reply	other threads:[~2003-02-21 21:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20  9:50 Style in elisp: how to show a flag value in the modeline? François Fleuret
2003-02-20 11:46 ` Kai Großjohann
2003-02-20 12:45   ` François Fleuret
2003-02-20 17:26     ` Kai Großjohann
2003-02-20 17:26     ` Kai Großjohann
2003-02-21  8:57       ` François Fleuret
2003-02-21 17:54         ` Kai Großjohann
2003-02-21 18:07           ` François Fleuret
2003-02-21 20:41             ` Kai Großjohann
2003-02-21 21:18               ` François Fleuret
2003-02-21 21:59                 ` Kai Großjohann [this message]
2003-02-20 12:48 ` Oliver Scholz
2003-02-20 20:45 ` Stefan Monnier <foo@acm.com>

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=84heaxqore.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /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.
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).