Re: [Orgmode] [PATCH] Quote any special characters in org-make-target-link-regexp

2010-12-16 Thread Carsten Dominik
Lawrence, thanks for the patch, with flawless ChangeLog and commit message! Patch accepted. - Carsten On Dec 14, 2010, at 4:01 PM, Lawrence Mitchell wrote: * lisp/org.el (org-make-target-link-regexp): regexp-quote target before replacing whitespace. Previously a radio link ... would match

[Orgmode] [PATCH] Quote any special characters in org-make-target-link-regexp

2010-12-15 Thread Lawrence Mitchell
* lisp/org.el (org-make-target-link-regexp): regexp-quote target before replacing whitespace. Previously a radio link ... would match all three-letter words in the buffer. The manual indicates the radio links are meant to match literally (modulo whitespace differences), so we should regexp-quote