From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Raffaele Ricciardi Newsgroups: gmane.emacs.help Subject: Re: Viper-mode too slow on OSX Snow Leopard (custom-compiled cocoa emacs 23.2.1) Date: Fri, 07 Jan 2011 22:03:13 +0100 Message-ID: <8opd8lFqmvU1@mid.individual.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294453577 31061 80.91.229.12 (8 Jan 2011 02:26:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2011 02:26:17 +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 Jan 08 03:26:13 2011 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 1PbOVQ-0001BZ-Uz for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Jan 2011 03:26:13 +0100 Original-Received: from localhost ([127.0.0.1]:37771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbOVQ-0007jA-8K for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jan 2011 21:26:12 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-X-Trace: individual.net i1/0kT2HvypzqM5XCVy/nwaGhz9V2Xie0qNytntsLLxiZNIWrB Cancel-Lock: sha1:KTkrBOE/iGj6BDiWCXJArbm/Xp4= User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) In-Reply-To: Original-Xref: usenet.stanford.edu gnu.emacs.help:184112 X-Mailman-Approved-At: Fri, 07 Jan 2011 21:25:48 -0500 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:78308 Archived-At: Marcelo de Moraes Serpa wrote: > *bump* > > No hints ? > > Marcelo. > > On Wed, Jan 5, 2011 at 12:47 PM, Marcelo de Moraes Serpa > wrote: >> Hello everyone, >> >> Putting editor wars aside, I've started using VIM (MacVim to be >> specific) and after a steep learning curve, as you might expected, I'm >> delighted by the efficient way to manipulate the text. However, I >> still use emacs a lot and I don't plan on leaving it, since I have >> most of my writings (blog post drafts, notes, todo lists (thanks >> orgmode!)) there. >> >> I do, however, want to start using only one navigation model, and the >> VIM one is the logical choice for me right now. Luckily emacs has >> Viper-mode, but when I activate it on emacs 23, it just renders emacs >> so slow to point I can't really use it. Each keystroke takes about >> 600ms to render to screen, and if I start typing fast, it just hangs >> and takes a few seconds to show the whole text. >> >> Emacs version: GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) >> OSX Snow Leopard. >> >> Any ideas of what's going on and how to fix it? >> >> Thanks in advance, >> >> Marcelo. >> > Have you tried loading just Viper after "emacs -Q"? Consider also using Vim-mode instead: http://www.emacswiki.org/emacs/VimMode To debug the issue you are experiencing, you would need to profile all functions involved whenever you press a key, but - AFAIK - currently Emacs lacks a call-tree generator.