Re: org-diary

2021-11-05 Thread Eric S Fraga
On Friday, 5 Nov 2021 at 12:56, Colin Baxter đŸ˜º wrote: > Indeed, that was the purpose. I am the op and I apologise if my attempt > to highlight my post caused confusion. Perhaps I stick to Many do this as well (including myself ;-)) although I alternate with other means of offsetting the code just

Re: org-diary

2021-11-05 Thread Colin Baxter đŸ˜º
>>>>> Eric S Fraga writes: > On Thursday, 4 Nov 2021 at 18:21, Michael Maurer wrote: >> Oh. I assumed >> >> #+begin_src elisp &%%(org-diary :deadline* :timestamp >> :scheduled*) #+end_src >> >> is an org-

Re: org-diary

2021-11-05 Thread Eric S Fraga
On Thursday, 4 Nov 2021 at 18:21, Michael Maurer wrote: > Oh. I assumed > > #+begin_src elisp > &%%(org-diary :deadline* :timestamp :scheduled*) > #+end_src > > is an org-babel code block. Yes but I think that was just for the purposes of highlighting the sexp in the

Re: org-diary

2021-11-04 Thread Michael Maurer
y & calendar (core Emacs features) allow for elisp sexps > in the diary file and org-diary is an elisp function that returns > information in the form that the diary understands. There is a section > in the Emacs info manual on the Calendar and the Diary (section 31). > > Conve

Re: org-diary

2021-11-04 Thread Eric S Fraga
find anything (or maybe I'm speculating wrong). There may be some fundamental misunderstanding here. What does orb-babel have to do with org mode and the Emacs diary integration? The Emacs diary & calendar (core Emacs features) allow for elisp sexps in the diary file and org-diary is an elisp

Re: org-diary

2021-11-04 Thread Michael Maurer
On Wed, 3 Nov 2021 at 12:06, Eric S Fraga wrote: > > Glad I could be of assistance! đŸ™‚ > -- > : Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192 > : Latest paper written in org: https://arxiv.org/abs/2106.05096 I'm curious about this use of a diary-file in combination with org-babel. I'

Re: org-diary

2021-11-03 Thread Eric S Fraga
Glad I could be of assistance! đŸ™‚ -- : Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192 : Latest paper written in org: https://arxiv.org/abs/2106.05096

Re: org-diary

2021-11-03 Thread Colin Baxter đŸ˜º
>>>>> Eric S Fraga writes: > On Wednesday, 3 Nov 2021 at 06:43, Colin Baxter đŸ˜º wrote: >> I have this >> >> #+begin_src elisp &%%(org-diary :deadline* :timestamp >> :scheduled*) #+end_src > I cannot help you directly b

Re: org-diary

2021-11-03 Thread Eric S Fraga
On Wednesday, 3 Nov 2021 at 06:43, Colin Baxter đŸ˜º wrote: > I have this > > #+begin_src elisp > &%%(org-diary :deadline* :timestamp :scheduled*) > #+end_src I cannot help you directly but I do note that my equivalent entry in my Emacs diary file is subtly different: %%(o

org-diary

2021-11-02 Thread Colin Baxter đŸ˜º
Hello, I have this #+begin_src elisp &%%(org-diary :deadline* :timestamp :scheduled*) #+end_src at line 9 in my main diary file ~/.emacs.d/diary/main. It worked well up until recently (a week or so, I think). Now I get the following warning: --8<---cut here-

[O] emac org diary entries

2015-03-19 Thread Francis J. Monari, Esquire
Emacs Org Mode recognizes diary entries both inside and outside angle brackets (less than and greater than signs), e.g.: <%%(diary-date 2015 03 19)>, and %%(diary-date 2015 03 19). Should users rely on both forms being recognized in the future? Emacs Org Mode also fully parses / recognizes diary e

Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-08 Thread Ivan Kanis
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

Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-08 Thread Marco Wahl
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

Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-07 Thread Benjamin Slade
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

Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-05 Thread Marco Wahl
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 s

[O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-05 Thread Benjamin Slade
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

Re: [O] Using org-diary

2014-01-09 Thread Eric S Fraga
Nick Dokos writes: > "Stephen J. Barr" writes: > >> What I am now seeing is that the particular date gets picked up, but >> not the time. Am I doing something incorrect with the >> syntax? >> > > No, I believe that's a limitation of what you can do with these > diary-sexps. > > You can always ad

Re: [O] Using org-diary

2014-01-09 Thread Eric S Fraga
Nick Dokos writes: > "Stephen J. Barr" writes: > >> What I am now seeing is that the particular date gets picked up, but >> not the time. Am I doing something incorrect with the >> syntax? >> > > No, I believe that's a limitation of what you can do with these > diary-sexps. > > You can always ad

Re: [O] Using org-diary

2014-01-07 Thread Nick Dokos
Stephen J. Barr writes: > I think that iI figured it out. I was transposing the last two arguments > for some of the cases. Just curious, in the documentation for org-class, > > (org-class Y1 M1 D1 Y2 M2 D2 DAYNAME &rest SKIP-WEEKS) > > what is &rest ? > See (info "(elisp) Other Features of

Re: [O] Using org-diary

2014-01-07 Thread Stephen J . Barr
I think that iI figured it out. I was transposing the last two arguments for some of the cases. Just curious, in the documentation for org-class, (org-class Y1 M1 D1 Y2 M2 D2 DAYNAME &rest SKIP-WEEKS) what is &rest ? Thanks, Stephen ndo...@gmail.com writes: > Stephen J. Barr writes: > >> Gree

Re: [O] Using org-diary

2014-01-07 Thread Dan Griswold
Try this: *** Teaching %%(org-class 2014 1 6 2014 3 10 1 1) 07:00-08:30 Teaching That's what I find works for me. Dan On Mon, Jan 6, 2014 at 6:45 PM, Stephen J. Barr wrote: > So, from a broader perspective, perhaps this org-class stuff is not the > right way to go. I am also noticing that

Re: [O] Using org-diary

2014-01-06 Thread Stephen J. Barr
So, from a broader perspective, perhaps this org-class stuff is not the right way to go. I am also noticing that the icalendar-export does not seem to be exporting these diary-sexps anyway. Perhaps I can use org-clone-subtree-with-time-shift to do most of what I want. Best, Stephen On Mon, Jan 6

Re: [O] Using org-diary

2014-01-06 Thread Nick Dokos
"Stephen J. Barr" writes: > What I am now seeing is that the particular date gets picked up, but not the > time. Am I doing something incorrect with the > syntax? > No, I believe that's a limitation of what you can do with these diary-sexps. You can always add the time to the headline: that wa

Re: [O] Using org-diary

2014-01-06 Thread Stephen J. Barr
What I am now seeing is that the particular date gets picked up, but not the time. Am I doing something incorrect with the syntax? Best, Stephen On Mon, Jan 6, 2014 at 1:50 PM, Nick Dokos wrote: > Stephen J. Barr writes: > > > Greetings org-mode, > > > > I am trying to use org-class to put in

Re: [O] Using org-diary

2014-01-06 Thread Nick Dokos
Stephen J. Barr writes: > Greetings org-mode, > > I am trying to use org-class to put in my regularly scheduled > events. The following snippet is my attempt to put in a regularly > scheduled Monday-evening event. This is in a file that is included in my > org-agenda-files, yet when I look at my

[O] Using org-diary

2014-01-06 Thread Stephen J . Barr
Greetings org-mode, I am trying to use org-class to put in my regularly scheduled events. The following snippet is my attempt to put in a regularly scheduled Monday-evening event. This is in a file that is included in my org-agenda-files, yet when I look at my agenda, this does not show up! #

Re: [O] Bug in org-diary (Bad sexp)?

2012-04-28 Thread Bastien
Bastien writes: > Rafael writes: > >> FWIW, using the tip from >> http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00702.html to >> go back to a previous state, I can confirm that commit >> 3bd1c2e9bff539c94f92f1ec919f8f0f1640f8c0 is good and that commit >> 973efcd9c9f5a29ffc9db2c317fa

Re: [O] Bug in org-diary (Bad sexp)?

2012-04-20 Thread Bastien
Hi Rafael, Rafael writes: > FWIW, using the tip from > http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00702.html to > go back to a previous state, I can confirm that commit > 3bd1c2e9bff539c94f92f1ec919f8f0f1640f8c0 is good and that commit > 973efcd9c9f5a29ffc9db2c317fab44112a97b07 i

Re: [O] Bug in org-diary (Bad sexp)?

2012-04-17 Thread Rafael
list 'load-path "~/Downloads/org-mode/lisp") > > (require 'org-install) > -------- > > and a ~/diary file containing only: > > > &%%(org-diary) > > - > > and starting with 'emacs -Q -l simpleorg.el' > >

[O] Bug in org-diary (Bad sexp)?

2012-04-16 Thread Rafael Villarroel
and a ~/diary file containing only: ---- &%%(org-diary) - and starting with 'emacs -Q -l simpleorg.el' Then M-x diary gives: Bad sexp at line 1 in ~/diary: (org-diary) For some reason I do not get a backtrace. Hopefully somebody will be able at least to reproduce! Best regards, Rafael

[O] org-diary-class doesn't skip weeks

2012-01-02 Thread Evgeniy Sporov
Could somebody help me, please? I had org 7.5 before and the following sexp worked fine: %%(org-diary-class 8 11 2011 6 2 2012 1 47 51 52 14) StudentName 4:45pm-5:15pm After upgrading to org 7.7 the "skipping weeks" part stopped working, meaning I still have a student appearing in A

Re: [O] Patch: Mark org-diary-class as obsolete and skip entries on holidays in org-class

2011-10-28 Thread Bastien
Achim Gratz writes: > This change introduced a new warning: > > In end of data: > org-agenda.el:8536:1:Warning: the function `calendar-check-holidays' is not > known to be defined. Fixed, thanks. -- Bastien

Re: [O] Patch: Mark org-diary-class as obsolete and skip entries on holidays in org-class

2011-10-27 Thread Achim Gratz
This change introduced a new warning: In end of data: org-agenda.el:8536:1:Warning: the function `calendar-check-holidays' is not known to be defined. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http:

Re: [O] Patch: Mark org-diary-class as obsolete and skip entries on holidays in org-class

2011-10-26 Thread Carsten Dominik
Hi RĂ¼diger, On Oct 10, 2011, at 9:15 PM, RĂ¼diger Sonderfeld wrote: > Hello, > I wrote two small patches. The first one marks org-diary-class as obsolete > (according to its documentation it is deprecated). The second one is a > patch for org-class. It changes org-class to skip entr

Re: [O] Patch: Mark org-diary-class as obsolete and skip entries on holidays in org-class

2011-10-25 Thread RĂ¼diger Sonderfeld
Hi Carsten, On Tue, 25 Oct 2011 16:08:43 +0200, Carsten Dominik wrote: > > The first is accepted. The second I have modified. If any of > SKIP-WEEKS is the symbol `holidays', then holidays will be skipped. That sounds good. Thank you. Regards, RĂ¼diger

Re: [O] Patch: Mark org-diary-class as obsolete and skip entries on holidays in org-class

2011-10-25 Thread Carsten Dominik
Hi RĂ¼diger, On Oct 10, 2011, at 9:15 PM, RĂ¼diger Sonderfeld wrote: > Hello, > I wrote two small patches. The first one marks org-diary-class as obsolete > (according to its documentation it is deprecated). The second one is a > patch for org-class. It changes org-class to skip entr

[O] Patch: Mark org-diary-class as obsolete and skip entries on holidays in org-class

2011-10-11 Thread RĂ¼diger Sonderfeld
Hello, I wrote two small patches. The first one marks org-diary-class as obsolete (according to its documentation it is deprecated). The second one is a patch for org-class. It changes org-class to skip entries that are on holidays. Maybe the second change should be made optional. Regards

Re: [O] [PATCH] Don't call calendar-absolute-from-gregorian in org-diary-class

2011-07-04 Thread Bastien
Hi Rémi, Rémi Vanicat writes: > calendar-absolute-from-gregorian return a number of day. But the > result is used as if it was a (year month day) list. Applied, with a slight modification. Thanks, -- Bastien

[O] [PATCH] Don't call calendar-absolute-from-gregorian in org-diary-class

2011-07-03 Thread Rémi Vanicat
calendar-absolute-from-gregorian return a number of day. But the result is used as if it was a (year month day) list. --- lisp/org-agenda.el |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 2bec518..66af554 100644 --- a/lis

Re: [Orgmode] Exporting org-diary-class to icalendar

2011-02-11 Thread Bastien
Hi Rémi, Rémi Vanicat writes: > For those who want to use the org-diary-class diary sexp, and who want > to export it to ical (for google calendar consumption for example) Here > is a code that will do it. Beware that my timezone is hardwired in it > (search for Europe/Paris).

[Orgmode] Exporting org-diary-class to icalendar

2010-12-06 Thread Rémi Vanicat
Hello, For those who want to use the org-diary-class diary sexp, and who want to export it to ical (for google calendar consumption for example) Here is a code that will do it. Beware that my timezone is hardwired in it (search for Europe/Paris). For now it doesn't take into account the sk

Fwd: [Orgmode] Bug: org-diary-class does not export to .ics (iCalendar)

2010-06-07 Thread Daniel Martins
-- Forwarded message -- From: Daniel Martins Date: 2010/6/7 Subject: Re: [Orgmode] Bug: org-diary-class does not export to .ics (iCalendar) To: Carsten Dominik Well, so keep the bug open! I noticed other oddities with ical export that I will send in a different post Daniel

Re: [Orgmode] Bug: org-diary-class does not export to .ics (iCalendar)

2010-06-06 Thread Carsten Dominik
On Jun 7, 2010, at 1:46 AM, Daniel Martins wrote: I am syncing Google Calendar with with GCalDaemon and then I noticed that org-diary-class is completely ignored by the ics export function Eg ** 16:00-18:00 Class B5 <%%(org-diary-class 7 6 2010 10 9 2010 1 24 25)> Do

[Orgmode] Bug: org-diary-class does not export to .ics (iCalendar)

2010-06-06 Thread Daniel Martins
I am syncing Google Calendar with with GCalDaemon and then I noticed that org-diary-class is completely ignored by the ics export function Eg ** 16:00-18:00 Class B5 <%%(org-diary-class 7 6 2010 10 9 2010 1 24 25)> Does not appear in the organizer.ics as expected

[Orgmode] Re: [PATCH] Speed up org-diary

2010-03-29 Thread Matthew Lundin
Hi Carsten, Carsten Dominik writes: > that is a good catch. org-diary is a total orphan for me, > I have not looked at this function for 5 years - it was written > when I was still thinking to use Org-files through the Emacs diary. Thanks for applying the patch. Yes, I think one of

Re: [Orgmode] [PATCH] Speed up org-diary

2010-03-29 Thread Carsten Dominik
Hi Matt, that is a good catch. org-diary is a total orphan for me, I have not looked at this function for 5 years - it was written when I was still thinking to use Org-files through the Emacs diary. I have made one change - I have given it 3 seconds instead of 1, I think this is a better value

[Orgmode] [PATCH] Speed up org-diary

2010-03-28 Thread Matt Lundin
d "cal-tex" functions via the org-diary sexp. I have found org-diary to be excruciatingly slow when called for anything more than a couple of days. I have the following line in my diary file: &%%(org-diary :timestamp :sexp) If I try to view 20 or so upcoming days in the diary by typing C

[Orgmode] Re: date marking with (org-diary)

2008-09-08 Thread Ulf Stegemann
Hi Carsten, all, Carsten Dominik <[EMAIL PROTECTED]> wrote: > On Aug 15, 2008, at 10:45 AM, Ulf Stegemann wrote: [...] >> Including agenda items into the diary with '&%%(org-diary ...' is >> something I personally find pretty useless as the dates of thos

Re: [Orgmode] date marking with (org-diary)

2008-09-03 Thread Carsten Dominik
On Aug 15, 2008, at 10:45 AM, Ulf Stegemann wrote: Hi all, I was recently playing around with marking org agenda items in the calendar using (org-diary) in the diary file. I encountered a problem already described by Wanrong Lin some time ago (see http://www.mail-archive.com/emacs-orgmode

[Orgmode] date marking with (org-diary)

2008-08-15 Thread Ulf Stegemann
Hi all, I was recently playing around with marking org agenda items in the calendar using (org-diary) in the diary file. I encountered a problem already described by Wanrong Lin some time ago (see http://www.mail-archive.com/emacs-orgmode@gnu.org/msg05839.html). Unfortunately no answers were

[Orgmode] FR: more options in (org-diary)

2008-03-05 Thread Wanrong Lin
do it with current org-diary function, as detailed in the following: 1. Apparently, I can not use %%(org-diary :scheduled), as a lot of "SCHEDULED" items are just "softly scheduled". I would like to do those things at specified time, but do not HAVE TO do them. 2. If I use

Re: [Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-05 Thread Wanrong Lin
ndar, so I put this into my .diary file: &%%(org-diary) What I found is after I launch emacs, all my org-agenda files are already open, but my org-mode-hook function was not called, so my key bindings and other stuff was not set up properly. I need to close the org file and open it a

Re: [Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-04 Thread Carsten Dominik
file: &%%(org-diary) What I found is after I launch emacs, all my org-agenda files are already open, but my org-mode-hook function was not called, so my key bindings and other stuff was not set up properly. I need to close the org file and open it again to have my org-mode-hook function ca

[Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-04 Thread Wanrong Lin
Hi, I was trying Bastien's suggestion for marking dates in calendar, so I put this into my .diary file: &%%(org-diary) What I found is after I launch emacs, all my org-agenda files are already open, but my org-mode-hook function was not called, so my key bindings and other stuf