From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Define colon commands in viper? Date: Wed, 04 Sep 2002 19:18:14 +0200 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <87n0qzt2bs.fsf@stewart.floobin.cx> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031160276 25581 127.0.0.1 (4 Sep 2002 17:24:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Sep 2002 17:24:36 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mdtJ-0006eJ-00 for ; Wed, 04 Sep 2002 19:24:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mdup-0002It-00; Wed, 04 Sep 2002 13:26:07 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!eusc.inter.net!Informatik.Uni-Dortmund.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:zEoDR/f9HNDqCAzjyS+CecFneyE= Original-Xref: nntp.stanford.edu gnu.emacs.help:104476 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1038 Edward O'Connor writes: >> How do I define a colon command in viper, such that `:meep' calls >> the `ding' function, say? > > There's probably a better way to do this, but here's what I do in my > .emacs file WRT :open and the like: You pointed me in the right direction. I guess that it would work to add an entry to ex-token-alist. Thanks! kai -- A large number of young women don't trust men with beards. (BFBS Radio)