From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Binding M-n and M-p to forward-paragraph and backward-paragraph respectively Date: Fri, 8 Apr 2011 21:10:00 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-3--255030650 X-Trace: dough.gmane.org 1302322278 12078 80.91.229.12 (9 Apr 2011 04:11:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2011 04:11:18 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 09 06:11:15 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8PVw-0005nR-Q2 for ged-emacs-devel@m.gmane.org; Sat, 09 Apr 2011 06:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:33563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8PVv-00076U-3g for ged-emacs-devel@m.gmane.org; Sat, 09 Apr 2011 00:11:11 -0400 Original-Received: from [140.186.70.92] (port=41172 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8PVl-0006x3-1J for emacs-devel@gnu.org; Sat, 09 Apr 2011 00:11:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8PUq-0007dI-Op for emacs-devel@gnu.org; Sat, 09 Apr 2011 00:10:05 -0400 Original-Received: from dmz-mailsec-scanner-8.mit.edu ([18.7.68.37]:56388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8PUq-0007dE-Mc for emacs-devel@gnu.org; Sat, 09 Apr 2011 00:10:04 -0400 X-AuditID: 12074425-b7c8cae00000429f-f4-4d9fdc2680fe Original-Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id 72.CB.17055.62CDF9D4; Sat, 9 Apr 2011 00:10:14 -0400 (EDT) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id p394A38d024605 for ; Sat, 9 Apr 2011 00:10:04 -0400 Original-Received: from [10.0.1.22] (c-67-183-32-38.hsd1.wa.comcast.net [67.183.32.38]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p394A0dM022425 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 9 Apr 2011 00:10:02 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkleLIzCtJLcpLzFFi42IR4hTV1lW7M9/X4PkBNovHC56wOjB6tE0z C2CM4rJJSc3JLEst0rdL4Mp4e7GRseCodMX8FfMZGxhXincxcnJICJhILJi1ignCFpO4cG89 WxcjF4eQwD5Gibbdt6Gck4wSd+dNh3IeMUn8P/WEuYuRg4NNQAaoRQOkm1fAUGLppnZ2EJtZ wFVi37ElLCC2sECkxOnpe5lBbBYBFYmrP8+BxTmBNu983QEWFxHQlni54SoriC0kkCGxYEcP O8RMK4nPLxaxgKySEJCVaFqWMYGRfxaSbbOQbIOw5SW2v53DPAuog1lAR2LyQkaIsLbEsoWv mWHsj+ePMC1gZFvFKJuSW6Wbm5iZU5yarFucnJiXl1qka6GXm1mil5pSuokRFL7sLqo7GCcc UjrEKMDBqMTDu9V0vq8Qa2JZcWXuIUZJDiYlUV69W0AhvqT8lMqMxOKM+KLSnNTiQ4wSHMxK IrzsR4ByvCmJlVWpRfkwKWkOFiVx3vmS6r5CAumJJanZqakFqUUwWRkODiUJ3pu3gRoFi1LT UyvSMnNKENJMHJwgw3mAhk8DWcxbXJCYW5yZDpE/xWjMsad//z5GjiWrgKQQS15+XqqUOO86 kHECIKUZpXlw02Ap6BWjONBzwrx9IFU8wPQFN+8V0ComoFWFp8FWlSQipKQaGJnDnxVp33y4 2trv/pRP92O1PzAsnOKwuZPN8HNyKIfrSv/woPl+fsZzmJW6tgR9Stsh+6KSj/HXltvqSjIN navcmj+Gyn8qFr2eO/fOReGtBww2f2C/4fazveHuw4uOm/ysOFzf1HxOrCvQbDvk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 18.7.68.37 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138323 Archived-At: --Apple-Mail-3--255030650 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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 --Apple-Mail-3--255030650 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
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

= --Apple-Mail-3--255030650--