unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sean Whitton <spwhitton@spwhitton.name>
To: emacs-devel@gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: Re: master c86e7a29e78: ; Fix documentation of last change
Date: Thu, 26 Sep 2024 12:44:57 +0100	[thread overview]
Message-ID: <ZvVJObuylXRpij11@zephyr.silentflame.com> (raw)
In-Reply-To: <20240926112504.2BD9EC4110A@vcs2.savannah.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

Hello,

On Thu, Sep 26, 2024 at 07:25:03AM -0400, Eli Zaretskii wrote:
> --- a/doc/emacs/files.texi
> +++ b/doc/emacs/files.texi
> @@ -1675,6 +1675,7 @@ In a multi-file patch, kill the current file part.
>  
>  @findex diff-apply-hunk
>  @cindex patches, applying
> +@cindex reverse-apply diffs
>  @item C-c C-a
>  Apply this hunk to its target file (@code{diff-apply-hunk}).  With a
>  prefix argument of @kbd{C-u}, revert this hunk, i.e.@: apply the

Nice.

> diff --git a/etc/NEWS b/etc/NEWS
> index feadc54c17a..cdc7f47b7a9 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -365,8 +365,9 @@ command attempts to look up and copy the text in-between the hunks.
>  
>  +++
>  *** New command 'diff-revert-and-kill-hunk' bound to C-c M-r.
> -This command reverse-applies the hunk at point, and then kills it.
> -This is useful in buffers generated by C-x v = and C-x v D.
> +This command reverts the hunk at point (i.e., applies the reverse of the
> +hunk), and then removes the hunk from the diffs.  This is useful to undo
> +commits when you are in buffers generated by 'C-x v =' and 'C-x v D'.

   ^^^^^^^
   I think this should be "changes", right?

-- 
Sean Whitton

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

       reply	other threads:[~2024-09-26 11:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172734990367.10758.14920367247781455923@vcs2.savannah.gnu.org>
     [not found] ` <20240926112504.2BD9EC4110A@vcs2.savannah.gnu.org>
2024-09-26 11:44   ` Sean Whitton [this message]
2024-09-26 13:39     ` master c86e7a29e78: ; Fix documentation of last change Eli Zaretskii
2024-09-26 14:19       ` Sean Whitton
2024-09-26 14:25         ` Eli Zaretskii
2024-09-26 15:46           ` Sean Whitton
2024-09-26 15:48             ` Sean Whitton
2024-09-26 16:18               ` Eli Zaretskii
2024-09-26 19:05                 ` Sean Whitton
2024-09-26 16:16             ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=ZvVJObuylXRpij11@zephyr.silentflame.com \
    --to=spwhitton@spwhitton.name \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).