From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: emacs-28 d9b0b73 1/2: * doc/emacs/frames.texi (Tab Bars): Describe tab-last. Date: Mon, 15 Nov 2021 18:44:41 +0100 Message-ID: <87h7cdnwja.fsf@gmail.com> References: <20211107180130.21860.30228@vcs0.savannah.gnu.org> <20211107180132.53DC620536@vcs0.savannah.gnu.org> <87lf1po4uo.fsf@gmail.com> <86czn1cqrs.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27327"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 15 18:46:02 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmg3N-0006tL-FX for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 18:46:01 +0100 Original-Received: from localhost ([::1]:48112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmg3M-0003qc-GG for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 12:46:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmg2B-0002ib-Re for emacs-devel@gnu.org; Mon, 15 Nov 2021 12:44:47 -0500 Original-Received: from [2a00:1450:4864:20::42c] (port=35602 helo=mail-wr1-x42c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmg28-0006tb-TL for emacs-devel@gnu.org; Mon, 15 Nov 2021 12:44:47 -0500 Original-Received: by mail-wr1-x42c.google.com with SMTP id i5so32340152wrb.2 for ; Mon, 15 Nov 2021 09:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=NAQKFh7qu74T7XxPgupyftuz7FdRPyqaZqg1o242yjo=; b=l0N10Co+cy3p7a0QdEHpvgFFhDp8ooqnLGy7L5tT6rQuIlTGO3Z0fYnF/N5ysGecxg zR8No3tvVJ8Op01ahQBjtodehgXZbLOtW+8FUROxENctGBz1eeSK997qEhmZdMT+S9Hn rvASNtLMDqR0DYB65QKSHSli2JbrkzmGRqK+tLKY0wMX3DOWJfPy4vNzOaDNsg7myvMj efsTF6MbDGZVW4olwPVxUCkgttq1H2m9c/Xgc+RZUdKUte1brDRREZz7XK50WILjqa2q q557utnw4JLJvvb0wfK9n/IwuCMK8J3XeBBLNmZYkM0qJMGwqLY5uQhfZ5LEQThV8Ybz K5vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=NAQKFh7qu74T7XxPgupyftuz7FdRPyqaZqg1o242yjo=; b=oRIQu4poH8aw9ZpW2AZuvKp4/gkXsbeGWDyioMgh807wiJCXG0iC/FRND8ORAcEWDc byDwnWhGB18zOHHQlcFZAikZuS0fgFsAcJZInTKJ0lIRLCTmslME5VPVo3ZhGdnky6Uf c9Mw6pRyHTrv1Q3Y6XEReoXBdv983IS2UancGDn88DRshqO5ewuplLgchhLN/MUYMin5 UJONuhFQ2LWlWJsiytZJv38CzSQPjr455vI+RZQsrZXs/uynAuvNXz7cv8vbWzrrVMvm OSpJtLzVmYMVMVsMsh6CAzJGwFJuywdVeb7zTi9Uk4AxLAs9i5tqIIqSzn8Ln+khqrK+ zN7g== X-Gm-Message-State: AOAM533Adr7C1aa05DdWnV88gC1SZaKkbPC5+qcLNFK7lMcXLlanTt+5 DXwcOGv/wrukte9ecOMGLE+9R6xwQ3w= X-Google-Smtp-Source: ABdhPJwUKQqtZUdaA1X0xYUPlQSRGtDRaZkCKITJoWrjici7HJdJuAqlmxUEIA0DMiviBEMbxmELJA== X-Received: by 2002:adf:fc88:: with SMTP id g8mr1025641wrr.334.1636998282357; Mon, 15 Nov 2021 09:44:42 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:c894:e65c:c0bc:f1d9]) by smtp.gmail.com with ESMTPSA id v8sm15344895wrd.84.2021.11.15.09.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 09:44:41 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <86czn1cqrs.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 15 Nov 2021 19:20:39 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279511 Archived-At: >>>>> On Mon, 15 Nov 2021 19:20:39 +0200, Juri Linkov said: >>> *** New optional key binding for 'tab-last'. >>> If you customize the user option 'tab-bar-select-tab-modifiers' to >>> allow selecting tabs using their index numbers, the '-9' key >>> is bound to 'tab-last', and switches to the last tab. Here >>> is any of the modifiers in the list that is the value of >>> +'tab-bar-select-tab-modifiers'. You can also use positive indices, >>> +which count from the last tab: 1 is the last tab, 2 the one before >>> that, etc. >> >> Hi Juri, this contradicts what the docstring for >> `tab-bar-select-tab-modifiers' says about indices. Juri> Please try to type 'C-u 2 -9'. Juri> It selects the tab before the last tab. Juri> Maybe 'C-u -2 -9' should do the same? Juri> E.g. by using '(abs)' on the argument? Hmm, ok. I got confused by the 'tab-bar-select-tab-modifiers' docstring, which says List of modifier keys for selecting tab-bar tabs by their numbers. Possible modifier keys are `control', `meta', `shift', `hyper', `super' and `alt'. Pressing one of the modifiers in the list and a digit selects the tab whose number equals the digit. Negative numbers count from the end of the tab bar. The digit 9 selects the last (rightmost) tab. For easier selection of tabs by their numbers, consider customizing `tab-bar-tab-hints', which will show tab numbers alongside the tab name. Perhaps the option of doing C-u -9 should be mentioned there as well? Robert --