GNU bug report logs -
#72352
Small tab-bar-move-tab-to-group bug fix
Previous Next
Reported by: Ship Mints <shipmints <at> gmail.com>
Date: Mon, 29 Jul 2024 13:21:02 UTC
Severity: normal
Fixed in version 30.0.60
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72352 in the body.
You can then email your comments to 72352 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72352
; Package
emacs
.
(Mon, 29 Jul 2024 13:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ship Mints <shipmints <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 29 Jul 2024 13:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This corrects for the condition where a tab, among its set of tabs which
all share the same group (nil or otherwise), is changed to a new group that
doesn't yet exist. The current behavior is to leave that tab where it is
within the "old group" but this is counter to the goal of keeping
group-related tabs "together." The correction I've made is simply to move
that newly grouped tab to the end. I've tested this and been using a
patched form for a while to no ill effect.
(defun tab-bar-move-tab-to-group (&optional tab)
...
* (pos (if beg* (cond
;; Don't move tab when it's already inside group bounds
((and len (>= tab-index beg) (<= tab-index (+ beg len)))
nil)
;; Move tab from the right to the group end
((and len (> tab-index (+ beg len))) (+ beg len 1))
;; Move tab from the left to the group beginning
((< tab-index beg) beg))
* -1))) ; Move to the end*
...
Much obliged,
Stephane
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72352
; Package
emacs
.
(Mon, 29 Jul 2024 18:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72352 <at> debbugs.gnu.org (full text, mbox):
close 72352 30.0.60
thanks
> This corrects for the condition where a tab, among its set of tabs which
> all share the same group (nil or otherwise), is changed to a new group that
> doesn't yet exist. The current behavior is to leave that tab where it is
> within the "old group" but this is counter to the goal of keeping
> group-related tabs "together." The correction I've made is simply to move
> that newly grouped tab to the end. I've tested this and been using a
> patched form for a while to no ill effect.
Thanks for the fix, now pushed to emacs-30.
bug marked as fixed in version 30.0.60, send any further explanations to
72352 <at> debbugs.gnu.org and Ship Mints <shipmints <at> gmail.com>
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Mon, 29 Jul 2024 18:19:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 27 Aug 2024 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 296 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.