From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mickey Ferguson Newsgroups: gmane.emacs.help Subject: Auto keyword capitalization help Date: Mon, 5 Aug 2002 16:36:55 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <1145DB7C10DAE84AB1705C5738D732C6EED656@cline.cline> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1028590657 17011 127.0.0.1 (5 Aug 2002 23:37:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 23:37:37 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17brPr-0004QG-00 for ; Tue, 06 Aug 2002 01:37:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17brQO-000573-00; Mon, 05 Aug 2002 19:38:08 -0400 Original-Received: from remote.peinc.com ([12.9.209.21] helo=cline.cline) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17brPm-0004yz-00 for ; Mon, 05 Aug 2002 19:37:30 -0400 Original-Received: by cline.cline with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Aug 2002 16:37:01 -0700 Original-To: "Emacs Help (E-mail)" X-Mailer: Internet Mail Service (5.5.2653.19) 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:769 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:769 (Please reply directly to me, because my Usenet access is not working.) I'm using the Visual Basic Mode package. What I'd like is that when I hit Enter, it would go through the list of keywords and adjust its capitalization automatically, just like what happens when I hit Space. I see that in this mode, the SPC key runs the command self-insert-command, while the Enter (RET) key runs the command visual-basic-newline-and-indent. How can I get it to first perform the auto capitalization on the Enter as well?