diff options
| author | Stephen Berman | 2024-04-17 19:33:24 +0200 |
|---|---|---|
| committer | Stephen Berman | 2024-04-17 19:33:24 +0200 |
| commit | 91333dacfa1b9f1041ceeebb3d46e8e04048c4c9 (patch) | |
| tree | 4252bf855a528a2abb192f70774b48c84442fd8e /doc/misc | |
| parent | 523aca13a45159711d7d9d7561e69d38acdac12a (diff) | |
| download | emacs-91333dacfa1b9f1041ceeebb3d46e8e04048c4c9.tar.gz emacs-91333dacfa1b9f1041ceeebb3d46e8e04048c4c9.zip | |
Allow tabbing between widgets to skip inactive widgets (bug#70413)
* doc/misc/widget.texi (Widgets and the Buffer, Customization):
Document it.
* etc/NEWS: Announce it.
* lisp/wid-edit.el (widget-skip-inactive): New user option.
(widget-tabable-at): Use it.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/widget.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/misc/widget.texi b/doc/misc/widget.texi index cfb9d2211cf..f74605c92c0 100644 --- a/doc/misc/widget.texi +++ b/doc/misc/widget.texi | |||
| @@ -795,6 +795,11 @@ Move point @var{count} buttons or editing fields backward. | |||
| 795 | @end deffn | 795 | @end deffn |
| 796 | @end table | 796 | @end table |
| 797 | 797 | ||
| 798 | @noindent | ||
| 799 | By default, tabbing can put point on an inactive widget. To skip over | ||
| 800 | inactive widgets when tabbing, set the user option | ||
| 801 | @code{widget-skip-inactive} to a non-@code{nil} value. | ||
| 802 | @xref{Customization}. | ||
| 798 | 803 | ||
| 799 | When editing an @code{editable-field} widget, the following commands | 804 | When editing an @code{editable-field} widget, the following commands |
| 800 | are available: | 805 | are available: |
| @@ -3321,6 +3326,15 @@ If non-@code{nil}, toggle when there are just two options. | |||
| 3321 | By default, its value is @code{nil}. | 3326 | By default, its value is @code{nil}. |
| 3322 | @end defopt | 3327 | @end defopt |
| 3323 | 3328 | ||
| 3329 | @defopt widget-skip-inactive | ||
| 3330 | If non-@code{nil}, skip over inactive widgets when using @kbd{@key{TAB}} | ||
| 3331 | (@code{widget-forward}) or @kbd{S-@key{TAB}} (@code{widget-backward}, | ||
| 3332 | also bound to @kbd{M-@key{TAB}}) to navigate between widgets. | ||
| 3333 | |||
| 3334 | By default, its value is @code{nil} and tabbing does not skip over | ||
| 3335 | inactive widgets. | ||
| 3336 | @end defopt | ||
| 3337 | |||
| 3324 | @defopt widget-documentation-links | 3338 | @defopt widget-documentation-links |
| 3325 | If non-@code{nil}, add hyperlinks to documentation strings. | 3339 | If non-@code{nil}, add hyperlinks to documentation strings. |
| 3326 | @end defopt | 3340 | @end defopt |