GNU bug report logs - #62736
resizing emacs via remote X is horrible slow

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Harald Dunkel <harri@HIDDEN>; dated Sun, 9 Apr 2023 07:34:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug reassigned from package 'debbugs.gnu.org' to 'emacs'. Request was from Michael Albinus <michael.albinus@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Apr 2023 07:34:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 09 03:34:00 2023
Received: from localhost ([127.0.0.1]:60182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1plPYm-0001vW-21
	for submit <at> debbugs.gnu.org; Sun, 09 Apr 2023 03:34:00 -0400
Received: from mordac.selfhost.de ([82.98.82.6]:55824
 helo=outgoing.selfhost.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <harri@HIDDEN>) id 1plPYj-0001vJ-V4
 for submit <at> debbugs.gnu.org; Sun, 09 Apr 2023 03:33:58 -0400
Received: (qmail 1002 invoked from network); 9 Apr 2023 07:33:55 -0000
Received: from unknown (HELO mailhost.afaics.de)
 (postmaster@HIDDEN@62.158.100.70)
 by mailout.selfhost.de with ESMTPA; 9 Apr 2023 07:33:55 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on marvin.afaics.de
X-Spam-Level: 
X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED=-1 autolearn=ham
 autolearn_force=no version=_VERSION
Received: from [10.42.100.14] (cecil.afaics.de [10.42.100.14])
 by marvin.afaics.de (OpenSMTPD) with ESMTP id f86f0885;
 Sun, 9 Apr 2023 09:33:55 +0200 (CEST)
Message-ID: <ea31bb1b-187e-e864-0c09-0080cd45aea3@HIDDEN>
Date: Sun, 9 Apr 2023 09:33:55 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.9.1
From: Harald Dunkel <harri@HIDDEN>
Subject: resizing emacs via remote X is horrible slow
To: submit <at> debbugs.gnu.org
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi folks,

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.


Regards

Harri




Acknowledgement sent to Harald Dunkel <harri@HIDDEN>:
New bug report received and forwarded. Copy sent to help-debbugs@HIDDEN. Full text available.
Report forwarded to help-debbugs@HIDDEN:
bug#62736; Package debbugs.gnu.org. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 9 Apr 2023 13:30:02 UTC

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