emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Using org-diary
@ 2014-01-06 20:50 Stephen J. Barr
  2014-01-06 21:50 ` Nick Dokos
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen J. Barr @ 2014-01-06 20:50 UTC (permalink / raw)
  To: Org-Mode

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!

########################################

*** Teaching
    <%%(org-class 2014 1 6 2014 3 10 1 1)> 7:00pm-8:30pm

########################################

I would appreciate any advice on this.

Thanks,
Stephen

-- 
Sent with my mu4e

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 20:50 Using org-diary Stephen J. Barr
@ 2014-01-06 21:50 ` Nick Dokos
  2014-01-06 22:54   ` Stephen J. Barr
  2014-01-06 23:09   ` Stephen J. Barr
  0 siblings, 2 replies; 10+ messages in thread
From: Nick Dokos @ 2014-01-06 21:50 UTC (permalink / raw)
  To: emacs-orgmode

Stephen J. Barr <stevejb@uw.edu> 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 agenda, this does not show up!
>
> ########################################
>
> *** Teaching
>     <%%(org-class 2014 1 6 2014 3 10 1 1)> 7:00pm-8:30pm
>
> ########################################
>
> I would appreciate any advice on this.
>

Tested it with a minimal .enacs and it works fine for me:

Org-mode version 8.2.4 (release_8.2.4-410-ge23bbd)

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 21:50 ` Nick Dokos
@ 2014-01-06 22:54   ` Stephen J. Barr
  2014-01-06 23:35     ` Nick Dokos
  2014-01-06 23:09   ` Stephen J. Barr
  1 sibling, 1 reply; 10+ messages in thread
From: Stephen J. Barr @ 2014-01-06 22:54 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

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 <ndokos@gmail.com> wrote:

> Stephen J. Barr <stevejb@uw.edu> 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 agenda, this does not show up!
> >
> > ########################################
> >
> > *** Teaching
> >     <%%(org-class 2014 1 6 2014 3 10 1 1)> 7:00pm-8:30pm
> >
> > ########################################
> >
> > I would appreciate any advice on this.
> >
>
> Tested it with a minimal .enacs and it works fine for me:
>
> Org-mode version 8.2.4 (release_8.2.4-410-ge23bbd)
>
> Nick
>
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1599 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 21:50 ` Nick Dokos
  2014-01-06 22:54   ` Stephen J. Barr
@ 2014-01-06 23:09   ` Stephen J. Barr
  2014-01-07 21:26     ` Nick Dokos
  1 sibling, 1 reply; 10+ messages in thread
From: Stephen J. Barr @ 2014-01-06 23:09 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

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

ndokos@gmail.com writes:

> Stephen J. Barr <stevejb@uw.edu> 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 agenda, this does not show up!
>>
>> ########################################
>>
>> *** Teaching
>>     <%%(org-class 2014 1 6 2014 3 10 1 1)> 7:00pm-8:30pm
>>
>> ########################################
>>
>> I would appreciate any advice on this.
>>
>
> Tested it with a minimal .enacs and it works fine for me:
>
> Org-mode version 8.2.4 (release_8.2.4-410-ge23bbd)
>
> Nick

-- 
Sent with my mu4e

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 22:54   ` Stephen J. Barr
@ 2014-01-06 23:35     ` Nick Dokos
  2014-01-06 23:45       ` Stephen J. Barr
                         ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Nick Dokos @ 2014-01-06 23:35 UTC (permalink / raw)
  To: emacs-orgmode

"Stephen J. Barr" <stevejb@uw.edu> 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 way it'll appear in
the agenda (but not in the grid, if you use that, and not sorted
correctly - the time is just a label):

*** Teaching 7:00pm-8:30pm
   <%%(org-class 2014 1 6 2014 3 10 1 1)>

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 23:35     ` Nick Dokos
@ 2014-01-06 23:45       ` Stephen J. Barr
  2014-01-07 14:57         ` Dan Griswold
  2014-01-09 16:33       ` Eric S Fraga
  2014-01-09 16:38       ` Eric S Fraga
  2 siblings, 1 reply; 10+ messages in thread
From: Stephen J. Barr @ 2014-01-06 23:45 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

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, 2014 at 3:35 PM, Nick Dokos <ndokos@gmail.com> wrote:

> "Stephen J. Barr" <stevejb@uw.edu> 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 way it'll appear in
> the agenda (but not in the grid, if you use that, and not sorted
> correctly - the time is just a label):
>
> *** Teaching 7:00pm-8:30pm
>    <%%(org-class 2014 1 6 2014 3 10 1 1)>
>
> Nick
>
>
>

[-- Attachment #2: Type: text/html, Size: 1544 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 23:45       ` Stephen J. Barr
@ 2014-01-07 14:57         ` Dan Griswold
  0 siblings, 0 replies; 10+ messages in thread
From: Dan Griswold @ 2014-01-07 14:57 UTC (permalink / raw)
  To: Stephen J. Barr; +Cc: Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]

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 <stevejb@uw.edu> wrote:

> 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, 2014 at 3:35 PM, Nick Dokos <ndokos@gmail.com> wrote:
>
>> "Stephen J. Barr" <stevejb@uw.edu> 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 way it'll appear in
>> the agenda (but not in the grid, if you use that, and not sorted
>> correctly - the time is just a label):
>>
>> *** Teaching 7:00pm-8:30pm
>>    <%%(org-class 2014 1 6 2014 3 10 1 1)>
>>
>> Nick
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2348 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 23:09   ` Stephen J. Barr
@ 2014-01-07 21:26     ` Nick Dokos
  0 siblings, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2014-01-07 21:26 UTC (permalink / raw)
  To: emacs-orgmode

Stephen J. Barr <stephen@planetbarr.com> 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 Argument Lists")

,----
|    To specify optional arguments that may be omitted when a function is
| called, simply include the keyword `&optional' before the optional
| arguments.  To specify a list of zero or more extra arguments, include
| the keyword `&rest' before one final argument.
`----

Nick


   

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 23:35     ` Nick Dokos
  2014-01-06 23:45       ` Stephen J. Barr
@ 2014-01-09 16:33       ` Eric S Fraga
  2014-01-09 16:38       ` Eric S Fraga
  2 siblings, 0 replies; 10+ messages in thread
From: Eric S Fraga @ 2014-01-09 16:33 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> "Stephen J. Barr" <stevejb@uw.edu> 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 way it'll appear in
> the agenda (but not in the grid, if you use that, and not sorted
> correctly - the time is just a label):
>
> *** Teaching 7:00pm-8:30pm
>    <%%(org-class 2014 1 6 2014 3 10 1 1)>
>
> Nick

Does it work if you put the time before the healine text, as the manual
implies (section on time stamps)?  As in

*** 7:00pm-8:30pm Teaching 
    <%%(org-class 2014 1 6 2014 3 10 1 1)>
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.4-322-gece429

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using org-diary
  2014-01-06 23:35     ` Nick Dokos
  2014-01-06 23:45       ` Stephen J. Barr
  2014-01-09 16:33       ` Eric S Fraga
@ 2014-01-09 16:38       ` Eric S Fraga
  2 siblings, 0 replies; 10+ messages in thread
From: Eric S Fraga @ 2014-01-09 16:38 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> "Stephen J. Barr" <stevejb@uw.edu> 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 way it'll appear in
> the agenda (but not in the grid, if you use that, and not sorted
> correctly - the time is just a label):
>
> *** Teaching 7:00pm-8:30pm
>    <%%(org-class 2014 1 6 2014 3 10 1 1)>
>
> Nick

Actually, this does get inserted correctly, i.e. time sorted.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.4-322-gece429

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-09 17:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 20:50 Using org-diary Stephen J. Barr
2014-01-06 21:50 ` Nick Dokos
2014-01-06 22:54   ` Stephen J. Barr
2014-01-06 23:35     ` Nick Dokos
2014-01-06 23:45       ` Stephen J. Barr
2014-01-07 14:57         ` Dan Griswold
2014-01-09 16:33       ` Eric S Fraga
2014-01-09 16:38       ` Eric S Fraga
2014-01-06 23:09   ` Stephen J. Barr
2014-01-07 21:26     ` Nick Dokos

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).