GNU bug report logs -
#73387
30.0.90; C-x v v in diff-mode doesn't work after C-c C-n
Previous Next
Reported by: Sean Whitton <spwhitton <at> spwhitton.name>
Date: Fri, 20 Sep 2024 16:10:01 UTC
Severity: normal
Found in version 30.0.90
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
Message #56 received at 73387 <at> debbugs.gnu.org (full text, mbox):
> Cc: 73387 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
> Juri Linkov <juri <at> linkov.net>
> From: Sean Whitton <spwhitton <at> spwhitton.name>
> Date: Mon, 30 Sep 2024 21:10:04 +0800
>
> +Delete all hunks other than the current hunk. If the region is active,
> +then delete all hunks other than those the region overlaps.
We usually describe what happens when the region is active, then what
happens "otherwise".
> +*** New command 'diff-delete-other-hunks' bound to C-c RET k.
> +This command deletes hunks other than the current hunk.
> +It is useful to prepare a *vc-diff* buffer for committing a single hunk.
This doesn't mention the active-region case.
> +(defun diff-delete-other-hunks (&optional beg end)
> + "Delete hunks other than this one.
Which "this hunk"? Did you mean "current hunk"?
> +When called from Lisp, the region to act upon is specified by optional
> +arguments BEG and END." ^^^^^^^^^^^^^^^
Passive tense alert!
> + ;; If we used `diff-restrict-view' then we may not have the file
> + ;; header and the commit will not succeed (bug#73387).
^
Comma missing there.
Thanks.
This bug report was last modified 232 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.