[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Toggle appointment notification
From: |
Jean Louis |
Subject: |
Re: Toggle appointment notification |
Date: |
Wed, 2 Dec 2020 18:08:24 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Christopher Dimech <dimech@gmx.com> [2020-12-02 16:17]:
> > Sent: Wednesday, December 02, 2020 at 1:37 PM
> > From: tomas@tuxteam.de
> > To: "Christopher Dimech" <dimech@gmx.com>
> > Cc: help-gnu-emacs@gnu.org
> > Subject: Re: Toggle appointment notification
> >
> > 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.
>
> As I read it, the format it is mainly for numerical and strings.
>
> (format "%s" arbitrary-string)
I was forgetting that (message) is formatting itself and wanted to
forget about it when debugging.
Often I wish to show value of a function in buffer, so I used
`message-any', it appeared easier, but need not be. If I forget "%s"
then it would not work.
- Re: Toggle appointment notification, (continued)
- Re: Toggle appointment notification, Jean Louis, 2020/12/03
- Re: Toggle appointment notification, Michael Heerdegen, 2020/12/01
- Re: Toggle appointment notification, tomas, 2020/12/02
- Re: Toggle appointment notification, Christopher Dimech, 2020/12/02
- Re: Toggle appointment notification, tomas, 2020/12/02
- Re: Toggle appointment notification, Christopher Dimech, 2020/12/02
- Re: Toggle appointment notification, tomas, 2020/12/02
- Re: Toggle appointment notification, Christopher Dimech, 2020/12/02
- Re: Toggle appointment notification, Robert Pluim, 2020/12/02
- Re: Toggle appointment notification, Christopher Dimech, 2020/12/02
- Re: Toggle appointment notification,
Jean Louis <=
- Re: Toggle appointment notification, tomas, 2020/12/02
- Re: Toggle appointment notification, Jean Louis, 2020/12/02
- Re: Toggle appointment notification, Emanuel Berg, 2020/12/02
- Re: Toggle appointment notification, Jean Louis, 2020/12/02
- RE: Toggle appointment notification, Drew Adams, 2020/12/02
- Re: Toggle appointment notification, Jean Louis, 2020/12/02
- Re: Toggle appointment notification, daniela-spit, 2020/12/01
- Re: Toggle appointment notification, Michael Heerdegen, 2020/12/01
- Re: Toggle appointment notification, daniela-spit, 2020/12/01
- Re: Toggle appointment notification, Michael Heerdegen, 2020/12/01