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:01:52 +0100


> Sent: Tuesday, December 01, 2020 at 7:52 PM
> From: "Jean Louis" <bugs@gnu.support>
> To: pietru@caramail.com
> Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu
> Subject: Re: Toggle appointment notification
>
> * pietru@caramail.com <pietru@caramail.com> [2020-12-01 21:37]:
> > There is one thing that is bugging me while testing my approach.  If I get
> > the state of a function, how can I then print the state in the messages
> > buffer?
> >
> > (get 'appt-ntf-cycle 'state)
>
> Do you know (message "%s" state) function?

I know message but was doing as such and did not show up

(message (get 'typh-appt-ntf-cycle 'state))

> If you obtain any value you may put it instead of `state'.
>
> For long time I used this function:
>
> (defun message-any (any)
>   "Message anything to minibuffer"
>   (message "%s" (prin1-to-string any)))

Smart



reply via email to

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