From: Marco Wahl <email@example.com>
Subject: Re: (org-agenda-to-appt) with sexp org-diary-class entry?
Date: Mon, 08 Dec 2014 16:07:14 +0100 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
> Thanks, Marco. Well, it at least helps to update me to a non-obsolete
> sexp method.
> I have no idea how to check what's actually been pushed to `appt` to see
> whether the updated org-class really behaves differently to
> org-diary-class in this respect. (So I'll have to see tomorrow how
> `appt` behaves.)
You can use
for scanning through your current appointments. For each appointment
you will be asked for deletion. Saying 'no' just keeps the appointment.
You might even look at variable `appt-time-msg-list' or use the
following function to see a list of your current appointments.
(defun mw-appt-display-list ()
"List the current appointments.
This is an amendment to the appt-family of functions. Sometimes
you might want to know the upcoming appts."
(if (not (boundp 'appt-time-msg-list))
(message "`appt-time-msg-list' not even bound. Consider M-x org-agenda-to-appt.")
(let ((tmp-msg-list appt-time-msg-list)
(dolist (element tmp-msg-list)
(substring-no-properties (cadr element) 0))
(if (< 0 (length message-string))
(message (substring message-string 0 -1))))
(message "No appts scheduled for today."))))
Best wishes, Marco
next prev parent reply other threads:[~2014-12-08 15:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-07 22:16 (org-agenda-to-appt) with sexp org-diary-class entry? Benjamin Slade
2014-12-08 15:07 ` Marco Wahl [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-12-05 15:39 Benjamin Slade
2014-12-05 18:50 ` Marco Wahl
2014-12-06 8:25 ` Ivan Kanis
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).