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.devel Subject: Re: Tab bar tabs landed on master Date: Wed, 23 Oct 2019 23:59:21 +0300 Organization: LINKOV.NET Message-ID: <87k18vdvpy.fsf@mail.linkov.net> References: <8736gci5jn.fsf@mail.linkov.net> <87zhikp0ba.fsf@mail.linkov.net> <87lfu4jbbu.fsf@Ergus.i-did-not-set--mail-host-address--so-tickle-me> <87tv8myi8m.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="147300"; 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: Juanma Barranquero , Emacs developers To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 24 00:23:03 2019 Return-path: Envelope-to: ged-emacs-devel@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 1iNP1z-000c7L-7F for ged-emacs-devel@m.gmane.org; Thu, 24 Oct 2019 00:23:03 +0200 Original-Received: from localhost ([::1]:50490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNP1x-00041v-I5 for ged-emacs-devel@m.gmane.org; Wed, 23 Oct 2019 18:23:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNNom-0002CQ-Mn for emacs-devel@gnu.org; Wed, 23 Oct 2019 17:05:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNNol-0005Rp-J4 for emacs-devel@gnu.org; Wed, 23 Oct 2019 17:05:20 -0400 Original-Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:4136) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNNok-0005QG-Sm for emacs-devel@gnu.org; Wed, 23 Oct 2019 17:05:19 -0400 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 5790F3411D8; Wed, 23 Oct 2019 21:05:17 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a15.g.dreamhost.com (100-96-6-135.trex.outbound.svc.cluster.local [100.96.6.135]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D27FF3411A5; Wed, 23 Oct 2019 21:05:16 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a15.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); Wed, 23 Oct 2019 21:05:17 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Print-Shoe: 473846862b75a3e2_1571864717101_1256809462 X-MC-Loop-Signature: 1571864717100:44014809 X-MC-Ingress-Time: 1571864717100 Original-Received: from pdx1-sub0-mail-a15.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTP id 6D4218500A; Wed, 23 Oct 2019 14:05:14 -0700 (PDT) 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=2BmzKeCHb+I4U/akU4WOsLhYZ7U=; b= csQLcSBeMDRWfV6SmReAYhzJSsp95czmK59jQESNdR0TAl3lfg7hy475ncxhvEla UTY0XxMCYbV70VZCgRhNo+qbE9SpIxxH1lxlWaUsx42bARyQ0PkD5Fm81ckXb554 Yf+LsCDP8+rU2gdZASBuCTwszJCZK2KKuupSvU8VQXQ= Original-Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153]) (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-a15.g.dreamhost.com (Postfix) with ESMTPSA id 7153E84FF7; Wed, 23 Oct 2019 14:05:11 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a15 In-Reply-To: <87tv8myi8m.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 06 Oct 2019 00:55:33 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.48 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241377 Archived-At: > tab-new could support the prefix argument as well, but > I don't know whether to interpret its numeric prefix argument > as absolute or relative position because both ways are useful: > > C-2 C-x t 2 - could create a new tab as the second tab in the tab-bar > > OR > > C-2 C-x t 2 - create a new tab as the second next > to the right from the current tab > C-u -2 C-x t 2 - create a new tab as the second previous > to the left from the current tab > > Maybe to add a rule that if tab-bar-new-tab-to option has a relative value > like 'right' then M-x tab-new should interpret its arg as relative, or if > tab-bar-new-tab-to option has an absolute value like 'rightmost' then M-x > tab-new should interpret arg as absolute? > > Or maybe to add a new command tab-add as a wrapper for tab-new > to translate its relative arg to absolute number for tab-new? Now there are two commands: C-2 M-x tab-new adds a new tab two positions to the right from the current tab; C-2 M-x tab-new-to adds a new tab as the second tab in the tab-bar.