emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-class and headers


From: Joseph Le Roux
Subject: Re: [O] org-class and headers
Date: Wed, 22 Oct 2014 22:34:34 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (darwin)

Eric S Fraga <address@hidden> writes:

> On Tuesday, 21 Oct 2014 at 16:47, Joseph Le Roux wrote:
>> Rasmus <address@hidden> writes:
>
> [...]
>
>>> Will `org-clone-subtree-with-time-shift' do what you want?
>>>
>>
>> Thanks for the pointer, it could be very handy in my use-case, but this
>> function copies the org-class as is for all clones. I would like to
>
> The idea is to use the clone function and not the org-class
> expression.  Combining the two simply confuses things!
>
> What I do every start of term is define an entry for each lecture slot
> in a week including the actual time information, lecture theatre,
> etc.  I then clone each individual entry using +1w for the number of
> weeks in the term.  I remove any subtrees generated that correspond to
> lectures that do not actually exist, e.g. they fall on a holiday or
> during our study week.
>
> Later, if an individual lecture gets cancelled, I simply remove the
> corresponding subtree as I do for holidays etc.

Thank you Eric, I'll follow the advice. As Rasmus showed,
'org-clone-subtree-with-time-shift' works with a timestamp, but it does
not with (the result of) an org-class call. Ideally, what I would like
to do is to specify a set of classes using org-class syntax and, as a
result, get a set of headers. 'org-class' is a powerful tool, but just
not powerful enough yet...


--
Joseph Le Roux

RCLN, LIPN, Université Paris 13
Tel: +33 (0) 1 49 40 40 81
Fax: +33 (0) 1 48 26 51 12
URL: http://lipn.univ-paris13.fr/~leroux



reply via email to

[Prev in Thread] Current Thread [Next in Thread]