emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>,
	Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode
Date: Mon, 10 Jan 2011 23:14:06 +0100	[thread overview]
Message-ID: <AANLkTikyFDdBt0rv1Ro9NUPEatq30MA5-Wf--kg+rMKA@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=1vuGMi50r1T27P-QySTq9QHH=wncTUSb3_ba+@mail.gmail.com>

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
<celoserpa@gmail.com> 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

  parent reply	other threads:[~2011-01-10 22:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  2:26 Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode Marcelo de Moraes Serpa
2011-01-10  7:43 ` Jean-Marie Gaillourdet
2011-01-10 22:14 ` Michael Brand [this message]
2011-01-10 23:21   ` Marcelo de Moraes Serpa
  -- strict thread matches above, loose matches on Subject: below --
2011-01-11 20:47 Filippo A. Salustri
2011-01-11 22:38 ` Michael Brand
2011-01-11 22:49   ` Filippo A. Salustri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikyFDdBt0rv1Ro9NUPEatq30MA5-Wf--kg+rMKA@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).