From: martin rudalics <rudalics@gmx.at>
To: Andrii Kolomoiets <andreyk.mad@gmail.com>
Cc: Alan Third <alan@idiocy.org>,
46155@debbugs.gnu.org, Aaron Jensen <aaronjensen@gmail.com>
Subject: bug#46155: 28.0.50; Regression: buffer contents flicker on macOS frames when
Date: Tue, 9 Feb 2021 18:31:03 +0100 [thread overview]
Message-ID: <3e49e21a-cb96-fa4c-04d3-9e98a7626f4e@gmx.at> (raw)
In-Reply-To: <m24kileavn.fsf@gmail.com>
>> But I see that 'test/resize' does that already. Is that function called
>> more than once each time you type a letter?
>
> Yes. Almost each time I type or delete a letter. Same on recent master
> version under X (Gnome). After typing C-g that function is called even
> more times.
Hmmm ... When I load with emacs -Q
(setq default-frame-alist '((minibuffer . nil)))
(setq frame-size-history '(100))
(defvar foo 0)
(defun foo (frame)
(setq foo (1+ foo))
(fit-frame-to-buffer frame))
(setq resize-mini-frames 'foo)
and leave Emacs alone for a while, 'foo' has increased by about 30 (I'd
attribute 20 of them to 'blink-cursor-mode'). So 'fit-frame-to-buffer'
apparently does get called way too often. But if I now evaluate
(frame--size-history (window-frame (minibuffer-window)))
and look into the *frame-size-history* buffer, I see no excessive number
of calls to resize the frame's window here. Maybe things are different
under Gnome or NS.
martin
next prev parent reply other threads:[~2021-02-09 17:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-28 15:48 bug#46155: 28.0.50; Regression: buffer contents flicker on macOS frames when Aaron Jensen
2021-01-28 16:39 ` Alan Third
2021-01-31 20:28 ` Alan Third
2021-01-31 22:05 ` Aaron Jensen
2021-02-08 15:25 ` Aaron Jensen
2021-02-08 21:45 ` Aaron Jensen
2021-02-09 7:58 ` martin rudalics
2021-02-09 9:55 ` Andrii Kolomoiets
2021-02-09 10:49 ` martin rudalics
2021-02-09 11:04 ` martin rudalics
2021-02-09 11:30 ` Andrii Kolomoiets
2021-02-09 17:31 ` martin rudalics [this message]
2021-02-09 11:05 ` Alan Third
2021-02-09 14:44 ` Alan Third
2021-02-09 16:29 ` Andrii Kolomoiets
2021-02-09 20:08 ` Alan Third
2021-02-10 1:11 ` Aaron Jensen
2021-02-11 22:16 ` bug#46155: [PATCH v2] Fix flicker when resizing NS frame programmatically (bug#46155) Alan Third
2021-02-12 4:06 ` Aaron Jensen
2021-02-13 22:44 ` Alan Third
2021-02-13 22:45 ` Aaron Jensen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3e49e21a-cb96-fa4c-04d3-9e98a7626f4e@gmx.at \
--to=rudalics@gmx.at \
--cc=46155@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
--cc=alan@idiocy.org \
--cc=andreyk.mad@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.