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

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

bug#70577: [PATCH] New command other-project-prefix


From: Dmitry Gutov
Subject: bug#70577: [PATCH] New command other-project-prefix
Date: Mon, 29 Apr 2024 00:40:00 +0300
User-agent: Mozilla Thunderbird

On 28/04/2024 19:51, Juri Linkov wrote:
On 26/04/2024 13:59, Dmitry Gutov wrote:
On 26/04/2024 09:09, Juri Linkov wrote:
This is based on Juri's patch in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63648#161, but the idea is
more focused: to switch the order of events, and first read the full key
sequence, and then prompt for the project and the command
arguments. Like
we also discussed in the past.

I'm not a fan of reading the full key sequence bypassing the event loop.
That's what the current code does. While the patch tries to change that.

Sorry, I forgot to attach the actual patch.

Thanks.

+(defun other-project-prefix ()

Something is wrong here.  I bound 'other-project-prefix' to 'C-x p P'.
Then typing 'C-x p P C-x d' asked a directory name, then later
after selecting a project asked for the directory name again.

Looks like that has to do with the interactive spec. See the attached next revision, it seems to behave better.

Then some advice remains unremoved.  Ok, will test more.

I haven't noticed this particular problem, so please write down a repro if you find one.

Attachment: other-project-prefix-v2.diff
Description: Text Data


reply via email to

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