From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tod Middlebrook 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: Tue, 12 Nov 2013 04:47:17 -0600 Message-ID: <87y54t28y2.fsf@gmail.com> References: <87txfjy3vg.fsf@gmail.com> <874n7iho2t.fsf@bzg.ath.cx> <87siv24lzg.fsf@gmail.com> <87mwladulx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgBVI-0001Xv-H3 for emacs-orgmode@gnu.org; Tue, 12 Nov 2013 05:47:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgBVB-0005Du-I5 for emacs-orgmode@gnu.org; Tue, 12 Nov 2013 05:47:28 -0500 Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:51690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgBVB-0005Do-Dw for emacs-orgmode@gnu.org; Tue, 12 Nov 2013 05:47:21 -0500 Received: by mail-ie0-f171.google.com with SMTP id at1so3525668iec.2 for ; Tue, 12 Nov 2013 02:47:20 -0800 (PST) In-reply-to: <87mwladulx.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Bastien, I apologize for the mishaps of sending from the wrong address that time and for somehow leaving off the commentary that I thought was sent with the code block. Is it a trivial fix to alter drawer and possibly other element regexps to never match anything inside of a code block, or should I add it to http://orgmode.org/tmp/worg/org-issues.html ? Tod bzg@altern.org writes: > Hi Tod, > > Tod Middlebrook writes: > >> * 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} >> :NAME: %^{Full Name} >> :END: >> %? >> ")))) >> #+END_SRC >> :PROPERTIES: >> :NAME: org-capture-templates >> :DEPENDS: org >> :END: > > Simply put property drawers right after the headline, or just don't > put source-code-blocks-containing-property-drawers between headline > and real property drawers.