help-gnu-emacs
[Top][All Lists]
Advanced

[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>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]