From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: display-time-mode in menu bar.
Date: Wed, 10 Aug 2005 07:03:03 +0300 [thread overview]
Message-ID: <873bpiplaw.fsf@jurta.org> (raw)
In-Reply-To: <200508100142.j7A1gXv02186@raven.dms.auburn.edu> (Luc Teirlinck's message of "Tue, 9 Aug 2005 20:42:33 -0500 (CDT)")
> I believe that the menu item text and the help echo for the item on
> the Show/Hide menubar menu that toggles Display Time mode is wrong.
> The current text says: "Date, Time and Mail". However, do
> `emacs -q' and then enable the item using the menubar. No date is shown,
> but if your load average is big enough, it will display the load
> average. Enabling `display-time-mode' will, as the docstring of the
> function says, show the date in the modeline if and only if
> `display-time-day-and-date' is non-nil. But the default value of
> that option is nil, so the menubar docs should not assume that it is
> non-nil.
Perhaps what is wrong here is the conjunction `and'. It implies that
all these things are displayed simultaneously what is rarely true.
Better would be to list all possible things, that can be displayed
in the modeline, with the conjunction `or'.
> What about the patch below, which I can install if desired.
>
> (define-key menu-bar-showhide-menu [showhide-date-time]
> (menu-bar-make-mm-toggle display-time-mode
> ! "Time, Load Averages and Mail"
This menu item is too wide.
A more shorter and still understandable menu item is:
"Time, Load and Mail"
or with `or':
"Time, Date, Load or Mail"
> ! "Display time, system load averages and \
> ! mail status in mode line"))
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-08-10 4:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-10 1:42 display-time-mode in menu bar Luc Teirlinck
2005-08-10 4:03 ` Juri Linkov [this message]
2005-08-10 14:52 ` Luc Teirlinck
2005-08-11 0:28 ` Juri Linkov
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=873bpiplaw.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@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).