From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 02:32:28 +0200 Message-ID: References: Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30004"; mail-complaints-to="usenet@ciao.gmane.io" To: 64140@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 18 02:33:24 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 1qAgM8-0007Xy-DS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Jun 2023 02:33:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAgLo-0004um-N3; Sat, 17 Jun 2023 20:33:04 -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 1qAgLm-0004uY-UI for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 20:33:02 -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 1qAgLm-0006dQ-LT for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 20:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAgLm-00006c-EQ for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 20:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jun 2023 00:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64140 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1687048364379 (code B ref -1); Sun, 18 Jun 2023 00:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jun 2023 00:32:44 +0000 Original-Received: from localhost ([127.0.0.1]:52817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAgLU-000063-9m for submit@debbugs.gnu.org; Sat, 17 Jun 2023 20:32:44 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAgLQ-00005s-Kp for submit@debbugs.gnu.org; Sat, 17 Jun 2023 20:32:42 -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 1qAgLQ-0004oJ-BK for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 20:32:40 -0400 Original-Received: from sonic308-19.consmr.mail.ir2.yahoo.com ([77.238.178.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAgLN-0006Wa-MV for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 20:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1687048352; bh=voHv3QD7NUsw8Vsx5gWK5V94VT1y225qsMQAcHk7sjY=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=uVd6NtegIqHFImLpD6e+0YFPylWQx1Wf4ukID/gHU4GHUIhuNrF+Udbf9dZXz6VIOeYo9YBjyATvqXggobazpGaZYo/q6TIYaGcITzBKjS6RI2ru2+A74UgAK6dnve9UBeS6QQ980fJRwPVMV/pnMlld/wV6dnq714FFxK1sFnJLIAdAgwAa6TWJ/Im1pnPwWlQeDNdsjX0CPm5jhw8G3sjL/UYCucLf9sq0/4VlOg3+r6nyZH53wIHRJK5ShWNi4mF+iYkGcZZLyUZV7/pIf8sg734OjWg4tQFfG+YgCVIGCLO/KU5Yu4vOMxYSGuuCrcl4vicubp5gO837zxZ7Jw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687048352; bh=OcVUo12lCKfBA+GQrCl5nZz+x4fEfAxHV0c54sgirKt=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=o1rmXlEpwySX1F3I9P6LgR6zm0hP/o2Dstv+S4kWjLEQ6wfFaxI35mEZsIcE6IFTpIWI2PU8z647foxf9GWjjIRMw6vAbeOcm50XCvw20pgqShKREqk/lR88/s22fcx4S45CfjkTGKt3MllmuHX+ZtW2BQjURQWaM/1469/EQJUx2cca6DjkHvv5R3pbbGbveMv9YF7nzDvz+MOwhINcXMZne8TiCbfBL33lgvuNCGdDKpoKlKxKGiLLan/O3hExHgGWrzlgru7hZHPqqkr0obnCfxxKZTbZAbpHvlo+CO6dRbJavtRAHj8XbwnwnpKOTdRu06KbyA7Wuu85rFEyWQ== X-YMail-OSG: e2H.P5QVM1kLYKQjUdBmsXEu6t87p8jrvNwhxUPMONRmte94hiJXX4WkGwqO5VO _pcb4vyJL5DBFyssDcr0BTCgaq6YoBa6N_Gf4MLkHGMjKwMPFE71pzF77T65RSw0rZaN6LW6uQh5 CngB.F5bsWYMa_lqtjoDrC_a0DZNphrpg0D6b5v64vP5COpWb93sPquwwQf06bR0OSLpTq8NrQHM t2JO6v2m0UwO3ekfsIar5_75iSA7LCCyY5JwAzG.D.zC9k_nkhsJ1._adMUnPI0XhHwNJvVS1s_S XRSWZtfdaAKnyvbH7o6tX3wCu2o5OjdBTajWCVhc0oAq9tCxf2T3hwIkbJ5MApRhRijaZfkqeaUe uaVeOUQZhpFefjJo1BxjHvm1DIQZbiF34dp1y5CvFgDB084Z_1U7CMcYF9t6xfxjzLSW.n7BDCWt 2WtOX408rlFPlqNVr11isX_MnMw.mp6C2raTd1Kq_DkM5qamKrCC.kA9J3rkWprO4bU6EfvJDHl9 FA81_xzBUh0s6V7uOg9q2yydCWSoTj851rhrjaPmpsaesK0cmq7klmO7OpbJ3yGK_L0bKXM7SbTd xMsJsMLetCNe5eQr6k.upiaidcEPHPjU5kVkh5WsFWtzTLr.qP_MNwF5rKbey4CYmw6sCxmqhpsG NX6tI1qKNiFWb7_vDhgDKb.kI7gskR_GIu8qtlWwg6__MtRZE83eNODP8VwNwo8XR6ROzPNlwVXE NrfQBwA00Qh.g8sEtrfQP3i7r6H_cjcwgdYeryJjutugqWGauUC._hHM0m4QuoPA4UL7Cx8AyOCA lzDef1bVWRt7bu3veGI0fdINPDV1UBJ5klQANMhBIf X-Sonic-MF: X-Sonic-ID: c67ce507-2c16-412a-a2b5-f2993f11dcfe Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ir2.yahoo.com with HTTP; Sun, 18 Jun 2023 00:32:32 +0000 Original-Received: by hermes--production-ir2-7867f454fc-ns8nf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2b6c75268293cd02097628397316ae8e; Sun, 18 Jun 2023 00:32:29 +0000 (UTC) X-Mailer: WebService/1.1.21557 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=77.238.178.147; envelope-from=mardani29@yahoo.es; helo=sonic308-19.consmr.mail.ir2.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:263590 Archived-At: 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 If I run a regular grep with M-x grep, then C-u M-x now suggests the correct grep command. In GNU Emacs 29.0.91 (build 8, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) of 2023-06-07 built on Daniels-MacBook-Pro.local Repository revision: bcc222251e1a750a11e365f2faa641cc56c1169d Repository branch: emacs-29 Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6 Configured using: 'configure 'CFLAGS=-O0 -g3 -fsanitize=address' CPPFLAGS=-I/opt/homebrew/opt/openjdk@11/include' Configured features: ACL GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP ZLIB Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: C++//l Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: None found. Features: (pcvs pcvs-defs vc-cvs vc-rcs pcvs-parse pcvs-info ewoc make-mode pcmpl-gnu autoconf autoconf-mode pcmpl-unix ruby-mode novice org-attach perl-mode completion dos-w32 find-cmd rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok cc-langs pcase emacs-news-mode emoji-labels emoji multisession sqlite transient edmacro kmacro org-element org-persist org-id org-refile avl-tree oc-basic ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win ol-docview ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-version org-compat org-macs korea-util timezone parse-time iso8601 mhtml-mode css-mode js c-ts-common sgml-mode facemenu textsec uni-scripts idna-mapping uni-confusable textsec-check gnutls network-stream url-http url-gw nsm url-cache url-auth format-spec eww xdg url-queue shr pixel-fill kinsoku url-file svg xml dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mm-url gnus nnheader range cus-edit cus-start cus-load view disp-table whitespace shadow mail-extr emacsbug message yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils texinfo texinfo-loaddefs tabify man imenu apropos mule-diag debug backtrace arc-mode archive-mode doc-view filenotify jka-compr image-mode exif cl-print shortdoc info-look noutline outline icons emacs-authors-mode reposition pulse color semantic/symref/grep semantic/symref semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet etags fileloop generator xref project smerge-mode diff grep compile text-property-search add-log log-view pcvs-util mailcap help-fns radix-tree cl-extra pp wid-edit descr-text help-mode dabbrev ffap thingatpt url-parse auth-source eieio eieio-core cl-macs password-cache json map url-vars misearch multi-isearch sort files-x shell pcomplete comint ansi-osc ansi-color ring find-dired ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util vc bug-reference byte-opt gv bytecomp byte-compile cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs info vc-git diff-mode easy-mmode vc-dispatcher sh-script rx smie treesit cl-seq executable dired-aux dired dired-loaddefs time-date subr-x cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 1463351 251576) (symbols 48 56078 46) (strings 32 340855 23457) (string-bytes 1 12808718) (vectors 16 90277) (vector-slots 8 2453536 236046) (floats 8 536 683) (intervals 56 177206 7850) (buffers 976 217))