emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problems with Hyperlinks containing backslashes


From: Nicolas Goaziou
Subject: Re: [O] Problems with Hyperlinks containing backslashes
Date: Thu, 09 Apr 2015 19:46:40 +0200

"Martin Beck" <address@hidden> writes:

>>> w32-shell-execute("open" "\\\\servername\\dir1\\dir2")
>>> eval((w32-shell-execute "open" file))
>>> It seems that Emacs automatically replaces each backslash with a
>>> double backslash.
>>> How can I change that so that it is working?
>> IIRC it is fixed in development branch of Org. You may want to use
> it or
>> wait for Org 8.3 to be released.
> Salut Nicolas,
> thanks a lot - indeed with the current org-lastest, the above
> mentioned problem seems to be solved.
> However I'm still having problem with paths like that:
> [[file+sys:\\servername.domain.de\dir\]]
> which produce the error "No such file c:/servername.domain.de/dir/"

I cannot reproduce it. However, I don't use Windows either. The part of
code responsible for URI normalization is located in
`org-element-link-parser':

        (when (and (file-name-absolute-p path)
                   (not (org-string-match-p "\\`[/~]/" path)))
          (setq path (concat "//" path)))

The "c:" is added elsewhere.

Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]