Variable: browse-url-text-input-field

browse-url-text-input-field is a customizable variable defined in browse-url.el.gz.

Value

avoid

Documentation

Action on selecting an existing text browser buffer at an input field.

What to do when sending a new URL to an existing text browser buffer in Emacs if the browser cursor is on an input field (in which case the g command would be entered as data). Such fields are recognized by the underlines ____. Allowed values: nil: disregard it, warn: warn the user and don't emit the URL, avoid: try to avoid the field by moving down (this *won't* always work).

This variable was added, or its default value changed, in Emacs 23.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
(defcustom browse-url-text-input-field 'avoid
  "Action on selecting an existing text browser buffer at an input field.
What to do when sending a new URL to an existing text browser buffer in Emacs
if the browser cursor is on an input field (in which case the `g' command
would be entered as data).  Such fields are recognized by the
underlines ____.  Allowed values: nil: disregard it, `warn': warn the
user and don't emit the URL, `avoid': try to avoid the field by moving
down (this *won't* always work)."
  :type '(choice (const :tag "Move to try to avoid field" :value avoid)
                 (const :tag "Disregard" :value nil)
                 (const :tag "Warn, don't emit URL" :value warn))
  :version "23.1")