all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21002: 25.0.50; (elisp): `Mode Line Variables', doc of `display-time-string'
@ 2015-07-07 14:44 Drew Adams
  2016-04-30 20:42 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2015-07-07 14:44 UTC (permalink / raw)
  To: 21002

Variable `global-mode-string' is described in (elisp): `Mode Line
Variables', including its default value.  `display-time-string' is
mentioned explicitly.

But `C-h v' tells you nothing about `display-time-string'.  To
understand something about it you need to look at `time.el'.

1. At the least, some doc string should be added for
   `display-time-string'.  It can, for example, refer users to command
   `display-time' or to (emacs) `Optional Mode Line', where `display-time'
   is covered.

2. (elisp): `Mode Line Variables' should itself cross-reference (emacs)
   `Optional Mode Line' or at least mention command `display-time',
   where it mentions `display-time-string'.

Displaying the time in the mode-line is a user-level thing, and there
are many user options that control the resulting `display-time-string'.
The only mention of `display-time-string' in the Elisp manual should at
least point readers to information about the things that control the
content of `display-time-string', especially since most of these things
are user-level controls (e.g., options, a command).

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#21002: 25.0.50; (elisp): `Mode Line Variables', doc of `display-time-string'
  2015-07-07 14:44 bug#21002: 25.0.50; (elisp): `Mode Line Variables', doc of `display-time-string' Drew Adams
@ 2016-04-30 20:42 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 20:42 UTC (permalink / raw)
  To: Drew Adams; +Cc: 21002

Drew Adams <drew.adams@oracle.com> writes:

> Variable `global-mode-string' is described in (elisp): `Mode Line
> Variables', including its default value.  `display-time-string' is
> mentioned explicitly.
>
> But `C-h v' tells you nothing about `display-time-string'.  To
> understand something about it you need to look at `time.el'.
>
> 1. At the least, some doc string should be added for
>    `display-time-string'.  It can, for example, refer users to command
>    `display-time' or to (emacs) `Optional Mode Line', where `display-time'
>    is covered.

I've now added a doc string that mentions `display-time'.

> 2. (elisp): `Mode Line Variables' should itself cross-reference (emacs)
>    `Optional Mode Line' or at least mention command `display-time',
>    where it mentions `display-time-string'.

And also this.

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-30 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 14:44 bug#21002: 25.0.50; (elisp): `Mode Line Variables', doc of `display-time-string' Drew Adams
2016-04-30 20:42 ` Lars Ingebrigtsen

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.