GNU bug report logs - #76190
31.0.50; Setting frame parameter 'left (- -N) broken

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Tue, 11 Feb 2025 02:05:01 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Michael Heerdegen
 <michael_heerdegen <at> web.de>, Po Lu <luangruo <at> yahoo.com>
Cc: 76190 <at> debbugs.gnu.org
Subject: Re: bug#76190: 31.0.50; Setting frame parameter 'left (- -N) broken
Date: Tue, 11 Feb 2025 16:38:39 +0100
[Message part 1 (text/plain, inline)]
>> according to (info "(elisp) Position Parameters"),
>>
>>    (set-frame-parameter nil 'left '(- -100))
>>
>> should move the selected frame to the right so a small part (100 pixels)
>> is moved outside of the current screen, and the rest is visible on the
>> right side.  However, for me the effect is exactly the same as with
>> (set-frame-parameter nil 'left +100).  A totally different result!  I'm
>> quite sure that this worked for me as described a while ago.  Something
>> has changed.  I did not change my system setup AFAICT, still Openbox on
>> X, same monitor setup, same Notebook, same OS.
>>
>> Other values do work as described.  In particular do (+ -N) and
>> (+ +N) work as described (the latter case is similar to the broken one
>> but works for me).
>>
>> Can others reproduce this?
>
> I can't (on MS-Windows): the original example works for me as you
> expected.

I attached a patch.  Can you try it Michael?

martin
[xterm.c.diff (text/x-patch, attachment)]

This bug report was last modified 123 days ago.

Previous Next


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