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: Tabs Date: Tue, 15 Oct 2019 23:39:10 +0300 Organization: LINKOV.NET Message-ID: <87o8yhn3pt.fsf@mail.linkov.net> References: <20191008160038.6xvnytnoruzphzd6@Ergus> <20191008234350.ahxt4zcylxqludoc@Ergus> <837e5ewc0a.fsf@gnu.org> <20191009103936.qjdwuidqnowswojw@Ergus> <83wodeup6a.fsf@gnu.org> <20191009120534.ud6st2xvrv3rv6iy@Ergus> <83o8yqumdl.fsf@gnu.org> <20191009135539.c2i6ob52td6p34ab@Ergus> <83k19euhic.fsf@gnu.org> <8736g1bl4y.fsf@mail.linkov.net> <83zhi9rqcb.fsf@gnu.org> <877e5cmdpk.fsf@mail.linkov.net> <659acba7-a633-2bf8-1579-b83f5cf2bb68@gmx.at> <87blul37sd.fsf@mail.linkov.net> <2282f22a-048f-aa06-067d-c29b2cef9a2d@gmx.at> <87d0ezunm5.fsf@mail.linkov.net> <80e35d2db3f747299695d1effb806774@webmail.orcon.net.nz> <87lftnng1e.fsf@mail.linkov.net> <23972.63583.102859.614211@retriever.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260315"; 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: spacibba@aol.com, psainty@orcon.net.nz, emacs-devel@gnu.org, rudalics@gmx.at, michael_heerdegen@web.de, eliz@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 15 22:40:31 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 1iKTcN-0015Y8-58 for ged-emacs-devel@m.gmane.org; Tue, 15 Oct 2019 22:40:31 +0200 Original-Received: from localhost ([::1]:59016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKTcL-00017v-PE for ged-emacs-devel@m.gmane.org; Tue, 15 Oct 2019 16:40:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50560) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKTbg-00017P-R8 for emacs-devel@gnu.org; Tue, 15 Oct 2019 16:39:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKTbf-0003fR-O9 for emacs-devel@gnu.org; Tue, 15 Oct 2019 16:39:48 -0400 Original-Received: from bongo.elm.relay.mailchannels.net ([23.83.212.21]:48587) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iKTbe-0003ef-7o; Tue, 15 Oct 2019 16:39:46 -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 5FFE42C0DF7; Tue, 15 Oct 2019 20:39:44 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a4.g.dreamhost.com (100-96-91-110.trex.outbound.svc.cluster.local [100.96.91.110]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D13892C1A84; Tue, 15 Oct 2019 20:39:43 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a4.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); Tue, 15 Oct 2019 20:39:44 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Drop-Blushing: 5ba30ea77e4598e8_1571171984099_4143133676 X-MC-Loop-Signature: 1571171984099:1812172422 X-MC-Ingress-Time: 1571171984099 Original-Received: from pdx1-sub0-mail-a4.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a4.g.dreamhost.com (Postfix) with ESMTP id 2E1F5807D1; Tue, 15 Oct 2019 13:39:40 -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=Tjyj30epTAf+MzgwhkarajCHJHo=; b= 2crfu0PeQiE7STMomqoZvdatuVRt2LTpAjx59S3V/s4rYcssXSxSr9sC5vUj1Mx2 xKbCsB7Pry1DXiTMqfpgNw739CHYP9ZKdJbvfToVpB7tFwBRHwMjBqwIOfph9JJ1 4EA/vhXVxg0q8Nb+EXpLVNjlSAu1TyKccjoaeQ/8rxk= 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-a4.g.dreamhost.com (Postfix) with ESMTPSA id 6BF35807E9; Tue, 15 Oct 2019 13:39:34 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a4 In-Reply-To: <23972.63583.102859.614211@retriever.mtv.corp.google.com> (T. V. Raman's message of "Mon, 14 Oct 2019 15:36:15 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.212.21 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:241063 Archived-At: > Hard to pick defaults in emacs, everyone will have a prefered default :-) So now the new option tab-bar-select-tab-modifiers has no default. It allows selecting a set of modifiers such as Ctrl or Meta. > > >> One additional thought on keybindings, at present, when running under X, > > >> C-1 ..C-0 all run "digit-argument" and there are other ways to supply > > >> that -- from myself, I never have used c-1 etc for digit argument. Could > > >> we perhaps use C-1 .. to jump to a tab by index? > > > > > > The C-0 to 9 and M-0 to 9 sets of `digit-argument' bindings are *both* > > > useful, because sometimes you'll be following the numeric arg with a > > > Ctrl-modified key, and sometimes you'll follow it with a Meta-modified > > > key, and simply holding down the same modifier throughout makes the > > > sequence easier to type, vs having to switch modifiers in the middle. > > > > > > As such, I don't think clobbering those should be a default; but it could > > > certainly be an option. > > > > > > Perhaps it could be done similarly to `windmove-default-keybindings', > > > where the user can trivially choose the modifier key to use. > > > > Currently I'm using the hard-coded modifier > > > > (dotimes (i 9) > > (global-set-key (vector (list 'super (+ i 1 ?0))) > > 'tab-bar-select-tab)) > > > > but making it customizable is a good idea. > > > > What modifier we could set as the default value?