From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Karthik Chikmagalur Newsgroups: gmane.emacs.devel Subject: Re: Concern about new binding. Date: Tue, 09 Feb 2021 15:22:36 -0800 Message-ID: <86czx8bzcz.fsf@gmail.com> References: <87zh0mmr54.fsf@gmail.com> <83lfc53whk.fsf@gnu.org> <20210203180142.seu6o3i6u7jhkyrh@Ergus> <83eehx3to5.fsf@gnu.org> <20210203221628.xgvvxjvh56gyswba@Ergus> <20210204070033.pm4ido4hq7a6twif@Ergus> <83sg6brhyg.fsf@gnu.org> <87a6sjpyqs.fsf@gnus.org> <838s83ra3q.fsf@gnu.org> <87mtwjocn7.fsf@gnus.org> <87o8gzpj31.fsf@mail.linkov.net> <87wnvmlwjq.fsf@gnus.org> <87k0rmkh68.fsf@mail.linkov.net> <875z35frk0.fsf@gnus.org> <87o8gxf1fg.fsf@mail.linkov.net> <874kio84ht.fsf@gnus.org> <87mtwg6oi6.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27686"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 10 00:24:10 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9cMc-000767-86 for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Feb 2021 00:24:10 +0100 Original-Received: from localhost ([::1]:59996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9cMb-0003pb-8n for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Feb 2021 18:24:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9cLD-0003Eb-PH for emacs-devel@gnu.org; Tue, 09 Feb 2021 18:22:43 -0500 Original-Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:51385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9cLC-00080c-0f for emacs-devel@gnu.org; Tue, 09 Feb 2021 18:22:43 -0500 Original-Received: by mail-pj1-x1030.google.com with SMTP id fa16so57532pjb.1 for ; Tue, 09 Feb 2021 15:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=GejfvZtyl5MDD9BNF4aXDiEz/MI6Mc6riFhguoNPgIA=; b=Dir6Z8NJvu93zO8MfNIEaMIeU6qoMmJb2S8WCI15RMoWZ160LZBEnT8/+Fd01vdQPG VAGE3cluXge42GrbcIzu5kOgzwR+Pw/B9ZeWlf8jZOvIFrSaSpZ6eKD6IpoaxxAqzm9R kKjpZMhLPBiHJBrVR/bPIBgln8rSltqQOJhrihkgs/lRixeQsdiXNsnePgO5n3HBeX4V dgsfMSUmM/JOS7FlBU+IPTFjMkYsSOUsfdy9+GoA23iyAsIV6zN/Q4ASVP1zMZJ8cL+N V9DOqDMA4qTM83pE3FRBNcQK1BBNM4LGiRqa9lvQ2yB2KApBgiLM1+MsAVkqpv+tjlBZ prvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=GejfvZtyl5MDD9BNF4aXDiEz/MI6Mc6riFhguoNPgIA=; b=IF4D7QUjDcNebxtbaCRJMSk+ly2LmIXcBTz92li4YPrggtLB1iu3B+x696DR5vH9nk YTQUg3KQWvE4XTtgbPLCzmgrTwXK7OS6Zy4XkP+O0c4kdN0KaAbcGJkRx2n95Ph7arAx KvVtkxhmM73l6jguLj7ed0JSdv5ls6UFIkdjzao4pCX8/c2cDlClok53QE4NHxD46f35 BhxeMIQBt5DGQBzIlxK8yjZoqjzf0TNG9rgnQz3CfAiDLw8QARLllmam0pAd6UUa+VWt NNtf/WzYQEq4VFv8n2Aw/WRTC2ZKh1b6m5iNcp0dWEikf9w3S/lJ5sagcIa///OxMUPl aX7g== X-Gm-Message-State: AOAM533EdCGg2y+XXCd57h6wYJJNLfaZQDISRJEB4RqHcLM52tk8c4IK viTuxzATCpzHx/P02uLmTag= X-Google-Smtp-Source: ABdhPJylHkLmZ5giheoEeviPvxRTaWhEEGTj3r/whvUC5yq6gyxDXWmPItG23lcNjEs8HXqNJEC3MA== X-Received: by 2002:a17:90a:517:: with SMTP id h23mr258932pjh.108.1612912960058; Tue, 09 Feb 2021 15:22:40 -0800 (PST) Original-Received: from localhost (ip72-194-48-50.sb.sd.cox.net. [72.194.48.50]) by smtp.gmail.com with ESMTPSA id y14sm119871pjg.52.2021.02.09.15.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 15:22:39 -0800 (PST) In-Reply-To: <87mtwg6oi6.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:264253 Archived-At: Is the rationale for choosing `C-x x' as the prefix for buffer related commands merely that `C-x g' is popular among magit users? Neither `C-x g' nor `C-x x' are mnemonic for buffer-related commands, though. I can think of a couple of alternatives, including `C-x M-b' as the prefix for buffer commands. If there's a decision to add similar file-related keybindings in the future (`rename-file', etc), it can neatly slot into a `C-x M-f' keymap. A secondary issue is the choice of keys in ctl-x-x-map: 1. `C-x x n': clone-buffer Shouldn't this be `C-x x c' for consistency with the similar binding for `clone-indirect-buffer-other-window' (`C-x 4 c')? The two commands are even bound five lines apart in lisp/bindings.el! 2. `C-x x u': rename-uniquely I would guess `u' is mostly mnemonic for undo in most users' minds. Does this command need to be bound at all? Lars Ingebrigtsen writes: > And I've now moved the binding to `C-x x g', which should un-annoy Magit > users. > > There's been suggestions for other buffer-related commands to put on the > `C-x x' keymap, and I'm adding a few of those, too. Feel free to make > further suggestions. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no