From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bogossian@mail.com Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23, so slow to refresh on Windows Date: Mon, 17 May 2010 19:52:44 -0400 Message-ID: <8CCC4332DEEAEEC-16F0-3DA0@web-mmc-d09.sysops.aol.com> References: <8CCC3DAB0774A32-16F0-1536@web-mmc-d09.sysops.aol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274168745 19883 80.91.229.12 (18 May 2010 07:45:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 May 2010 07:45:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: lekktu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 18 09:45:44 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OEHUk-0004TM-Uq for ged-emacs-devel@m.gmane.org; Tue, 18 May 2010 09:45:43 +0200 Original-Received: from localhost ([127.0.0.1]:42830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEHUj-0008LK-Pc for ged-emacs-devel@m.gmane.org; Tue, 18 May 2010 03:45:41 -0400 Original-Received: from [140.186.70.92] (port=44549 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEA7c-0001Wa-UA for emacs-devel@gnu.org; Mon, 17 May 2010 19:53:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEA7W-000483-Sw for emacs-devel@gnu.org; Mon, 17 May 2010 19:53:20 -0400 Original-Received: from imr-mb01.mx.aol.com ([64.12.207.164]:44472) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEA7W-00047t-Py for emacs-devel@gnu.org; Mon, 17 May 2010 19:53:14 -0400 Original-Received: from imo-da04.mx.aol.com (imo-da04.mx.aol.com [205.188.169.202]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o4HNqqw1015664; Mon, 17 May 2010 19:52:53 -0400 Original-Received: from bogossian@mail.com by imo-da04.mx.aol.com (mail_out_v42.9.) id o.e20.566ad73 (43983); Mon, 17 May 2010 19:52:46 -0400 (EDT) Original-Received: from smtprly-ma03.mx.aol.com (smtprly-ma03.mx.aol.com [64.12.207.142]) by cia-dd04.mx.aol.com (v129.4) with ESMTP id MAILCIADD048-5c554bf1d6cc20c; Mon, 17 May 2010 19:52:46 -0400 Original-Received: from web-mmc-d09 (web-mmc-d09.sim.aol.com [205.188.103.99]) by smtprly-ma03.mx.aol.com (v129.4) with ESMTP id MAILSMTPRLYMA033-5c554bf1d6cc20c; Mon, 17 May 2010 19:52:44 -0400 X-MB-Message-Type: User Original-Received: from 82.66.250.190 by web-mmc-d09.sysops.aol.com (205.188.103.99) with HTTP (WebMailUI); Mon, 17 May 2010 19:52:44 -0400 X-AOL-IP: 82.66.250.190 X-MB-Message-Source: WebUI X-Mailer: Mail.com Webmail 31650-STANDARD In-Reply-To: X-AOL-SENDER: bogossian@mail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 18 May 2010 02:48:49 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124880 Archived-At: >Emacs is not optimized for ultra-long lines. Do you find it also slow >editing more normal-looking files? No, I've done more testing and so far I haven't noticed any slowdown=20 with normal files (ie. files without long lines). So, I think we can assume the performance issue is specific to files=20 with long lines. >Could you try > > emacs -q -xrm Emacs.FontBackend:gdi > >and see whether it makes a difference? Yes, it brings an improvement with the default font: Emacs 21.3.1: 8s Emacs 22.3.1: 14s Emacs 23.2.1 (uniscribe): 63s Emacs 23.2.1 (gdi): 38s With the 6x13 font, it doesn't make a difference (6x13 being a bitmap font, I suppose it's always rendered using the gdi backend). >If you find it unbearably slow I'd suggest filing a bug in the Emacs >bug tracker, giving as much relevant information as possible (for >example, fonts used, etc.). I might do that indeed. Though I can understand that Emacs is not optimized for very long lines, it's supposed to be a versatile tool, so it should at least perform decently with any kind of files and fonts. And I'm probably not the only one who has to deal with computer generated files (dumps, logs, export files, ...) containing very long lines. Thank you for your reply Juanma, Pierre