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
View this message in rfc822 format
> From: Sean Whitton <spwhitton <at> spwhitton.name>
> Cc: dgutov <at> yandex.ru, 73387 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
> juri <at> linkov.net
> Date: Thu, 03 Oct 2024 19:36:42 +0800
>
> > Maybe so, but I'd still would like to hear the rationale for telling
> > the user "Cannot commit patch when narrowed; consider 'widen'". If
> > indeed we "cannot commit" in this case, signaling an error is TRT, and
> > replacing that with a message is not, because it will do what you
> > claim in the message you cannot.
>
> Okay. I do agree with you that the manual should state this limitation.
> This is what it says right now:
>
> This command does not work in a narrowed buffer because deleting
> hunks safely requires access to the file headers.
>
> So, the only difference from what you wrote is that it doesn't tell the
> user they *mustn't*, only that they *can't*.
>
> I think this addresses your concern, but please let me know if not.
That's fine, but I would suggest to clarify what you mean by "file
headers". Something like "...because deleting hunks requires access
to the part of the diffs where file names are specified."
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.