On May 5, 2008, at 3:29 PM, Alan E. Davis wrote:
the drawer cannot contain a headline, i.e. a line starting with one
or several stars followed by a space character. Most likely, this
is what was causing you problems?
Exactly.
A case I can think of---perhaps not convincing?---for regular
expression of drawer names is a file with many pasted in, lengthy
notes or data sets. So as to be able to distinguish them without
opening them, one might wish to title them:
:DATA-PROFILE1:
:DATA-PROFILE2X:
:DATA-TRANSECT_A:
:DATA-SALINITY-2008-04-29:
An extremely simple regular expression would be "DATA.*" . One can
argue, convincingly, that each data set would best be stored in a
file, and could be linked to.
I did have two sets of calendars from 1984 and 1985 that were not
huge, but were in the way. I can as easily entitle each with a
headline, then brace them in :CACHE: drawers.
You have convinced me, but I hope I would not bore you by asking you
for comments about this.
Of course, not, I always like to get feedback and new ideas.
As for your example, I do think that headlines with a drawer below
them would be just as useful and efficient in this case. Seems that
you agree, so for now: no regexp for drawer names. But I put it on my
list, maybe now that you suggested it, I will actually find a use for
this.
Thanks.
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode