From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ferhun_caner@yahoo.com (Dr. F.C.Caner) Newsgroups: gmane.emacs.help Subject: rebind key in a single major mode Date: 23 Jan 2003 06:21:01 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <65fef11f.0301230621.79df4869@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1043331994 14167 80.91.224.249 (23 Jan 2003 14:26:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2003 14:26:34 +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 18biHv-0003a1-00 for ; Thu, 23 Jan 2003 15:25:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18biId-0006hP-01 for gnu-help-gnu-emacs@m.gmane.org; Thu, 23 Jan 2003 09:25:47 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 5 Original-NNTP-Posting-Host: 194.27.206.120 Original-X-Trace: posting.google.com 1043331661 8296 127.0.0.1 (23 Jan 2003 14:21:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 23 Jan 2003 14:21:01 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:109378 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5900 .... or, you can just do (add-hook 'gud-mode-hook '(lambda() (local-set-key (kbd "") (kbd "RET")))) FCC