From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#51370: 28.0.60; tab-bar-history-mode: avoid micro-steps Date: Sun, 24 Oct 2021 22:01:32 +0300 Organization: LINKOV.NET Message-ID: <87r1cajn6n.fsf@mail.linkov.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35035"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 51370@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 24 21:18:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mej0Y-0008x7-EI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 21:18:14 +0200 Original-Received: from localhost ([::1]:59574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mej0W-00074F-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 15:18:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mej0N-0006zM-6L for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 15:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mej0M-0006tX-TQ for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 15:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mej0M-0008Fx-P6 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 15:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2021 19:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51370 X-GNU-PR-Package: emacs Original-Received: via spool by 51370-submit@debbugs.gnu.org id=B51370.163510307331678 (code B ref 51370); Sun, 24 Oct 2021 19:18:02 +0000 Original-Received: (at 51370) by debbugs.gnu.org; 24 Oct 2021 19:17:53 +0000 Original-Received: from localhost ([127.0.0.1]:40956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mej0D-0008Es-CY for submit@debbugs.gnu.org; Sun, 24 Oct 2021 15:17:53 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:36253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mej0A-0008Eb-Ul for 51370@debbugs.gnu.org; Sun, 24 Oct 2021 15:17:51 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 4D974100008; Sun, 24 Oct 2021 19:17:42 +0000 (UTC) In-Reply-To: (Carlos Pita's message of "Sun, 24 Oct 2021 14:46:09 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218180 Archived-At: >> 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.