GNU bug report logs - #65558
30.0.50; project-other-{window,frame,tab}-command a bit too obtrusive

Previous Next

Package: emacs;

Reported by: Pengji Zhang <kunhtkun <at> gmail.com>

Date: Sun, 27 Aug 2023 07:48:01 UTC

Severity: normal

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 65558 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 65558 <at> debbugs.gnu.org, Pengji Zhang <kunhtkun <at> gmail.com>
Subject: Re: bug#65558: 30.0.50; project-other-{window,frame,tab}-command a
 bit too obtrusive
Date: Thu, 19 Oct 2023 20:49:10 +0300
>>> Thanks for the pointer! That is a long thread so I only skimmed it. I
>>> think you meant this snippet in [0]:
>>>
>>>> (defun project-other-window-command ()
>>>>    (interactive)
>>>>    (other-window-prefix)
>>>>    (set-transient-map (make-composed-keymap project-prefix-map
>>>>                                             project-other-window-map)))
>> Exactly.  And the same for the frame command in the most recent patch
>> I posted to bug#63648, and I confirm that your bug report is fixed with it.
>>
>>> That indeed fixes the issue. My only concern is that
>>> `other-window-prefix' is a new function introduced in Emacs 28.
>> Indeed, it would take more efforts to provide backward-compatibility
>> for older Emacs versions.
>
> I think we can install this (tweaked) part of your changes from that other
> bug to close this report.

Since it could be installed independently from bug#63648,
I think it would be nice to close this bug report with this patch.

> +;; TODO: maybe rename to project-other-window-prefix
>  ;;;###autoload (define-key ctl-x-4-map "p" #'project-other-window-command)

Maybe this TODO not needed anymore?




This bug report was last modified 1 year and 271 days ago.

Previous Next


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