From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Wael Abd-Almageed Newsgroups: gmane.emacs.help Subject: Emacs Key Bindings for AUCTEX Date: Wed, 11 Sep 2002 23:28:52 -0600 Organization: University of New Mexico, Albuquerque Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1031811368 10083 127.0.0.1 (12 Sep 2002 06:16:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 06:16:08 +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 17pNGp-0002cO-00 for ; Thu, 12 Sep 2002 08:16:07 +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 17pNGt-00077N-00; Thu, 12 Sep 2002 02:16:11 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!hardy.tc.umn.edu!nunki.unm.edu!viento.eece.unm.edu!wamageed Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: viento.eece.unm.edu Original-X-Trace: nunki.unm.edu 1031808534 13365 129.24.25.35 (12 Sep 2002 05:28:54 GMT) Original-X-Complaints-To: news@unm.edu Original-NNTP-Posting-Date: Thu, 12 Sep 2002 05:28:54 +0000 (UTC) Original-Xref: nntp.stanford.edu gnu.emacs.help:104787 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:1342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1342 I'm new to Emacs and Lisp. I was wondering if someone would please tell me how to bind key to the "Command" menu items of the AUCTEX major mode. This is what I have in my "tex-site.el": (defvar TeX-command-list (list(list "LaTeX" "latex \\nonstopmode\\input{%t}" 'TeX-run-LaTeX nil t) (list "View" "yap %d" 'TeX-run-command nil t) (list "dviPS" "dvips %d -o %f" 'TeX-run-command nil t) (list "Ghostview" "c:\\tools\\GhostView\\gsview\\gsview32.exe %f" 'TeX-run-command nil t) (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil) (list "Index" "makeindex %s" 'TeX-run-command nil t) (list "Check" "lacheck %s" 'TeX-run-compile nil t) (list "Other" "" 'TeX-run-command t t))) Thanks Wael