unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Bozhidar Batsov" <bozhidar@batsov.com>
To: emacs-devel@gnu.org
Subject: Re: project prefix and mark-page
Date: Wed, 21 Jul 2021 12:20:28 +0300	[thread overview]
Message-ID: <ec88069f-76fe-4c90-908a-668bf316c897@www.fastmail.com> (raw)
In-Reply-To: <e3cb600d-0204-ad7c-c471-a0acb8171b9f@inventati.org>

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

You bring up a valid point, but I think it's not prudent to mess with established keybindings (even if few people are using those). Given how few options we have in the global keymap, I guess we were quite lucky that `C-x p` was available in the first place. 

I think a simple solution for you would be to just rebind `C-x C-p` (I assume you don't need it) or add local bindings `C-c p`  and `C-c C-p`. I'm a big fan of such "symmetric" keybindings and I use them all the time.

On Wed, Jul 21, 2021, at 10:49 AM, Manuel Uberti wrote:
> Hi,
> 
> since this is more of a curiosity than a bug report I am asking it here.
> 
> I heavily rely on project.el so many of my daily Emacs interactions start with 
> C-x p. However, if I do not release CTRL quick enough before hitting p I end up 
> with C-x C-p, which is bound to mark-page.
> 
> Now, after C-x p I usually hit p to select a project or f to find a file in the 
> current project. So it often happens that by mistake I hit C-x C-p p or C-x C-p 
> f, which is not what I was after.
> 
> To avoid this, I disabled C-x C-p in my configuration since I never use it. But 
> I was wondering: is this a "problem" only for me or are C-x p and C-x C-p too 
> close to be bound to such different commands?
> 
> 
> Thank you
> 
> -- 
> Manuel Uberti
> www.manueluberti.eu
> 
> 

[-- Attachment #2: Type: text/html, Size: 1973 bytes --]

  reply	other threads:[~2021-07-21  9:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21  7:49 project prefix and mark-page Manuel Uberti
2021-07-21  9:20 ` Bozhidar Batsov [this message]
2021-07-21 10:43   ` Manuel Uberti
2021-07-21 11:16     ` Bozhidar Batsov
2021-07-21 12:28       ` Eli Zaretskii
2021-07-21 12:43         ` Bozhidar Batsov
2021-07-21 13:05           ` Eli Zaretskii
2021-07-21 15:02             ` Pankaj Jangid
2021-07-21 15:40             ` Manuel Uberti
2021-07-22  5:32               ` Bozhidar Batsov

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=ec88069f-76fe-4c90-908a-668bf316c897@www.fastmail.com \
    --to=bozhidar@batsov.com \
    --cc=emacs-devel@gnu.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).