unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#572: patch which seems to fix it
@ 2008-08-03 21:43 joakim
  0 siblings, 0 replies; only message in thread
From: joakim @ 2008-08-03 21:43 UTC (permalink / raw)
  To: 572

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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-03 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-03 21:43 bug#572: patch which seems to fix it joakim

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).