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#37998: 27.0.50; gnus RFE: gnus-other-tab a la gnus-other-frame Date: Fri, 22 Nov 2019 00:22:07 +0200 Organization: LINKOV.NET Message-ID: <87o8x4hnu8.fsf@mail.linkov.net> References: <87tv7qne5x.fsf@gnus.org> <87k17y96bx.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59001"; 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: Sam Steingold , 37998@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 22 00:05:59 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 1iXvWQ-000FCJ-5U for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 00:05:58 +0100 Original-Received: from localhost ([::1]:46452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXvWO-0004pJ-Rc for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Nov 2019 18:05:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60790) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXvVa-00044V-Qn for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 18:05:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXvVY-0003ho-MU for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 18:05:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXvVX-0003gj-4r for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 18:05:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iXvVW-0005oq-Ty; Thu, 21 Nov 2019 18:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 21 Nov 2019 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37998 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 37998-submit@debbugs.gnu.org id=B37998.157437748822328 (code B ref 37998); Thu, 21 Nov 2019 23:05:02 +0000 Original-Received: (at 37998) by debbugs.gnu.org; 21 Nov 2019 23:04:48 +0000 Original-Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXvV9-0005no-Ip for submit@debbugs.gnu.org; Thu, 21 Nov 2019 18:04:44 -0500 Original-Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:31177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXvUZ-0005kp-97 for 37998@debbugs.gnu.org; Thu, 21 Nov 2019 18:04:15 -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 214763C0EA1; Thu, 21 Nov 2019 23:04:02 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a7.g.dreamhost.com (100-96-6-199.trex.outbound.svc.cluster.local [100.96.6.199]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 847603C0838; Thu, 21 Nov 2019 23:04:01 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a7.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); Thu, 21 Nov 2019 23:04:02 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Minister-White: 4add38fa5d52bd44_1574377441916_108291121 X-MC-Loop-Signature: 1574377441916:2922642327 X-MC-Ingress-Time: 1574377441916 Original-Received: from pdx1-sub0-mail-a7.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a7.g.dreamhost.com (Postfix) with ESMTP id 3408A82B00; Thu, 21 Nov 2019 15:04:00 -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=BWiN16cERxSQNo0fv9L5823QbCQ=; b= VQmWfaRx2mmX8Bh7xPVzj2QiCxIiPvMG/1uzyE7/n+nRseqaU/+gxtgJzkyqPwP/ i5B+DVjtYZrARWTWg1g8l/R0Kpsww9JTSI2uSos4T2t4NKHtOeYO4hFIVfQeNfn4 PZWgoqmiznP6doJUg+036Teqo79BYSODpyxys1U5xr8= Original-Received: from mail.jurta.org (m91-129-102-1.cust.tele2.ee [91.129.102.1]) (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-a7.g.dreamhost.com (Postfix) with ESMTPSA id 4EAB382B0E; Thu, 21 Nov 2019 15:03:57 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a7 In-Reply-To: <87k17y96bx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 17 Nov 2019 10:53:54 +0100") 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:172176 Archived-At: >>> Perhaps there should be a more general interface to say "run this >>> command in a new tab"? Otherwise we'll end up with a huge bunch of >>> new foo-other-tab commands. >> >> It is not so much "create a new tab and run gnus there" as the >> bookkeeping of having a tab dedicated to gnus. > > But doesn't that go for all commands? I guess Gnus is slightly special > in that it uses several windows, but... I'm not sure if a new command analogous to gnus-other-frame is needed for tabs. For a more general interface I believe we have to rely on display-buffer-alist. For example, I create a separate tab for each group and for the group buffer. Using display-buffer-alist the rules could look like ("\\`\\*Group\\*\\'" . (display-buffer-in-tab (name . "Gnus"))) ("\\`\\*Summary \\(.*\\)\\*\\'" . (display-buffer-in-tab (name . "Group \\1"))) So e.g. the command `M-x gnus RET' will create the tab with the name "Gnus" automatically, or switch to the existing tab with the name "Gnus". Opening a summary from the group buffer will either create a new tab with the name deduced from the summary buffer name, or switch to the existing tab by name.