[Top][All Lists]

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

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

From: Dmitry Gutov
Subject: Re: New feature in project.el: Remembering the previously used projects
Date: Sun, 7 Jun 2020 03:40:51 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 07.06.2020 02:46, Juri Linkov wrote:
Don't most people tend to use either shell, eshell or some other
terminal application? If I were to use shell, over eshell, I guess that
this would be somewhat annoying, at least by default.

I wonder why people who prefer eshell, don't enable it with

   (fset 'shell 'eshell)

I thought the point of 'shell' was that 'eshell' doesn't handle all possible programs you could run in it? For those cases, people would run 'shell'.

The above line would make that harder.

Then the project menu could have just one entry 'shell'.

A slightly longer line can change the entry in project-switch-commands.

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.

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.

reply via email to

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