From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: ascii section references for id links can be inline? Date: Sat, 11 Mar 2017 19:03:36 -0700 Message-ID: References: <87bmtd4jaf.fsf@nicolasgoaziou.fr> <877f403bsb.fsf@nicolasgoaziou.fr> <87d1dpbmmi.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmsrF-00035U-P5 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 21:03:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmsrE-0004MI-Qk for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 21:03:41 -0500 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:34272) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmsrE-0004Jd-LM for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 21:03:40 -0500 Received: by mail-vk0-x22b.google.com with SMTP id r136so22420420vke.1 for ; Sat, 11 Mar 2017 18:03:38 -0800 (PST) In-Reply-To: <87d1dpbmmi.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org On 3/10/17, Nicolas Goaziou wrote: >> the behavior i found occurs when you use a link that refers outside >> the exported subtree, which i'd classify as user error. can that be >> made to raise an error signal? >> >> "you are linking to outside the subtree being exported. the result >> will be meaningless for the typical recipient of the export." > > This is a user error then. Besides, both files could belong to the same > publishing project. just to clarify, that was a proposed error message and a hypothesized cause. while i personally think an error in this case could be useful, at least for people like myself who always export subtrees, it's not huge. > If you are sure you don't want to export these, just filter them out of > the output using a hook or a filter. just to clarify, i would always want to export them, but to be told by org that i am referring to outside what i am exporting.