[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding M-n in info mode.

From: Vijay Lakshminarayanan
Subject: Re: Binding M-n in info mode.
Date: Fri, 02 Sep 2011 21:37:08 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Dani Moncayo <> writes:

>> no worries to go w/ the pre-load
>>  (it's wee code), as Eli suggested above
>> but mayhaps one enjoys the parsimony
>>  (not always phony), of experience-wrested love:
>> ‘eval-after-load’ delays the remapping
>>  (less memory-sapping), until you really need it;
>> ‘add-hook’ denies the stoned noncing
>>  (o profligate consing): emacs grows as you feed it.
> What is that?  Poetry?? ;))

It is, and it's pretty good.  Nice one, Thien.

> Well, thanks to all of you for helping!

What Thien means is you should, in your .emacs, use

;; COMPLETELY untested
(eval-after-load "info"
    (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.


Gnus should be more complicated.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]