From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] [PATCH] Warn about unexpanded macros on export Date: Tue, 23 Sep 2014 23:10:14 +0200 Message-ID: <87h9zyf3gp.fsf@nicolasgoaziou.fr> References: <87k34zqv9r.fsf@gmail.com> <87bnqbv27b.fsf@nicolasgoaziou.fr> <87fvfjow6p.fsf@gmail.com> <871tr2p866.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWXLG-0005AK-3A for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 17:09:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWXL7-0006O0-PD for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 17:09:45 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:32770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWXL7-0006NP-Jk for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 17:09:37 -0400 In-Reply-To: (Jacob Gerlach's message of "Tue, 23 Sep 2014 13:29:07 -0400") 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: Jacob Gerlach Cc: Org-mode Hello, Jacob Gerlach writes: > 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) I have no objection to return an error when a fuzzy link, and id link or a custom id link cannot be matched. However, I do not like the idea of configurability as it would make the code a bit more complex for little gain. Regards, -- Nicolas Goaziou