* (org-agenda-to-appt) with sexp org-diary-class entry?
@ 2014-12-05 15:39 Benjamin Slade
2014-12-05 18:50 ` Marco Wahl
2014-12-06 8:25 ` Ivan Kanis
0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Slade @ 2014-12-05 15:39 UTC (permalink / raw)
To: emacs-orgmode
None of my events which are scheduled with org-diary-class sexp entries
seem to get pushed with (org-agenda-to-appt) (for triggering alarms
etc.). Is this simply a limitation of sexp org-diary-class? Is there
are workaround, or would it be better to simply schedule such events as
(infinitely) repeating?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (org-agenda-to-appt) with sexp org-diary-class entry?
2014-12-05 15:39 Benjamin Slade
@ 2014-12-05 18:50 ` Marco Wahl
2014-12-06 8:25 ` Ivan Kanis
1 sibling, 0 replies; 5+ messages in thread
From: Marco Wahl @ 2014-12-05 18:50 UTC (permalink / raw)
To: emacs-orgmode
Hi Benjamin,
> None of my events which are scheduled with org-diary-class sexp entries
> seem to get pushed with (org-agenda-to-appt) (for triggering alarms
> etc.). Is this simply a limitation of sexp org-diary-class? Is there
> are workaround, or would it be better to simply schedule such events as
> (infinitely) repeating?
out of curiosity I tried out that org-diary-class thing. (Org-mode
version 8.3beta)
The doc says about org-diary-class:
#v+
This function is obsolete since ;
use `org-class' instead.
#v-
So I used org-class. I don't know if this really matters. If not then
please just take it as a side note.
With the subtree
#v+
* org-class appointment
<%%(org-class 2014 12 1 2014 12 23 5 )>
#v-
in one of my agenda-files I get the respective line
#v+
appts: org-class appointment
#v-
in the agenda.
Does this help?
Best regards, Marco
--
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (org-agenda-to-appt) with sexp org-diary-class entry?
2014-12-05 15:39 Benjamin Slade
2014-12-05 18:50 ` Marco Wahl
@ 2014-12-06 8:25 ` Ivan Kanis
1 sibling, 0 replies; 5+ messages in thread
From: Ivan Kanis @ 2014-12-06 8:25 UTC (permalink / raw)
To: emacs-orgmode
December, 05 at 8:39 Benjamin Slade wrote:
> None of my events which are scheduled with org-diary-class sexp entries
> seem to get pushed with (org-agenda-to-appt) (for triggering alarms
> etc.). Is this simply a limitation of sexp org-diary-class? Is there
> are workaround, or would it be better to simply schedule such events as
> (infinitely) repeating?
Do your entries have a time in hour and minutes of the day?
Ivan
--
A bank is a place that will lend you money if you can prove that you
don't need it.
-- Bob Hope
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (org-agenda-to-appt) with sexp org-diary-class entry?
@ 2014-12-07 22:16 Benjamin Slade
2014-12-08 15:07 ` Marco Wahl
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Slade @ 2014-12-07 22:16 UTC (permalink / raw)
To: emacs-orgmode; +Cc: marcowahlsoft
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.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr Benjamin Slade
pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{sent by mu4e on Emacs running under GNU/Linux}
(Choose Linux, Choose Freedom)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (org-agenda-to-appt) with sexp org-diary-class entry?
2014-12-07 22:16 (org-agenda-to-appt) with sexp org-diary-class entry? Benjamin Slade
@ 2014-12-08 15:07 ` Marco Wahl
0 siblings, 0 replies; 5+ messages in thread
From: Marco Wahl @ 2014-12-08 15:07 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-08 21:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 22:16 (org-agenda-to-appt) with sexp org-diary-class entry? Benjamin Slade
2014-12-08 15:07 ` Marco Wahl
-- 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
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).