[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-n in diff mode: use to a better spot?
From: |
Kai Grossjohann |
Subject: |
Re: M-n in diff mode: use to a better spot? |
Date: |
Mon, 07 Jun 2004 07:13:18 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> WIBNI there was some automatic way of moving to the right spot in the
> diff buffer, so that C-x 4 a can provide a better default?
>
> Are you suggesting that if point is at the start of the hunk, C-x 4 a
> should operate on the file position of first change in the hunk, rather
> than on the file position corresponding to point? That would have the
> effect you want, and I think it would not cause problems.
That would be fine. Another possibility is for M-n to move to the
first +/-/! line inside the hunk instead of to the start of the
hunk. Yet another possibility is to make a new command which moves
to the +/-/! line inside the hunk. I would be happy with any one of
these.
Kai