unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Terje Larsen <terlar@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 46986@debbugs.gnu.org
Subject: bug#46986: 28.0.50; project.el: project-switch-project: dispatch menu bindings missing
Date: Mon, 8 Mar 2021 21:58:35 +0100	[thread overview]
Message-ID: <CAGoWm-a5oUFy2_j7yaGS_0wjb+rEvy7w+XNdRgHPaBd6q8wAKQ@mail.gmail.com> (raw)
In-Reply-To: <415de24b-04a3-1de7-dbae-15e08dfd10cd@yandex.ru>

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

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@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

[-- Attachment #2: Screenshot from 2021-03-08 21-42-31.png --]
[-- Type: image/png, Size: 37533 bytes --]

  reply	other threads:[~2021-03-08 20:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-07  9:48 bug#46986: 28.0.50; project.el: project-switch-project: dispatch menu bindings missing Terje Larsen
2021-03-08  3:12 ` Dmitry Gutov
2021-03-08 20:58   ` Terje Larsen [this message]
2021-03-08 21:30     ` Dmitry Gutov
2021-03-09 13:44       ` Terje Larsen
2021-03-10  1:05         ` Dmitry Gutov
2021-03-10  3:39           ` Stefan Monnier
2021-03-10 15:34             ` Dmitry Gutov

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=CAGoWm-a5oUFy2_j7yaGS_0wjb+rEvy7w+XNdRgHPaBd6q8wAKQ@mail.gmail.com \
    --to=terlar@gmail.com \
    --cc=46986@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /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).