all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Vijay Lakshminarayanan <laksvij@gmail.com>
Cc: help-gnu-emacs@gnu.org, Thien-Thi Nguyen <ttn@gnuvola.org>
Subject: Re: Binding M-n in info mode.
Date: Fri, 2 Sep 2011 21:59:19 +0200	[thread overview]
Message-ID: <CAH8Pv0hcaiLJc1Q_A6nvhj=FRDyu5zqv7EdLRN+2KGNh8gcgXQ@mail.gmail.com> (raw)
In-Reply-To: <87bov3dj2r.fsf@gmail.com>

>> What is that?  Poetry?? ;))
>
> It is, and it's pretty good.  Nice one, Thien.

I agree, of course.

>> Well, thanks to all of you for helping!
>
> What Thien means is you should, in your .emacs, use
>
> ;; COMPLETELY untested
> (eval-after-load "info"
>  (progn
>    (define-key Info-mode-map (kbd "M-n") #'forward-paragraph)
>    (define-key Info-mode-map (kbd "M-n") #'backward-paragraph)))
>
> because it (a) delays the remapping and (b) is less memory sapping.
> Furthermore, you could, to prevent "profligate consing", choose to
> define the custom keybindings as an Info-mode-hook.

Thanks for the extra explanation.

-- 
Dani Moncayo



      parent reply	other threads:[~2011-09-02 19:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-02  9:14 Binding M-n in info mode Dani Moncayo
2011-09-02  9:25 ` Eli Zaretskii
2011-09-02  9:31   ` Dani Moncayo
2011-09-02 10:14 ` Deniz Dogan
2011-09-02 11:14 ` Thien-Thi Nguyen
2011-09-02 12:17   ` Dani Moncayo
2011-09-02 16:07     ` Vijay Lakshminarayanan
2011-09-02 16:17       ` Deniz Dogan
2011-09-02 20:02         ` Dani Moncayo
2011-09-02 19:59       ` Dani Moncayo [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH8Pv0hcaiLJc1Q_A6nvhj=FRDyu5zqv7EdLRN+2KGNh8gcgXQ@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=laksvij@gmail.com \
    --cc=ttn@gnuvola.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.