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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toggle appointment notification


From: tomas
Subject: Re: Toggle appointment notification
Date: Wed, 2 Dec 2020 13:37:41 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 02, 2020 at 01:05:07PM +0100, Christopher Dimech wrote:
> > Sent: Wednesday, December 02, 2020 at 9:41 AM
> > From: tomas@tuxteam.de
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: Toggle appointment notification
> >
> > On Tue, Dec 01, 2020 at 10:44:09PM +0100, Michael Heerdegen wrote:
> > > <tomas@tuxteam.de> writes:
> > >
> > > >   (message "my heading: %s" (prin1-to-string any))
> > >
> > > Or equivalent
> > >
> > >     (message "my heading: %S" any)
> > >
> > > , no?
> >
> > Indeed. Recommended reading "4.7 Formatting Strings" in the Emacs Lisp
> > manual (in the Intertubes here [1]).
> 
> How does one deal with conditionals (1, nil) in format?

Care to pose a more complete example?

As far as I understood you, you'd put a Lisp expression in the 2nd...nth
arguments of (message fmt ...), but I might be misunderstanding you
completely.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

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