From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Binding M-n and M-p to forward-paragraph and backward-paragraph respectively Date: Sun, 10 Apr 2011 00:33:14 -0300 Message-ID: References: <871v1bxlvx.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302406411 20986 80.91.229.12 (10 Apr 2011 03:33:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 03:33:31 +0000 (UTC) Cc: Emacs-Devel devel , Deniz Dogan To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 05:33:27 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 1Q8lOs-0000EZ-Pw for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 05:33:22 +0200 Original-Received: from localhost ([127.0.0.1]:36590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8lOs-0000d5-Bz for ged-emacs-devel@m.gmane.org; Sat, 09 Apr 2011 23:33:22 -0400 Original-Received: from [140.186.70.92] (port=43440 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8lOo-0000cz-2x for emacs-devel@gnu.org; Sat, 09 Apr 2011 23:33:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8lOn-0002TT-5S for emacs-devel@gnu.org; Sat, 09 Apr 2011 23:33:17 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:41695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8lOn-0002TP-2u for emacs-devel@gnu.org; Sat, 09 Apr 2011 23:33:17 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:58366 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Q8lOm-00032I-IZ; Sat, 09 Apr 2011 23:33:16 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1596F66124; Sat, 9 Apr 2011 23:33:14 -0400 (EDT) In-Reply-To: <871v1bxlvx.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 09 Apr 2011 15:30:58 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:138341 Archived-At: > How bout introducing M-n and M-p to those major modes where they don't > already have a binding? OTOH, it seems harmless to bind them to, say, > forward/backward-paragraph in text-mode. Might be OK. Then again, since they're already available via M-{ and M-} it's not clear why forward/backward-pararaphs should get such special treatment. Maybe instead text-mode should set beginning-of-defun-function and end-of-defun-function so that C-M-a and C-M-e treats defuns as paragraphs. Stefan