GNU bug report logs - #73706
31.0.50; ignore-window-parameters not working

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Tue, 8 Oct 2024 13:47:02 UTC

Severity: normal

Found in version 31.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73706 in the body.
You can then email your comments to 73706 AT debbugs.gnu.org in the normal way.

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#73706; Package emacs. (Tue, 08 Oct 2024 13:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gerd Möllmann <gerd.moellmann <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 08 Oct 2024 13:47:02 GMT) Full text and rfc822 format available.

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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; ignore-window-parameters not working
Date: Tue, 08 Oct 2024 15:46:25 +0200
Recipe with emacs -q

- C-x 2
- Eval (set-window-parameter nil 'no-other-window t)
- Eval (setq ignore-window-parameters t)
- C-x o
- C-x o

=> No other window to select

In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.0.0) of 2024-10-07
 built on pro2
Repository revision: 8c5d69998e65d3ecf5f599bd828bf3330f4f118a
Repository branch: master
System Description:  macOS 15.0.1

Configured using:
 'configure --without-ns --cache-file
 /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master
 --without-tree-sitter --with-native-compilation=no CC=clang
 'CFLAGS=-Wgnu-imaginary-constant -Wunused-result -g
 -fno-omit-frame-pointer''





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73706; Package emacs. (Tue, 08 Oct 2024 14:17:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>,
 martin rudalics <rudalics <at> gmx.at>
Cc: 73706 <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Tue, 08 Oct 2024 17:16:39 +0300
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Date: Tue, 08 Oct 2024 15:46:25 +0200
> 
> Recipe with emacs -q
> 
> - C-x 2
> - Eval (set-window-parameter nil 'no-other-window t)
> - Eval (setq ignore-window-parameters t)
> - C-x o
> - C-x o
> 
> => No other window to select
> 
> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.0.0) of 2024-10-07
>  built on pro2
> Repository revision: 8c5d69998e65d3ecf5f599bd828bf3330f4f118a
> Repository branch: master
> System Description:  macOS 15.0.1

This can also be reproduced in Emacs 30.

Adding Martin to the discussion.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73706; Package emacs. (Tue, 08 Oct 2024 16:20:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Gerd Möllmann
 <gerd.moellmann <at> gmail.com>
Cc: 73706 <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Tue, 8 Oct 2024 18:19:05 +0200
[Message part 1 (text/plain, inline)]
>> Recipe with emacs -q
>>
>> - C-x 2
>> - Eval (set-window-parameter nil 'no-other-window t)
>> - Eval (setq ignore-window-parameters t)
>> - C-x o
>> - C-x o
>>
>> => No other window to select
>>
>> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.0.0) of 2024-10-07
>>   built on pro2
>> Repository revision: 8c5d69998e65d3ecf5f599bd828bf3330f4f118a
>> Repository branch: master
>> System Description:  macOS 15.0.1
>
> This can also be reproduced in Emacs 30.
>
> Adding Martin to the discussion.

A fix against the release version is attached (fixes for the manual not
included).  But I would have to run it here for a month at least in
order to make sure that it never selects tooltip windows or the like.
So it's by all means for master only.

martin
[window-no-other-p.diff (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73706; Package emacs. (Tue, 08 Oct 2024 16:53:01 GMT) Full text and rfc822 format available.

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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 73706 <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Tue, 08 Oct 2024 18:50:51 +0200
martin rudalics <rudalics <at> gmx.at> writes:

> So it's by all means for master only.

Thanks, that was swift :-).

Let me say that I stumbled over this only because I was debugging some
problem which turned out to be caused by Transient-Posframe on ttys (see
emacs-devel). I think no one has noticed this not working for years.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73706; Package emacs. (Tue, 08 Oct 2024 17:57:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: gerd.moellmann <at> gmail.com, 73706 <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Tue, 08 Oct 2024 20:54:27 +0300
> Date: Tue, 8 Oct 2024 18:19:05 +0200
> Cc: 73706 <at> debbugs.gnu.org
> From: martin rudalics <rudalics <at> gmx.at>
> 
>  >> Recipe with emacs -q
>  >>
>  >> - C-x 2
>  >> - Eval (set-window-parameter nil 'no-other-window t)
>  >> - Eval (setq ignore-window-parameters t)
>  >> - C-x o
>  >> - C-x o
>  >>
>  >> => No other window to select
>  >>
>  >> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.0.0) of 2024-10-07
>  >>   built on pro2
>  >> Repository revision: 8c5d69998e65d3ecf5f599bd828bf3330f4f118a
>  >> Repository branch: master
>  >> System Description:  macOS 15.0.1
>  >
>  > This can also be reproduced in Emacs 30.
>  >
>  > Adding Martin to the discussion.
> 
> A fix against the release version is attached (fixes for the manual not
> included).  But I would have to run it here for a month at least in
> order to make sure that it never selects tooltip windows or the like.
> So it's by all means for master only.

Thanks, please install on master.  We can consider backporting it
after Emacs 30.1 is released, if no one complains till then.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73706; Package emacs. (Wed, 09 Oct 2024 08:47:03 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, 73706 <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Wed, 9 Oct 2024 10:46:19 +0200
> Thanks, please install on master.  We can consider backporting it
> after Emacs 30.1 is released, if no one complains till then.

I'm yet contemplating the possibility to have 'window-parameter' return
nil when 'ignore-window-parameters' is non-nil.  It should be more
correct in sense of the documentation but might be too invasive on the
other hand.  This will probably take a couple of days.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73706; Package emacs. (Fri, 11 Oct 2024 08:46:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, 73706 <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Fri, 11 Oct 2024 10:44:45 +0200
> Thanks, please install on master.  We can consider backporting it
> after Emacs 30.1 is released, if no one complains till then.

Pushed to master.  Alternative solutions seem too invasive.

martin




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Sun, 20 Oct 2024 08:38:02 GMT) Full text and rfc822 format available.

Notification sent to Gerd Möllmann <gerd.moellmann <at> gmail.com>:
bug acknowledged by developer. (Sun, 20 Oct 2024 08:38:02 GMT) Full text and rfc822 format available.

Message #28 received at 73706-done <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, 73706-done <at> debbugs.gnu.org
Subject: Re: bug#73706: 31.0.50; ignore-window-parameters not working
Date: Sun, 20 Oct 2024 10:37:24 +0200
> Pushed to master.  Alternative solutions seem too invasive.

Closing this bug, martin


bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 Nov 2024 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 270 days ago.

Previous Next


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