[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: space is space not just for lucky guy
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 09 Sep 2013 13:30:54 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12144
- References: <87a9jq6mgf.fsf@xxxxxxx>
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)