unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: chad <yandros@MIT.EDU>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Binding M-n and M-p to forward-paragraph and backward-paragraph respectively
Date: Fri, 8 Apr 2011 21:10:00 -0700	[thread overview]
Message-ID: <E038B929-42DD-417F-A5C0-21B2EA74FFED@mit.edu> (raw)
In-Reply-To: <jwvlizk9p9u.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

On Apr 8, 2011, at 6:40 PM, Stefan Monnier wrote:

>> I globally bind M-n and M-p to forward-paragraph and
>> backward-paragraph respectively.
> 
>> Would it be okay to make these global bindings default?
> 
> I don't thi"nk so.  It's one of the few short keys left for major modes
> to bind to "next/prev" commands.

I think the idea that major modes should be encouraged to bind 
M-n/M-p to mode-specific next/prev commands is a fine one, and 
that it is encouraged rather than hampered by a default binding 
that accomplishes something similar -- teach the users to expect 
M-n/M-p to do those sorts of things in general, and they'll be more 
likely to expect, find, and use mode-specific bindings in major 
modes.

I also think the idea that we shouldn't add new bindings because 
then someone in the future might think that those bindings are
somehow `special' - and that we might want them to think 
otherwise - is a rather extreme combination of straw-man and 
absurdity.

On the gripping hand, if we want to reconsider Emacs' default 
bindings in toto, I don't think we'll have a better opportunity than
the upcoming Emacs 24 release for several years.

Hope that helps,
*Chad


[-- Attachment #2: Type: text/html, Size: 1935 bytes --]

  reply	other threads:[~2011-04-09  4:10 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 13:57 Binding M-n and M-p to forward-paragraph and backward-paragraph respectively Deniz Dogan
2011-04-07 16:33 ` Binding M-n and M-p to forward-paragraph and backward-paragraphrespectively Drew Adams
2011-04-07 17:57   ` Sean Sieger
2011-04-07 18:15     ` Binding M-n and M-p to forward-paragraph andbackward-paragraphrespectively Drew Adams
2011-04-07 18:24       ` Sean Sieger
2011-04-07 18:28         ` Binding M-n and M-p to forward-paragraphandbackward-paragraphrespectively Drew Adams
2011-04-07 18:29           ` Sean Sieger
2011-04-07 20:31             ` Antoine Levitt
2011-04-07 20:53               ` Binding M-n and M-p toforward-paragraphandbackward-paragraphrespectively Drew Adams
2011-04-08  3:13                 ` Davis Herring
2011-04-08  8:09                   ` Andreas Röhler
2011-04-07 22:30               ` Binding M-n and M-p to forward-paragraphandbackward-paragraphrespectively David De La Harpe Golden
2011-04-08 10:19                 ` Antoine Levitt
2011-04-08 21:48                   ` Lennart Borgman
2011-04-09  1:40 ` Binding M-n and M-p to forward-paragraph and backward-paragraph respectively Stefan Monnier
2011-04-09  4:10   ` chad [this message]
2011-04-09 15:24     ` Binding M-n and M-p to forward-paragraph and backward-paragraphrespectively Drew Adams
2011-04-09 19:09       ` chad
2011-04-09 19:26         ` Drew Adams
2011-04-10  2:49           ` Leo
2011-04-10  3:10             ` chad
2011-04-10  5:37               ` Leo
2011-04-10  9:15                 ` Stephen J. Turnbull
2011-04-10 13:17                   ` Lennart Borgman
2011-04-09 21:29       ` Davis Herring
2011-04-09 22:50         ` PJ Weisberg
2011-04-09 19:30   ` Binding M-n and M-p to forward-paragraph and backward-paragraph respectively Chong Yidong
2011-04-10  3:33     ` Stefan Monnier

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=E038B929-42DD-417F-A5C0-21B2EA74FFED@mit.edu \
    --to=yandros@mit.edu \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).