From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Carvalho Newsgroups: gmane.emacs.bugs Subject: bug#5329: goto-address regular expression Date: Wed, 6 Jan 2010 14:43:44 +0000 Message-ID: <9e43f0e61001060643ya3a4412h4bc855a6c34e4a9a@mail.gmail.com> Reply-To: Daniel Carvalho , 5329@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1262800383 26442 80.91.229.12 (6 Jan 2010 17:53:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2010 17:53:03 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 06 18:52:55 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NSa3t-0005xk-BK for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 18:52:49 +0100 Original-Received: from localhost ([127.0.0.1]:39524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSa3t-0002x8-U8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 12:52:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSY7y-0008To-Bp for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 10:48:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSY7s-0008SX-Tq for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 10:48:53 -0500 Original-Received: from [199.232.76.173] (port=55489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSY7s-0008SR-MJ for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 10:48:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37382) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSY7s-0005BT-9M for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 10:48:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NSXiw-0002LF-JB; Wed, 06 Jan 2010 10:23:02 -0500 X-Loop: bug-gnu-emacs@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: Original-Received: via spool by submit@debbugs.gnu.org id=B.12627913298948 (code B ref -1); Wed, 06 Jan 2010 15:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2010 15:22:09 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.102.16.28 with SMTP id 28mr12488061mup.7.1262789024060; Wed, 06 Jan 2010 06:43:44 -0800 (PST) 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 X-Spam-Score: -5.9 (-----) Resent-Date: Wed, 06 Jan 2010 10:23:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 06 Jan 2010 12:42:18 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34000 Archived-At: 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