--- Begin Message ---
Subject: |
28.0.50; [PATCH]: Make project-shell use universal argument |
Date: |
Sun, 14 Jun 2020 18:29:28 +0000 |
Hello,
Attached is a patch to change the default behaviour of 'project-shell'.
My use case is:
- Edit some file in some project.
- 'M-x project-shell'
- Do something, then "C-x 0"
- Oops forgot to read output.
- 'M-x project-shell'
- See the same buffer.
Right now 'project-shell' opens a new buffer every time it is invoked. Now I
have to find it in the buffer list. Putting previous behaviour on universal
argument will in addition enable this workflow
- Edit some file in some project.
- 'M-x project-shell'
- 'C-u M-x project-shell'
- Now emacs is split it two, with two separate shell processes
In addition, I let default name be *'project-root-dir'-shell* to signify this
shell buffer to be unique from other shell buffers invoked by 'M-x shell'.
All the best,
Theodor Thornhill
project-shell
Description: Binary data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#41858: 28.0.50; [PATCH]: Make project-shell use universal argument |
Date: |
Sat, 20 Jun 2020 04:03:11 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 18.06.2020 21:00, Theodor Thornhill wrote:
Yeah, that is clearer. I've added it in the attached patch.
Thank you. I've pushed the patch with a modified commit message.
Closing.
We should probably do something like this for project-eshell as well.
--- End Message ---