From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Hinrik_=C3=96rn_Sigur=C3=B0sson?= Newsgroups: gmane.emacs.help Subject: Slow cperl-mode in emacs 22 & 23 Date: Fri, 3 Apr 2009 13:09:20 +0000 Message-ID: <6e4c323b0904030609n93f1da6u4c9cfd2775b78774@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238805249 9326 80.91.229.12 (4 Apr 2009 00:34:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Apr 2009 00:34:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 04 02:35:28 2009 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.50) id 1Lptr4-0007hl-1C for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Apr 2009 02:35:26 +0200 Original-Received: from localhost ([127.0.0.1]:51285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lptpf-0008PA-Op for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Apr 2009 20:33:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lpj9I-0004bT-1j for help-gnu-emacs@gnu.org; Fri, 03 Apr 2009 09:09:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lpj9A-0004Zj-6f for help-gnu-emacs@gnu.org; Fri, 03 Apr 2009 09:09:29 -0400 Original-Received: from [199.232.76.173] (port=60523 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lpj99-0004ZS-21 for help-gnu-emacs@gnu.org; Fri, 03 Apr 2009 09:09:23 -0400 Original-Received: from mail-bw0-f167.google.com ([209.85.218.167]:60017) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lpj98-0001tk-EU for help-gnu-emacs@gnu.org; Fri, 03 Apr 2009 09:09:22 -0400 Original-Received: by bwz11 with SMTP id 11so964973bwz.42 for ; Fri, 03 Apr 2009 06:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=wzpt+moC3YaAIDDFjI+UUSd/v7sRI1jzdhlB/Ga5gnk=; b=FjKQNY3dAkwITQp49hzptkEY38hmMXGT5Y8CGZ5q7DX5/vLM5mYCUNRYRZe05TZWER O8mNPhwcsyOHgyj3ovAnUC3NoFIe13xIpNm+j+5ocTSWhsGECpWWGAG1Fl6EWrdGfCiS vpHEgXXPFo2jj8ncBZKfxJ8Gf2/fwzIVgLHfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=JWtvqIOe5XU5idyap8DkhP8dx/DRC5xb0444YQePC+UHvrsxa0tJkyC6RCOoqftyV4 jfa5uyNF73DBxJy4W19fqUfNeqUr7FYrkwkCMKqO2vYO98H61ksY/9jKKY2lqrc1y51z 1FraStyMJdKssyjLUncWoMxQ7jciwMtx4I54k= Original-Received: by 10.223.113.200 with SMTP id b8mr1048222faq.84.1238764160405; Fri, 03 Apr 2009 06:09:20 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 03 Apr 2009 20:33:12 -0400 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:63460 Archived-At: I'm new to emacs and the first thing I tried after installing it was to edit a Perl file (~3000 lines) and switch to cperl-mode (via M-x cperl-mode). Moving around in the file with cperl-mode is very slow. I have to wait at least a second to see results after hitting Page Down. Editing smaller files (~500 lines) is faster but still a little sluggish. The default perl-mode is very fast in all cases. I have done no configuration (no ~/.emacs or ~/.emacs.d). I tried emacs 22.2 and two snapshots of emacs 23 (2008-10-13 and 2009-03-20), they all have this speed issue in cperl-mode. I'm running Ubuntu 8.10.