unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Harald Dunkel <harri@afaics.de>
Cc: 62736@debbugs.gnu.org
Subject: bug#62736: resizing emacs via remote X is horrible slow
Date: Mon, 11 Sep 2023 16:33:44 -0700	[thread overview]
Message-ID: <CADwFkmmUZ43QsBGk_gC0qfXCiQ=C3iQT-tKCqEn1Gv95Yz4=yA@mail.gmail.com> (raw)
In-Reply-To: <ea31bb1b-187e-e864-0c09-0080cd45aea3@afaics.de> (Harald Dunkel's message of "Sun, 9 Apr 2023 09:33:55 +0200")

Harald Dunkel <harri@afaics.de> writes:

> Using emacs 28.2 ("emacs-lucid", built on Debian Testing) via xlib
> protocol on a remote site it is horrible slow on a window resize. If
> it does a window refresh, shows some new text, scrolls text up or
> down or whatever, then emacs is as fast as expected. Only resizing
> the window sucks (sorry).
>
> Would it be possible to optimze emacs in this respect?
>
> If I run the same emacs in a remote xterm session, then it is 3 orders
> of magnitude faster. Now the xterm is responsible for running xlib protocol, resizing the window and sending SIGWINCH to emacs. What has
> xterm, that emacs doesn't have?
>
> Even if you don't focus on remote XWindow connections, this problem
> shows that there is something fishy in emacs. A local XWindow connction
> via lan or AF_UNIX might benefit of an optimization as well.

Why do you write "as fast as expected"?  Does that mean that Emacs used
to be faster, and if yes, in which version did it become slow?

Thanks.





           reply	other threads:[~2023-09-11 23:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <ea31bb1b-187e-e864-0c09-0080cd45aea3@afaics.de>]

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='CADwFkmmUZ43QsBGk_gC0qfXCiQ=C3iQT-tKCqEn1Gv95Yz4=yA@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=62736@debbugs.gnu.org \
    --cc=harri@afaics.de \
    /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).