From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Arrow Keys? Date: Sat, 13 Jun 2009 13:08:29 -0500 Message-ID: References: <791jqsF1otu7cU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1244918581 8776 80.91.229.12 (13 Jun 2009 18:43:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 18:43:01 +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 Jun 13 20:42:57 2009 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 1MFYBq-00040n-IY for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 20:42:55 +0200 Original-Received: from localhost ([127.0.0.1]:54574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFYBp-0004Lz-HI for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 14:42:53 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 13 Jun 2009 13:08:29 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 41 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.132.182 Original-X-Trace: sv3-0ZT6Pu8wXr7ZuKYYjBmxATfaLe+Q/RKncXwS6OVRAe7Z7ak0coAbY8WNv/ueQRtKHa6RDwIi3i5ZAQe!wrv66heAcEdS3LCTbGjHkQE6MvKn+OKqxt4FscY1zlE7jgUB0zbOgKyWOpecvU/Q90v/I8wz0R5T!T2aBCB0SwJSSvEdrW0qevYtqIw23uLY= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 X-Original-Bytes: 2641 Original-Xref: news.stanford.edu gnu.emacs.help:170031 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:65259 Archived-At: Andreas Röhler wrote: > Eli Zaretskii wrote: >>> From: Davin Pearson >>> Newsgroups: gnu.emacs.help >>> Date: Sun, 7 Jun 2009 15:55:38 -0700 (PDT) >>> >>> Isn't the purpose of Emacs to eliminate arguments over keybindings? >>> Every Emacs user can customise their bindings to their own personal >>> preferences. >>> >> That's the idea, yes. But some people tend to argue a lot about the >> default settings, for reasons that totally evade me in the context of >> Emacs, whose customization features and extensibility are really >> limitless. >> >> >> >> > > You are right. Nonetheless, being a beginner, it's just that kind of > question > to pose IMHO. > > Below a tiny issue I enjoy from the unlimited, it saves the (rather > laborious) keystrokes > typing in "yes" and "return" afterwards: > > (global-set-key [(super a)] '[?y ?e ?s return]) > > Andreas The effect can also be accomplished with (fset 'yes-or-no-p 'y-or-n-p) ; makes yes-or-no-p an alias for y-or-n-p which short-circuits the safety of having to type out y e s [ret] but I guess it's no more dangerous than your method. A single y or space without RET will answer the query in the affirmative. Ed