unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to analyze the value of `mode-line-misc-info'?
@ 2022-02-14 16:45 Kevin Vigouroux via Users list for the GNU Emacs text editor
  2022-02-15  7:35 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
  2022-02-15 10:45 ` Yuri Khan
  0 siblings, 2 replies; 6+ messages in thread
From: Kevin Vigouroux via Users list for the GNU Emacs text editor @ 2022-02-14 16:45 UTC (permalink / raw)
  To: help-gnu-emacs

#+begin_src emacs-lisp
ELISP> mode-line-misc-info
((global-mode-string
  ("" global-mode-string " ")))
#+end_src

I don’t understand why there are two nested lists. I thought the second
list was used as a conditional statement (e.g. `global-mode-string'
returns non-`nil') to finally concatenate several strings.

• Emacs Lisp Ref. manual — 23.4.2 “The Data Structure of the Mode Line”
- https://www.gnu.org/software/emacs/manual/html_node/elisp/Mode-Line-Data.html
-- 
Kevin Vigouroux,
Best regards



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

end of thread, other threads:[~2022-02-15 13:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-14 16:45 How to analyze the value of `mode-line-misc-info'? Kevin Vigouroux via Users list for the GNU Emacs text editor
2022-02-15  7:35 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2022-02-15  8:07   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-15  9:22     ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2022-02-15 10:45 ` Yuri Khan
2022-02-15 13:04   ` Kevin Vigouroux via Users list for the GNU Emacs text editor

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).