all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Key bindings for AUXTEX
       [not found] <Pine.GSO.4.44.0209112321080.13265-100000@viento.eece.unm.edu>
@ 2002-09-12 11:47 ` Reiner Steib
  0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2002-09-12 11:47 UTC (permalink / raw)


On Thu, Sep 12 2002, Wael Abd-Almageed wrote:

> I'm new to Emacs and Lisp. I was wondering if someone would please tell me
> how to bind keys to the "Command" menu of the emacs in the LaTeX major
> mode.
>
> This is what I have in the "tex-site.el" file:
>
> (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 "Other" "" 'TeX-run-command t t)))

Beside what Oliver mentioned (use `C-c C-c' and TAB to complete the
commands), you can bind the commands in this way: 

;; in tex-site.el or in ~/.emacs:
(eval-after-load
 "latex"
 '(define-key LaTeX-mode-map [(shift f6)]
    '(lambda ()
       (interactive)
       (TeX-command "View" 'TeX-master-file))))

This binds [(shift f6)] to the "View" entry.

This is not a Gnus issue, Crosspost & Followup-To: gnu.emacs.help

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-12 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.GSO.4.44.0209112321080.13265-100000@viento.eece.unm.edu>
2002-09-12 11:47 ` Key bindings for AUXTEX Reiner Steib

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.