From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Florian Lindner Newsgroups: gmane.emacs.help Subject: Key binding Date: Sun, 24 Nov 2002 21:22:29 +0000 Organization: T-Online Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: main.gmane.org 1038170150 5271 80.91.224.249 (24 Nov 2002 20:35:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2002 20:35:50 +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 18G3Tp-0001Mt-00 for ; Sun, 24 Nov 2002 21:35:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G3UL-0005Yh-00; Sun, 24 Nov 2002 15:36:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-X-Trace: news.t-online.com 1038169770 01 4496 eu+VEQGSSOAa9V 021124 20:29:30 Original-X-Complaints-To: abuse@t-online.com X-Sender: 340060635977-0001@t-dialin.net User-Agent: KNode/0.7.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:107384 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:3936 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3936 Hi! I try to bind the shell-command function to the C-c v key (in pascal-mode) The command should execute a file after compilation. (define-key pascal-mode-map "\C-c\v" '(shell-command (file-name-sans-extension (buffer-file-name)))) But this somehow don't work... Thx, Florian