From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#38624: 27.0.50; [wish] tab navigation via keyboard should mimic buffer navigation Date: Mon, 16 Dec 2019 01:06:54 +0200 Organization: LINKOV.NET Message-ID: <87mubt5gtt.fsf@mail.linkov.net> References: <874ky1twb4.fsf@len.workgroup> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224118"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 38624@debbugs.gnu.org To: Gregor Zattler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 16 00:18:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1igd9W-000wAT-RN for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2019 00:18:19 +0100 Original-Received: from localhost ([::1]:44558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igd9V-0001uo-7l for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Dec 2019 18:18:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36945) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igd9J-0001rs-JH for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 18:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igd9I-00049k-9C for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 18:18:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59755) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igd9I-00049M-5V for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 18:18:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igd9H-00048O-23 for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 18:18:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2019 23:18:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38624 X-GNU-PR-Package: emacs Original-Received: via spool by 38624-submit@debbugs.gnu.org id=B38624.157645186315839 (code B ref 38624); Sun, 15 Dec 2019 23:18:03 +0000 Original-Received: (at 38624) by debbugs.gnu.org; 15 Dec 2019 23:17:43 +0000 Original-Received: from localhost ([127.0.0.1]:37487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igd8w-00047P-U5 for submit@debbugs.gnu.org; Sun, 15 Dec 2019 18:17:43 -0500 Original-Received: from bonobo.elm.relay.mailchannels.net ([23.83.212.22]:56450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igd8v-00047G-3f for 38624@debbugs.gnu.org; Sun, 15 Dec 2019 18:17:41 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EFD2E1A1156; Sun, 15 Dec 2019 23:17:39 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com (100-96-60-111.trex.outbound.svc.cluster.local [100.96.60.111]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 791261A108F; Sun, 15 Dec 2019 23:17:39 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 15 Dec 2019 23:17:39 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Cold-Minister: 3917e5f008c55e6d_1576451859726_2611016001 X-MC-Loop-Signature: 1576451859726:2969838858 X-MC-Ingress-Time: 1576451859726 Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTP id 1E6C67F5E9; Sun, 15 Dec 2019 15:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=x4wgF0EHRbewHPKyRN8JApx4ZEs=; b= GzKxfVqRrOkctkkbWHEImR1FS0Jgs0Dwqw9gOXDEF9w7giFAXvrfCpo28IvjsAAr mXFZVR218W3ztditOWtwVKcRRVhTelew0HLmwEX99hsWhvAWEOb4hvK4AcH8wDsE K3kc7gn80NjI41YZKSZjGzYqKnIccsgMWexyw1U3D4g= Original-Received: from mail.jurta.org (m91-129-107-186.cust.tele2.ee [91.129.107.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 1F78E7F5EF; Sun, 15 Dec 2019 15:17:32 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a34 In-Reply-To: <874ky1twb4.fsf@len.workgroup> (Gregor Zattler's message of "Sun, 15 Dec 2019 16:58:39 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvddtgedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtjedrudekieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdejrddukeeipdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepthgvlhgvghhrrghphhesghhmgidrnhgvthenucevlhhushhtvghrufhiiigvpedv X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173406 Archived-At: > this wish list bug is about the tab bar user interface, I'd like to > navigate tabs via keyboard, probably without showing the tab bar: Thanks for the feedback. Tabs were designed to be usable even without the tab bar, but this could be improved further indeed. > Navigating tabs with "C-X t o" is error prone since it provides no > feedback which tab is selected (different tabs may show identical window > configurations at a specific point of time). Perhaps it should show the > name of the selected tab in the echo area? Or the name of the > tab could be shown in the mode line? Most commands (new tab and close tab) already display the message, but not when a tab is selected. Thanks for noticing. This is now improved to show the name of the selected tab in the echo area. > I'd prefer to navigate tabs like buffers via names and completion. > This would be like switch-to-buffer, how about "C-X t t" as the default > key binding? This would happen in the echo area, therefore be less > visual intrusive and keep the current window configuration visible > till I choose the next one, while tab-list blanks the whole frame till I > choose the next one from this list. There is already the command like switch-to-buffer to select a tab by name with completion. The command name is 'tab-bar-select-tab-by-name' (alias of 'tab-bar-switch-to-tab'). So you propose to bind it to the key 'C-x t t'? This key is the most convenient to type, so it should be used for the most frequently used tab command. Do you think 'tab-bar-switch-to-tab' would be the most frequently used command? > M-x tab-list creates a temporary tab, which looks like a buffer in a > window, but is not shown for instance as a buffer in ibuffer. Other > than ibuffer or list-buffers which split the window and therefore > provide some visual context, tab-list destroys this context. Actually, tab-list was designed to not destroy the window configuration. Unlike ibuffer or list-buffers that split the window, tab-list can't do the same. If tab-list will split the window, then after selecting another tab in the list and later going back to the same tab, will still display the window with tab-list, and the same window will be presented in every tab that would be annoying. Thus tab-list takes care to not break user's window configurations. > The names of the tabs are somehow centred vertically and horizontally, > which irritates me. They are centered to resemble the window list displayed by window managers in the center of the screen when switching windows. If you don't like this, maybe there could be an option to display the list in the top left corner of the frame? > I would prefer tab-list to create a buffer which mimics list-buffers or > better ibuffer. This could be bound to "C-X t C-t". Then I would have > the choice to have a dedicated tab which shows this buffer or switch to > it in a tab. Perhaps it should be possible or even default to bury this > tab list before switching to the next tab, in order to restore the > windows configuration in the tab current when calling tab-list. I don't understand how would use this dedicated tab to switch to it from another tab. Or do you want to use tab-list for other purposes, not for selecting a tab from the list? > Then for instance in ibuffer I can kill a line with C-K and yank it in > another buffer. This is not possible with the tab-list. It only marks > the tab on this line for deletion (which is ok) but does not copy it to > the kill ring. tab-list was modeled after list-buffers where C-k marks the buffer for deletion. There are so many features in ibuffer, many of them don't exist in list-buffers, so I expect people will create packages that would provide equivalents of many of them for tabs.