From: Daimrod <daimrod@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Some links not working anymore for me
Date: Tue, 11 Mar 2014 13:43:41 +0900 [thread overview]
Message-ID: <87bnxdfipu.fsf@tanger.home> (raw)
In-Reply-To: <871ty94dm3.fsf@iro.umontreal.ca> ("François Pinard"'s message of "Mon, 10 Mar 2014 23:29:24 -0400")
François Pinard <pinard@iro.umontreal.ca> writes:
> Hi, Org people.
Hello,
> For a little while, I've not been able to follow links to Org files,
> when the link contains a search to some header, and the searched header
> itself contains white space or non-ASCII characters. I just made this
> patch that apparently helps me out of this new little misery :-). The
> patch is only indicative: I'm not sure it is the proper way to solve the
> difficulty, as I do not really understand all the code surrounding it!
See this commit 8 days ago:
567ec87 * | Unescape links before opening them
> diff --git a/lisp/org.el b/lisp/org.el
> index a0ed137..5c41b52 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -10555,7 +10555,8 @@ is used internally by `org-open-link-from-string'."
> (cond ((not option) nil)
> ((org-string-match-p "\\`[0-9]+\\'" option)
> (list (string-to-number option)))
> - (t (list nil option))))))))
> + (t (list nil
> + (org-link-unescape option)))))))))
> ((assoc type org-link-protocols)
> (funcall (nth 1 (assoc type org-link-protocols)) path))
> ((equal type "help")
>
> François
>
--
Daimrod/Greg
prev parent reply other threads:[~2014-03-11 4:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-11 3:29 Some links not working anymore for me François Pinard
2014-03-11 4:43 ` Daimrod [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnxdfipu.fsf@tanger.home \
--to=daimrod@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.