unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: schwab@linux-m68k.org, emacs-devel@gnu.org
Subject: Re: C-x t N
Date: Thu, 09 Sep 2021 14:51:51 +0300	[thread overview]
Message-ID: <834kaukluw.fsf@gnu.org> (raw)
In-Reply-To: <87sfye5joq.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 09 Sep 2021 10:57:09 +0300)

> From: Juri Linkov <juri@linkov.net>
> Cc: Andreas Schwab <schwab@linux-m68k.org>,  emacs-devel@gnu.org
> Date: Thu, 09 Sep 2021 10:57:09 +0300
> 
> >> > 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.

And that is the problem, see above.

I get it that you are unconvinced, and will stop arguing, but I still
think this is not a good semantics, if my opinion on these matters
means anything to you.



      reply	other threads:[~2021-09-09 11:51 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
2021-09-09  7:57         ` Juri Linkov
2021-09-09 11:51           ` Eli Zaretskii [this message]

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=834kaukluw.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).