From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Arrow Keys?
Date: Sat, 13 Jun 2009 13:08:29 -0500 [thread overview]
Message-ID: <teednYxUJqGAdq7XnZ2dnUVZ_vOdnZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.569.1244913073.2239.help-gnu-emacs@gnu.org>
Andreas Röhler wrote:
> Eli Zaretskii wrote:
>>> From: Davin Pearson <davin.pearson@gmail.com>
>>> 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
next prev parent reply other threads:[~2009-06-13 18:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 10:41 Arrow Keys? Chris Gordon-Smith
2009-06-07 11:02 ` Christian Herenz
2009-06-07 11:58 ` Lennart Borgman
2009-06-07 16:27 ` Eric Abrahamsen
[not found] ` <mailman.162.1244392060.2239.help-gnu-emacs@gnu.org>
2009-06-07 17:05 ` Xah Lee
2009-06-07 21:24 ` notbob
2009-06-08 5:13 ` Eric Abrahamsen
2009-06-08 11:46 ` Teemu Likonen
2009-06-12 17:34 ` John A Pershing Jr
2009-06-12 18:38 ` Teemu Likonen
2009-06-12 20:57 ` Jeff Clough
[not found] ` <mailman.556.1244868430.2239.help-gnu-emacs@gnu.org>
2009-06-13 15:45 ` notbob
2009-06-13 16:12 ` Teemu Likonen
2009-06-07 21:31 ` Chris F.A. Johnson
2009-06-07 22:18 ` Chris Gordon-Smith
2009-06-08 4:58 ` Ian Eure
2009-06-07 22:55 ` Davin Pearson
2009-06-08 0:38 ` Eli Zaretskii
2009-06-13 17:13 ` Andreas Röhler
[not found] ` <mailman.569.1244913073.2239.help-gnu-emacs@gnu.org>
2009-06-13 18:08 ` B. T. Raven [this message]
[not found] ` <mailman.179.1244421488.2239.help-gnu-emacs@gnu.org>
2009-06-08 20:05 ` Chris Gordon-Smith
2009-06-21 12:01 ` Chris Gordon-Smith
2009-07-06 0:16 ` Miles Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=teednYxUJqGAdq7XnZ2dnUVZ_vOdnZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).