unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Antoine Levitt'" <antoine.levitt@gmail.com>, <emacs-devel@gnu.org>
Subject: RE: Binding M-n and M-p toforward-paragraphandbackward-paragraphrespectively
Date: Thu, 7 Apr 2011 13:53:54 -0700	[thread overview]
Message-ID: <4C62DFEA8E7741C5BCDD599C3C4493F5@us.oracle.com> (raw)
In-Reply-To: <87mxk1vm5y.fsf@gmail.com>

> I've got this bound globally as well.

Good for you.  Everyone is free to bind it globally.  And it's likely that you
bind it to different commands than the ones proposed.

> It just makes sense with the global idea that C- is for
> atomic movements, and M- for group movement.

That might be an argument for users to bind it, but that in itself is not an
argument for Emacs to bind it by default.  And it is certainly not an argument
to bind it to some specific key (which one?).

The fact is that when Emacs binds a key by default it sooner or later becomes
(mis)considered sacrosanct by at least some users, even though the docs try to
help users understand that they are free to change the default key bindings.

In the last discussion we had about binding some more keys by default (a
function key comes to mind), even by the middle of the discussion some users
were concluding that they shouldn't themselves bind the keys involved.  No
default binding had yet been decided on, but they were already thinking that the
key was reserved somehow for Emacs.

> When I first learnt about movement in emacs, I was quite
> surprised to see that those two weren't bound. Setting them as default
> would not inconvenience anyone (it'd only add bindings when none are
> present), and make emacs more coherent.

See above.  Making M-n be forward-paragraph by default doesn't make Emacs become
more coherent.  Making it be any of the other proposed commands doesn't either.
There is no particular command that is crying out to be bound by default to M-n.

And it is just as well to leave it unbound and thus obvious for users.  Users
such as yourself, who did just that: bound it to a command that you found useful
in your context.

> An issue though is that some modes bind these.

No, that's not an issue.  Mode bindings override global bindings all over the
place.  It's normal.

> And more keybindings is always a good thing, isn't it? ;)

More _default_ keybindings is not always a good thing.  It could even be argued
that reserving more keybindings for users (not just allowing them but reserving
them) might be a good thing.




  reply	other threads:[~2011-04-07 20:53 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               ` Drew Adams [this message]
2011-04-08  3:13                 ` Binding M-n and M-p toforward-paragraphandbackward-paragraphrespectively 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
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=4C62DFEA8E7741C5BCDD599C3C4493F5@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=antoine.levitt@gmail.com \
    --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).