emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ascii section references for id links can be inline?
Date: Fri, 10 Mar 2017 08:45:57 +0100	[thread overview]
Message-ID: <87d1dpbmmi.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJcAo8vVTjuLP1W+YWBhsFXXUyWcdBgXvTnKB7JEB7goTfvp5g@mail.gmail.com> (Samuel Wales's message of "Thu, 9 Mar 2017 17:28:45 -0700")

Hello,

Samuel Wales <samologist@gmail.com> writes:

> On 3/7/17, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>> Odd. In maint, the following document
>>
>>   * Headline
>>   :PROPERTIES:
>>   :id:       whatever
>>   :END:
>>
>>
>>   See [[id:whatever]] !
>>
>> results in
>>
>>   1 Headline
>>   ══════════
>>
>>     See 1 !
>
> 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.

If you are sure you don't want to export these, just filter them out of
the output using a hook or a filter.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-03-10  7:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07  3:59 ascii section references for id links can be inline? Samuel Wales
2017-03-07  7:50 ` Nicolas Goaziou
2017-03-07 20:51   ` Samuel Wales
2017-03-07 23:30     ` Nicolas Goaziou
2017-03-10  0:28       ` Samuel Wales
2017-03-10  7:45         ` Nicolas Goaziou [this message]
2017-03-12  2:03           ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1dpbmmi.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).