From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikola Skoric Newsgroups: gmane.emacs.help Subject: binding a command and a parameter Date: Sat, 13 Oct 2007 19:09:38 +0000 (UTC) Organization: FER Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1192304489 13259 80.91.229.12 (13 Oct 2007 19:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 19:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 13 21:41:19 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgmrO-0004ho-BI for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Oct 2007 21:41:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgmrH-0002cy-Ug for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Oct 2007 15:41:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!newsfeed.t-com.hr!news3.t-com.hr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 89-172-47-169.adsl.net.t-com.hr Original-X-Trace: ss408.t-com.hr 1192302578 12688 89.172.47.169 (13 Oct 2007 19:09:38 GMT) Original-X-Complaints-To: abuse@t-com.hr Original-NNTP-Posting-Date: Sat, 13 Oct 2007 19:09:38 +0000 (UTC) X-UIN: 60046390 X-Klopa: Sarma X-Face: 9L@2fE9M|w; Ve0=k,ifQRp7S")e96b[{xJQDZZ2Mc^:u_O{H$qDth"]jo^Lh5 ; d*?VUjs7v`6}$NJx-V?V]1f2fCUAx/4-zSgA1R,+M X-Editor: emacs User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Xref: shelby.stanford.edu gnu.emacs.help:152884 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48389 Archived-At: What I'd like to do is create a binding for this: I invoke TeX-command-master, and then type in LaTeX. I suppose I should bind a key to TeX-command-master and send LaTeX as parameter... I tried (global-set-key "\C-cl" '(TeX-command-master LaTeX)), but that doesn't work (sorry if I just wrote a blasphemy, I'm still a newbie...). -- "Now the storm has passed over me I'm left to drift on a dead calm sea And watch her forever through the cracks in the beams Nailed across the doorways of the bedrooms of my dreams"