GNU bug report logs - #3570
23.0.94; vc-default-revision-granularity missing argument

Previous Next

Package: emacs;

Reported by: Magnus Henoch <magnus.henoch <at> gmail.com>

Date: Mon, 15 Jun 2009 11:30:04 UTC

Severity: minor

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Magnus Henoch <magnus.henoch <at> gmail.com>
Subject: bug#3570 closed by Stefan Monnier <monnier <at> iro.umontreal.ca> (Re:
 bug#3570: 23.0.94; vc-default-revision-granularity missing argument)
Date: Mon, 15 Jun 2009 21:05:08 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs,vc package:

#3570: 23.0.94; vc-default-revision-granularity missing argument

It has been closed by Stefan Monnier <monnier <at> iro.umontreal.ca>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stefan Monnier <monnier <at> iro.umontreal.ca> by
replying to this email.


-- 
3570: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3570
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Magnus Henoch <magnus.henoch <at> gmail.com>
Cc: 3570-done <at> debbugs.gnu.org
Subject: Re: bug#3570: 23.0.94; vc-default-revision-granularity missing argument
Date: Mon, 15 Jun 2009 16:57:30 -0400
> The function vc-default-revision-granularity should accept a backend
> argument, but doesn't.  This gives users of outdated third-party VC
> backends confusing error messages at times.

Thanks.  I've simply removed it, since the default error message works
just as well (and better than `wrong arg number' in any case).


        Stefan
[Message part 3 (message/rfc822, inline)]
From: Magnus Henoch <magnus.henoch <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.94; vc-default-revision-granularity missing argument
Date: Mon, 15 Jun 2009 12:26:25 +0100
Package: emacs,vc
Severity: minor

The function vc-default-revision-granularity should accept a backend
argument, but doesn't.  This gives users of outdated third-party VC
backends confusing error messages at times.

To reproduce:
(progn
  (provide 'vc-foo)
  (vc-call-backend 'foo 'revision-granularity))

Expected: (error "Your backend will not work with this version of VC mode.")
Actual result: wrong-number-of-arguments

Regards,
Magnus


This bug report was last modified 16 years and 35 days ago.

Previous Next


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