GNU bug report logs - #47699
[PATCH] Improve completion-list-mode-map

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Sun, 11 Apr 2021 01:05:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: 47699 <at> debbugs.gnu.org
Subject: Re: bug#47699: [PATCH] Improve completion-list-mode-map
Date: Sun, 11 Apr 2021 16:31:10 +0300
> Date: Sun, 11 Apr 2021 10:50:15 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: 47699 <at> debbugs.gnu.org
> 
> In practice other-window works well there, but now that you mention it, I 
> agree with you that it's not safe enough.  What about:
> 
> (defun switch-to-minibuffer ()
>    "Select the minibuffer window."
>    (interactive)
>    (when (active-minibuffer-window)
>      (select-window (active-minibuffer-window))))

LGTM, thanks.  Did you test this with minibuffer-only frames?




This bug report was last modified 3 years and 358 days ago.

Previous Next


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