From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#357: marked as done (ffap-string-at-point-mode-alist should include multibyte) Date: Tue, 10 Jun 2008 12:45:08 -0700 Message-ID: References: <87zlq2m3g1.fsf_-_@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1213127107-5341-0" X-Trace: ger.gmane.org 1213127246 15280 80.91.229.12 (10 Jun 2008 19:47:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2008 19:47:26 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 10 21:48:07 2008 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 1K69p7-0001T4-Qp for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jun 2008 21:48:06 +0200 Original-Received: from localhost ([127.0.0.1]:46555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K69oK-0002nh-Dz for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jun 2008 15:47:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K69oE-0002mB-JI for bug-gnu-emacs@gnu.org; Tue, 10 Jun 2008 15:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K69oD-0002lw-T9 for bug-gnu-emacs@gnu.org; Tue, 10 Jun 2008 15:47:10 -0400 Original-Received: from [199.232.76.173] (port=35203 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K69oD-0002lm-Op for bug-gnu-emacs@gnu.org; Tue, 10 Jun 2008 15:47:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45242) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K69oC-00031W-TK for bug-gnu-emacs@gnu.org; Tue, 10 Jun 2008 15:47:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5AJl62R006290; Tue, 10 Jun 2008 12:47:07 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5AJj82b005427; Tue, 10 Jun 2008 12:45:08 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 357 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:18318 Archived-At: This is a multi-part message in MIME format... ------------=_1213127107-5341-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 10 Jun 2008 15:35:44 -0400 with message-id and subject line Re: ffap-string-at-point-mode-alist should include multiby= te=20 has caused the Emacs bug report #357, regarding ffap-string-at-point-mode-alist should include multibyte 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 don@donarmstrong.com immediately.) --=20 357: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D357 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1213127107-5341-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Jun 2008 00:47:29 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m540lPGk025297 for ; Tue, 3 Jun 2008 17:47:26 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3h9w-0005CK-Hp for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2008 20:47:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3h9p-0005AV-A3 for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2008 20:47:24 -0400 Received: from [199.232.76.173] (port=37187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3h9p-0005AS-6g for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2008 20:47:17 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:60366 helo=blingymail-a3.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3h9o-00056a-Mx for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2008 20:47:17 -0400 Received: from jidanni1.jidanni.org (122-127-33-182.dynamic.hinet.net [122.127.33.182]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a3.g.dreamhost.com (Postfix) with ESMTP id 4035614D776; Tue, 3 Jun 2008 17:47:13 -0700 (PDT) To: emacs-w3m@namazu.org Cc: bug-gnu-emacs@gnu.org Subject: ffap-string-at-point-mode-alist should include multibyte References: From: jidanni@jidanni.org Date: Wed, 04 Jun 2008 08:47:10 +0800 Message-ID: <87zlq2m3g1.fsf_-_@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 >>>>> "KY" =3D=3D Katsumi Yamaoka writes: >>>>> In [emacs-w3m : No.10204] jidanni@jidanni.org wrote: >> U runs the command w3m-goto-url >> but when the cursor is upon the link >> http://www.coolloud.org.tw/tag/=E7=A7=BB=E6=B0=91=E5=B7=A5/feed >> it only prompts with >> http://www.coolloud.org.tw/tag/ >> apparently unable to deal with the non-ASCII. KY> Besause emacs-w3m uses the `ffap-url-at-point' function, what KY> should be improved is the url element of the variable KY> `ffap-string-at-point-mode-alist' defined in ffap.el. For KY> instance: KY> (eval-after-load "ffap" KY> '(setcar (cdr (assq 'url ffap-string-at-point-mode-alist)) KY> "--:=3D&?$+@-Z_[:lower:][:multibyte:]~#,%;*")) KY> It defaults to "--:=3D&?$+@-Z_[:lower:]~#,%;*" which does not KY> match non-ASCII characters. OK, your workaround works. I'm CCing this to bug-gnu-emacs. ------------=_1213127107-5341-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL,BAYES_00,FAKE_REPLY_C, MURPHY_DRUGS_REL8 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 357-done) by emacsbugs.donarmstrong.com; 10 Jun 2008 19:35:53 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5AJZnfg003834 for <357-done@emacsbugs.donarmstrong.com>; Tue, 10 Jun 2008 12:35:51 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwFAAh0TkhMCpcZ/2dsb2JhbACBW7AI X-IronPort-AV: E=Sophos;i="4.27,619,1204520400"; d="scan'208";a="22376665" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 10 Jun 2008 15:35:44 -0400 Received: from pastel.home ([76.10.151.25]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id QZT50044; Tue, 10 Jun 2008 15:35:44 -0400 Received: by pastel.home (Postfix, from userid 20848) id 344B082F1; Tue, 10 Jun 2008 15:35:44 -0400 (EDT) From: Stefan Monnier To: 357-done@emacsbugs.donarmstrong.com Subject: Re: ffap-string-at-point-mode-alist should include multibyte Message-ID: Date: Tue, 10 Jun 2008 15:35:44 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've installed the following patch instead, which seems to work as well. Stefan === modified file 'lisp/ffap.el' --- lisp/ffap.el 2008-06-06 06:58:42 +0000 +++ lisp/ffap.el 2008-06-10 19:32:25 +0000 @@ -978,11 +978,11 @@ ;; Slightly controversial decisions: ;; * strip trailing "@" and ":" ;; * no commas (good for latex) - (file "--:\\\\$+<>@-Z_[:lower:]~*?" "<@" "@>;.,!:") + (file "--:\\\\$+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") ;; An url, or maybe a email/news message-id: - (url "--:=&?$+@-Z_[:lower:]~#,%;*" "^[:alnum:]" ":;.,!?") + (url "--:=&?$+@-Z_[:alpha:]~#,%;*" "^[:alnum:]" ":;.,!?") ;; Find a string that does *not* contain a colon: - (nocolon "--9$+<>@-Z_[:lower:]~" "<@" "@>;.,!?") + (nocolon "--9$+<>@-Z_[:alpha:]~" "<@" "@>;.,!?") ;; A machine: (machine "-[:alnum:]." "" ".") ;; Mathematica paths: allow backquotes ------------=_1213127107-5341-0--