From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode Date: Mon, 10 Jan 2011 17:21:19 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57228 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcR3C-0000fm-47 for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 18:21:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcR3B-0008E6-2j for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 18:21:22 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:55669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcR3A-0008Dt-Sy for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 18:21:21 -0500 Received: by iyj17 with SMTP id 17so20503464iyj.0 for ; Mon, 10 Jan 2011 15:21:20 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Brand Cc: Org Mode Thanks Michael, I will try out your settings! It seems that Cocoa Emacs has several problems. Even if it works well overall, I've read in a lot of places users complaining about it, and indeed, it has several rendering flaws, just use it for any extended period of time and you'll spot a few, a bunch are related to performance. I hope the emacs developers spend more time on the Cocoa/OSX side of things for version 24! MacVim has been getting a lot of hype and attention lately and is very well supported, to make a quick comparison here. Cheers, Marcelo. On Mon, Jan 10, 2011 at 4:14 PM, Michael Brand wrote: > Hi Marcelo, hi all > > I think I have drilled down this slowness to be related with > viper-mode color settings but now I can not help more. Since it seems > to be a problem only in org-mode I hope that someone with a Mac OS X > Cocoa Emacs 23 here on the list can analyze this further. > > On Mon, Jan 10, 2011 at 03:26, Marcelo de Moraes Serpa > wrote: >> Has anyone tried to use this combo? I find that viper is too slow when >> in insert mode (when typing, actually), but only when in a buffer >> where orgmode is activated. Any ideas ? > > I noticed only now that I have this slowness when I start a Mac OS X > Cocoa Emacs 23.2.1 with -q. With my settings it happened only > sporadically every few weeks or months and disappeared I think after > closing the buffer and reopening the file. > > Now I drilled down the slowness to be related with my color setting. > When I have no or an empty ~/.emacs and a ~/.viper with this content: > > (setq viper-inhibit-startup-message 't) > (setq viper-expert-level '3) > (setq viper-vi-state-cursor-color =A0 =A0 "sea green") > (setq viper-insert-state-cursor-color "sea green") > > and enter viper-mode before or after opening a file in org-mode the > slowness disappears. When I uncomment only one of the two lines above > with the viper-*-state-cursor-color and restart Emacs the slowness is > back. When I stay in the buffer and change its major mode from > org-mode to fundamental-mode the slowness disappears again. > > In a Linux GNU Emacs 23.2.1 I can not observe such slowness. > > Michael >