From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Danenberg Newsgroups: gmane.emacs.help Subject: Re: Map ret to y on y-or-n questions Date: Thu, 15 Mar 2007 20:24:32 -0600 Message-ID: <20070316022431.GA31090@wikitex.org> References: <1173966612.739096.241700@n76g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174008269 20236 80.91.229.12 (16 Mar 2007 01:24:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Mar 2007 01:24: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 Fri Mar 16 02:24:23 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 1HS1B8-000271-JG for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Mar 2007 02:24:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HS1CB-0007If-PU for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Mar 2007 20:25:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HS1Br-00076C-Ku for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 21:25:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HS1Bp-00073B-Eu for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 21:25:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HS1Bp-00072V-99 for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 20:25:05 -0500 Original-Received: from server1.danenberg.name ([66.139.73.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HS1Al-00005z-3c for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 21:23:59 -0400 Original-Received: from wikitex.org (localhost.localdomain [127.0.0.1]) by server1.danenberg.name (8.13.6/8.13.6) with ESMTP id l2G2OWmL031507 for ; Thu, 15 Mar 2007 20:24:32 -0600 Original-Received: (from pcdanenb@localhost) by wikitex.org (8.13.6/8.13.6/Submit) id l2G2OWWe031506 for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 20:24:32 -0600 Content-Disposition: inline In-Reply-To: <1173966612.739096.241700@n76g2000hsh.googlegroups.com> X-Face: $a3~EO""ba292eohR, J!N"2eand:aMy>J(-{~{k"O{a8JDps4%1w{5dsgLnP+wcY1sIJtfa #)E5 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:41999 Archived-At: > I would like to know if there is a way to map Enter key to Yes on > y-or-n questions (like buffer killing confirmation). Try: (define-key query-replace-map [return] 'act) (define-key query-replace-map [?\C-m] 'act)