From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: M-n in diff mode: use to a better spot?
Date: Mon, 07 Jun 2004 07:13:18 +0200 [thread overview]
Message-ID: <86y8n0osr5.fsf@rumba.de.uu.net> (raw)
In-Reply-To: E1BX6Cg-0002Q0-Qo@fencepost.gnu.org
Richard Stallman <rms@gnu.org> 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
next prev parent reply other threads:[~2004-06-07 5:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-06 11:08 M-n in diff mode: use to a better spot? Kai Grossjohann
2004-06-06 22:33 ` Richard Stallman
2004-06-07 5:13 ` Kai Grossjohann [this message]
2004-06-07 19:17 ` Richard Stallman
2004-06-13 16:56 ` Kai Grossjohann
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=86y8n0osr5.fsf@rumba.de.uu.net \
--to=kai@emptydomain.de \
/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.