emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New feature in project.el: Remembering the previously used projects


From: Juri Linkov
Subject: Re: New feature in project.el: Remembering the previously used projects
Date: Mon, 08 Jun 2020 01:38:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>> I was thinking that a "x" key could be added, which would invoke
>>> execute-extended-command, but in the project root.
>> Or as a more general solution a prefix key sequence could be added
>> like recently was added a prefix key sequence 'C-x t t' to run the
>> next command in a new tab, a similar key like 'C-x p p' could be used
>> to run the next command in the project root.
>
> It's a good idea, and we really should have a command like that.
>
> But, for commands that are present in the switch menu, it would still be
> more economical to use project-switch-project, right? I mean, as far as 
> the total number of keypresses goes.

Indeed, these shortcuts make key sequences much shorter.
Perhaps 'project-switch-project' even could use 'set-transient-map'
with a normal keymap?

> BTW, I thought 'C-x p p' would be for 'project-switch-project'. But maybe
> people have a different idea, it's not a strong preference.

Maybe, it seems the prefix 'C-x p' is free to use for project commands.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]