[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `g' and `G' do not provide current url as the initial minibuffer contents
- From: Filipp Gunbin <fgunbin@xxxxxxxxxxx>
- Date: Tue, 29 Jul 2014 16:01:18 +0400
- X-ml-name: emacs-w3m
- X-mail-count: 12365
- References: <86a97xvd4v.fsf@xxxxxxxxxxxxxxxxxxxx> <878une21jz.fsf@xxxxxx> <b4mzjfu5pzg.fsf@xxxxxxx> <8638dlve9x.fsf@xxxxxxxxxxxxxxxxxxxx> <b4ma97thrbm.fsf@xxxxxxx>
On 29/07/2014 10:44 +0900, Katsumi Yamaoka wrote:
(B> Ok, I've added this user option:
(B> ,---- (info "(emacs-w3m)Other variables")
(B> | 'w3m-input-url-provide-initial-content'
(B> | If non-'nil', provide an initial minibuffer content (if any) when
(B> | entering a url. The default is 'nil'. A url string is not worth
(B> | editing in most cases since a url thing is generally a list of
(B> | arbitrary letters, not a human readable one. So, we provide no
(B> | initial content when prompting you for a url by default. But
(B> | sometimes there will be a case to be convenient if you can modify
(B> | the url string of the link under the cursor or of the current page.
(B> | In that case, you can use the 'M-n' key to fill the minibuffer with
(B> | an initial content if you use Emacs 23 and up. Otherwise, set this
(B> | variable to a non-'nil' value to always provide an initial content.
(B> In addition to this, I've improved the `M-n' command behavior.
(B> When entering a url string, now it offers the url of the current
(B> page as an initial content even if there is no link under the
(B> cursor. This is just what I sometimes wanted, so I'll probably
(B> never set the new user option. ;-)
(BI'm probably doing something wrong, but I don't see the new behaviour
(Bactually happening. I did cvs update, M-x byte-recompile-directory and
(Brestarted Emacs. And deleted the previous defadvice, of course.