GNU bug report logs -
#46986
28.0.50; project.el: project-switch-project: dispatch menu bindings missing
Previous Next
Reported by: Terje Larsen <terlar <at> gmail.com>
Date: Sun, 7 Mar 2021 09:49:02 UTC
Severity: normal
Tags: moreinfo
Found in version 28.0.50
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 46986 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The value of project-switch-commands:
((project-find-file "Find file")
(project-find-regexp "Find regexp")
(project-dired "Dired")
(project-vc-dir "VC-Dir")
(project-eshell "Eshell"))
The value of project-switch-project on step 3 is only "... (choose
directory)" as I run this in an isolated environment without any
previous projects loaded/added (e.g. no project-list-file).
See attached screenshot of what step 6 looks like.
I think this is a regression in Emacs, I just tested to load the newer
project.el in an older version:
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
cairo version 1.16.0)
And then both the display is correct and the bindings work. However in
the version which I reported the bug for it still does not work.
So to clarify the issue seems to be with:
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0)
Repository revision: f476e282d2420132aff38ba142feffbac011a321
On Mon, Mar 8, 2021 at 4:12 AM Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>
> Hi Terje,
>
> On 07.03.2021 11:48, Terje Larsen wrote:
> > 1. emacs -Q
> > 2. M-x
> > 3. project-switch-project
> > 4. Select '... (choose a dir)'
> > 5. Navigate to a project directory and press enter
> > 6. You are presented with a dispatch menu showing all the available
> > options from 'project-switch-commands', but the keys are not displayed
> > but instead the commands and even if you manually look up the keys
> > connected to these commands pressing those keys doesn't work as
> > well. Only thing that I found worked in this menu was 'C-g' to cancel.
> >
> > I have never used this feature before, so I am not sure what is supposed
> > to happen, but I saw a screenshot of the feature showing the keys
> > presented and I presume when I press any one of those keys ('f' for
> > example) I will be taken to the corresponding command for the project.
>
> That's odd. I can't reproduce. Can anybody else here?
>
> What's your value of project-switch-project on step 3?
>
> How does the dispatch menu look on step 6? Could you make a screenshot?
--
// Terje Larsen
[Screenshot from 2021-03-08 21-42-31.png (image/png, attachment)]
This bug report was last modified 4 years and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.