From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Add the capture feature "%(sexp)" to org-feed Date: Sat, 11 Aug 2012 18:55:45 +0200 Message-ID: <87obmhv04u.fsf@gnu.org> References: <7822.1339898820@alphaville> <87y5lqe21l.fsf@gnu.org> <87liho86cp.fsf@gnu.org> <87a9y3m8ko.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Ey7-0004DQ-0r for emacs-orgmode@gnu.org; Sat, 11 Aug 2012 12:55:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0Ey5-0008Dd-PG for emacs-orgmode@gnu.org; Sat, 11 Aug 2012 12:55:18 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:59817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Ey5-0008DR-Iw for emacs-orgmode@gnu.org; Sat, 11 Aug 2012 12:55:17 -0400 Received: by weys10 with SMTP id s10so1825848wey.0 for ; Sat, 11 Aug 2012 09:55:16 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Sat, 11 Aug 2012 17:31:00 +0200") 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: Michael Brand Cc: Org Mode Hi Michael, Michael Brand writes: > Thank you for making `org-capture-inside-embedded-elisp-p' much > clearer. I was not sure if you really wanted to omit switching to > Emacs Lisp Mode although it is useful for example for “%(length ")")”. > So I attach a new patch where I restored this part, now cleaner too. > Also a small change against your latest patch to not stop at “%” > without following “(” and possibly miss a “%(” before. Thanks. Actually we don't need the whole emacs-lisp-mode so that forward-sexp do something sensible. This is enough: (with-syntax-table emacs-lisp-mode-syntax-table ...) See the commit I just pushed: http://orgmode.org/w/?p=org-mode.git;a=commit;h=042db3 > I temporarily emptied “:FEEDSTATUS:” in all my feeds and updated them > and also tried some odd artificial examples. All works the same as > with my first patch. Can you please review this new patch compared > against your latest and apply when appropriate? Done. Thanks again for your patience, -- Bastien