unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: montuori@gmail.com
Cc: 13749@debbugs.gnu.org
Subject: bug#13749: 24.2; intermittent set-frame-width issue
Date: Sun, 06 Dec 2020 20:13:08 +0100	[thread overview]
Message-ID: <87ft4irbnf.fsf@gnus.org> (raw)
In-Reply-To: <20770.20849.203154.903509@joe-cool.local> (montuori@gmail.com's message of "Mon, 18 Feb 2013 10:06:09 -0600")

montuori@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





  reply	other threads:[~2020-12-06 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 16:06 bug#13749: 24.2; intermittent set-frame-width issue montuori
2020-12-06 19:13 ` Lars Ingebrigtsen [this message]
2020-12-06 19:31   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft4irbnf.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=13749@debbugs.gnu.org \
    --cc=montuori@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).