emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#41858: closed (28.0.50; [PATCH]: Make project-shell use universal ar


From: GNU bug Tracking System
Subject: bug#41858: closed (28.0.50; [PATCH]: Make project-shell use universal argument)
Date: Sat, 20 Jun 2020 01:04:01 +0000

Your message dated Sat, 20 Jun 2020 04:03:11 +0300
with message-id <c8b5477d-46cc-5ede-fc25-a84e8236ae77@yandex.ru>
and subject line Re: bug#41858: 28.0.50; [PATCH]: Make project-shell use 
universal argument
has caused the debbugs.gnu.org bug report #41858,
regarding 28.0.50; [PATCH]: Make project-shell use universal argument
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41858: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41858
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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

Attachment: 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 ---

reply via email to

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