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

> I'm fine with this. Here is the patch extended to take this into
> account, which is mostly deleting all the code that deals with headline
> match when `org-link-search-must-match-exact-headline' is nil.

Thanks. Some comments follow.

> -file:projects.org::*task title            @r{heading search in Org file}
> +file:projects.org::*task title            @r{heading search in Org 
> file}@footnote{
> +Headline searches always match the exact headline. If the headline is not
                                                    ^^^
                                                 two spaces

It looks good.

However, there is a small discrepancy between `org-link-search' and
`org-export-resolve-fuzzy-link' ("ox.el"). In the latter, matches
against headlines ignore white spaces between words. I think it should
be fixed either way (removing the feature in "ox.el" or adding it in
"org.el") at some point.

Also, would you mind adding a test in test-org/fuzzy-links
("test-org.el") and an entry in ORG-NEWS?


Regards,

Reply via email to