From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alyssa Ross Newsgroups: gmane.emacs.bugs Subject: bug#67018: [PATCH] Add autoload cookie to vc-git-grep Date: Thu, 09 Nov 2023 16:05:32 +0100 Message-ID: <87ttpv3r2b.fsf@alyssa.is> References: <20231109144630.111745-1-hi@alyssa.is> <83pm0jynuv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67018@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 09 16:06:44 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r16cF-00067O-G0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Nov 2023 16:06:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r16c1-0004q6-0W; Thu, 09 Nov 2023 10:06:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r16bv-0004oW-86 for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2023 10:06:24 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r16bu-00068A-Vl for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2023 10:06:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r16cY-0005o0-04 for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2023 10:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alyssa Ross Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2023 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67018 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67018-submit@debbugs.gnu.org id=B67018.169954238522267 (code B ref 67018); Thu, 09 Nov 2023 15:07:01 +0000 Original-Received: (at 67018) by debbugs.gnu.org; 9 Nov 2023 15:06:25 +0000 Original-Received: from localhost ([127.0.0.1]:48383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r16bw-0005n5-W8 for submit@debbugs.gnu.org; Thu, 09 Nov 2023 10:06:25 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r16bs-0005mm-Kf for 67018@debbugs.gnu.org; Thu, 09 Nov 2023 10:06:24 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 459AB5C0735; Thu, 9 Nov 2023 10:05:36 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 09 Nov 2023 10:05:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1699542336; x=1699628736; bh=PN 9aPS2dbsGw0SuisPwEHMJsNRTyC3tXDvCNYy6ItyI=; b=uk56mLbkRu6QUIL9FU EDwah7PHC3I+zMP7FiWVvuCg8misPG84wzmnvfGjkYU7AV3WJcjBLJdC8QoJgs2Y JpEwrZQUcXk2hERJWHEdb2DaXMefFzzdc1bkpTJfMD7u5kzRzDzfUwg9llMw+BKl hIrLRoRyIbI9h/BMmhnqhU8k/VDNIjRWwU1KatzIRmtPHPDhuB/LE7HKV2341mk+ R7Z3LYXMIrzZm3fPNemkRhy9tmht1jZPASq7x40UsuhF+TyHRfTmBOG1cHKVAFlJ xryLBw7cgM0vLR5+2Ci/nLOar8ATuqF64RfFNO4kSf80ce6Url6NXCi39ArZwxN+ l5CQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1699542336; x=1699628736; bh=PN9aPS2dbsGw0 SuisPwEHMJsNRTyC3tXDvCNYy6ItyI=; b=KPqEPWHacLYVS8z1ZkjM/3gdUUVl8 I723Y2oJ3KtDh1Rmpteaey05CpcdC4YtdCAtBpgFSEeqzbWVZcSe6aPIp0Bci+F8 3BMMseVubNLl9JZJC9Akk4oVca0IYhcJQqcE9SPF2tJyjPUWphAclcVqsWG+GpID pSKtD0PsK6iTKLECk5fAxIbij+H71ad/ahXQtXUfG6wsBxzRvUKCjE5d0svuAt9y x8CpD00pC1+2j2Sa1kTi6yo04DKbHTaSVsyDtKjnM+1GT+CyxrF0J3NpHOW/S+iz BAvwz+EkuYdLExRn6QT82hlsQIAA+TqI2aeab2NLIeJqPCc0SbqQ/p4mA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvuddgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhs rgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeeiud ffueeilefgtefgtddttdekkeehkefgheekudefveetgeefiefftedvteeuveenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihssh grrdhish X-ME-Proxy: Feedback-ID: i12284293:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Nov 2023 10:05:35 -0500 (EST) Original-Received: by mbp.qyliss.net (Postfix, from userid 1000) id 281973F12; Thu, 9 Nov 2023 16:05:34 +0100 (CET) In-Reply-To: <83pm0jynuv.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274051 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Alyssa Ross >> Date: Thu, 9 Nov 2023 15:46:30 +0100 >>=20 >> --- >> lisp/vc/vc-git.el | 1 + >> 1 file changed, 1 insertion(+) >>=20 >> diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el >> index 707fc7cfc07..fe48d5fbd3d 100644 >> --- a/lisp/vc/vc-git.el >> +++ b/lisp/vc/vc-git.el >> @@ -1930,6 +1930,7 @@ vc-git-prepare-patch >> (defvar compilation-environment) >>=20=20 >> ;; Derived from `lgrep'. >> +;;;###autoload >> (defun vc-git-grep (regexp &optional files dir) >> "Run git grep, searching for REGEXP in FILES in directory DIR. >> The search is limited to file names matching shell pattern FILES. > > Thanks, but please explain the motivation. Which package needs to > autoload this function and why? Often running M-x vc-git-grep is the first thing I do after starting Emacs. I think it would be good if it was autoloaded, so I didn't have to M-x load-library vc-git first, or try to set up autoloading just for myself in my Emacs configuration. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEH9wgcxqlHM/ARR3h+dvtSFmyccAFAmVM9TwACgkQ+dvtSFmy ccDjKQ/+JME6P+mv+d0NSIiv/OcKeuoaqG7SD3tbVZFEpKx++mjIoPJ51ssWZLV5 oiH5+MhhVLekDCrnghlEOWjm28R1bYYvEYg+2QzBGqb3PF3UaMmPvws0M75eHKqE IyrsMMiZmH2tf5dJPQV4Zyf4L8S/5haRWxjAxul7aTfSZ3cNol+fepLfSKaCfA/0 px9FTEFC70JlzjmWVzQ6dngUdYT1+7J1cZrMyU1ouSm1ImqAB2a4Kyw12WiJJYu+ GDPPpSzo2ZwoXQ9H/qNys+r+XoLnJvMo+d9dbvwB7dUX3INGqjQ71kow0KQjIsaM 0qR2k7D5uF74x7GHoT9MtDRfKND8t5PSz5uOht7B3gHpafT3MTijOx3d3Bl/70re eqvXZOZzatwnog0roxGlzRgvUXwUD7dBVPYNH6V/6VdhW1WUVnfqQtg/U3NQWJm6 q51VHEHzWRpRq2TZP9pb5A7VOYtLdjyIfNjOtNQgUvIdaSdPe61gu504m8SDbO+x U0UDSLRia1jsh4V+cXb5m7FYzJcQNrO6Gbi15Va3nR3MPYrAxEcgAeJGY2VzI/Iq 4mHt+z8iXys8WR9dWZXIXBxK5NwXk2FYKk3a6GHU91iGMVNRYIjxrmCdGFrNn3mM QhE11i3m4GYEFDQD3HAfBy2dttmFOgGyxz/9w1r3ZM+jdGmdjfk= =tXx8 -----END PGP SIGNATURE----- --=-=-=--