Re: [O] [RFC] [PATCH] org.el: fix ‘org-buffer-property-keys’

2014-08-30 Thread Aaron Ecay
Hi Nicolas, 2014ko abuztuak 28an, Nicolas Goaziou-ek idatzi zuen: [...] > > Nevertheless, I think we should take a radical different approach, as > discussed recently with Bastien, which is to enforce property drawers to > start on the line right after the headline and maybe the planning info,

Re: [O] [RFC] [PATCH] org.el: fix ‘org-buffer-property-keys’

2014-08-28 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > + (unless (eq (org-element-type (org-element-at-point)) > 'property-drawer) > + (throw 'cont nil)) > (setq range (or (org-get-property-block) > (if (y-or-n-p >(format "Malformed dra

[O] [RFC] [PATCH] org.el: fix ‘org-buffer-property-keys’

2014-08-26 Thread Aaron Ecay
* lisp/org.el (org-buffer-property-keys): Only match real property drawers. This patch adds an org-element based check. Otherwise the following triggers a bogus prompt to fix a malformed drawer on typing M-: (org-buffer-property-keys) * foo (add-to-list 'org-capture-templates '(