From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: Emacs tooooo slow on loooooong line (eat my 2 GHz CPU). Date: Mon, 16 Aug 2010 00:29:28 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281911430 13243 80.91.229.12 (15 Aug 2010 22:30:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 22:30:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Oleksandr Gavenko Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 16 00:30:28 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Oklik-0002q4-Mc for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 00:30:27 +0200 Original-Received: from localhost ([127.0.0.1]:58582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oklik-0002Mr-0I for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Aug 2010 18:30:26 -0400 Original-Received: from [140.186.70.92] (port=44292 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkliL-0002MB-H8 for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 18:30:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkliK-0001Ty-6V for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 18:30:01 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:36834) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkliK-0001Tr-2n for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 18:30:00 -0400 Original-Received: by vws16 with SMTP id 16so3233256vws.0 for ; Sun, 15 Aug 2010 15:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WLOWK94rUpzadzSXygIUSsSLu3/z+yyEky9BpI0q2P8=; b=KL4BxWIc/OT0sy7TkuHeSpuQYzTiQpcw4hpRXf2wnpt7u+RUd3F0XjNr9MVjcKybQO IK8WPED1GOv4osBTIgkKb0BeP3yEbcU4+R0cITovdk1U2zKZTKwWZmdyn75G/AUEquQY ftxhZMA2rctqmXdpahN3ZjyS2ZBC1ivqZjkR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=WUgBkyoOWWI8U/js+CtdEo6aEVuEWipslzd48JlcY+tSX7iPpbrF6s3bCPRWOpQq1e Y73TkdHp1vsX1lAKs59/uOYJi7fsT490GUVtUc6s4zHHRbnpqEI8ZN5fSHSyicg1dyol W55qCaxLTFRipf91W/sU24OF2XtYiNOwl9uDU= Original-Received: by 10.220.62.72 with SMTP id w8mr2720288vch.72.1281911399234; Sun, 15 Aug 2010 15:29:59 -0700 (PDT) Original-Received: by 10.220.50.68 with HTTP; Sun, 15 Aug 2010 15:29:28 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74666 Archived-At: 2010/8/15 Oleksandr Gavenko : > I experiment ever with: > > =A0$ emacs --no-init-file --no-site-file > > GNU Emacs 23.2.1 (i686-pc-cygwin) of 2010-05-08 on laptop > GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 > > > When single line is more then 10 KiB long Emacs freeze. > > For example try typing (1000 times repeat simple text): > > C-SPC int main() {return 0;} SPC M-w C-x ( C-y C-x ) C-u 1 0 0 0 C-x e > > After text appear in buffer try move up/down by this text. > My CPU loading up to 100%. > > Cygwin Emacs in mintty work near 2x time faster > then Emacs native in gui. > > > Currently I found longline-mode. With such settings: > > (setq longlines-show-hard-newlines t) > (longlines-mode 1) > > it is speedy but not so visual convenient > as default line wrapping mechanism. > > > Also I try visual-line-mode. It also very slow! > > > I try Emacs 21.3 and found that there no such feature as > moving to wrapped part of line by one line. Instead if I > press UP or DOWN in go to new line. And very fast! > Same with Emacs 22.3. > > How back previous behavior on long line moving or fix > current? > > -- > Best regards! > > > For what it's worth the sluggishness is a known issue and was reported the first time a while back: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3219 --=20 Deniz Dogan