From unknown Fri Aug 15 21:25:45 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3570: 23.0.94; vc-default-revision-granularity missing argument Reply-To: Magnus Henoch , 3570@debbugs.gnu.org Resent-From: Magnus Henoch Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Mon, 15 Jun 2009 11:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3570 X-Emacs-PR-Package: emacs,vc X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12450651999097 (code B ref -1); Mon, 15 Jun 2009 11:30:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 11:26:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_PACKAGE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FBQW0T009091 for ; Mon, 15 Jun 2009 04:26:34 -0700 Received: from mail.gnu.org ([199.232.76.166]:35395 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGAKe-000483-23 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 07:26:32 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGAKc-0000Pr-T3 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 07:26:31 -0400 Received: from zimbra.erlangsystems.com ([88.208.247.62]:58749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGAKc-0000PT-Fu for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 07:26:30 -0400 Received: from linux-b2a3.site (host213-123-170-251.in-addr.btopenworld.com [213.123.170.251]) by zimbra.erlangsystems.com (Postfix) with ESMTP id 81CDC135A2F9 for ; Mon, 15 Jun 2009 12:26:27 +0100 (BST) From: Magnus Henoch To: emacs-pretest-bug@gnu.org X-Hashcash: 1:25:090615:emacs-pretest-bug@gnu.org::QiWA0akk9BoIhQYM:000000000000000000000000000000000006sFFc Date: Mon, 15 Jun 2009 12:26:25 +0100 Message-ID: <84iqix4u1q.fsf@linux-b2a3.site> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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 From unknown Fri Aug 15 21:25:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Magnus Henoch Subject: bug#3570 closed by Stefan Monnier (Re: bug#3570: 23.0.94; vc-default-revision-granularity missing argument) Message-ID: References: <84iqix4u1q.fsf@linux-b2a3.site> X-Emacs-PR-Message: they-closed 3570 X-Emacs-PR-Package: emacs,vc Reply-To: 3570@debbugs.gnu.org Date: Mon, 15 Jun 2009 21:05:08 +0000 Content-Type: multipart/mixed; boundary="----------=_1245099908-13097-1" This is a multi-part message in MIME format... ------------=_1245099908-13097-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 . 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 by replying to this email. --=20 3570: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3570 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1245099908-13097-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3570-done) by emacsbugs.donarmstrong.com; 15 Jun 2009 20:57:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from smtp-01.vtx.ch (smtp-01.vtx.ch [212.147.0.84]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FKvVaw011609 for <3570-done@emacsbugs.donarmstrong.com>; Mon, 15 Jun 2009 13:57:32 -0700 Received: from alfajor.home (dyn.144-85-131-252.dsl.vtx.ch [144.85.131.252]) by smtp-01.vtx.ch (VTX Services SA) with ESMTP id 8952527F85; Mon, 15 Jun 2009 22:57:30 +0200 (CEST) Received: by alfajor.home (Postfix, from userid 20848) id 5233364340; Mon, 15 Jun 2009 16:57:30 -0400 (EDT) From: Stefan Monnier To: Magnus Henoch Cc: 3570-done@debbugs.gnu.org Subject: Re: bug#3570: 23.0.94; vc-default-revision-granularity missing argument Message-ID: References: <84iqix4u1q.fsf@linux-b2a3.site> Date: Mon, 15 Jun 2009 16:57:30 -0400 In-Reply-To: <84iqix4u1q.fsf@linux-b2a3.site> (Magnus Henoch's message of "Mon, 15 Jun 2009 12:26:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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 ------------=_1245099908-13097-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 11:26:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_PACKAGE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FBQW0T009091 for ; Mon, 15 Jun 2009 04:26:34 -0700 Received: from mail.gnu.org ([199.232.76.166]:35395 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGAKe-000483-23 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 07:26:32 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGAKc-0000Pr-T3 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 07:26:31 -0400 Received: from zimbra.erlangsystems.com ([88.208.247.62]:58749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGAKc-0000PT-Fu for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 07:26:30 -0400 Received: from linux-b2a3.site (host213-123-170-251.in-addr.btopenworld.com [213.123.170.251]) by zimbra.erlangsystems.com (Postfix) with ESMTP id 81CDC135A2F9 for ; Mon, 15 Jun 2009 12:26:27 +0100 (BST) From: Magnus Henoch To: emacs-pretest-bug@gnu.org Subject: 23.0.94; vc-default-revision-granularity missing argument X-Hashcash: 1:25:090615:emacs-pretest-bug@gnu.org::QiWA0akk9BoIhQYM:000000000000000000000000000000000006sFFc Date: Mon, 15 Jun 2009 12:26:25 +0100 Message-ID: <84iqix4u1q.fsf@linux-b2a3.site> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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 ------------=_1245099908-13097-1--