GNU bug report logs - #42210
Add -other-window variants of project-prefix-map commands

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Sun, 5 Jul 2020 06:15:02 UTC

Severity: normal

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42210: closed (Add -other-window variants of project-prefix-map
 commands)
Date: Mon, 27 Jul 2020 00:02:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Jul 2020 03:01:06 +0300
with message-id <66172cd6-3464-fe83-feda-e89e7b9a3338 <at> yandex.ru>
and subject line Re: bug#42210: bug#41890: 28.0.50; [PATCH]: Add bindings for project.el
has caused the debbugs.gnu.org bug report #42210,
regarding Add -other-window variants of project-prefix-map commands
to be marked as done.

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


-- 
42210: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42210
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sean Whitton <spwhitton <at> spwhitton.name>
To: bug-gnu-emacs <at> gnu.org
Subject: Add -other-window variants of project-prefix-map commands
Date: Sat, 04 Jul 2020 23:13:58 -0700
[Message part 3 (text/plain, inline)]
Hello,

On Fri 03 Jul 2020 at 05:54PM -07, Sean Whitton wrote:

> It seems like it would be a good idea to have
>
> C-x 4 p f
> be like
> C-x 4 4 C-x p f
>
> C-x 5 p e
> be like
> C-x 5 5 C-x p e
>
> etc., since many of the commands in project-prefix-map involve switching
> to another buffer.  Certainly project-switch-project, project-find-file
> and project-switch-to-buffer would be wanted.

Here is a patch implementing commands under C-x 4 p.  If the approach is
thought sound I can also prepare patches for C-x 5 p and C-x t p.

I have tested the attached change except for the autoload cookies which
I am not sure will work with my new macro.  And I'm not sure I should be
doing this with a macro instead of a function which calls fset -- please
advise.

If you want me to do copyright assignment before investing time giving
me feedback on my patch, I would be happy to.

-- 
Sean Whitton
[0001-Add-define-other-window-command-and-project-other-wi.patch (text/x-diff, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Sean Whitton <spwhitton <at> spwhitton.name>, Eli Zaretskii <eliz <at> gnu.org>
Cc: contovob <at> tcd.ie, 41890 <at> debbugs.gnu.org, philip <at> warpmail.net,
 42210-done <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#42210: bug#41890: 28.0.50; [PATCH]: Add bindings for
 project.el
Date: Mon, 27 Jul 2020 03:01:06 +0300
On 26.07.2020 08:15, Sean Whitton wrote:

> Thank you, fixed, along with fixing some references to function
> arguments which were incorrect in the previous series (they were
> 'buffer-or-name' in one place but 'buffer' in another).

Applied and pushed. Thanks all!

With that, I'm closing the associated bug report.

Please file new reports for any follow-up patches.


This bug report was last modified 4 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.