From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64140: 29.0.91; C-u M-x grep doesn't work correctly after M-x vc-git-grep Date: Sun, 18 Jun 2023 10:19:03 +0300 Message-ID: <83cz1tp7a0.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26871"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64140@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 18 09:20:31 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 1qAmi5-0006nR-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Jun 2023 09:20:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAmhn-0007QM-TJ; Sun, 18 Jun 2023 03:20:11 -0400 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 1qAmhe-0007Pv-SG for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 03:20:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAmhe-0004uI-Fv for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 03:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAmhe-0002nQ-Be for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 03:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jun 2023 07:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64140 X-GNU-PR-Package: emacs Original-Received: via spool by 64140-submit@debbugs.gnu.org id=B64140.168707275410689 (code B ref 64140); Sun, 18 Jun 2023 07:20:02 +0000 Original-Received: (at 64140) by debbugs.gnu.org; 18 Jun 2023 07:19:14 +0000 Original-Received: from localhost ([127.0.0.1]:53044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAmgr-0002mL-PF for submit@debbugs.gnu.org; Sun, 18 Jun 2023 03:19:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAmgn-0002m7-VJ for 64140@debbugs.gnu.org; Sun, 18 Jun 2023 03:19:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAmgi-0004ng-Oa; Sun, 18 Jun 2023 03:19:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7g/Juyh1sWy0smv9gQI7TGAniBPi1VENvgoD8s++tk8=; b=T4A/4X3/9a1ScP4kEcd1 DRwJ9eF8AGA19Y2I/AaNis+zfvTWlCSGVtNyrk+8aeDno4k8QN8fteiOFFX4od9K+zWhBW9JWRpf9 YfIJBtmIq8ZhkG7/wreNFu8/yVwJSCOAKBTIk/TL/3yFl1G1qxsRzy5Xp1cBkH2B8vA+fgShCXiQB bPo76UTahxxGo9b4cO22A0YrmdJXbMsBXUmyHs9l0ld2kwyAz5lxdBqPESnOc4k76bEb2fYtVg41u mM3fhtUpcseSBtgSDmQsbnkD5IEXJiPE3PmH1zv0+TKZX0c7hHsq1uObVjoQaygf9BBqmPf5NjIef 8eS9b9fU9XmsvA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAmgf-0001vX-M1; Sun, 18 Jun 2023 03:19:04 -0400 In-Reply-To: (bug-gnu-emacs@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:263605 Archived-At: > Date: Sun, 18 Jun 2023 02:32:28 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Steps to reproduce: > > emacs -Q > C-x C-f emacs/src/xdisp.c RET > M-x vc-git-grep RET > Perform any search. > Place the point over any symbol, for example, char_can_wrap_before. > C-u M-x grep > > The suggested grep command to confirm is > > git --no-pager char_can_wrap_before *.c > > which is incorrect, it should be > > grep --color=auto -nH --null -e char_can_wrap_before *.c You are saying that vc-git-grep should use a separate history variable?