0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 02:10:43 +00:00
org-mode/lisp
Carsten Dominik b52ba29529 Improve file link matching.
Michael Ekstrand wrote:

    I've been trying to work with links to man pages in
    Org (using org-man.el).  When I try to create a link to a
    Perl module in the File package namespace, however,
    `org-insert-link' tries to do its same-file link detection
    and winds up breaking the link.  The result is that the link

       man:File::MimeInfo

    gets rewritten to

       file::MimeInfo

    Naturally, this isn't what I want.  Looking at
    `org-insert-link', it seems that the problem may be that its
    same-file link detection is matching 'file:' at
    beginning-of-word, which it is in this case.  In the general
    case for which 'file:' detection is being used, is there a
    reason to match against `\<' rather than `^' or
    `^[[:space:]]*'?  Changing to one of the latter two
    expressions would, I believe, keep it From rewriting these
    links I am trying to create.

Michael is right, and I have made this change.
2008-11-18 07:53:54 +01:00
..
ChangeLog Improve file link matching. 2008-11-18 07:53:54 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-archive.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-attach.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-bbdb.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-bibtex.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-clock.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-colview-xemacs.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-colview.el New face or agenda datelines during column view. 2008-11-17 17:49:58 +01:00
org-compat.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-exp.el Fix typo. 2008-11-17 10:02:09 +01:00
org-export-latex.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-faces.el New face or agenda datelines during column view. 2008-11-17 17:49:58 +01:00
org-gnus.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-id.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-info.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-irc.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-jsinfo.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-list.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-mac-message.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-macs.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-mew.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-mhe.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-mouse.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-plot.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-publish.el Use index title as page tile, not as section. 2008-11-17 14:44:10 +01:00
org-remember.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-rmail.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-table.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-vm.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org-wl.el Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
org.el Improve file link matching. 2008-11-18 07:53:54 +01:00