emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: doc patch: move footnote in external links
Date: Sun, 11 Jan 2015 23:00:48 +0100	[thread overview]
Message-ID: <87twzxdlkf.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m2y4pau7lu.fsf@polytechnique.org> (Alan Schmitt's message of "Sat, 10 Jan 2015 13:45:49 +0100")

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> Here is an updated patch. I can push it or not, depending on the issue
> below.

Thanks. The patch is OK.

> I have looked at the code and it works *very* differently. I think I can
> make the `org-export-resolve-fuzzy-link' take spaces into accounts for
> headlines, but I don't see how it is "fuzzy".

I'd rather ignore whitespace when matching headlines. It can be useful
when skipping statistics cookies. E.g.,

 * Completed: [33%] so far

can be matched with either [[Completed: so far]] and [[Completed:  so far]].

[[fuzzy]]-like links are fuzzy because they can match either a headline,
a #+NAME or a <<target>>.

I lean towards making the change the other way.

>> Also, would you mind adding a test in test-org/fuzzy-links
>> ("test-org.el") and an entry in ORG-NEWS?
>
> I guess this should be done if I change `org-export-resolve-fuzzy-link',
> or should I do it anyway?

I think a test would be nice for the change you are making to
`org-link-search', i.e, you can extend "test-org/fuzzy-links" (part with
[[*Test]]) to ensure that match is exact, independently on
`org-link-search-must-match-exact-headline'.

Regards,

  reply	other threads:[~2015-01-11 21:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12  7:31 doc patch: move footnote in external links Alan Schmitt
2014-12-12 17:29 ` Nicolas Goaziou
2014-12-13  9:43   ` Alan Schmitt
2014-12-13 14:17     ` Nicolas Goaziou
2014-12-16 17:20       ` Alan Schmitt
2014-12-16 21:54         ` Nicolas Goaziou
2014-12-17 16:33           ` Alan Schmitt
2014-12-20 22:15             ` Nicolas Goaziou
2015-01-10 12:45               ` Alan Schmitt
2015-01-11 22:00                 ` Nicolas Goaziou [this message]
2015-01-12  7:40                   ` Alan Schmitt
2015-01-12  8:43                     ` Nicolas Goaziou
2015-01-12 11:12                       ` Alan Schmitt
2015-01-12 22:56                         ` Nicolas Goaziou
2015-01-14 13:19                           ` Alan Schmitt
2015-01-16  8:57                             ` Nicolas Goaziou
2015-02-07 11:23                               ` Alan Schmitt
2015-02-07 21:44                                 ` Nicolas Goaziou

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=87twzxdlkf.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /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).