unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [PATCH] New tab-bar-detach-tab command
Date: Wed, 6 Oct 2021 06:23:59 -0500	[thread overview]
Message-ID: <CAO_b3FVekA5bbeuSTjVLrAXTEJqtptQ8o2XvUc2UkOszmz4P_A@mail.gmail.com> (raw)
In-Reply-To: <87ee8z5swg.fsf@mail.linkov.net>

On Tue, Oct 5, 2021 at 12:01 PM Juri Linkov <juri@linkov.net> wrote:
>
> >> The command was named "duplicate" because web browsers
> >> provide the menu item "Duplicate tab".
> >
> > Of course, that makes sense.  But since "clone" seems to already be a
> > term used in Emacs for this sort of thing, maybe we should consider
> > using it, instead.
>
> Maybe there is no problem when the command name will contain the word
> "clone", but its menu item will be like in web browsers:
>
>         `(menu-item "Duplicate" (lambda () (interactive)
>             (tab-bar-clone-tab

I'd vote for naming the menu item to match the command, but I don't
feel strongly about it.  Maybe the menu could be seen as a place to
use terms more common in other software, in which case the disparity
would make sense.

> And wouldn't it be too error-prone when the name 'tab-bar-clone-tab'
> will differ only by one letter from another name 'tab-bar-close-tab'?

Seems okay to me.  It's probably not the only case in which two
commands' names differ by a letter.

> > For example, `clone-buffer' and `clone-process' both
> > "Create a twin copy of...".
>
> 'tab-duplicate' is bound to 'C-x t n' and not to 'C-x t c' because
> 'clone-buffer' is bound to 'C-x x n' and not 'C-x x c'.

Hm, "C-x x c" is unbound by default, so I'd vote for moving
`clone-buffer' to it.  :)  But, again, I don't feel strongly about
this, as these aren't commands I use often.



  reply	other threads:[~2021-10-06 11:23 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28 19:09 [PATCH] New tab-bar-detach-tab command Adam Porter
2021-09-29  1:05 ` Matt Beshara
2021-09-29  7:11   ` Juri Linkov
2021-09-29  7:43   ` Adam Porter
2021-09-29  7:09 ` Juri Linkov
2021-09-29  7:59   ` Adam Porter
2021-09-29 19:43     ` Juri Linkov
2021-09-29 19:54       ` Adam Porter
2021-10-03 17:19         ` Juri Linkov
2021-10-04 10:34           ` Adam Porter
2021-10-04 17:33             ` Juri Linkov
2021-10-04 19:53               ` Adam Porter
2021-10-05  6:49                 ` Juri Linkov
2021-10-05  7:17                   ` Adam Porter
2021-10-05 15:27                     ` [External] : " Drew Adams
2021-10-05 16:38                     ` Juri Linkov
2021-10-06 11:23                       ` Adam Porter [this message]
2021-10-06 16:38                         ` Juri Linkov
2021-10-07 18:02                           ` Juri Linkov
2021-10-07 18:23                             ` [External] : " Drew Adams
2021-10-05 15:18                   ` Drew Adams
2021-10-05 16:40                     ` Juri Linkov
2021-10-05 17:27                       ` Drew Adams
2021-10-06 16:39                         ` Juri Linkov
2021-10-06 20:20                           ` [External] : " Drew Adams
2021-10-07  7:29                             ` Juri Linkov
2021-10-07  7:43                               ` Eli Zaretskii
2021-10-07 17:58                                 ` Juri Linkov
2021-10-07 18:19                                   ` Drew Adams
2021-10-07 18:28                                   ` Eli Zaretskii
2021-10-07 15:56                               ` Drew Adams
2021-10-05 16:35                 ` Juri Linkov
2021-10-05 15:15               ` [External] : " Drew Adams

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=CAO_b3FVekA5bbeuSTjVLrAXTEJqtptQ8o2XvUc2UkOszmz4P_A@mail.gmail.com \
    --to=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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).