From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: Re: [RFC] [PATCH] Warn about unexpanded macros on export Date: Tue, 23 Sep 2014 13:29:07 -0400 Message-ID: References: <87k34zqv9r.fsf@gmail.com> <87bnqbv27b.fsf@nicolasgoaziou.fr> <87fvfjow6p.fsf@gmail.com> <871tr2p866.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043d67779c50a20503bee7cd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWTtz-00081l-O0 for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 13:29:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWTtq-0004BT-JK for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 13:29:23 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:38146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWTtq-0004Am-CG for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 13:29:14 -0400 Received: by mail-wg0-f43.google.com with SMTP id y10so5041279wgg.26 for ; Tue, 23 Sep 2014 10:29:08 -0700 (PDT) In-Reply-To: <871tr2p866.fsf@gmail.com> 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: Org-mode --f46d043d67779c50a20503bee7cd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable While I expect that there's no code overlap with macro expansion, I asked about similar "stop on unresolved content" behavior with respect to links here: http://article.gmane.org/gmane.emacs.orgmode/90010/ That discussion died off so I thought I'd bring up the topic again here. Would it be possible to cause export to stop (configurably, as discussed) when a link can't be resolved instead of just applying a special format (i.e. org-latex-link-with-unknown-path-format) On Tue, Sep 23, 2014 at 1:18 PM, Aaron Ecay wrote: > Hi Grant, > > 2014ko irailak 23an, Grant Rettke-ek idatzi zuen: > > > > Aaron may I trouble you to add a flag so that if such errors occur > > then the export fails? > > > > From my perspective, if the document doesn't "compile", then nothing > > should succeed. > > > > Compile includes export from my perspective. > > Indeed, that=E2=80=99s the direction that the next iteration of this patc= h will > move, motivated by your and Nicolas=E2=80=99s comments. > > Thanks, > > -- > Aaron Ecay > > --f46d043d67779c50a20503bee7cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
While I expect that there's no code overlap with macro= expansion, I asked about similar "stop on unresolved content" be= havior with respect to links here:=C2=A0http://article.gmane.org/gmane.emacs.orgmode/9= 0010/

That discussion died off so I thought I'd = bring up the topic again here.

Would it be possibl= e to cause export to stop (configurably, as discussed) when a link can'= t be resolved instead of just applying a special format (i.e.=C2=A0org-late= x-link-with-unknown-path-format)

=
On Tue, Sep 23, 2014 at 1:18 PM, Aaron Ecay <= aaronecay@gmail.com> wrote:
Hi Grant,

2014ko irailak 23an, Grant Rettke-ek idatzi zuen:
>
> Aaron may I trouble you to add a flag so that if such errors occur
> then the export fails?
>
> From my perspective, if the document doesn't "compile", = then nothing
> should succeed.
>
> Compile includes export from my perspective.

Indeed, that=E2=80=99s the direction that the next iteration of this= patch will
move, motivated by your and Nicolas=E2=80=99s comments.

Thanks,

--
Aaron Ecay


--f46d043d67779c50a20503bee7cd--