From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#49247: 28.0.50; [Feature Request] Make tab-bar-lines dragable Date: Wed, 7 Jul 2021 09:31:16 +0200 Message-ID: References: <87czs64p5j.fsf@gmail.com> <87lf6tkc1x.fsf@mail.linkov.net> <87r1gl6om0.fsf@mail.linkov.net> <83o8boopit.fsf@gnu.org> <0b86ca8e-d540-12c8-94ac-2f7327f82126@gmx.at> <878s2r9mr8.fsf@mail.linkov.net> <077cf4b1-76ed-4a8c-7c46-bbf5d657ff03@gmx.at> <83r1gil7zk.fsf@gnu.org> <87mtr17r3y.fsf@mail.linkov.net> <4b315d03-599e-47b7-7a39-3ca9c4f9f381@gmx.at> <87eecc32io.fsf@mail.linkov.net> <87eecbcs47.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40785"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49247@debbugs.gnu.org, s930054123yaoyao@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 07 09:33:10 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 1m123S-000AOm-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 09:33:10 +0200 Original-Received: from localhost ([::1]:43646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m123R-0008RE-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 03:33:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m122M-0006ze-Bh for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 03:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m122M-0000Ge-4F for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 03:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m122L-0001b6-WA for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 03:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jul 2021 07:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49247 X-GNU-PR-Package: emacs Original-Received: via spool by 49247-submit@debbugs.gnu.org id=B49247.16256430886100 (code B ref 49247); Wed, 07 Jul 2021 07:32:01 +0000 Original-Received: (at 49247) by debbugs.gnu.org; 7 Jul 2021 07:31:28 +0000 Original-Received: from localhost ([127.0.0.1]:50729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m121o-0001aK-90 for submit@debbugs.gnu.org; Wed, 07 Jul 2021 03:31:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:39119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m121m-0001a3-36 for 49247@debbugs.gnu.org; Wed, 07 Jul 2021 03:31:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1625643078; bh=i4ZfsjLNzPpg/p38KKYOVSiJ7KReGK8FEAZxgU7YkKU=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Ub4vXw1Sb5YFMNR+UY3eFyZrpWofCY5TwL/01bNe3dxvtiQsGnitoyhKDGdhpYexz ymBpNUHuvukQJiJU1V8DYMYNhkCf0qxw+wysn/ALh/7fXmlDDHB55JIZONmkGMAeZL x28tp49miWIC39tmrynm/99I7Zn/U2hyYjJgYQ+8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([46.125.249.71]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M8ygY-1m4s2y1IWM-006AsB; Wed, 07 Jul 2021 09:31:18 +0200 In-Reply-To: <87eecbcs47.fsf@mail.linkov.net> Content-Language: en-US X-Provags-ID: V03:K1:yoA/75xQhXm2o+ivYvGDsdCo9M8FrIy/ZEE+y+f6x/9/IWe7ObU XlylZxr5iIb8cQyoZkRU/pZgr61xrUn0uonF16j+RqQgUASHh8Fus2yQdPp2f7xFg3w/6Z0 ydHCiQPrW+vm3ru4VQtwhkjXIBxRv580pbB7j/DacAxt6muwiSCSY/8O4DQWQkL62pQ60yV h0cU7u9OrIRyFX6KnYRZg== X-UI-Out-Filterresults: notjunk:1;V03:K0:tLJjOpWNzDU=:EtQCGaGXz7+ooQwVcAKsEr 4NDrnTiJ+kkR5MrHI0bA00N5GvcDChb2eTJO/BHALtTWMwKXmK6JjgunOawzQR+SsSRzrWcmb fkul8PbBm9Rnetqwldds+dRSdC5pPJWRCfVnSjjVMzBslxJnXn2G1+ZKH9SvXFdE/4+bYrnZm K7HHDAVbD/sJVLBbEUma52O5M/dWLhOTUKGbjy667EHYGEgfU0whzdIRS77ldT2qv84bVW4PP 7mNulzv2LOs39bzUDlwzwdaEALqoeGgbV8QQmBOc/zhnKPikHZ2/6QvH65Yifu9o28T8xAsfh 0QWj0WUgx9w7/8GholP1NMx5PfZnMJU3LFRaYYHS09aec5oHLSpSBeWkAjNOvsPL7AimuLtRv f35e/0/MfCC1yLJYILS4G0RO31IwZQrJDBdxiylzQmuO4T0skWQamIVVPYnmbDUKa/OX9F0tL HVTntqPDcuAaJAl4fYgw1UVHjojc9e2kwYpdz2JepgpY3Dyg10cZiO8wuk81e9xFylMl7fD6z HeATihjqlzGV23omPXA3tzmgRm6vXlC4fK+FIKfUGP1Ro0eYJm9C8zoDQKLWgCleHVETcUbeV 6l16ZAmrScp4kqJZj5A/lz3vAny7uiLiL0r0I53kGJsQUJem/L7FTJ+o2h5l5IjIG3/IKbvZ3 /Wnr0IY8E92jn6wWYCr8Vld6Zy135UJ52fnQQTKM/022k+/U5IgOC0t5nVSOn/ypdKNm1SbnX vZLCeDiUyhUYWfQPT0jJhcFAgffKiXrrCtqfY8ibfPPn980dstZSOxEp0KQVqlWHvUkueKMV 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:209579 Archived-At: > The problem also can be fixed by removing this line from info.el > from Info-mode-map: > > (define-key map [follow-link] 'mouse-face) The same would have to be done at least for *Backtrace* where I've seen the same problem. And there are lots of other modes that use the above idiom, I haven't looked into them. > Why buffer's mode keymap affects the behavior of clicking > on the tab-line? [...] > The difference is that in the broken case it says: > > "Those are influenced by `mouse-1-click-follows-link'" > > and translates to , where is a valid > binding that closes the tab. But translating to > is a bug, I don't know how to fix it. It might happen in `mouse--click-1-maybe-follows-link' but that is written in terms of `pcase' which I cannot read fluently. Honestly, key translations are a mystery to me. I see two possibilities to fix this without further hassle. Either I revert my changes or you give up on binding mouse-1 and mouse-2 to different actions. I think that the mouse-2 binding at hand is not useful because not all people can use it reliably (for example here the scroll wheel may always slip slightly before pressing it) and all your remaining keymaps bind mouse-1 and mouse-2 to the same action. BTW, I think that the mouse wheel should scroll the tab-line, if applicable. martin