Re: [O] Possible bug in org-cycle with property drawer

2012-01-31 Thread Nicolas Goaziou
Hello, Bastien writes: > I suggest this: > > (defconst org-persistent-drawers '(...)) > (defcustom org-custom-drawers '(...)) > > Then local value of org-drawers would be computed by combining the two > (with duplicates deletion.) In another thread (http://article.gmane.org/gmane.emacs.orgmode/

Re: [O] Possible bug in org-cycle with property drawer

2012-01-31 Thread Achim Gratz
Bastien writes: > I suggest this: > > (defconst org-persistent-drawers '(...)) > (defcustom org-custom-drawers '(...)) "Persistent" doesn't sound right to me, but "system" is also ringing a bit hollow. Maybe one of the native english speakers has a better idea of what name would be a more approp

Re: [O] Possible bug in org-cycle with property drawer

2012-01-29 Thread Bastien
Achim Gratz writes: > Bastien writes: >> This is quite a hypothetical case: the default value for `org-drawers' >> contains drawers that are hardcoded and correspond to key features: I >> cannot figure out a good reason for *not* having these drawers in the >> configuration. > > As a customized

Re: [O] Possible bug in org-cycle with property drawer

2012-01-29 Thread Achim Gratz
Bastien writes: > This is quite a hypothetical case: the default value for `org-drawers' > contains drawers that are hardcoded and correspond to key features: I > cannot figure out a good reason for *not* having these drawers in the > configuration. As a customized variable org-drawers can have a

Re: [O] Possible bug in org-cycle with property drawer

2012-01-28 Thread Bastien
Hi Achim, Achim Gratz writes: > Bastien writes: >> Thinking again about your problem, I don't find it natural to >> have #+DRAWERS /replacing/ existing drawers specified in `org-drawers', >> instead of just adding new ones. > > Well, if one had defined a lot of drawers in their configuration an

Re: [O] Possible bug in org-cycle with property drawer

2012-01-26 Thread Achim Gratz
Bastien writes: > Thinking again about your problem, I don't find it natural to > have #+DRAWERS /replacing/ existing drawers specified in `org-drawers', > instead of just adding new ones. Well, if one had defined a lot of drawers in their configuration and wanted the list to be trimmed in a few

Re: [O] Possible bug in org-cycle with property drawer

2012-01-26 Thread Nick Dokos
Bastien wrote: > Hi Nick, > > Nick Dokos writes: > > > That's it: I had a > > > > #+DRAWERS: JUNK GARBAGE TRASH > > > > line in the file (and I didn't report it in the original email: blush! > > sorry about that). Without it, the property drawer behaves normally. > > Thinking again about yo

Re: [O] Possible bug in org-cycle with property drawer

2012-01-26 Thread Eric S Fraga
Bastien writes: > Nick Dokos writes: > >> I start emacs with a minimal .emacs and an empty org file, insert >> a headline and insert a property drawer with >> org-insert-property-drawer. > > Note that a similar problem can occur with `org-insert-drawer' if > the inserted drawer is not known as

Re: [O] Possible bug in org-cycle with property drawer

2012-01-26 Thread Bastien
Hi Nick, Nick Dokos writes: > That's it: I had a > > #+DRAWERS: JUNK GARBAGE TRASH > > line in the file (and I didn't report it in the original email: blush! > sorry about that). Without it, the property drawer behaves normally. Thinking again about your problem, I don't find it natural to ha

Re: [O] Possible bug in org-cycle with property drawer

2012-01-25 Thread Nick Dokos
Bastien wrote: > Hi Nick, > > Nick Dokos writes: > > > I start emacs with a minimal .emacs and an empty org file, insert > > a headline and insert a property drawer with org-insert-property-drawer. > > > > The drawer starts out folded and TAB does not unfold it. I fold the headline > > and unf

Re: [O] Possible bug in org-cycle with property drawer

2012-01-25 Thread Nick Dokos
Carsten Dominik wrote: > Do you have a newline after the :END: line? > I did, but I tried it both with and without and it does not seem to make any difference. Thanks, Nick > > On 25.1.2012, at 15:48, Nick Dokos wrote: > > > I start emacs with a minimal .emacs and an empty org file, insert

Re: [O] Possible bug in org-cycle with property drawer

2012-01-25 Thread Bastien
Nick Dokos writes: > I start emacs with a minimal .emacs and an empty org file, insert > a headline and insert a property drawer with > org-insert-property-drawer. Note that a similar problem can occur with `org-insert-drawer' if the inserted drawer is not known as such in the current buffer.

Re: [O] Possible bug in org-cycle with property drawer

2012-01-25 Thread Bastien
Hi Nick, Nick Dokos writes: > I start emacs with a minimal .emacs and an empty org file, insert > a headline and insert a property drawer with org-insert-property-drawer. > > The drawer starts out folded and TAB does not unfold it. I fold the headline > and unfold it: the property drawer is now

Re: [O] Possible bug in org-cycle with property drawer

2012-01-25 Thread Carsten Dominik
Do you have a newline after the :END: line? - Carsten On 25.1.2012, at 15:48, Nick Dokos wrote: > I start emacs with a minimal .emacs and an empty org file, insert > a headline and insert a property drawer with org-insert-property-drawer. > > The drawer starts out folded and TAB does not unfold

[O] Possible bug in org-cycle with property drawer

2012-01-25 Thread Nick Dokos
I start emacs with a minimal .emacs and an empty org file, insert a headline and insert a property drawer with org-insert-property-drawer. The drawer starts out folded and TAB does not unfold it. I fold the headline and unfold it: the property drawer is now unfolded and TAB does *not* fold it. In