From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Tue, 15 Oct 2019 17:14:08 -0700 Message-ID: References: <20191008160038.6xvnytnoruzphzd6@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> <87o8yhn3pt.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="52186"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: spacibba@aol.com, psainty@orcon.net.nz, emacs-devel@gnu.org, rudalics@gmx.at, michael_heerdegen@web.de, eliz@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 16 02:14:46 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 1iKWxh-000DVO-VH for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 02:14:46 +0200 Original-Received: from localhost ([::1]:33898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKWxg-0002Bt-Sr for ged-emacs-devel@m.gmane.org; Tue, 15 Oct 2019 20:14:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49190) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKWxE-00029Q-9K for emacs-devel@gnu.org; Tue, 15 Oct 2019 20:14:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKWxD-0006Pg-8i for emacs-devel@gnu.org; Tue, 15 Oct 2019 20:14:16 -0400 Original-Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:37722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKWxD-0006PV-0c for emacs-devel@gnu.org; Tue, 15 Oct 2019 20:14:15 -0400 Original-Received: by mail-pg1-x52a.google.com with SMTP id p1so13137684pgi.4 for ; Tue, 15 Oct 2019 17:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1jsOc45ZiKIJBLMYcTAKqWYvjeP2QMWgf7MfMLCr7u0=; b=rhkA+Asl4Ft3o1l0QDqzhO6ylC300BpA/m6PfmWHDpNgjHwHLAWwtZopCeMaYKyFdM a8MyhDwoWm+bNds4ji2dL0Rie1Zm/+vm0ycDfE3K8B/z8gK995qfDw+vRfu+prfAfOeS kKrxFnRKIqGzlK2xVYwwVe2be+pEoweZKmJbesf/jBWYQZUTNPIw3RnwHJeUYn0Ok3Nu dnwcty/ATmrAKNd2ecn+USOHcdYFNUZZrz3oZ19ZFBtuty8yGTEcbxxj/Y3N68QN9wv7 gNjlOi8NF+rYglJQJNULhKvdc9ecnrA2KUCWqEjBVwOReXemV6bl1uHDO3nGgB+1h+6A Fteg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1jsOc45ZiKIJBLMYcTAKqWYvjeP2QMWgf7MfMLCr7u0=; b=n5SRW88V/EvllbbSYdkeha5IlDjZkkNI6IHm7LGGYxen201O8mzfXrr5iFyahyKUX9 MAy+f+NlfIaBHiCDL662m/QI80WoRRgOkH3GIWaOHjhIEdvUxTiln8exQz08eR7Sgkqq oK+TPQpE9tU/+fEjhmPseceAAgyojXbt+7ei2RLKMQ5KTfyYuzSlt9sZhFTDSLsBRv2p VUzSJtK0t9URXErEaEVCYyaGKmSEFkIUXkMPuUmfOB9vpkk4pkGMAkuny/l2i4zMwF26 GrRMAt9fS7EauPsz4akJPP3EL61C01dVoHlNmOZZTswU9H41S3bh1OAPZVvz4JljMCQK JNxA== X-Gm-Message-State: APjAAAXOHQGYcrLQQqBDQLUGMZ6Whvt4SG97xlg1hJtnlZ2ZNyWAyjOm JMIH+K+2CkGvR7vwpUvc0AUkVQ== X-Google-Smtp-Source: APXvYqxlGsVQA/HvF1AwYr6U/AZsHDJkyDP6Ij3by3wFBQCWJBPnwOxO4TTUgiiMeHEHk+zTunc1Eg== X-Received: by 2002:aa7:8b02:: with SMTP id f2mr42187532pfd.31.1571184852909; Tue, 15 Oct 2019 17:14:12 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (8.100.247.35.bc.googleusercontent.com. [35.247.100.8]) by smtp.gmail.com with ESMTPSA id w6sm27029535pfj.17.2019.10.15.17.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 17:14:11 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id C1ED2C21C1C; Wed, 16 Oct 2019 02:14:08 +0200 (CEST) In-Reply-To: <87o8yhn3pt.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 15 Oct 2019 23:39:10 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52a 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:241074 Archived-At: Juri Linkov writes: Nice, works well for me (set it to control) >> 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? > --