From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: tab-bar: Defining another mouse-button binding? Date: Thu, 09 Sep 2021 22:38:52 +0300 Message-ID: <83h7etk08j.fsf@gnu.org> References: <87mtoo6812.fsf@alphapapa.net> <877dfrszuf.fsf@mail.linkov.net> <87lf4651vf.fsf@alphapapa.net> <87k0jq5gkc.fsf@mail.linkov.net> <83r1dxk6a0.fsf@gnu.org> <87h7etmv86.fsf@mail.linkov.net> <83k0jpk1c8.fsf@gnu.org> <878s05lfp5.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 09 21:40:42 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mOPub-0003Em-MR for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Sep 2021 21:40:41 +0200 Original-Received: from localhost ([::1]:40872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOPuZ-0008PD-Mf for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Sep 2021 15:40:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOPt1-0007e3-9K for emacs-devel@gnu.org; Thu, 09 Sep 2021 15:39:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44188) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOPt0-0000hp-2E; Thu, 09 Sep 2021 15:39:02 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOPsy-0004Cy-9r; Thu, 09 Sep 2021 15:39:01 -0400 In-Reply-To: <878s05lfp5.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 09 Sep 2021 22:19:34 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274471 Archived-At: > From: Juri Linkov > Cc: adam@alphapapa.net, emacs-devel@gnu.org > Date: Thu, 09 Sep 2021 22:19:34 +0300 > > >> >> to drag a tab by mouse-1 > >> > > >> > works, but feels strange, because we don't really drag the button: it > >> > is never shown in an intermediate position while dragging. I wonder > >> > whether we should advertise such a strange "dragging". > >> > >> There is no indication during dragging, and currently I have no idea > >> how to shown an intermediate indication, but at the end it works, > >> so maybe this could be explained in the documentation. > > > > What would you like to explain there? > > That there is no indication during dragging, but at the point of > releasing the mouse button, the tab is moved here. That doesn't need to be explained, people can see it. I just don't think we can call this "dragging the tabs", because that's not how this looks in other applications, and people will be disappointed. > >> >> and also wheel-left/wheel-right to switch to the next/previous tab, > >> >> and S-wheel-left/wheel-right to move the tab. > >> > > >> > This doesn't work, neither on GUI frames nor on TTY frames. I get an > >> > error message about " is undefined". > >> > >> Does the mouse wheel work on a tab-line? > > > > No, it doesn't, AFAICT. > > Then could you please send both event names of > for both directions of mouse wheel scrolling. I don't understand: I just told you, above, what events are sent in this case. is that not what you are asking about?