[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: space in URL fools w3m-goto-url
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Thu, 07 Jan 2010 20:42:52 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11093
- References: <87pr5ms366.fsf@xxxxxxxxxxx>
> The link
> <li> <a href="http://www.google.com.tw/search?q=%E5%B7%A5%E5%AF%AE+site:forestry.gov.tw&ie=utf-8&oe=utf-8">http://www.google.com.tw/search?q=工寮 site:forestry.gov.tw&ie=utf-8&oe=utf-8</a>
> is rendered
> * http://www.google.com.tw/search?q=工寮 site:forestry.gov.tw&ie=utf-8&oe=utf-8
> If one puts the cursor anywhere before the space in the middle,
> g runs the command w3m-goto-url
> prompts in the minibuffer with just half the URL.
That's what (ffap-string-at-point 'url) does. I wish
${Emacs}/lisp/ffap.el were working better, though it seems hard
to achieve.
> If one puts the cursor on the space or afterward, the full URL is
> prompted with, correctly.
That's emacs-w3m's work. It behaves like you type RET there.
(Why don't you do so? ;-)