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

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

Re: Toggle appointment notification


From: pietru
Subject: Re: Toggle appointment notification
Date: Tue, 1 Dec 2020 20:58:23 +0100

> Sent: Tuesday, December 01, 2020 at 8:53 PM
> From: tomas@tuxteam.de
> To: help-gnu-emacs@gnu.org
> Subject: Re: Toggle appointment notification
>
> On Tue, Dec 01, 2020 at 10:23:31PM +0300, Jean Louis wrote:
> > * pietru@caramail.com <pietru@caramail.com> [2020-12-01 22:14]:
> > > > (defun message-any (any)
> > > >   "Message anything to minibuffer"
> > > >   (message "%s" (prin1-to-string any)))
> > >
> > > How can one add a heading string before calling prin1-to-string.
> > > The message would then give me some more clarity.
> >
> > (message "%s: %s" heading (prin1-to-string any))
>
> Or, if the heading is a constant, just
>
>   (message "my heading: %s" (prin1-to-string any))

Super

> Cheers
>  - t
>



reply via email to

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