Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-11 Thread Filippo A. Salustri
I haven't tried viper yet, but there's another version of emacs for OSX,
Aquamacs.  Has anyone tried to check slowness in Aquamacs?
...just a thought.
Cheers.
Fil

-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-11 Thread Michael Brand
On Tue, Jan 11, 2011 at 21:47, Filippo A. Salustri salus...@ryerson.ca wrote:
 I haven't tried viper yet, but there's another version of emacs for OSX,
 Aquamacs.  Has anyone tried to check slowness in Aquamacs?

I expected Aquamacs just to be too different to Cocoa Emacs, but now I
am surprised: In a Mac OS X Aquamacs-Emacs-2.1 there is also exactly
the same viper insert slowness when in org-mode, disappearing with
fundamental-mode or with the ~/.viper from my last post.

In a Mac OS X Carbon Emacs 22.3.1, the last Mac OS X Carbon I think, I
can not observe such slowness. Possibly because it is not Mac OS X
Cocoa and/or it is not Emacs 23.

Michael

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-11 Thread Filippo A. Salustri
Oh well.  It was an idea.
Cheers.
Fil

On 11 January 2011 17:38, Michael Brand michael.ch.br...@gmail.com wrote:

 On Tue, Jan 11, 2011 at 21:47, Filippo A. Salustri salus...@ryerson.ca
 wrote:
  I haven't tried viper yet, but there's another version of emacs for OSX,
  Aquamacs.  Has anyone tried to check slowness in Aquamacs?

 I expected Aquamacs just to be too different to Cocoa Emacs, but now I
 am surprised: In a Mac OS X Aquamacs-Emacs-2.1 there is also exactly
 the same viper insert slowness when in org-mode, disappearing with
 fundamental-mode or with the ~/.viper from my last post.

 In a Mac OS X Carbon Emacs 22.3.1, the last Mac OS X Carbon I think, I
 can not observe such slowness. Possibly because it is not Mac OS X
 Cocoa and/or it is not Emacs 23.

 Michael

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-10 Thread Michael Brand
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
celose...@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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-10 Thread Marcelo de Moraes Serpa
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
michael.ch.br...@gmail.com 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
 celose...@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


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-09 Thread Marcelo de Moraes Serpa
Hi list,

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 ?

Marcelo.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-09 Thread Jean-Marie Gaillourdet
Hi Marcelo,

Marcelo de Moraes Serpa celose...@gmail.com writes:

 Hi list,

 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've had that problem for a long time as well. And it seemed to me to be
a showstopper for using org together with viper. But somehow I managed
to improve the situation. I am sorry to not be more specific on this
issue. But I can assure you it is possible to have a working
configuration. I'd advice you to try loading org and viper in a clean
emacs session (emacs -q). I somehow remember there was also an issue
with the order in which I loaded org and viper. Currently I'm loading
org before viper. 

My git history tells me that this line improved load times of the agenda
significantly: 
(setq viper-suppress-input-method-change-message t)


Cheers,
  Jean-Marie


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode