[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Toggle appointment notification
From: |
Andreas |
Subject: |
Re: Toggle appointment notification |
Date: |
Tue, 01 Dec 2020 10:13:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
On Tue, Dec 01, 2020 at 04:47:55 AM, pietru@caramail.com wrote:
> Want to toggle between enable and disable appointment notification and have
> put a defun as so below. I reckon that both appt-activate and appt-check
> are needed but not absolutely aware of what and how they activate things
> for appointments.
>
> What would be a right approach to toggle between enable and disable using
> a single key-sequence for my case here?
>
> (defun diary-appt-ntf (n)
> "Switches diary appointment notification."
>
> (appt-activate n) ; Activates diary appointment notification
>
> (if (< n 1)
> (appt-check 1) ; Checks appointments and updates reminders.
> (appt-check nil)) ; Disables appt-check
> )
>
>
>
--
Regards,
Andreas
pgpwdfEsk9dCz.pgp
Description: PGP signature
- Re: Toggle appointment notification, (continued)
- 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
- Re: Toggle appointment notification, daniela-spit, 2020/12/01
- Re: Toggle appointment notification, daniela-spit, 2020/12/01
- Re: Toggle appointment notification, Jean Louis, 2020/12/01
Re: Toggle appointment notification,
Andreas <=