emacs-devel
[Top][All Lists]
Advanced

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

Re: C-x t N


From: Andreas Schwab
Subject: Re: C-x t N
Date: Mon, 06 Sep 2021 18:41:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

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.

> The semantics of -1 being the last one would work if the index of the
> first were zero, not 1.

There is no -0, so that doesn't work.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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