When trying to jump back to some links that I'd saved in make logs, I
got what appeared to be a hang in Emacs. Here's an example link (with
the identifying bits taken out, I'm afraid)

[[file:/some/where/build.log::make%5B3%5D:%20***%20%5Bfoo.o%5D%20Error%201][My message]]

The problem seems to be that ORG-LINK-SEARCH gets an input with regex
special characters in ("***" in this case). Then the WORDS variable, set
on line 11054 by splitting the input on whitespace, is used in re4 and
re5 without quoting.

Rewriting line 11054 to set WORDS to

   (mapcar #'regexp-quote (org-split-string s "[ \n\r\t]+"))

seems to fix things for me.


Rupert


Emacs  : GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll 
bars)
 of 2014-06-27 on xl-cam-rhel6test
Package: Org-mode version 8.3beta (release_8.3beta-245-g3a1fff @ /home/ruperts/.emacs.d/libraries/org-mode/lisp/)

Reply via email to