GNU bug report logs - #78166
30.1; describe-input-method does not respect help-window-select

Previous Next

Package: emacs;

Reported by: Sean Devlin <spd <at> toadstyle.org>

Date: Wed, 30 Apr 2025 20:31:01 UTC

Severity: normal

Found in version 30.1

To reply to this bug, email your comments to 78166 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78166; Package emacs. (Wed, 30 Apr 2025 20:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sean Devlin <spd <at> toadstyle.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 30 Apr 2025 20:31:02 GMT) Full text and rfc822 format available.

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

From: Sean Devlin <spd <at> toadstyle.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.1; describe-input-method does not respect help-window-select
Date: Wed, 30 Apr 2025 16:29:42 -0400
Hi folks,

It seems that describe-input-method does not respect
help-window-select. Here is a recipe:

1. Emacs -Q
2. Evaluate:

(setq help-window-select t)

3. C-h I japanese RET

Observe that the help window is not selected.

In contrast, if you do C-h v help-window-select RET, the help window is
selected.

Thanks!

In GNU Emacs 30.1 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.65 Version 12.7.6 (Build 21H1320)) of 2025-02-24 built on
armbob.lan
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.5

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
-DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no'

Configured features:
ACL GLIB GMP GNUTLS JPEG LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp
cl-print byte-opt gv bytecomp byte-compile thingatpt cl-extra help-fns
radix-tree japan-util kkc ja-dic-utl quail help-mode cl-loaddefs cl-lib
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 63336 10444) (symbols 48 6466 0) (strings 32 19628 2196)
(string-bytes 1 470258) (vectors 16 12702)
(vector-slots 8 170578 7344) (floats 8 27 2) (intervals 56 267 20)
(buffers 992 14))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78166; Package emacs. (Wed, 30 Apr 2025 21:02:01 GMT) Full text and rfc822 format available.

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

From: Sean Devlin <spd <at> toadstyle.org>
To: 78166 <at> debbugs.gnu.org
Subject: bug#78166: 30.1; describe-input-method does not respect
 help-window-select
Date: Wed, 30 Apr 2025 17:01:11 -0400
I see now that the documentation for help-window-select says:

This option has effect if and only if the help window was created
by ‘with-help-window’.

So maybe this is not a bug per se.

Should we improve quail-help to use with-help-window?

Thanks!



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78166; Package emacs. (Thu, 01 May 2025 17:46:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sean Devlin <spd <at> toadstyle.org>
Cc: 78166 <at> debbugs.gnu.org
Subject: Re: bug#78166: 30.1;
 describe-input-method does not respect help-window-select
Date: Thu, 01 May 2025 20:45:14 +0300
> From: Sean Devlin <spd <at> toadstyle.org>
> Date: Wed, 30 Apr 2025 17:01:11 -0400
> 
> I see now that the documentation for help-window-select says:
> 
> This option has effect if and only if the help window was created
> by ‘with-help-window’.
> 
> So maybe this is not a bug per se.
> 
> Should we improve quail-help to use with-help-window?

Yes, if we want it to heed help-window-select, we should.

Patches welcome.  But please be careful and test the changes
thoroughly: AFAIR input-method help has several features thyat we
would not like to lose.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78166; Package emacs. (Fri, 02 May 2025 01:53:02 GMT) Full text and rfc822 format available.

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

From: Sean Devlin <spd <at> toadstyle.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78166 <at> debbugs.gnu.org
Subject: Re: bug#78166: 30.1;
 describe-input-method does not respect help-window-select
Date: Thu, 1 May 2025 21:52:14 -0400

> On May 1, 2025, at 1:45 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> 
>> 
>> From: Sean Devlin <spd <at> toadstyle.org>
>> Date: Wed, 30 Apr 2025 17:01:11 -0400
>> 
>> I see now that the documentation for help-window-select says:
>> 
>> This option has effect if and only if the help window was created
>> by ‘with-help-window’.
>> 
>> So maybe this is not a bug per se.
>> 
>> Should we improve quail-help to use with-help-window?
> 
> Yes, if we want it to heed help-window-select, we should.
> 
> Patches welcome.  But please be careful and test the changes
> thoroughly: AFAIR input-method help has several features thyat we
> would not like to lose.

Sounds good. I will give it a try. I’ll mail back here if I run into problems.

Thanks!

> 
> Thanks.




This bug report was last modified 1 day ago.

Previous Next


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