From unknown Fri Aug 15 18:06:15 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5329: goto-address regular expression Reply-To: Daniel Carvalho , 5329@debbugs.gnu.org Mail-Followup-To: Daniel Carvalho , 5329@debbugs.gnu.org Resent-From: Daniel Carvalho Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jan 2010 15:23:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5329 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@debbugs.gnu.org id=B.12627913298948 (code B ref -1); Wed, 06 Jan 2010 15:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2010 15:22:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSXi4-0002KD-OL for submit@debbugs.gnu.org; Wed, 06 Jan 2010 10:22:09 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSX78-000215-Jt for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:44:00 -0500 Received: from mx10.gnu.org ([199.232.76.166]:53683) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSX73-0003Nc-M4 for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:43:53 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NSX72-0001Nf-3n for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:43:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:52623) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSX71-0001NT-U5 for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:43:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSX71-0001ae-FF for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSX6w-0001Sl-Df for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:50 -0500 Received: from [199.232.76.173] (port=43936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSX6w-0001Sc-8d for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:46 -0500 Received: from mail-fx0-f228.google.com ([209.85.220.228]:62409) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSX6v-0001LR-Pm for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:46 -0500 Received: by fxm28 with SMTP id 28so8517155fxm.26 for ; Wed, 06 Jan 2010 06:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=+yicRYI3RzfSYDFPZX9/25yIWN2fUryh56fDNNOYvt4=; b=UVADY75Upf5c0ECaHE60MlHdy+iK2hD5IhnOR7CuIwH8iy2VMVsoDjwg2HTskStw1J CtUSZFcNQ9HIQ+z/Mc7QQKgZBa1tmPDLBuIXGirSaebeDmLdDHUG3drDNUU+q0BBksXo PRsrewp+1/zreEYz5qiczf8CbvJiFrGsKE44k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iYjz0Uft79JVvVhMlNOQ1SlOHsgJDMSz/vUR0vDnnWTYYNI6XbthNEmOIl75w71q6O z7no+bF22p9ulLfk2L35E2l8uB1FgNHTA0zsdazMV0vfFtYSUbjgmzy+mq30eOF5vpWh Qs6yI4Pn+628QhmAgn12r0QVKLKqaEnlaxj8k= MIME-Version: 1.0 Received: by 10.102.16.28 with SMTP id 28mr12488061mup.7.1262789024060; Wed, 06 Jan 2010 06:43:44 -0800 (PST) Date: Wed, 6 Jan 2010 14:43:44 +0000 Message-ID: <9e43f0e61001060643ya3a4412h4bc855a6c34e4a9a@mail.gmail.com> From: Daniel Carvalho To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 06 Jan 2010 10:22:06 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 From unknown Fri Aug 15 18:06:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: bug-gnu-emacs@gnu.org From: bug-gnu-emacs@gnu.org (Emacs bug Tracking System) To: Daniel Carvalho Subject: bug#5329 closed by Glenn Morris (Re: bug#5329: goto-address regular expression) Message-ID: References: <9e43f0e61001060643ya3a4412h4bc855a6c34e4a9a@mail.gmail.com> X-Emacs-PR-Message: they-closed 5329 X-Emacs-PR-Package: emacs Reply-To: 5329@debbugs.gnu.org Date: Thu, 07 Jan 2010 21:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1262899502-8092-1" This is a multi-part message in MIME format... ------------=_1262899502-8092-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #5329: goto-address regular expression It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 5329: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5329 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems ------------=_1262899502-8092-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5329-done) by debbugs.gnu.org; 7 Jan 2010 21:24:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSzq9-00026F-A7 for submit@debbugs.gnu.org; Thu, 07 Jan 2010 16:24:21 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSzq7-00026A-S7 for 5329-done@debbugs.gnu.org; Thu, 07 Jan 2010 16:24:20 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NSzq3-0005Km-Fl; Thu, 07 Jan 2010 16:24:15 -0500 From: Glenn Morris To: 5329-done@debbugs.gnu.org Subject: Re: bug#5329: goto-address regular expression References: <9e43f0e61001060643ya3a4412h4bc855a6c34e4a9a@mail.gmail.com> X-Spook: Syria RSA TWA SEAL Team 6 constitution dictionary MD2 X-Ran: mB]d/&2)jXy%h]qa^b#~`EH}TI|8[c,/I(9],mOfCT](bg1Xg&ezeEU;<:[3.,pxDZbz@^ X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 07 Jan 2010 16:24:15 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: 5329-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.8 (-----) 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 ------------=_1262899502-8092-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Jan 2010 15:22:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSXi4-0002KD-OL for submit@debbugs.gnu.org; Wed, 06 Jan 2010 10:22:09 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSX78-000215-Jt for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:44:00 -0500 Received: from mx10.gnu.org ([199.232.76.166]:53683) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSX73-0003Nc-M4 for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:43:53 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NSX72-0001Nf-3n for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:43:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:52623) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSX71-0001NT-U5 for submit@debbugs.gnu.org; Wed, 06 Jan 2010 09:43:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSX71-0001ae-FF for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSX6w-0001Sl-Df for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:50 -0500 Received: from [199.232.76.173] (port=43936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSX6w-0001Sc-8d for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:46 -0500 Received: from mail-fx0-f228.google.com ([209.85.220.228]:62409) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSX6v-0001LR-Pm for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 09:43:46 -0500 Received: by fxm28 with SMTP id 28so8517155fxm.26 for ; Wed, 06 Jan 2010 06:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=+yicRYI3RzfSYDFPZX9/25yIWN2fUryh56fDNNOYvt4=; b=UVADY75Upf5c0ECaHE60MlHdy+iK2hD5IhnOR7CuIwH8iy2VMVsoDjwg2HTskStw1J CtUSZFcNQ9HIQ+z/Mc7QQKgZBa1tmPDLBuIXGirSaebeDmLdDHUG3drDNUU+q0BBksXo PRsrewp+1/zreEYz5qiczf8CbvJiFrGsKE44k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iYjz0Uft79JVvVhMlNOQ1SlOHsgJDMSz/vUR0vDnnWTYYNI6XbthNEmOIl75w71q6O z7no+bF22p9ulLfk2L35E2l8uB1FgNHTA0zsdazMV0vfFtYSUbjgmzy+mq30eOF5vpWh Qs6yI4Pn+628QhmAgn12r0QVKLKqaEnlaxj8k= MIME-Version: 1.0 Received: by 10.102.16.28 with SMTP id 28mr12488061mup.7.1262789024060; Wed, 06 Jan 2010 06:43:44 -0800 (PST) Date: Wed, 6 Jan 2010 14:43:44 +0000 Message-ID: <9e43f0e61001060643ya3a4412h4bc855a6c34e4a9a@mail.gmail.com> Subject: goto-address regular expression From: Daniel Carvalho To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 06 Jan 2010 10:22:06 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 ------------=_1262899502-8092-1--