unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>,
	Deniz Dogan <deniz.a.m.dogan@gmail.com>
Subject: Re: Binding M-n and M-p to forward-paragraph and backward-paragraph respectively
Date: Sun, 10 Apr 2011 00:33:14 -0300	[thread overview]
Message-ID: <jwvzkny6axv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <871v1bxlvx.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 09 Apr 2011 15:30:58 -0400")

> 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



      reply	other threads:[~2011-04-10  3:33 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
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 [this message]

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=jwvzkny6axv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=deniz.a.m.dogan@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).