From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ox-beamer and CUSTOM_ID Date: Fri, 16 Oct 2015 22:59:37 +0200 Message-ID: <87wpumcyx2.fsf@nicolasgoaziou.fr> References: <87pp0izi1f.fsf@nicolasgoaziou.fr> <87h9luzgyd.fsf@nicolasgoaziou.fr> <874mhuze22.fsf@nicolasgoaziou.fr> <87vbaaxvia.fsf@nicolasgoaziou.fr> <87k2qpy85j.fsf@nicolasgoaziou.fr> <87wpuowmrn.fsf@nicolasgoaziou.fr> <87oafz6hgx.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnC4a-0008NC-5R for emacs-orgmode@gnu.org; Fri, 16 Oct 2015 16:57:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnC4Z-0005DY-AK for emacs-orgmode@gnu.org; Fri, 16 Oct 2015 16:57:56 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:35902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnC4Z-0005DB-3b for emacs-orgmode@gnu.org; Fri, 16 Oct 2015 16:57:55 -0400 In-Reply-To: (Fabrice Popineau's message of "Thu, 15 Oct 2015 22:20:38 +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: Fabrice Popineau Cc: "emacs-orgmode@gnu.org" Fabrice Popineau writes: > My small patch worked only for labels with colon. > With more extensive testing, I can propose this one against maint : Thank you > diff --git a/vendor/org-mode/lisp/ox-beamer.el > b/vendor/org-mode/lisp/ox-beamer.el > index 73d8a76..ee4f0d7 100644 > --- a/vendor/org-mode/lisp/ox-beamer.el > +++ b/vendor/org-mode/lisp/ox-beamer.el > @@ -335,11 +335,11 @@ property, or a fallback value built from headline's > number. This > function assumes HEADLINE will be treated as a frame." > (let ((opt (org-element-property :BEAMER_OPT headline))) > (if (and (stringp opt) > - (string-match "\\(?:^\\|,\\)label=\\(.*?\\)\\(?:$\\|,\\)" opt)) > + (string-match "\\(?:^\\|,\\)label={?\\(.*?\\)}?\\(?:$\\|,\\)" It would remove un-balanced curly brackets, which may or may not be a good idea. I took the liberty to apply a patch based off yours on maint. Hopefully, the issue should be solved. Regards,