From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gilbert Harman Newsgroups: gmane.emacs.help Subject: how to set local key in dired to use vm on file Date: Sat, 20 Nov 2004 18:53:43 -0500 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100994884 21877 80.91.229.6 (20 Nov 2004 23:54:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Nov 2004 23:54:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 21 00:54:33 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CVf3p-00088O-00 for ; Sun, 21 Nov 2004 00:54:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVfCn-0002jq-7B for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Nov 2004 19:03:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CVfCQ-0002in-FM for help-gnu-emacs@gnu.org; Sat, 20 Nov 2004 19:03:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CVfCO-0002i0-2t for help-gnu-emacs@gnu.org; Sat, 20 Nov 2004 19:03:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVfCN-0002hb-D9 for help-gnu-emacs@gnu.org; Sat, 20 Nov 2004 19:03:23 -0500 Original-Received: from [128.112.130.38] (helo=Princeton.EDU) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CVf34-0003dh-Gs for help-gnu-emacs@gnu.org; Sat, 20 Nov 2004 18:53:47 -0500 Original-Received: from smtpserver2.Princeton.EDU (smtpserver2.Princeton.EDU [128.112.129.148]) by Princeton.EDU (8.12.9/8.12.9) with ESMTP id iAKNrju0024698 for ; Sat, 20 Nov 2004 18:53:45 -0500 (EST) Original-Received: from [10.0.1.201] (pool-70-104-65-110.pskn.east.verizon.net [70.104.65.110]) (authenticated bits=0) by smtpserver2.Princeton.EDU (8.12.9/8.12.9) with ESMTP id iAKNri6K012139 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Sat, 20 Nov 2004 18:53:44 -0500 (EST) User-Agent: Microsoft-Entourage/11.1.0.040913 Original-To: 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: main.gmane.org gmane.emacs.help:22173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22173 Could anyone advise me how to use (set-local-key) or something else so that when I am in dired and the cursor is over a file, I get vm-visit-folder to visit that file? I can get as far as: (setq dired-mode-hook '(lambda () (local-set-key "V" 'vm-visit-folder))) But that still prompts me for the name of the file to visit. Thanks in advance. Gil