emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-x t N


From: Juri Linkov
Subject: Re: C-x t N
Date: Thu, 09 Sep 2021 10:57:09 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> > 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.

-1 defines the position that the moved tab will have after moving.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]