From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: emacs-devel@gnu.org, juri@linkov.net
Subject: Re: C-x t N
Date: Mon, 06 Sep 2021 20:27:45 +0300 [thread overview]
Message-ID: <83r1e1r4vi.fsf@gnu.org> (raw)
In-Reply-To: <87bl55ejvz.fsf@igel.home> (message from Andreas Schwab on Mon, 06 Sep 2021 18:41:52 +0200)
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Juri Linkov <juri@linkov.net>, emacs-devel@gnu.org
> Date: Mon, 06 Sep 2021 18:41:52 +0200
>
> On Sep 06 2021, Eli Zaretskii wrote:
>
> > Here's the problem: if index = 1 means "the first tab", then -1 which
> > "counts from the end" is not the last one, it's one before that.
>
> If indexes are one-based, then -1 is the last.
It's the last existing one, but we are adding one more. And adding a
tab at index IDX means all those at IDX and after it move to the right
to free a slot for the new one. But that's not what we do with tabs
in this case.
next prev parent reply other threads:[~2021-09-06 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-06 8:35 C-x t N Eli Zaretskii
2021-09-06 15:22 ` Juri Linkov
2021-09-06 15:58 ` Eli Zaretskii
2021-09-06 16:41 ` Andreas Schwab
2021-09-06 17:27 ` Eli Zaretskii [this message]
2021-09-09 7:57 ` Juri Linkov
2021-09-09 11:51 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r1e1r4vi.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).