[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Manually entering queries to `w3m-goto-url'
- From: Boruch Baum <boruch_baum@xxxxxxx>
- Date: Sun, 25 Jun 2017 13:03:28 -0400
- X-ml-name: emacs-w3m
- X-mail-count: 12711
Function `w3m-goto-url' isn't allowing me to enter a question mark
character, not manually nor by pasting from the X11 clipboard. This
character is used for php and other queries that can be appended to
In w3m.el, there is a defvar for `w3m-url-completion-map', so I tried
(setq w3m-url-completion-map (let ((map (make-sparse-keymap)))
(define-key map " " 'self-insert-command)
(define-key map "?" 'self-insert-command)
This allowed the question mark character to be accepted, but I have no
idea if changing the defvar:
a] is the correct solution;
b] would break something somewhere else.
 My use-case is a bit weird in that I'm using emacs-nox inside an
X11 environment, so YMMV.
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0