From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
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: <84oarefae5.fsf@tm6592.fritz.box> (raw)
In-Reply-To: 87mw6zw1fm.fsf@jnanam.net
Hi Benjamin,
> 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
M-x appt-delete
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.
#v+
(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."
(interactive)
(if (not (boundp 'appt-time-msg-list))
(message "`appt-time-msg-list' not even bound. Consider M-x org-agenda-to-appt.")
(if appt-time-msg-list
(let ((tmp-msg-list appt-time-msg-list)
(message-string ""))
(dolist (element tmp-msg-list)
(setq message-string
(concat message-string
(prin1-to-string
(substring-no-properties (cadr element) 0))
"\n")))
(if (< 0 (length message-string))
(message (substring message-string 0 -1))))
(message "No appts scheduled for today."))))
#v-
Best wishes, Marco
--
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2
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
Reply instructions:
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84oarefae5.fsf@tm6592.fritz.box \
--to=marcowahlsoft@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).