From unknown Tue Jun 24 17:23:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29846 <29846@debbugs.gnu.org> To: bug#29846 <29846@debbugs.gnu.org> Subject: Status: scroll and fontify takes longer time for file in slow network Reply-To: bug#29846 <29846@debbugs.gnu.org> Date: Wed, 25 Jun 2025 00:23:39 +0000 retitle 29846 scroll and fontify takes longer time for file in slow network reassign 29846 emacs submitter 29846 Shuguang Sun severity 29846 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 01:03:55 2017 Received: (at submit) by debbugs.gnu.org; 25 Dec 2017 06:03:55 +0000 Received: from localhost ([127.0.0.1]:51100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTLre-0005ch-Vx for submit@debbugs.gnu.org; Mon, 25 Dec 2017 01:03:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTLrd-0005cQ-Kh for submit@debbugs.gnu.org; Mon, 25 Dec 2017 01:03:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTLrX-0000oT-HZ for submit@debbugs.gnu.org; Mon, 25 Dec 2017 01:03:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eTLrX-0000oK-Ee for submit@debbugs.gnu.org; Mon, 25 Dec 2017 01:03:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTLrW-0008Cu-40 for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 01:03:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTLrV-0000mq-3I for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 01:03:46 -0500 Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:45917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTLrU-0000mR-UP for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 01:03:45 -0500 Received: by mail-qk0-x22b.google.com with SMTP id o126so28353641qke.12 for ; Sun, 24 Dec 2017 22:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bm0tRJ6Rh2FAbfm0HsqsbOLkXFHvCaFscyYN4KATVFc=; b=IeI1fVRI7QeJ2DCAtkmqy2qaeibc91OCp7Mtiiy3mdo00DpQ28Hg8eFsxo4CqvwCdf yGhFI46XVMtLwn38RFcR6yETTpmF0bSX97zgnGcqMdpto/+gsIHn775w92oRQ81tmzDv 0p8MxPqp+9FbefyotiInMMPeFmPCVgiv7SNEDiKP5/PyHlzecZah4LmOOHN7p4QdcuVE U1UDow1sLLReJV4uQpe5CAW4FT1vssqd0GvFQyO+g+hdiSgYxfMS1pvXB0syx3TdhIIm +ErFYqVdH7xjcTg53KD9K67TNzVSN/wJ5PHEu3jIWIaaI0pjLqEWvtRaIK73aHebPdRX e1YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bm0tRJ6Rh2FAbfm0HsqsbOLkXFHvCaFscyYN4KATVFc=; b=p72/kfOU/pHqgw7Jk6sIA7AIXJhMeZeXZiJgM0mUpvZQp3J1KRBBNDGF33ouBnwrrM mztnRukiUiHy7wl907xWhv9K9uUm8bn/jLZ5uCqL8cs5eAbbRr4sS+UaYqQS4leC1IrM pd02N3/xo1vKXMIPjnw83XtZEj17d3LZv1vMgfHRntzqx+faXxVh8IXbjtvr0m8IJhyW Yo0IF9hP1cIJ4ugpHTEcTkrhKsBymFnC2Ctep2kGW6hULSz/2gsdMHxNCB9c/enAL+pm pxUPBBqOcjjqy15zMp6JwUIGgMhPQl6emuDKa7+/+KJPwvzI8yQuEQ8EBMsdHrrRf1/X F+Bg== X-Gm-Message-State: AKGB3mL5vpJCG5rxq4UHxsRe2lnSIVQ1GFWm/JIhBxLciGB8IBwAwDIp Fp+xXA64OdX8D8n4Www8roH9Lvc/v+lr7Xr7CiGfkg== X-Google-Smtp-Source: ACJfBotKC0qiYrBYwd6Xd+pOmHbS6V+7bunB4Bda2RhqK9UnjOSR4oj8fpfTAEcJfVQPNL1xTzp5w2Fg1f53bYLHRcA= X-Received: by 10.55.101.198 with SMTP id z189mr27494950qkb.46.1514181824124; Sun, 24 Dec 2017 22:03:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.43.166 with HTTP; Sun, 24 Dec 2017 22:03:43 -0800 (PST) From: Shuguang Sun Date: Mon, 25 Dec 2017 14:03:43 +0800 Message-ID: Subject: scroll and fontify takes longer time for file in slow network To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="001a11482ffac099ba056123edcf" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11482ffac099ba056123edcf Content-Type: text/plain; charset="UTF-8" Hi, Windows 7, GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32) of 2017-12-09. Issue: I have remote dirver (//server/path) mapped to my windows system (samba?). The network is slow, and it takes some time to open the file. However, after I have the file opened and scroll down, it takes a long time to scroll to the next screen. It gets worse if the jit-lock-debug-mode is on. After that if I try to scroll back to those has been fontified, it get fluent as expected. If I open the same file in a local driver (speed is higher than the network definitely), the scroll is very fluent. If I open a txt file (fundmental-mode, not fontification) in the same remote directory, the scroll actions are fluent as well. Per my understanding, all actions should be done in memory when a file has been read into buffer, except backup, autosave, etc. The response should not depents on where the file located phically. How to repeat it: 1. Find a slow transfer rate network (sorry, it may be hard) 2. Prepare a long c file, 3-4 screens. 3. take font-lock-mode on (jit-font-mode) 4. Open the c file and scroll down, scroll down, scroll down... 5. scroll up, scroll up, scroll up I have tried profiler. It indicates, the jit-font and redisplay take majority of the cpu time. 1. open the c file 2. profiler-start 3. scroll down, scroll down, scroll down... 4. profiler-report Best Regards, Shuguang Sun --001a11482ffac099ba056123edcf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Windows 7, GNU Emacs 27.= 0.50 (build 1, x86_64-w64-mingw32) of 2017-12-09.

= Issue:
I have remote dirver (//server/path) mapped to my win= dows system (samba?). The network is slow, and it takes some time to open t= he file. However, after I have the file opened and scroll down, it takes a = long time to scroll to the next screen. It gets worse if the jit-lock-debug= -mode is on. After that if I try to scroll back to those has been fontified= , it get fluent as expected.

If I open the sam= e file in a local driver (speed is higher than the network definitely), the= scroll is very fluent.

If I open a txt file (fund= mental-mode, not fontification) in the same remote directory, the scroll ac= tions are fluent as well.

Per my un= derstanding, all actions should be done in memory when a file has been read= into buffer, except backup, autosave, etc. The response should not depents= on where the file located phically.

How to r= epeat it:
1. Find a slow transfer rate network (sorry, it may be = hard)
2. Prepare a long c file, 3-4 screens.
3. take fo= nt-lock-mode on (jit-font-mode)
4. Open the c file and scroll dow= n, scroll down, scroll down...
5. scroll up, scroll up, scroll up=

I have tried profiler. It indicates, the jit-font= and redisplay take majority of the cpu time.
1. open the c file<= /div>
2. profiler-start
3. scroll down, scroll down, scroll d= own...
4. profiler-report


Best Regards,
Shuguang Sun

--001a11482ffac099ba056123edcf-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 04:48:02 2017 Received: (at submit) by debbugs.gnu.org; 25 Dec 2017 09:48:02 +0000 Received: from localhost ([127.0.0.1]:51139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTPMY-0002pf-Eg for submit@debbugs.gnu.org; Mon, 25 Dec 2017 04:48:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTPMW-0002pC-W4 for submit@debbugs.gnu.org; Mon, 25 Dec 2017 04:48:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTPMR-0006lJ-6i for submit@debbugs.gnu.org; Mon, 25 Dec 2017 04:47:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eTPMR-0006l4-2k for submit@debbugs.gnu.org; Mon, 25 Dec 2017 04:47:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTPMQ-0001wR-2B for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 04:47:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTPMP-0006kA-EL for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 04:47:54 -0500 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:35555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTPMP-0006ig-8E for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 04:47:53 -0500 Received: by mail-qk0-x234.google.com with SMTP id 143so26409313qki.2 for ; Mon, 25 Dec 2017 01:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lvg0/cYrIV1C4QISK/MMvyFJvsFg5BfKTr2imBHw68c=; b=pR7/MTZeUHd6U4x99p/ZeiZuVvSxRntpy9c+Mr/ap+Lz5vTWEzyAvfoEBHdwh3cHup xUvH7ZdSYLTLOYbiBHQEGUkS93HbXMtIet1p3WzBLjlUGzudEvzR/Afht/XY9/StbdBp mypZCKnkz0GcpzNiLEaL2sBcCCxdhX9/WAYlZHSZANDFE/m3kavHnvUKq+2xG+5SXeEN ECyMLiwvWNeTP/EyKdyOJEHGdlhn55qhf02DeFGI8FxUU8F8QftSFFAb8myXGICpFlAK 9oYrQR14aUC1i2fTKIT5m6D3MUUB3WZSkTHYp9e2kj2Ow+6SzsBlnwVTGrX4ptlF3q1v +uug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lvg0/cYrIV1C4QISK/MMvyFJvsFg5BfKTr2imBHw68c=; b=HuARWFRMm4PKHznlrh5ta++IfwwonGuVgJsVycxOkGEHSME4sGckH4MTiygS8eax6O uUBPiNbLrvjniTDAxPBGUU26GZ1ZMh0TuUr5EPklMnL+xZlixurn/klzaO87kVSGVsfk RAuW/BpJJI6EKnxFf21ggo20EQa56evWY0WzcGpwLoE9Gx/ds5QUB8pOGUw2ro9XQzwa Fq6IRI2tqJzw3DBExZEd9BcPTWDrH0lzQagmdelCPZ9FUljhEpfD/kOtsgPPiSvWTT0W 8i8eTaMPor9xZ7+y/kWugly1wlfsTmJU341lvX+8B/LFjm6vkmUtw+SA28iDQG9Gd0yd eGrg== X-Gm-Message-State: AKGB3mJ/4lVjMArPuIJ8B6f5Wa9+LefH4QMPdCPewoRxxBlcJFWkt29x Hy4revpUSUnc5JNendke9caksRD2DzXRjouu5xY= X-Google-Smtp-Source: ACJfBov/J0HtfpeU/L47WuShIO3VCYCtn1EDUce8Eakzt6gBxyZv4Yrzwpsb/ivanvWFJsCG23Ko8VPgqXSXyIy7eMw= X-Received: by 10.55.136.7 with SMTP id k7mr22145485qkd.41.1514195272415; Mon, 25 Dec 2017 01:47:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.43.166 with HTTP; Mon, 25 Dec 2017 01:47:52 -0800 (PST) From: Shuguang Sun Date: Mon, 25 Dec 2017 17:47:52 +0800 Message-ID: Subject: bug#29846: scroll and fontify takes longer time for file in slow network To: shuguang@gmail.com, bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="94eb2c0722ea5540230561270fb6" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c0722ea5540230561270fb6 Content-Type: text/plain; charset="UTF-8" Backup, auto-save, and lockfiles has been disabled in .dir-locals ((nil (make-backup-files . nil) (create-lockfiles . nil) (auto-save-default . nil) (auto-save-timeout . 10000) )) Best Regards, Shuguang --94eb2c0722ea5540230561270fb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Backup, auto-save, and lockfiles has been disabled in= .dir-locals

((nil
=C2=A0 (make-backup-file= s . nil)
=C2=A0 (create-lockfiles=C2=A0 . nil)
=C2=A0 (auto-save-defa= ult . nil)
=C2=A0 (auto-save-timeout . 10000)
=C2=A0 ))

Best Regards,
Shuguang --94eb2c0722ea5540230561270fb6-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 07:29:04 2017 Received: (at submit) by debbugs.gnu.org; 25 Dec 2017 12:29:04 +0000 Received: from localhost ([127.0.0.1]:51198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTRsO-0006fY-4N for submit@debbugs.gnu.org; Mon, 25 Dec 2017 07:29:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTRsM-0006ey-Gc for submit@debbugs.gnu.org; Mon, 25 Dec 2017 07:29:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTRsG-0004gA-Kn for submit@debbugs.gnu.org; Mon, 25 Dec 2017 07:28:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58956) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eTRsG-0004fz-HE for submit@debbugs.gnu.org; Mon, 25 Dec 2017 07:28:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTRsF-0004Lp-Ki for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 07:28:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTRsA-0004dR-P4 for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2017 07:28:55 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTRsA-0004dL-LN; Mon, 25 Dec 2017 07:28:50 -0500 Received: from [176.12.203.11] (port=41863 helo=[10.212.92.244]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eTRs9-0002dG-VX; Mon, 25 Dec 2017 07:28:50 -0500 Date: Mon, 25 Dec 2017 14:28:46 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network To: bug-gnu-emacs@gnu.org, Shuguang Sun , shuguang@gmail.com, 29846@debbugs.gnu.org From: Eli Zaretskii Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On December 25, 2017 11:47:52 AM GMT+02:00, Shuguang Sun wrote: > Backup, auto-save, and lockfiles has been disabled in =2Edir-locals >=20 > ((nil > (make-backup-files =2E nil) > (create-lockfiles =2E nil) > (auto-save-default =2E nil) > (auto-save-timeout =2E 10000) > )) >=20 > Best Regards, > Shuguang Did you try setting auto-save-interval to a large value, in addition to ab= ove? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 09:41:59 2017 Received: (at 29846) by debbugs.gnu.org; 25 Dec 2017 14:41:59 +0000 Received: from localhost ([127.0.0.1]:51249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTTx1-0003Ik-9y for submit@debbugs.gnu.org; Mon, 25 Dec 2017 09:41:59 -0500 Received: from mail-qk0-f175.google.com ([209.85.220.175]:36315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTTwz-0003IV-6C for 29846@debbugs.gnu.org; Mon, 25 Dec 2017 09:41:57 -0500 Received: by mail-qk0-f175.google.com with SMTP id g123so9566319qka.3 for <29846@debbugs.gnu.org>; Mon, 25 Dec 2017 06:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QDT8OLv8m/81qTJaMki//TzjVAdfTJAVCofW8xdIlCo=; b=lqX7Xxv6Nt1DBeawt2Ozt9NVR7xaXEnXq7PM3EtLw8VqHW7Tw0FwV5ytQaEchz3D3G tBMQk6hmShDWrr/H6S7i+pnq0BnsedUlL73WxptFxdQHvFazX+e/YLLJ/HHmX4fZgSXT K6KgWCEo8o+rIGDhsAyEGi/5BieJK8t6RpyXTJ7/8rKLdrCFGLFSN9I205iVUbA9ZxRO yLCWBohUksc/NDmWKsVx9MMr/QexWroMNwLPDMsqg0gUEio5GVsRHXqLJkb1hIzgzY5H DwF2Q8EvbvmZBf5K7c8192RWRbeLNLV3z0VhcgowMEi74HMf63nXDzBijSXY82srDMs9 9i7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QDT8OLv8m/81qTJaMki//TzjVAdfTJAVCofW8xdIlCo=; b=AkSXRAyVPWvW++Ph1T0VO9iGiu3iSET54nujpYtzLZKG59LBIQJql5r3h8voFV41HW J4VhlAogkp1ISBMfMtOw6JMuT5MqSqKhEiUk0OkPX+dEhkQZvsvD+G24grJsop+wvXhX jdvk++EpY0udou6zkrKLPx0fOTR5/EJOAtnzve90xPL6noPWmQwpuuCV/L4q5Qdq8w8I 5nwv8oNBpRk67WPN1G4C2niuxOvinPxyPv9CFH5Ff9LLkfCnqsZrdP1ao9PEsQY95Czy QGjUsXjbw60nQg3bWmQqbcynYZnJI5r0awvJ7H6TUxec7DU+EYGWY2xKfespB5xaWuxi 3kXA== X-Gm-Message-State: AKGB3mJevltMQr2cRpcICiOwwQ5+mm4Qdqp1/3XJE0f2lt3GSK6ns2c3 eRH5CqBk5fTnFxEyfmPXFZNvD+AH1iUI0v6oOwA= X-Google-Smtp-Source: ACJfBou8lxMlhqC96nhrwHxQ+doEtaFreu31Oy5+n2KTytoFddo7ECYv19vZbopZNnECZIs4vP4Ir5WiOzI704YX/F8= X-Received: by 10.55.101.198 with SMTP id z189mr28613138qkb.46.1514212911789; Mon, 25 Dec 2017 06:41:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.43.166 with HTTP; Mon, 25 Dec 2017 06:41:51 -0800 (PST) In-Reply-To: References: From: Shuguang Sun Date: Mon, 25 Dec 2017 22:41:51 +0800 Message-ID: Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network To: Eli Zaretskii Content-Type: multipart/alternative; boundary="001a11482ffab8bb0205612b2a36" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29846 Cc: 29846@debbugs.gnu.org, bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --001a11482ffab8bb0205612b2a36 Content-Type: text/plain; charset="UTF-8" > > Did you try setting auto-save-interval to a large value, in addition to > above? > No difference. Otherwise, it will not get smoothly to scroll back to those has been viewed / fontified. --001a11482ffab8bb0205612b2a36 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=

Did you try setting auto-save-interval to a large value, in add= ition to above?
=C2=A0
No difference. <= br>
Otherwise, it will not get smoothly to scroll back to those h= as been viewed / fontified.

=C2=A0<= /div>

--001a11482ffab8bb0205612b2a36-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 11:48:25 2017 Received: (at 29846) by debbugs.gnu.org; 25 Dec 2017 16:48:25 +0000 Received: from localhost ([127.0.0.1]:52007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTVvN-0006Q6-4C for submit@debbugs.gnu.org; Mon, 25 Dec 2017 11:48:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTVvL-0006Pv-KM for 29846@debbugs.gnu.org; Mon, 25 Dec 2017 11:48:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTVvC-0000Xy-Hf for 29846@debbugs.gnu.org; Mon, 25 Dec 2017 11:48:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTVvC-0000XS-E9; Mon, 25 Dec 2017 11:48:14 -0500 Received: from [176.228.60.248] (port=2590 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eTVv9-0001if-06; Mon, 25 Dec 2017 11:48:11 -0500 Date: Mon, 25 Dec 2017 18:48:18 +0200 Message-Id: <83o9mmiwj1.fsf@gnu.org> From: Eli Zaretskii To: Shuguang Sun In-reply-to: (message from Shuguang Sun on Mon, 25 Dec 2017 17:47:52 +0800) Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29846 Cc: 29846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Shuguang Sun > Date: Mon, 25 Dec 2017 17:47:52 +0800 > > Backup, auto-save, and lockfiles has been disabled in .dir-locals > > ((nil > (make-backup-files . nil) > (create-lockfiles . nil) > (auto-save-default . nil) > (auto-save-timeout . 10000) > )) You've disabled file locking, but Emacs still checks whether some other Emacs session locked the file. It does that as part of restore-buffer-modified-p, which is called by JIT font-lock (because fontification makes the buffer modified and JIT font-lock needs to undo that after it fontifies a chunk of buffer). Checking whether a file is locked entails calling unlock_file, which in turn calls read_lock_data, which tries to open the lock file. I'm guessing that this is slow on that remote volume of yours. Maybe we should support a special value of create-lockfiles which would mean don't create lockfiles and don't test fro lockfiles created by other Emacs sessions. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 20:04:39 2017 Received: (at 29846) by debbugs.gnu.org; 26 Dec 2017 01:04:39 +0000 Received: from localhost ([127.0.0.1]:52248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTdfb-0001TP-1G for submit@debbugs.gnu.org; Mon, 25 Dec 2017 20:04:39 -0500 Received: from mail-qk0-f169.google.com ([209.85.220.169]:43795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTdfa-0001TD-65 for 29846@debbugs.gnu.org; Mon, 25 Dec 2017 20:04:38 -0500 Received: by mail-qk0-f169.google.com with SMTP id j137so24424907qke.10 for <29846@debbugs.gnu.org>; Mon, 25 Dec 2017 17:04:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZKLbuAI8aePA+/tFJoWZwNzp9ZxBvHIvMfgcTFclpzQ=; b=KO1GF65H0KzHw2VpFa1sQOQ4PCF8fRmAcNGYmddC6VuIqmOgZtV6rpAuC3nr084D1D y//nFB2TTmQhj/49B21AwAMCkr0dc/Q3GZGsFv0uDfHieZmakcbaIoO6SfYOIhEtuNiu xg1fi5L0DpcPq4k/5Vkv7EJtQv2NcDIaM1ySivZlQvzFSfup90D/kEB30ivISAJd6BbI HKCOtJCRZ1Z99MB2ipIlZhY4n1OOgtaTvfZ0MAGU33VslvP0LsS49J2mengwJjVYR11i DFozCka5yYybi5kY5BsIOeCHt0LN+FlFaDMAeuBYYq1/g6t+Jl7FPQ+GvLu/YvJSRnqZ SSUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZKLbuAI8aePA+/tFJoWZwNzp9ZxBvHIvMfgcTFclpzQ=; b=bkmPB18qHpmO9zzEdIO0tQzeYUfyJ1A1HbMZNTY2e+NCfreP6k3OhJSzQVksRYnbIH rOLWf+qcrkRYFKGJnlQJf5etsQVA2C/aF4C+GezXPGwTVCuzeaX9lvKElgr2Q/WIrj7S 36DaTbMJWr8fSjzHqwcpJz3OY8i8RO0Egb4wt7zOsHW2Dhz3d5cmfo6kMNatNZHhAgm+ +WzOj5zy6bQ8CDZZJ1L8DzFSRVrz8ISUzeTzPStLsWbeBbal/ZIvSHdPXIjcccKH87Yn E7NWcx7M4EmU3GI0fDcjF8HidcqKw5yI0ciATYzNn2O7HOGmnGE+ELZ0aAAP1TfC6adD 5kMQ== X-Gm-Message-State: AKGB3mLag7f1Eso3nxFfrycblKgvH+51U7w7oSQM+8akJ2M70KSfe7BX TWWevyZ1yHIuK++aOGq0YwLohRQJvqzYqqw9PKg= X-Google-Smtp-Source: ACJfBouLBFw709nCVuYx9VnP1vyIWfeBevImxOa0mEuaqDizSumjpo6enN2iRqJU1W3hrFq72RUVlMt0bsLCFzh3Gho= X-Received: by 10.55.101.198 with SMTP id z189mr30075345qkb.46.1514250272800; Mon, 25 Dec 2017 17:04:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.43.166 with HTTP; Mon, 25 Dec 2017 17:04:32 -0800 (PST) In-Reply-To: <83o9mmiwj1.fsf@gnu.org> References: <83o9mmiwj1.fsf@gnu.org> From: Shuguang Sun Date: Tue, 26 Dec 2017 09:04:32 +0800 Message-ID: Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network To: Eli Zaretskii Content-Type: multipart/alternative; boundary="001a11482ffa9c860e056133dd6f" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29846 Cc: 29846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --001a11482ffa9c860e056133dd6f Content-Type: text/plain; charset="UTF-8" On Tue, Dec 26, 2017 at 12:48 AM, Eli Zaretskii wrote: > > From: Shuguang Sun > > Date: Mon, 25 Dec 2017 17:47:52 +0800 > > > > Backup, auto-save, and lockfiles has been disabled in .dir-locals > > > > ((nil > > (make-backup-files . nil) > > (create-lockfiles . nil) > > (auto-save-default . nil) > > (auto-save-timeout . 10000) > > )) > > You've disabled file locking, but Emacs still checks whether some > other Emacs session locked the file. It does that as part of > restore-buffer-modified-p, which is called by JIT font-lock (because > fontification makes the buffer modified and JIT font-lock needs to > undo that after it fontifies a chunk of buffer). Checking whether a > file is locked entails calling unlock_file, which in turn calls > read_lock_data, which tries to open the lock file. I'm guessing that > this is slow on that remote volume of yours. > > Maybe we should support a special value of create-lockfiles which > would mean don't create lockfiles and don't test fro lockfiles created > by other Emacs sessions. > It makes sense. It has a short delayed reponse when I start to modify the buffer (input, delete, etc.). It will help single user if we can have a special value of create-lockfiles. --001a11482ffa9c860e056133dd6f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Dec 26, 2017 at 12:48 AM, Eli Zaretskii <<= a href=3D"mailto:eliz@gnu.org" target=3D"_blank">eliz@gnu.org> wrote:
> From: Shuguang Sun <shuguang@gmail.com>
> Date: Mon, 25 Dec 2017 17:47:52 +0800
>
> Backup, auto-save, and lockfiles has been disabled in .dir-locals
>
> ((nil
>=C2=A0 =C2=A0(make-backup-files . nil)
>=C2=A0 =C2=A0(create-lockfiles=C2=A0 . nil)
>=C2=A0 =C2=A0(auto-save-default . nil)
>=C2=A0 =C2=A0(auto-save-timeout . 10000)
>=C2=A0 =C2=A0))

You've disabled file locking, but Emacs still checks whether som= e
other Emacs session locked the file.=C2=A0 It does that as part of
restore-buffer-modified-p, which is called by JIT font-lock (because
fontification makes the buffer modified and JIT font-lock needs to
undo that after it fontifies a chunk of buffer).=C2=A0 Checking whether a file is locked entails calling unlock_file, which in turn calls
read_lock_data, which tries to open the lock file.=C2=A0 I'm guessing t= hat
this is slow on that remote volume of yours.

Maybe we should support a special value of create-lockfiles which
would mean don't create lockfiles and don't test fro lockfiles crea= ted
by other Emacs sessions.

It makes sense. It has a short delayed reponse when I start t= o modify the buffer (input, delete, etc.).
= It will help single user if we can have a special value of create-lockfiles= .

--001a11482ffa9c860e056133dd6f-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 27 15:50:00 2017 Received: (at 29846) by debbugs.gnu.org; 27 Dec 2017 20:50:00 +0000 Received: from localhost ([127.0.0.1]:54212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUIeG-0001Us-0Y for submit@debbugs.gnu.org; Wed, 27 Dec 2017 15:50:00 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:48610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUIeE-0001Uk-7U for 29846@debbugs.gnu.org; Wed, 27 Dec 2017 15:49:59 -0500 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id vBRKnuQ7002351; Wed, 27 Dec 2017 15:49:57 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 6880866326; Wed, 27 Dec 2017 15:49:56 -0500 (EST) From: Stefan Monnier To: Shuguang Sun Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network Message-ID: References: Date: Wed, 27 Dec 2017 15:49:56 -0500 In-Reply-To: (Shuguang Sun's message of "Mon, 25 Dec 2017 14:03:43 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6188=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6188> : inlines <6289> : streams <1774348> : uri <2558438> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 29846 Cc: 29846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > I have remote drive (//server/path) mapped to my windows system (samba?). > The network is slow, and it takes some time to open the file. However, > after I have the file opened and scroll down, it takes a long time to > scroll to the next screen. It gets worse if the jit-lock-debug-mode is on. > After that if I try to scroll back to those has been fontified, it get > fluent as expected. I believe this bug was introduced by yours truly in commit 6bc76cee212aab0a2c02f8c28213fc842cc7880f: Author: Stefan Monnier Date: Tue Apr 8 21:48:07 2014 -0400 * src/insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and region handling (and don't call signal_before_change) if inhibit_modification_hooks is set. (signal_before_change): Don't check inhibit_modification_hooks any more. * lisp/subr.el (with-silent-modifications): Don't bind deactivate-mark, buffer-file-name, and buffer-file-truename any more. And I think the patch below hence belongs in emacs-26. Any objection? Stefan diff --git a/src/buffer.c b/src/buffer.c index 75cb470af8..f518e72f9e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1346,7 +1346,6 @@ It is not ensured that mode lines will be updated to show the modified state of the current buffer. Use with care. */) (Lisp_Object flag) { - Lisp_Object fn; /* If buffer becoming modified, lock the file. If buffer becoming unmodified, unlock the file. */ @@ -1355,15 +1354,18 @@ state of the current buffer. Use with care. */) ? current_buffer->base_buffer : current_buffer; - fn = BVAR (b, file_truename); - /* Test buffer-file-name so that binding it to nil is effective. */ - if (!NILP (fn) && ! NILP (BVAR (b, filename))) + if (!inhibit_modification_hooks) { - bool already = SAVE_MODIFF < MODIFF; - if (!already && !NILP (flag)) - lock_file (fn); - else if (already && NILP (flag)) - unlock_file (fn); + Lisp_Object fn = BVAR (b, file_truename); + /* Test buffer-file-name so that binding it to nil is effective. */ + if (!NILP (fn) && ! NILP (BVAR (b, filename))) + { + bool already = SAVE_MODIFF < MODIFF; + if (!already && !NILP (flag)) + lock_file (fn); + else if (already && NILP (flag)) + unlock_file (fn); + } } /* Here we have a problem. SAVE_MODIFF is used here to encode From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 11:21:47 2017 Received: (at 29846) by debbugs.gnu.org; 28 Dec 2017 16:21:47 +0000 Received: from localhost ([127.0.0.1]:55362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUawF-0001ye-LG for submit@debbugs.gnu.org; Thu, 28 Dec 2017 11:21:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUawC-0001yP-SK for 29846@debbugs.gnu.org; Thu, 28 Dec 2017 11:21:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUaw4-0008CO-HB for 29846@debbugs.gnu.org; Thu, 28 Dec 2017 11:21:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUaw4-0008CK-DM; Thu, 28 Dec 2017 11:21:36 -0500 Received: from [176.228.60.248] (port=1799 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eUaw3-0002Eu-Rq; Thu, 28 Dec 2017 11:21:36 -0500 Date: Thu, 28 Dec 2017 18:21:52 +0200 Message-Id: <837et6hlgf.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Wed, 27 Dec 2017 15:49:56 -0500) Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29846 Cc: 29846@debbugs.gnu.org, shuguang@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Stefan Monnier > Date: Wed, 27 Dec 2017 15:49:56 -0500 > Cc: 29846@debbugs.gnu.org > > > I have remote drive (//server/path) mapped to my windows system (samba?). > > The network is slow, and it takes some time to open the file. However, > > after I have the file opened and scroll down, it takes a long time to > > scroll to the next screen. It gets worse if the jit-lock-debug-mode is on. > > After that if I try to scroll back to those has been fontified, it get > > fluent as expected. > > I believe this bug was introduced by yours truly > in commit 6bc76cee212aab0a2c02f8c28213fc842cc7880f: > > Author: Stefan Monnier > Date: Tue Apr 8 21:48:07 2014 -0400 > > * src/insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and > region handling (and don't call signal_before_change) if > inhibit_modification_hooks is set. > (signal_before_change): Don't check inhibit_modification_hooks any more. > * lisp/subr.el (with-silent-modifications): Don't bind deactivate-mark, > buffer-file-name, and buffer-file-truename any more. > > And I think the patch below hence belongs in emacs-26. Any objection? LGTM, please push to emacs-26. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 14:03:50 2017 Received: (at 29846-done) by debbugs.gnu.org; 28 Dec 2017 19:03:50 +0000 Received: from localhost ([127.0.0.1]:55463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUdT4-0005q2-3v for submit@debbugs.gnu.org; Thu, 28 Dec 2017 14:03:50 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUdT2-0005pu-R7 for 29846-done@debbugs.gnu.org; Thu, 28 Dec 2017 14:03:49 -0500 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id vBSJ3lYK016905; Thu, 28 Dec 2017 14:03:47 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 438B966326; Thu, 28 Dec 2017 14:03:47 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#29846: scroll and fontify takes longer time for file in slow network Message-ID: References: <837et6hlgf.fsf@gnu.org> Date: Thu, 28 Dec 2017 14:03:47 -0500 In-Reply-To: <837et6hlgf.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Dec 2017 18:21:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6189=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6189> : inlines <6292> : streams <1774437> : uri <2558984> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 29846-done Cc: 29846-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> I believe this bug was introduced by yours truly >> in commit 6bc76cee212aab0a2c02f8c28213fc842cc7880f: [...] >> And I think the patch below hence belongs in emacs-26. Any objection? > LGTM, please push to emacs-26. Installed, Stefan From unknown Tue Jun 24 17:23:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator