From unknown Sun Aug 10 09:46:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#3209 <3209@debbugs.gnu.org> To: bug#3209 <3209@debbugs.gnu.org> Subject: Status: 23.0.92; vc-delete-file is not autoloaded Reply-To: bug#3209 <3209@debbugs.gnu.org> Date: Sun, 10 Aug 2025 16:46:33 +0000 retitle 3209 23.0.92; vc-delete-file is not autoloaded reassign 3209 emacs submitter 3209 Bob Rogers severity 3209 normal thanks From rogers-emacs@rgrjr.dyndns.org Mon May 4 12:53:36 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 4 May 2009 19:53: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=0.1 required=4.0 tests=FOURLA autolearn=no 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.13.8/8.13.8/Debian-3) with ESMTP id n44JrV4n016257 for ; Mon, 4 May 2009 12:53:32 -0700 Received: from mx10.gnu.org ([199.232.76.166]:53346) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M14EF-0001N2-8A for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 15:53:31 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M14EB-0005uD-Tw for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 15:53:30 -0400 Received: from rgrjr.com ([216.146.47.5]:41742) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M14EB-0005u3-KM for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 15:53:27 -0400 Received: from rgrjr.dyndns.org (c-66-30-196-77.hsd1.ma.comcast.net [66.30.196.77]) by rgrjr.com (Postfix on CentOS) with ESMTP id 55A82160148 for ; Mon, 4 May 2009 19:53:26 +0000 (UTC) Received: (qmail 5164 invoked by uid 89); 4 May 2009 19:53:25 -0000 Received: from unknown (HELO rgr.rgrjr.com) (192.168.57.1) by home with SMTP; 4 May 2009 19:53:25 -0000 Received: by rgr.rgrjr.com (Postfix, from userid 500) id C5DB04862E; Mon, 4 May 2009 15:53:24 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18943.18356.482668.944474@rgr.rgrjr.com> Date: Mon, 4 May 2009 15:53:24 -0400 From: Bob Rogers To: emacs-pretest-bug@gnu.org Subject: 23.0.92; vc-delete-file is not autoloaded X-Mailer: VM 7.19 under Emacs 23.0.92.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) If I do "emacs -Q vc-controlled-file", I then find that I can't do "M-x vc-delete-file" immediately, because this command is undefined. It's in vc.el, and the mode line shows that Emacs knows the file is under version control, so I assume that vc.el must not be loaded as a side-effect of finding a version-controlled file. So shouldn't vc-delete-file be autoloaded in that case? (And possibly other commands in vc.el?) Note that this *is* a regression wrt 22.3. -- Bob Rogers http://www.rgrjr.com/ ------------------------------------------------------------------------ In GNU Emacs 23.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-04-24 on rgr Windowing system distributor `The X.Org Foundation', version 11.0.10400090 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f f o o M-x v c - d e l e C-g M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-svn...done Quit From cyd@stupidchicken.com Mon May 4 18:29:40 2009 Received: (at 3209) by emacsbugs.donarmstrong.com; 5 May 2009 01:29:40 +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=-2.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n451TbuU016145 for <3209@emacsbugs.donarmstrong.com>; Mon, 4 May 2009 18:29:38 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 80E0757E25E; Mon, 4 May 2009 21:29:44 -0400 (EDT) From: Chong Yidong To: emacs-devel@gnu.org Cc: Bob Rogers , 3209@debbugs.gnu.org Subject: Re: 23.0.92; vc-delete-file is not autoloaded Date: Mon, 04 May 2009 21:29:44 -0400 Message-ID: <87d4aoibg7.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > If I do "emacs -Q vc-controlled-file", I then find that I can't do > "M-x vc-delete-file" immediately, because this command is undefined. > It's in vc.el, and the mode line shows that Emacs knows the file is > under version control, so I assume that vc.el must not be loaded as a > side-effect of finding a version-controlled file. So shouldn't > vc-delete-file be autoloaded in that case? (And possibly other > commands in vc.el?) > > Note that this *is* a regression wrt 22.3. I think vc-create-repo, vc-register-with, and vc-delete-file should be autoloaded. Anyone on this list have any objection? *** trunk/lisp/vc.el.~1.715.~ 2009-03-21 11:52:16.000000000 -0400 --- trunk/lisp/vc.el 2009-05-04 21:27:35.000000000 -0400 *************** *** 1182,1187 **** --- 1182,1188 ---- (t (error "Fileset is in an unknown state %s" state))))) + ;;;###autoload (defun vc-create-repo (backend) "Create an empty repository in the current directory." (interactive *************** *** 1258,1263 **** --- 1259,1265 ---- ) (message "Registering %s... done" files)))))) + ;;;###autoload (defun vc-register-with (backend) "Register the current file with a specified back end." (interactive "SBackend: ") *************** *** 2138,2143 **** --- 2140,2146 ---- (throw 'found f))) (error "New file lacks a version control directory"))))) + ;;;###autoload (defun vc-delete-file (file) "Delete file and mark it as such in the version control system." (interactive "fVC delete file: ") From monnier@iro.umontreal.ca Mon May 4 20:58:09 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 5 May 2009 03:58:09 +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=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER,XIRONPORT 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.13.8/8.13.8/Debian-3) with ESMTP id n453w54C025217 for ; Mon, 4 May 2009 20:58:06 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34283) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M1BnA-00038t-ER for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 23:58:04 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M1Bn9-0001iP-31 for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 23:58:03 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:35175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1Bn8-0001iJ-SH for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 23:58:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoFAJ9W/0nO+IYe/2dsb2JhbACBT80Jg30FhUk X-IronPort-AV: E=Sophos;i="4.40,295,1238990400"; d="scan'208";a="37996680" Received: from 206-248-134-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.134.30]) by ironport2-out.teksavvy.com with ESMTP; 04 May 2009 23:58:02 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0BD167FDC; Mon, 4 May 2009 23:58:02 -0400 (EDT) From: Stefan Monnier To: Bob Rogers Cc: 3209@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#3209: 23.0.92; vc-delete-file is not autoloaded Message-ID: References: <18943.18356.482668.944474@rgr.rgrjr.com> Date: Mon, 04 May 2009 23:58:02 -0400 In-Reply-To: <18943.18356.482668.944474@rgr.rgrjr.com> (Bob Rogers's message of "Mon, 4 May 2009 15:53:24 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > If I do "emacs -Q vc-controlled-file", I then find that I can't do > "M-x vc-delete-file" immediately, because this command is undefined. > It's in vc.el, and the mode line shows that Emacs knows the file is > under version control, so I assume that vc.el must not be loaded as a > side-effect of finding a version-controlled file. So shouldn't > vc-delete-file be autoloaded in that case? (And possibly other commands > in vc.el?) Yes, it should be autoloaded, indeed. > Note that this *is* a regression wrt 22.3. I don't think so. Stefan From monnier@iro.umontreal.ca Mon May 4 21:03:24 2009 Received: (at 3209-done) by emacsbugs.donarmstrong.com; 5 May 2009 04:03:24 +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=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4543Lqe026643 for <3209-done@emacsbugs.donarmstrong.com>; Mon, 4 May 2009 21:03:22 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoFAMxX/0nO+IYe/2dsb2JhbACBUM0Eg30FhUk X-IronPort-AV: E=Sophos;i="4.40,295,1238990400"; d="scan'208";a="37996760" Received: from 206-248-134-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.134.30]) by ironport2-out.teksavvy.com with ESMTP; 05 May 2009 00:03:15 -0400 Received: by pastel.home (Postfix, from userid 20848) id B39767FDC; Tue, 5 May 2009 00:03:15 -0400 (EDT) From: Stefan Monnier To: Bob Rogers Cc: 3209-done@debbugs.gnu.org Subject: Re: bug#3209: 23.0.92; vc-delete-file is not autoloaded Message-ID: References: <18943.18356.482668.944474@rgr.rgrjr.com> Date: Tue, 05 May 2009 00:03:15 -0400 In-Reply-To: <18943.18356.482668.944474@rgr.rgrjr.com> (Bob Rogers's message of "Mon, 4 May 2009 15:53:24 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > So shouldn't vc-delete-file be autoloaded in that case? Yes, done, Stefan From unknown Sun Aug 10 09:46:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Jun 2009 14:24:09 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator