From: joakim@verona.se
To: 572@emacsbugs.donarmstrong.com
Subject: bug#572: patch which seems to fix it
Date: Sun, 03 Aug 2008 23:43:01 +0200 [thread overview]
Message-ID: <m38wvdwza2.fsf@verona.se> (raw)
Removing the () from the regexp seems to fix this.
The OP:s assesment that () are valid in an url is correct.
=== modified file 'lisp/thingatpt.el'
*** lisp/thingatpt.el 2008-05-06 13:57:18 +0000
--- lisp/thingatpt.el 2008-08-03 21:38:46 +0000
***************
*** 208,214 ****
(goto-char (point-min)))))
(defvar thing-at-point-url-path-regexp
! "[^]\t\n \"'()<>[^`{}]*[^]\t\n \"'()<>[^`{}.,;]+"
"A regular expression probably matching the host and filename or e-mail part of a URL.")
(defvar thing-at-point-short-url-regexp
--- 208,214 ----
(goto-char (point-min)))))
(defvar thing-at-point-url-path-regexp
! "[^]\t\n \"'<>[^`{}]*[^]\t\n \"'<>[^`{}.,;]+"
"A regular expression probably matching the host and filename or e-mail part of a URL.")
(defvar thing-at-point-short-url-regexp
--
Joakim Verona
reply other threads:[~2008-08-03 21:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=m38wvdwza2.fsf@verona.se \
--to=joakim@verona.se \
--cc=572@emacsbugs.donarmstrong.com \
/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.