GNU bug report logs - #78987
30.1; Unable to create new Git repository in Dired mode

Previous Next

Package: emacs;

Reported by: "Zipei Lu" <zipeilu <at> qq.com>

Date: Wed, 9 Jul 2025 21:57:09 UTC

Severity: normal

Found in version 30.1

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: Eli Zaretskii <eliz <at> gnu.org>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: zipeilu <at> qq.com, stephen.berman <at> gmx.net, 78987 <at> debbugs.gnu.org
Subject: bug#78987: 30.1; Unable to create new Git repository in Dired mode
Date: Sat, 12 Jul 2025 14:44:45 +0300
> From: Sean Whitton <spwhitton <at> spwhitton.name>
> Cc: Stephen Berman <stephen.berman <at> gmx.net>,  78987 <at> debbugs.gnu.org,
>   zipeilu <at> qq.com
> Date: Sat, 12 Jul 2025 12:15:04 +0100
> 
> On Sat 12 Jul 2025 at 02:05pm +03, Eli Zaretskii wrote:
> 
> >> Resent-To: bug-gnu-emacs <at> gnu.org
> >> Cc: zipeilu <at> qq.com, 78987-done <at> debbugs.gnu.org
> >> From: Sean Whitton <spwhitton <at> spwhitton.name>
> >> Date: Sat, 12 Jul 2025 11:35:05 +0100
> >>
> >> Hello,
> >>
> >> On Sat 12 Jul 2025 at 11:07am +02, Stephen Berman via "Bug reports for GNU
> >> Emacs, the Swiss army knife of text editors" wrote:
> >>
> >> > This seems to say that the code path using ALLOW-UNREGISTERED bypasses
> >> > the code path using Dired.  Anyway, I'm sure you understand the VC
> >> > better than I do, so you should make the change you think is required.
> >>
> >> I had another look, and I think you're right.  ALLOW-UNREGISTERED is not
> >> relevant here.  I've installed your patch -- thanks!
> >
> > Thanks, but I don't understand why you both made
> > vc-backend-for-registration autoloaded _and_ added an autoload form
> > for it in dired-aux.el.  Isn't just one of them enough?
> 
> The autoload form in dired-aux.el was just to satisfy the bytecompiler.
> Should it be declare-function?  Or should I drop the autoload cookie?
> Which do you think would be more appropriate?

I'd like to avoid the autoload cookie, yes, if that's feasible.  A
single client doesn't justify the autoload, IMO.

Why doesn't the autoload form in dired-aux enough to satisfy both the
byte compiler and run-time?




This bug report was last modified 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.