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 01:00:45 +0300 Organization: LINKOV.NET Message-ID: <87lftnng1e.fsf@mail.linkov.net> References: <20191008160038.6xvnytnoruzphzd6@Ergus> <20191008164048.bnad4wdkcbatqepp@Ergus> <83v9szw4o4.fsf@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="87640"; 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, michael_heerdegen@web.de, emacs-devel@gnu.org, martin rudalics , Eli Zaretskii , "T.V Raman" To: Phil Sainty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 15 00:02:47 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 1iK8QQ-000Mgo-TS for ged-emacs-devel@m.gmane.org; Tue, 15 Oct 2019 00:02:47 +0200 Original-Received: from localhost ([::1]:58104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK8QP-0006mN-I2 for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2019 18:02:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38853) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK8Pe-0006fk-0b for emacs-devel@gnu.org; Mon, 14 Oct 2019 18:01:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK8Pb-0002h3-DT for emacs-devel@gnu.org; Mon, 14 Oct 2019 18:01:57 -0400 Original-Received: from blue.elm.relay.mailchannels.net ([23.83.212.20]:42137) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iK8PX-0002Wd-JT; Mon, 14 Oct 2019 18:01:52 -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 6E18E58153E; Mon, 14 Oct 2019 22:01:49 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a67.g.dreamhost.com (100-96-87-223.trex.outbound.svc.cluster.local [100.96.87.223]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id F2D8A581527; Mon, 14 Oct 2019 22:01:48 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a67.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); Mon, 14 Oct 2019 22:01:49 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Desert-Occur: 6b141d857fa5afde_1571090509253_4016868768 X-MC-Loop-Signature: 1571090509253:2908079906 X-MC-Ingress-Time: 1571090509253 Original-Received: from pdx1-sub0-mail-a67.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a67.g.dreamhost.com (Postfix) with ESMTP id EE7B58021D; Mon, 14 Oct 2019 15:01:47 -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=rOOIomZGSmpaD/uVbdJkk4be6Fk=; b= qGAV49wTJ7SUmnHgIGRlRUUtqJHEvMNmQ5bCpuOPm4G3yzSLUMB1FJR24JaTKoKk jGzD6a8E7CWnuy8eLI1idYJ8wsae9f4moQl2dMP/+af7dJuZPBgJo98IM3NGnucN ltNyNZeRgGnDHVszNytW3yDI2nDR32sD/ToNSMHq/m4= 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-a67.g.dreamhost.com (Postfix) with ESMTPSA id 3F8CC80212; Mon, 14 Oct 2019 15:01:42 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a67 In-Reply-To: <80e35d2db3f747299695d1effb806774@webmail.orcon.net.nz> (Phil Sainty's message of "Tue, 15 Oct 2019 10:53:21 +1300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.212.20 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:241028 Archived-At: >> 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?