[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47501: [PATCH] Do not search the global keymap in project--keymap-pr
From: |
Dario Gjorgjevski |
Subject: |
bug#47501: [PATCH] Do not search the global keymap in project--keymap-prompt |
Date: |
Tue, 30 Mar 2021 19:02:34 +0200 |
Hi,
project--keymap-prompt searches project-prefix-map *plus* the global
keymap when constructing the prompt for project-switch-command. This
can result in weird behavior; for example,
(global-set-key (kbd "M-s r") 'rgrep)
(require 'project)
(define-key project-prefix-map (kbd "<f5>") 'rgrep)
(push '(rgrep "rgrep") project-switch-commands)
might (or will?) cause project-switch-project to display "[M-s r] rgrep"
instead of the expected "[<f5>] rgrep".
The attached patch fixes the issue as per the documentation of
`where-is-internal'.
Best regards,
Dario
0001-Do-not-search-the-global-keymap-in-project-keymap-pr.patch
Description: Do not search the global keymap in project--keymap-prompt
--
$ keyserver=hkps://hkps.pool.sks-keyservers.net
$ keyid=744A4F0B4F1C9371
$ gpg --keyserver $keyserver --search-keys $keyid
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#47501: [PATCH] Do not search the global keymap in project--keymap-prompt,
Dario Gjorgjevski <=