[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Operation of format-mode-line
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Operation of format-mode-line |
Date: |
Sun, 28 Jul 2024 20:48:17 +0000 |
Seems help-gnu-emacs@gnu.org was missing
with "Reply All", so sending this again.
> > > If I hardwire the value with '(:eval (vodil-tkbfn-ellipses 13))
> things
> > do work,
> > > but not when I try to apply a user defined value using a variable
> via
> > a function.
> > >
> > > This fails
> > >
> > > (defun vodil-tkbfn (wmax)
> > > (setq-default mode-line-buffer-identification
> > > '(:eval (vodil-tkbfn-ellipses wmax))))
> > >
> > > (vodil-tkbfn 13)
> >
> > It seems that you're onto something. Now go read "(elisp) Backquote"
> > (or cheat with Chistopher Dimech answer). The former will be more
> > valuable.
>
> Right.
> This is one of the most common questions.
> It's posed here, with the answer:
>
> https://emacs.stackexchange.com/questions/7481/how-to-evaluate-the-
> variables-before-adding-them-to-a-list
<<attachment: winmail.dat>>
- Re: Operation of format-mode-line, (continued)
- Re: Operation of format-mode-line, Heime, 2024/07/27
- Re: Operation of format-mode-line, Michael Heerdegen, 2024/07/27
- Re: Operation of format-mode-line, Heime, 2024/07/28
- Re: Operation of format-mode-line, Manuel Giraud, 2024/07/28
- Re: Operation of format-mode-line, Heime, 2024/07/28
- Re: Operation of format-mode-line, Heime, 2024/07/28
- Re: Operation of format-mode-line, Heime, 2024/07/28
- Operation of format-mode-line, Christopher Dimech, 2024/07/28
- Re: Operation of format-mode-line, Manuel Giraud, 2024/07/28
- Re: Operation of format-mode-line, Heime, 2024/07/28
- RE: [External] : Re: Operation of format-mode-line,
Drew Adams <=
- Re: Operation of format-mode-line, Michael Heerdegen, 2024/07/29
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/24
- Re: Operation of format-mode-line, Heime, 2024/07/24