mkhaw@teknowledge-vaxc.UUCP (06/16/87)
I'm asking this on the net as I'm not a lisp hacker. How do I make vip
mode in GNU Emacs (18.41) come up in vi-mode rather than emacs-mode?
My .emacs file has
(load "vip")
(change-mode 'vi-mode)
but it still comes up in emacs mode. I tried inserting
(setq current-mode 'emacs-mode)
or
(setq current-mode 'vi-mode)
before the call to change-mode, but that didn't make any difference.
Finally, I tried modifying vip.el to change
(set-default current-mode 'emacs-mode)
to
(set-default current-mode 'vi-mode)
but that seems to break vip; i.e., it comes up in emacs mode, and when I
hit ^Z to switch, the mode line doesn't change and the buffer acts like it's
still in emacs mode.
Thanks,
Mike Khaw
--
internet: mkhaw@teknowledge-vaxc.arpa
usenet: {hplabs|sun|ucbvax|decwrl|sri-unix}!mkhaw%teknowledge-vaxc.arpa
USnail: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303