[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65558: 30.0.50; project-other-{window,frame,tab}-command a bit too o
From: |
Juri Linkov |
Subject: |
bug#65558: 30.0.50; project-other-{window,frame,tab}-command a bit too obtrusive |
Date: |
Thu, 19 Oct 2023 20:49:10 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>>> 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?