Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.UUCP Newsgroups: comp.emacs Subject: how do I make GNU Emacs vip mode come up in vi mode? Message-ID: <13706@teknowledge-vaxc.ARPA> Date: Mon, 15-Jun-87 17:13:03 EDT Article-I.D.: teknowle.13706 Posted: Mon Jun 15 17:13:03 1987 Date-Received: Thu, 18-Jun-87 00:37:12 EDT Organization: Teknowledge, Inc., Palo Alto CA Lines: 35 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