[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recentering for next-error
From: |
Juri Linkov |
Subject: |
Re: recentering for next-error |
Date: |
Fri, 22 Jun 2007 22:32:23 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> sometimes i grep "lambda", and would like to see the hits `next-error'
> displays such that the hit is near the top of the window w/ the body (of
> the lambda) following. the attached diff adds this recentering capability,
> and additionally makes it easier to tweak.
One of the allowed arguments of `recenter' is C-u that means putting point
in the center of the window. This is useful argument for next-error to put
the source line to the center of the window. But when I set the `recenter'
argument in the Customization buffer to the value `(4)', this doesn't work.
--
Juri Linkov
http://www.jurta.org/emacs/