GNU bug report logs - #70413
30.0.50; FR: skip inactive widgets when tabbing

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 16 Apr 2024 09:21:02 UTC

Severity: wishlist

Found in version 30.0.50

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70413: closed (30.0.50; FR: skip inactive widgets when tabbing)
Date: Wed, 17 Apr 2024 17:38:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 17 Apr 2024 19:37:28 +0200
with message-id <8734rj99gn.fsf <at> gmx.net>
and subject line Re: bug#70413: 30.0.50; FR: skip inactive widgets when tabbing
has caused the debbugs.gnu.org bug report #70413,
regarding 30.0.50; FR: skip inactive widgets when tabbing
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70413: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70413
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stephen Berman <stephen.berman <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; FR: skip inactive widgets when tabbing
Date: Tue, 16 Apr 2024 11:20:10 +0200
[Message part 3 (text/plain, inline)]
In buffers containing widgets, such as the Customize buffers, the
widgets can be either active or inactive: when you click (with the mouse
or RET) on an active widget, its associated action is executed, and when
you click on an inactive widget, this raises the error "Attempt to
perform action on inactive widget".  You can navigate among the widgets
by pressing TAB or S-TAB to move point to the next or previous widget.

I think it would be useful and convenient to skip over inactive widgets
when tabbing; e.g. you then avoid accidentally tabbing to an inactive
widget, typing RET and getting the error, and in a buffer with many
active and inactive widgets, you can tab more quickly to the desired
active widget by skipping over the inactive ones.

The attached patch implements this behavior.  Since tabbing to inactive
widgets has always been the behavior in the widget library, skipping is
conditioned on the value of a boolean defcustom, with the default being
the current non-skipping.


In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
 3.24.41, cairo version 1.18.0) of 2024-04-16 built on strobelfs
Repository revision: b436f430e3897e1aa6dcb5a39564a3553bbf631f
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: Linux From Scratch r12.1-41

Configured using:
 'configure 'CFLAGS=-Og -g3' PKG_CONFIG_PATH=/opt/qt5/lib/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER
WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

[Message part 4 (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stephen Berman <stephen.berman <at> gmx.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 70413-done <at> debbugs.gnu.org
Subject: Re: bug#70413: 30.0.50; FR: skip inactive widgets when tabbing
Date: Wed, 17 Apr 2024 19:37:28 +0200
On Wed, 17 Apr 2024 19:36:04 +0200 Stephen Berman <stephen.berman <at> gmx.net> wrote:

> On Wed, 17 Apr 2024 18:42:49 +0300 Eli Zaretskii <eliz <at> gnu.org> wrote:
[...]
>>>   If non-@code{nil}, skip over inactive widgets when using @key{TAB}
>>>   (@code{widget-forward}) or @kbd{S-@key{TAB}} (@code{widget-backward},
>>>   also bound to @kbd{M-@key{TAB}}) to navigate between widgets.
>>>
>>> Is this formulation acceptable?
>>
>> Yes, thanks.
>
> Thanks, I've pushed the changes to master as commit 91333dacfa1.

And now closing the bug.

Steve Berman


This bug report was last modified 1 year and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.