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: Thu, 1 Jul 2021 09:54:49 +0200 Message-ID: <077cf4b1-76ed-4a8c-7c46-bbf5d657ff03@gmx.at> 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> 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="6409"; 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 Thu Jul 01 09:55:09 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 1lyrXQ-0001XE-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 09:55:09 +0200 Original-Received: from localhost ([::1]:46316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyrXP-0004gj-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 03:55:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyrXJ-0004gZ-Ol for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2021 03:55:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyrXJ-0000pS-HE for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2021 03:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyrXJ-0000tP-Hg for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2021 03:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jul 2021 07:55: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.16251260993420 (code B ref 49247); Thu, 01 Jul 2021 07:55:01 +0000 Original-Received: (at 49247) by debbugs.gnu.org; 1 Jul 2021 07:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:59457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyrXH-0000t6-1E for submit@debbugs.gnu.org; Thu, 01 Jul 2021 03:54:59 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:45131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyrXF-0000su-E4 for 49247@debbugs.gnu.org; Thu, 01 Jul 2021 03:54:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1625126091; bh=FD63/clXrTc1C32BNY7yqlFGz/3ChBk+imu0jVZQiDU=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Wt+W4gxili+k/wBs7fCq3q8xEQ8gGUjBW0nNUWDbzl1Bcgo6JPIWS9x7vLzcufKmM 5J8deDmE/qI1Xafqz1l+q9hS3BvEd+4sb4G9uK46rGoiQaev42skFqJjLu+JafneG3 aCZivdYRHixUoTPxLEy5dFMabv1Nfn0TS8sNbspQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.98]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MGz1f-1m3UNd3YRv-00E6r7; Thu, 01 Jul 2021 09:54:50 +0200 In-Reply-To: <878s2r9mr8.fsf@mail.linkov.net> Content-Language: en-US X-Provags-ID: V03:K1:c3Ma5rAoRY1/p5cs3yTEygCHAOPpSLSNhTRymkUFNd1sJCoWbkm 8tlF1m6HrceFWsF0JvE3JMOuTGx91zjN+bhjaRuPOu26R59q0CigU4XO8NL8QH4l7iRcJxE LnRl13sVPceqNQVlKsVoeSH5FxP8apncdX9ZGKaJksql1cS6uYpnwofaNmsl1F3ySq/OZgy HT1XNbsG3y8q2u5m4yt8g== X-UI-Out-Filterresults: notjunk:1;V03:K0:HyaZUJbgexw=:bBV9SQojvSV+424Mj3OBcv /eMuRsjw+mSvmEt00oflNqAOqQHMmnAREp4N1CNl73VJ1yzmPQBGze8nS/ey9nP+B/iCvaqec VJV+phF/pPIIgLLyEGqyeCi2f/jQ8scfDVvq+aXB6ZJ7kbCBC/qwsHds3DpNzn9dO8eEJ22iD WTono7AjSMCjT+MC9sgKTAS4mmyO+Ou1p8tKGf2FdvD1W7cELoMtUw607b6vnN8r/ucMsmH8l zLnHidKYsq5rA7kW2NMdZEbEmcDxsHWjphN4uDh1Vyafh0JSTZzEkaxVmoamzMMzF+iyFI+jh 1qEBB5uZjxoOvnoQT5xePME5dlmFhi1nMdgs8chb1txbTYl75xObRQU8Me2OjfT6WLyzcE9cN fSZLrDu5yO+iSZpHsMaLJLw7fBzSICVFzTFV72vjO41AoZMr1uKum9WCE2Qb0XGqIIMeKKE8S Uushcss0wQk7+uMQfzGh5RJw+JzEl0x79i5FcIDbH9Q+873cei/pVBctBL9XsnyxWyz3E6uvY URU2Hf9CVcYezMuqxVk9QZ27RxcmPRXk9Tk5LxWIVPiah1lGXgZwr4slpwtjCSQX0CXAfcKv8 1sqxrYtC/iASgLJe0jS8w00h3JzCErLA/pktoKPg5szm/cV+G6d/lDQSAmqmiK/LjtH40MKTQ YdRp/SWDXYGeCsLLzKbeVNkI2ElVun7DhhZ0ykc38PxpAJrdzrky+uB9Kuv3Axg4UrKVJGpqi BEFS/HRWTScSXAyWlL9CS4RpSehgeAbOoRlG2OcqIkMy1HUtpoVQCaiGfZBrSEutvrEhUI00 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:209246 Archived-At: > This is an impressive feature - it works like in window managers. > > The only difference is that after trying > > (set-frame-parameter nil 'drag-with-header-line t) > > then dragging is limited only to the screen boundaries > and doesn't allow dragging parts of the frame off the screen > (to leave frame partly visible) like window managers do. This should be customizable via the `top-visible' and `bottom-visible' parameters. Note that dragging frames is mainly intended for child frames - frames contained within another frame - which with all GNU Linux window managers I know of are neither equipped with a title bar nor with a border. It's too easy to drag a child frame off the area of its parent in a way that you can't recover it with the mouse - also because in such case the mouse-sensitive regions of parent and child frame overlap. The default should keep you on the safe side. > Also can't drag by the mode-line with > > (set-frame-parameter nil 'drag-with-mode-line t) > > but probably because it affects only frames without minibuffer window. That's not a principal restriction. But I considered it confusing to allow dragging with a bar that is not located on top or bottom of the containing frame. > So it seems it should be possible to do the same for tab-line by implementing > > (set-frame-parameter nil 'drag-with-tab-line t) It should be also possible to drag a frame with the tab bar. Unless dragging should conceptually have different semantics with tabs as, for example, to drag them from left to right and vice versa on their bar or line. martin