From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: property drawers within code blocks interfere [8.2.2 (8.2.2-elpa @ /home/tod/.emacs.d/.cask/24.3.50.1/elpa/org-20131108/)] Date: Mon, 11 Nov 2013 17:59:06 +0100 Message-ID: <874n7iho2t.fsf@bzg.ath.cx> References: <87txfjy3vg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfupZ-0004J4-9G for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 11:59:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfupT-0007df-F5 for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 11:59:17 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:48791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfupT-0007dR-8c for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 11:59:11 -0500 Received: by mail-wg0-f52.google.com with SMTP id z12so3734192wgg.31 for ; Mon, 11 Nov 2013 08:59:10 -0800 (PST) In-Reply-To: <87txfjy3vg.fsf@gmail.com> (Tod Middlebrook's message of "Sun, 10 Nov 2013 22:11:15 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tod Middlebrook Cc: emacs-orgmode@gnu.org Hi Tod, Tod Middlebrook writes: > The bug below prevents me from easily using dependencies in org-dotemacs. > > To reproduce, > start with this entry: > > *** stuff for bug report > #+BEGIN_SRC emacs-lisp > (setq org-capture-templates > (quote > ( > ("c" "Contacts" entry (file+headline "~/my-stuff/file.org" "Contacts") > "* %^{Name: } > :PROPERTIES: > :EMAIL: %^{Email} > :PHONE: %^{Phone number} > :END: > %? > ")))) > #+END_SRC > > Then do C-c C-x p EMAIL [RET] TestValue, and get the same block, with > the properties drawer folded. When expanded, there is: > > *** stuff for bug report > #+BEGIN_SRC emacs-lisp > (setq org-capture-templates > (quote > ( > ("c" "Contacts" entry (file+headline "~/my-stuff/file.org" "Contacts") > "* %^{Name: } > :PROPERTIES: > :EMAIL: TestValue > :PHONE: %^{Phone number} > :END: > %? > ")))) > #+END_SRC I'm not sure to understand what the problem is exactly: if the problem is that `C-x C-c p' works in the context of source code blocks, we can easily fix it. If the problems is that such properties are matched in contexts where they should not, we need more information about when you observe the wrong behavior, i.e. in what context do you see the properties taken into account while you expect them to be ignored? Thanks in advance for further details, -- Bastien