From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode Date: Mon, 10 Jan 2011 23:14:06 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=51261 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcQ0X-0002bb-C0 for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 17:14:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcQ07-0003IW-UB for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 17:14:09 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:44773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcQ07-0003IK-QV for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 17:14:07 -0500 Received: by iwn40 with SMTP id 40so21897155iwn.0 for ; Mon, 10 Jan 2011 14:14:06 -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: Marcelo de Moraes Serpa , Org Mode 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 "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