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

Re: space is space not just for lucky guy



In [emacs-w3m : No.12143] Manuel Giraud wrote:
> I don't use the "Feeling lucky" feature but I'd like to be able to
> separate words with a simple <SPACE> key (instead C-q <SPACE>) into the
> minibuffer (useful with URI replace).

Thank you for the suggestion.  I think space-is-space for the url
input by default is reasonable since `find-file' does so since
Emacs 22.  So, I've added a new keymap `w3m-url-completion-map',
that binds the SPC key to simply a space.  This will be active
only when entering a url string.  One who likes the old behavior
can add this snippet to the ~/.emacs-w3m.el file:

(define-key w3m-url-completion-map " " 'minibuffer-complete-word)