GNU bug report logs - #13749
24.2; intermittent set-frame-width issue

Previous Next

Package: emacs;

Reported by: montuori <at> gmail.com

Date: Mon, 18 Feb 2013 19:09:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.2

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: montuori <at> gmail.com
Cc: 13749 <at> debbugs.gnu.org
Subject: Re: bug#13749: 24.2; intermittent set-frame-width issue
Date: Sun, 06 Dec 2020 20:13:08 +0100
montuori <at> gmail.com writes:

> A small function I've been using forever:
>
> (defun resize-frame () 
>   (interactive) 
>   (set-frame-width (selected-frame) 80))
>
> has stopped working as I would expect.  Here's the behavior I see:
>
>   Assume two frames, A and B, both with frame-width 100
>
>   - resize-frame while A is the selected-frame and the frame resizes
>     to 80 as expected;
>
>   - drag the frame A width back to 100 with the mouse, resize-frame,
>     and there's no change: selected-frame is correct and frame-width
>     reports 100;
>
>   - make frame B the selected-frame, resize-frame, and the frame
>     resizes to 80 as expected;
>
>   - now make frame A the selected-frame; resize-frame; and the frame
>     resizes to 80 as expected.

(This bug report unfortunately got no response at the time.)

I tried reproducing this problem in Emacs 28, and I'm unable to -- the
function works as expected every time.  Are you still seeing this issue?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 245 days ago.

Previous Next


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