GNU bug report logs -
#65049
29.1; vc-do-command fails in windows emacs 29.1
Previous Next
Reported by: Maxim Kim <habamax <at> gmail.com>
Date: Fri, 4 Aug 2023 07:51:01 UTC
Severity: normal
Found in version 29.1
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 28 Aug 2023 16:45:23 +0300
> Cc: juri <at> linkov.net, habamax <at> gmail.com, 65049 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
>
> On 28/08/2023 15:12, Eli Zaretskii wrote:
> >> Try edebug-instrumenting vc-diff-internal and then calling vc-root-diff
> >> anywhere (C-x v D). When the execution reaches the line that we have
> >> been discussing, you'll see that (vc-coding-system-for-diff (car files))
> >> evaluates to 'undecided because (car files) is a directory.
> >>
> >> So this mechanism is always unused in vc-root-diff.
> > OK, but in that case 'undecided' is the best guess we can come up
> > with. It basically lets Emacs guess when it actually sees the stuff
> > in the diffs, while reading it into a buffer.
>
> Yes, and if it's good enough for the (possibly?) most-frequently used
> out of the vc-*-diff commands, then perhaps we don't need the additional
> detection logic?
>
> Since its introduction 30 years ago indeed the situation has changed a
> lot, with UTF-8 and its ubiquity. Removing the extra complication would
> make code a little easier to read, and reduce variability when
> reproducing problems. But there's no hurry, of course.
I'm not sure I understand which part do you want to remove.
This bug report was last modified 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.