unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Carlos Pita <carlosjosepita2@gmail.com>
Cc: 51370@debbugs.gnu.org
Subject: bug#51370: 28.0.60; tab-bar-history-mode: avoid micro-steps
Date: Sun, 24 Oct 2021 22:01:32 +0300	[thread overview]
Message-ID: <87r1cajn6n.fsf@mail.linkov.net> (raw)
In-Reply-To: <m2a6iys4da.fsf@gmail.com> (Carlos Pita's message of "Sun, 24 Oct 2021 14:46:09 -0300")

>> winner-mode has a more sensible behavior in this regard: it just
>> remembers the beginning and the end of the mouse resizing operation
>
> I believe the difference is due to the fact that winner-mode listens to
> changes in a window-configuration-change-hook but only saves them in a
> post-command-hook, while tab-bar-history-mode saves changes in a
> window-configuration-change-hook. I assume that dragging with the mouse
> is sending a sequence of window configuration change events while still
> being a single command.

Maybe it's possible to compare this-command with last-command to remove
duplicate commands while resizing.  This needs more experimentation.





  reply	other threads:[~2021-10-24 19:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24  9:13 bug#51370: 28.0.60; tab-bar-history-mode: avoid micro-steps Carlos Pita
2021-10-24 17:46 ` Carlos Pita
2021-10-24 19:01   ` Juri Linkov [this message]
2021-11-18 17:28 ` Juri Linkov
2021-11-19  2:38   ` Carlos Pita
2021-11-19  8:33     ` Juri Linkov
2021-11-22 17:58       ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1cajn6n.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=51370@debbugs.gnu.org \
    --cc=carlosjosepita2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).