[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: `w3m-input-url' bug



In [emacs-w3m : No.11345] Leo wrote:
> When region is active, w3m-goto-url will put the region in the
> minibuffer but the spaces in the text are removed.

> Is this a bug?

No, it's not necessarily a bug.  The feature has been introduced
for gathering some url fragments which a certain mailer chopped
a long url string into.  For instance:

	http://www.google.co.jp/search?hl=ja&inlang=ja&ie=Shift_
	JIS&q=emacs-w3m+or+ gnus-html.el

But I feel it useless in the case where a url string contains
whitespace in particular.  So, I tried (in CVS) improving it so
as to remove only newlines and leading and trailing whitespace.