From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: cperl-mode Date: Sat, 01 Sep 2007 14:38:02 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87tzqfatlh.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188621639 20060 80.91.229.12 (1 Sep 2007 04:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 04:40:39 +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 Sep 01 06:40:39 2007 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 1IRKmi-0000PK-6Z for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 06:40:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRKmh-0006gB-BA for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 00:40:35 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!sn-xt-sjc-05!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:EOjpZbZZd1A3PEW9BBT4f3inDDE= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 49 Original-Xref: shelby.stanford.edu gnu.emacs.help:151531 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:47050 Archived-At: Ilya Zakharevich writes: > Subject: Re: cperl-mode > > [A complimentary Cc of this posting was sent to > Goran > ], who wrote in article : >> Paging C-v, M-v and typing characters is most time >> slow, no matter the size of file. >> >> I have compiled Emacs 22.1.1 from source on Mandriva 2005 >> Linux, kernel 2.6, 512M memory and Debian 3.1 Linux kernel 2.6 >> 384M memory. > > You still did not answer "Slow with respect to WHAT?". > >> cperl-mode is as shipped with Emacs 22.1.1 >> (defvar cperl-version >> (let ((v "Revision: 5.22")) > > This is not the latest version. ilyaz.org/software. > > I saw bugs reports that v22.1 is practically unusable with CPerl (too > many bugs: syntaxification does not work correct), but not about slowdown. > > Hope this helps, > Ilya Interesting regarding your reference to reports that cperl-mode is almost unusable under emacs 22. I've not found this. I have noticed some fontification that doesn't look correct and do get considerable 'error messages' reported in the mini-buffer concerning unmatched parens etc, but yo don't get this if your inserting parens or other delimiters in pairs. For exmaple, qw/ will give unmatched/unbalanced errors after every character you insert. I guess its possible this could impact on performance. However, if you do qw/ /, with point inbetween the /s, then you don't get the warning/errors after each character you insert. I tend to use some of the 'hairy' options, which means when I do something like an if or for/foreach etc, most of the delimiters are automatically added in matched pairs - maybe thats why I'm not having the problems others have reported. I've not noticed any problems with scrolling of pages or any slowness - not sure if thats because I'm not suffering the same problems or maybe I'm just naturally slow and therefore don't notice it! Tim -- tcross (at) rapttech dot com dot au