[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] EmacsW32 and viper
From: |
Denny Wright \(dennyw\) |
Subject: |
RE: [h-e-w] EmacsW32 and viper |
Date: |
Mon, 11 Sep 2006 08:39:44 -0700 |
Hi Lennart,
Thanks for your response. I've trimmed down my .emacs/.viper files to
the minimim that I think I need to get viper working. So they look like:
~/.emacs:
;; load viper
(setq viper-mode t)
(require 'viper)
~/.viper:
(setq viper-inhibit-startup-message 't)
(setq viper-expert-level '5)
For example, I open a .txt file (bound to gnuclientw) from the Desktop,
Emacs comes up, shows the EmacsW32 splash page, and then the .txt file.
The status bar shows (V). I try the 'j' & 'k' movement keys and it
inserts characters. The odd thing now, is that I'm trying this as I type
this email in Outlook, so I'm switching back and forth and reopening the
file. In one test, I opened the file, switched to Outlook, switched back
and it worked?!? It seems like there was a delay in processing/entering
viper-mode. That may be why C-z or M-x viper-mode doesn't fix it
immediately and it seems like playing around with M-x does. I'm guessing
that whatever is causing the delay finally completes (5-10 seconds or
so).
Here is the *Messages* buffer after it starts working correctly.
(C:\Program Files\Emacs\emacs\bin\emacs.exe --load=C:/Program
Files/Emacs/EmacsW32/bin/gnuservauto.el)
Loading encoded-kb...done
Adding c:/Program Files/Emacs/EmacsW32/lisp/ to load-path
Loading c:/Documents and Settings/dennyw/Application Data/.viper...done
Loading cl-macs...done
Loading cl-seq...done
Loading easy-mmode...done
For information about the GNU Project and its goals, type C-h C-p. [4
times]
forward-sentence: End of buffer
For information about the GNU Project and its goals, type C-h C-p.
Auto-saving...done
My first thought was gnuserv or viper mode, but I get the two "GNU
Project" messages while its still inserting characters. Is there some
other background process that's running?
Thanks
Denny
-----Original Message-----
From: Lennart Borgman [mailto:address@hidden
Sent: Friday, September 08, 2006 6:37 PM
To: Denny Wright (dennyw)
Cc: address@hidden
Subject: Re: [h-e-w] EmacsW32 and viper
Denny Wright (dennyw) wrote:
> Good day,
>
> I've just installed EmacsW32 (Emacs-22-CvsP060830-EmacsW32-1.06.exe).
> I love the integrated gnuclient but I have one problem with viper
> mode. It could be contributed to either Emacs or gnuclientw (since
> that's what is being executed first). Basically, when I open the first
> file, the status bar indicates (V) for viper mode but I'm still in
> Emacs mode. Ctrl-Z minimized Emacs. M-x viper-mode doesn't fix it but
> if I play around with M-x viper-??? hitting tab and such, it starts to
> work. Once its up, I can open other files and viper works fine.
>
> So I'm curious if this is a known issue with Gnu Emacs, EmacsW32 or
> gnuclientw? Is there a setting or startup option that I need to
change?
>
> Thanks
> Denny
Hi Denny,
Could you please try the same thing as above but without your current
emacs init file (~/.emacs)? If the problem still persists could you then
tell me more exactly what you are doing, step by step?
BTW I am a heavy Viper user and I have never noticed the kind of problem
you have here.