From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.w3m,gmane.emacs.bugs Subject: [emacs-w3m:10206] ffap-string-at-point-mode-alist should include multibyte Date: Wed, 04 Jun 2008 08:47:10 +0800 Message-ID: <87zlq2m3g1.fsf_-_@jidanni.org> References: Reply-To: jidanni@jidanni.org, emacs-w3m@namazu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212541592 8664 80.91.229.2 (4 Jun 2008 01:06:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2008 01:06:32 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: emacs-w3m@namazu.org Original-X-From: emacs-w3m-admin@namazu.org Wed Jun 04 01:06:23 2008 Return-path: Envelope-to: emacs-w3m@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by ciao.gmane.org with esmtp (Exim 4.43) id 1K3hSI-0006J1-U2 for emacs-w3m@deer.gmane.org; Wed, 04 Jun 2008 01:06:22 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1K3hSY-0003I4-00 for ; Wed, 04 Jun 2008 03:06:39 +0200 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id 5667D20AED; Wed, 4 Jun 2008 10:06:18 +0900 (JST) Original-Received: from blingymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by vaj.namazu.org (Postfix) with ESMTP id 62A7320AB8 for ; Wed, 4 Jun 2008 09:47:14 +0900 (JST) Original-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) X-ML-Name: emacs-w3m X-Mail-Count: 10206 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)](fml commands only mode); post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address emacs-w3m-ctl@namazu.org; help= X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk List-Id: emacs-w3m.namazu.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Resent-From: yamaoka@jpl.org Resent-To: emacs-w3m@namazu.org (moderated) Resent-Date: Wed, 4 Jun 2008 10:06:18 +0900 Resent-Message-Id: <200806041006.FMLAAB24811.emacs-w3m@namazu.org> Xref: news.gmane.org gmane.emacs.w3m:7567 gmane.emacs.bugs:18250 Archived-At: >>>>> "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.