unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5329: goto-address regular expression
@ 2010-01-06 14:43 ` Daniel Carvalho
  2010-01-07 21:25   ` bug#5329: marked as done (goto-address regular expression) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Carvalho @ 2010-01-06 14:43 UTC (permalink / raw)
  To: bug-gnu-emacs

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:




The goto-address minor-mode does not match the urls of the emacs official
online documentation, because they use parentesis!
For example, here it only matches until the "?"
http://www.cs.cmu.edu/cgi-bin/info2www?(elisp)Using%20Interactive

I tried to fix the regex
(setq goto-address-url-regexp
  (concat "\\b\\(s?https?\\|ftp\\|file\\|gopher\\|news\\|"
	  "telnet\\|wais\\):\\(//[-a-zA-Z0-9_.]+:"
	  "[0-9]*\\)?[-a-zA-Z0-9_=?#$@~`%&*+|\\/.,()]*"
	  "[-a-zA-Z0-9_=#$@~`%&*+|\\/()]"))

and now it displays well but when I click a url, it seems it is still
using the old regex



In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-10 on vernadsky, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--build=i486-linux-gnu'
'--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed'
'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: pt_PT.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  savehist-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#5329: marked as done (goto-address regular expression)
  2010-01-06 14:43 ` bug#5329: goto-address regular expression Daniel Carvalho
@ 2010-01-07 21:25   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2010-01-07 21:25 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-bug-tracker

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

Your message dated Thu, 07 Jan 2010 16:24:15 -0500
with message-id <g4r5q1fw1s.fsf@fencepost.gnu.org>
and subject line Re: bug#5329: goto-address regular expression
has caused the Emacs bug report #5329,
regarding goto-address regular expression
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org
immediately.)


-- 
5329: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5329
Emacs Bug Tracking System
Contact bug-gnu-emacs@gnu.org with problems

[-- Attachment #2: Type: message/rfc822, Size: 6847 bytes --]

From: Daniel Carvalho <idnael@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: goto-address regular expression
Date: Wed, 6 Jan 2010 14:43:44 +0000
Message-ID: <9e43f0e61001060643ya3a4412h4bc855a6c34e4a9a@mail.gmail.com>

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:




The goto-address minor-mode does not match the urls of the emacs official
online documentation, because they use parentesis!
For example, here it only matches until the "?"
http://www.cs.cmu.edu/cgi-bin/info2www?(elisp)Using%20Interactive

I tried to fix the regex
(setq goto-address-url-regexp
  (concat "\\b\\(s?https?\\|ftp\\|file\\|gopher\\|news\\|"
	  "telnet\\|wais\\):\\(//[-a-zA-Z0-9_.]+:"
	  "[0-9]*\\)?[-a-zA-Z0-9_=?#$@~`%&*+|\\/.,()]*"
	  "[-a-zA-Z0-9_=#$@~`%&*+|\\/()]"))

and now it displays well but when I click a url, it seems it is still
using the old regex



In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-10 on vernadsky, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--build=i486-linux-gnu'
'--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed'
'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: pt_PT.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  savehist-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t




[-- Attachment #3: Type: message/rfc822, Size: 2493 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 5329-done@debbugs.gnu.org
Subject: Re: bug#5329: goto-address regular expression
Date: Thu, 07 Jan 2010 16:24:15 -0500
Message-ID: <g4r5q1fw1s.fsf@fencepost.gnu.org>

Daniel Carvalho wrote:

> The goto-address minor-mode does not match the urls of the emacs official
> online documentation, because they use parentesis!
> For example, here it only matches until the "?"
> http://www.cs.cmu.edu/cgi-bin/info2www?(elisp)Using%20Interactive

This was fixed in Emacs 23.1.

> In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
>  of 2009-11-10 on vernadsky, modified by Ubuntu


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-07 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <g4r5q1fw1s.fsf@fencepost.gnu.org>
2010-01-06 14:43 ` bug#5329: goto-address regular expression Daniel Carvalho
2010-01-07 21:25   ` bug#5329: marked as done (goto-address regular expression) Emacs bug Tracking System

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).