From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Issue with commit 6062f9e in ox-publish Date: Tue, 25 Mar 2014 16:09:24 +0100 Message-ID: <8761n2wc0r.fsf@gmail.com> References: <87lhvyk5lx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSSyM-0006Jd-Q3 for emacs-orgmode@gnu.org; Tue, 25 Mar 2014 11:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSSyH-0005Cu-Vi for emacs-orgmode@gnu.org; Tue, 25 Mar 2014 11:09:02 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:50713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSSyH-0005Cq-LP for emacs-orgmode@gnu.org; Tue, 25 Mar 2014 11:08:57 -0400 Received: by mail-wg0-f52.google.com with SMTP id k14so417647wgh.35 for ; Tue, 25 Mar 2014 08:08:56 -0700 (PDT) In-Reply-To: (steckerhalter's message of "Tue, 25 Mar 2014 15:56:18 +0100") 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: steckerhalter Cc: emacs-orgmode@gnu.org steckerhalter writes: > I still get an error: > > Debugger entered--Lisp error: (args-out-of-range # org-mode-blog/posts/blogging-with-org-mode.org> 0 33) > match-string(1) > > I think you need to provide the original string to match-string, so either > "let" it or like so: > > @@ -1171,7 +1171,7 @@ the file including them will be republished as well." > (and (eq (org-element-type element) 'keyword) > (string-match "^\\(\".+?\"\\|\\S-+\\)" > (org-element-property :value element)) > - (org-remove-double-quotes (match-string 1))))) > + (org-remove-double-quotes (match-string 1 (org-element-property > :value element)))))) > (when included-file > (add-to-list 'included-files-ctime > (org-publish-cache-ctime-of-src > > with this change it works for me Doh. This should be fixed... hopefully. Thank you again. Regards, -- Nicolas Goaziou