[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-goto-url vs. non-ASCII
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Wed, 04 Jun 2008 09:24:02 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10205
- References: <87mym2nkwa.fsf@xxxxxxxxxxx>
>>>>> In [emacs-w3m : No.10204] jidanni@xxxxxxxxxxx wrote:
> U runs the command w3m-goto-url
> but when the cursor is upon the link
> http://www.coolloud.org.tw/tag/移民工/feed
> it only prompts with
> http://www.coolloud.org.tw/tag/
> apparently unable to deal with the non-ASCII.
Besause emacs-w3m uses the `ffap-url-at-point' function, what
should be improved is the url element of the variable
`ffap-string-at-point-mode-alist' defined in ffap.el. For
instance:
(eval-after-load "ffap"
'(setcar (cdr (assq 'url ffap-string-at-point-mode-alist))
"--:=&?$+@-Z_[:lower:][:multibyte:]~#,%;*"))
It defaults to "--:=&?$+@-Z_[:lower:]~#,%;*" which does not
match non-ASCII characters.