From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 09 10:32:12 2025 Received: (at submit) by debbugs.gnu.org; 9 Jul 2025 14:32:12 +0000 Received: from localhost ([127.0.0.1]:51368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZVqF-00015W-DL for submit@debbugs.gnu.org; Wed, 09 Jul 2025 10:32:12 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42996) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZVqC-000157-Db for submit@debbugs.gnu.org; Wed, 09 Jul 2025 10:32:09 -0400 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 1uZVpv-0008Vv-4a for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2025 10:31:59 -0400 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 1uZVpu-0003GN-Q6 for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2025 10:31:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=Ao+Eia9IxAZgKD1yf8/6p6dUXhNCP4tluBp8y0MVBa0=; b=ENG1w17VXcp4aJ o7D0KogJa7H7oS+Ne0bYESMwTwBORHVwkI67wSi/wsw+2FN5/kt56vkMFR2KLTcE47CNwcUTilfpu 99V+Uquts17w8VhuLEq6qk2OaZN0/oNDjD4ULSrqq5LTAmmQswnfi0e3pjxMNbVDU87hen9RjD4z7 0uA6NtbpovOsVfD2mvRyJOZ7Y8OsFk+2t/2XZVD3vfuywRkLvM92ZBnd9nVSEtu0goLkL36py0jHo qWL4zNGg4f+T9HFqm8q+hM7xCHZy1OOF8CfqMBWi1ZTchC8zK1R1D9Jw4L8IuEaaXR7XD76J3E8oY nnS7lrQT8s/3eGkbof+Q==; From: Anush V To: bug-gnu-emacs@gnu.org Subject: 30.1; find-program value mismatch between runtime and ~grep.el~ definition Date: Wed, 09 Jul 2025 10:31:03 -0400 Message-ID: <87bjpte8rc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) X-Debbugs-Cc: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Emacs maintainers, emacs --no-init;=20 =20 C-h v find-program=20 =20 Shows=20 =20 find-program is a variable defined in =E2=80=98grep.el=E2=80=99.=20 =20 Its value is=20 "/gnu/store/6i0xi5kf38jk54sw64akd3iv8scw5g6x-findutils-4.9.0/bin/find"=20 =20 However, the definition of find-program in `grep.el` is=20 =20 (defvar find-program (purecopy=20 "/gnu/store/w4p913kmnga3xh80vx8vnkri42dcmqi3-findutils-4.9.0/bin/find")=20 "The default find program.=20 This is used by commands like `grep-find-command', `find-dired'=20 and others.")=20 =20 The find-program value differs, despite no user configuration being loaded. Could you confirm whether this is expected behavior or a potential bug? Thank you for your time! Regards, Anush Veeranala * * * `guix describe` outputs guix describe Generation 40 Jul 03 2025 09:44:55 (current) nonguix 39424fb repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 39424fb09813cebac8d323da75abf80f01e2641f guix-science 345dfdf repository URL: https://codeberg.org/guix-science/guix-science.git branch: master commit: 345dfdf8b9afbae96a8d4c47820e1b058d696093 guix-cran 198fbbd repository URL: https://github.com/guix-science/guix-cran.git branch: master commit: 198fbbdd5113f7c2239408acc7531c1947b4fc7c guix dc455ba repository URL: https://git.guix.gnu.org/guix.git branch: master commit: dc455ba0dd09bc32f050013a1424b5c442bfcb86 In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) System Description: Guix System Configured using: 'configure CONFIG_SHELL=3D/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.= 1.16/bin/bash SHELL=3D/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bi= n/bash --prefix=3D/gnu/store/416vvmsc3n33wsliga55ljzmcvhyry54-emacs-pgtk-30= .1 --enable-fast-install --with-pgtk --with-cairo --with-modules --with-nat= ive-compilation=3Daot --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /run/current-system/profile/share/emacs/site-lis= p:/run/current-system/profile/share/emacs/site-lisp:/gnu/store/416vvmsc3n33= wsliga55ljzmcvhyry54-emacs-pgtk-30.1/share/emacs/30.1/lisp value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-undo-mode: t erc-track-mode: t erc-track-minor-mode: t erc-ring-mode: t erc-netsplit-mode: t erc-menu-mode: t erc-list-mode: t erc-imenu-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t erc-spelling-mode: t erc-notifications-mode: t erc-match-mode: t erc-irccontrols-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t erc-networks-mode: t csv-field-index-mode: t auth-source-xoauth2-plugin-mode: t global-auto-revert-mode: t minibuffer-electric-default-mode: t minibuffer-depth-indicate-mode: t savehist-mode: t global-completion-preview-mode: t delete-selection-mode: t electric-pair-mode: t global-whitespace-mode: t save-place-mode: t which-function-mode: t global-so-long-mode: t winner-mode: t recentf-mode: t global-hl-line-mode: t display-battery-mode: t which-key-mode: t override-global-mode: t pixel-scroll-precision-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-quote-mode: t electric-indent-mode: t mouse-wheel-mode: t modifier-bar-mode: t global-prettify-symbols-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow bbdb-message emacsbug gnus-cite smiley shr-color mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml nndraft nnmh pop3 qp utf-7 imap rfc2104 nnmaildir bbdb-gnus nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache cal-move tabify ol-subed org-capture geiser-mode geiser-xref geiser-compile vc-git diff-mode track-changes dired-aux gnus-dired misearch multi-isearch mule-util ellama-context add-log org-indent org-num image-file image-converter remember cl-print completion dos-w32 find-cmd grep find-dired network-stream epa-file modus-vivendi-theme modus-themes display-fill-column-indicator indent-bars face-remap color org-duration oc-basic disp-table org-habit ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range cus-start message yank-media rfc822 mml mml-sec epa derived mm-decode mm-bodies mm-encode gmm-utils mailheader gnus-win ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi erc-track erc-ring erc-netsplit erc-menu erc-list erc-imenu erc-pcomplete erc-button erc-fill erc-stamp erc-join erc-spelling flyspell erc-desktop-notifications erc-match erc-goodies notifications erc erc-backend erc-networks erc-common erc-compat erc-loaddefs llm-deepseek llm-openai ellama llm-provider-utils llm-models llm-request-plz plz-event-source plz-media-type plz llm ox-md csv-mode sort bbdb-vcard bbdb-vcard-vcard21 bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone ob-python python compat pcase ob-R ob-scheme geiser-guile info-look transient geiser geiser-debug geiser-repl compile geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc geiser-edit etags fileloop xref geiser-completion geiser-eval geiser-connection tq geiser-syntax scheme geiser-impl help-fns radix-tree geiser-log geiser-popup view geiser-custom geiser-base appt diary-lib diary-loaddefs org-clock saveplace-pdf-view bookmark ispell auth-source-xoauth2-plugin smtpmail sendmail oauth2 url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw nsm puny plstore epg rfc6068 epg-config vc vc-dispatcher autorevert filenotify anki-editor ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element org-persist avl-tree generator dired dired-loaddefs engrave-faces skeleton org-id org-refile org-element-ast inline org-contrib ob-shell minibuf-eldef mb-depth savehist completion-preview delsel elec-pair whitespace saveplace which-func imenu so-long winner tramp-cache time-stamp tramp-sh tramp trampver tramp-integration files-x tramp-message tramp-compat xdg shell parse-time iso8601 tramp-loaddefs recentf tree-widget project hl-line use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key finder-inf guix use-package-core battery dbus xml which-key edmacro kmacro bind-key easy-mmode comp comp-cstr cl-extra help-mode warnings comp-run comp-common org-mouse pixel-scroll cua-base gnus nnheader gnus-util text-property-search mail-utils range mm-util mail-prsvr org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs org-compat org-macs format-spec time cus-edit pp cus-load wid-edit guix-emacs anki-editor-autoloads auth-source-xoauth2-plugin-autoloads bbdb-vcard-autoloads bbdb-autoloads bug-hunter-autoloads csv-mode-autoloads dired-du-autoloads ellama-autoloads ement-autoloads engrave-faces-autoloads ess-autoloads expand-region-autoloads geiser-guile-autoloads guix-autoloads rx edit-indirect-autoloads bui-autoloads geiser-autoloads htmlize-autoloads indent-bars-autoloads jabber-autoloads fsm-autoloads llm-autoloads oauth2-autoloads org-contrib-autoloads dash-autoloads persist-autoloads plz-event-source-autoloads plz-media-type-autoloads plz-autoloads saveplace-pdf-view-autoloads sqlformat-autoloads reformatter-autoloads srv-autoloads subed-autoloads svg-lib-autoloads taxy-magit-section-autoloads taxy-autoloads info magit-section-autoloads llama-autoloads visual-regexp-autoloads vundo-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 2465291 283886) (symbols 48 54002 3) (strings 32 405823 45072) (string-bytes 1 14336751) (vectors 16 210274) (vector-slots 8 3059755 178646) (floats 8 1107 16576) (intervals 56 133015 4867) (buffers 992 70)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 09 12:01:42 2025 Received: (at 78982) by debbugs.gnu.org; 9 Jul 2025 16:01:43 +0000 Received: from localhost ([127.0.0.1]:51717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZXEp-00078w-2K for submit@debbugs.gnu.org; Wed, 09 Jul 2025 12:01:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33464) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZXEl-00077g-0E for 78982@debbugs.gnu.org; Wed, 09 Jul 2025 12:01:36 -0400 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 1uZXEf-0005jT-BN for 78982@debbugs.gnu.org; Wed, 09 Jul 2025 12:01:29 -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=F1xDpgnCklOAwaJ6X07Fsys/rgg7jqlSbEgaAxQnAS0=; b=CaAAk2mbb/gxznYlJ4aG GQTyVyR2AkDy6VDb2c8Rvt6IZ2x974Z7k4usgFRVnSzOPaZPKcAcgBZ1MjT8KWfcT7bs4N8KaBXDj hDnzxKyZy7UqSaVhBmGe2bSn8hUll91zv/jEivvH53WJABU/OUvky7q4sDHxlnM708ZiotGZfdoke IngIKZQypkiIPZihbnA15OGKukfzI771sONOhxKCkcW4xtL4NbZO79NywGSi+yFiMFNnhFJV/PGK4 Hndk2BURW8VVJbYOzJtH5JsASNw95kGNyKPzTOyD2sXiG2rmW127HctthOaT+QI43aUJ1leSw+IsA wWT8ggyQBz5SoA==; Date: Wed, 09 Jul 2025 19:01:26 +0300 Message-Id: <86h5zlica1.fsf@gnu.org> From: Eli Zaretskii To: Anush V In-Reply-To: <87bjpte8rc.fsf@gnu.org> (message from Anush V on Wed, 09 Jul 2025 10:31:03 -0400) Subject: Re: bug#78982: 30.1; find-program value mismatch between runtime and ~grep.el~ definition References: <87bjpte8rc.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78982 Cc: 78982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Anush V > Date: Wed, 09 Jul 2025 10:31:03 -0400 > > Hello Emacs maintainers, emacs --no-init; > > C-h v find-program > > Shows > > find-program is a variable defined in ‘grep.el’. > > Its value is > "/gnu/store/6i0xi5kf38jk54sw64akd3iv8scw5g6x-findutils-4.9.0/bin/find" > > However, the definition of find-program in `grep.el` is > > (defvar find-program (purecopy > "/gnu/store/w4p913kmnga3xh80vx8vnkri42dcmqi3-findutils-4.9.0/bin/find") > "The default find program. > This is used by commands like `grep-find-command', `find-dired' > and others.") > > The find-program value differs, despite no user configuration being > loaded. Could you confirm whether this is expected behavior or > a potential bug? The actual value of find-program set by grep.el is this: (defvar find-program (purecopy "find") "The default find program. This is used by commands like `grep-find-command', `find-dired' and others.") So the value is just "find", and some code somewhere assigned a different value to this variable, and you need to figure out which code did that and why. I don't see any Emacs bugs here. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 09 17:03:54 2025 Received: (at 78982) by debbugs.gnu.org; 9 Jul 2025 21:03:55 +0000 Received: from localhost ([127.0.0.1]:52760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZbxK-0008NP-8V for submit@debbugs.gnu.org; Wed, 09 Jul 2025 17:03:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53000) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZbxH-0008Lw-Vc for 78982@debbugs.gnu.org; Wed, 09 Jul 2025 17:03:52 -0400 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 1uZbxC-0004QM-Ko for 78982@debbugs.gnu.org; Wed, 09 Jul 2025 17:03:46 -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:Date:In-Reply-To:Subject:To: From; bh=vdcK7rifuyCSb02I929z6TPiKoHiw/HKeCdwpECTPhU=; b=oBZiyCSAUGbOF492ZR74 4mIKpy6xAxnJbOntSmulVq6xtGWVOo4tOyQp0hEP18/E7pNqM06oPl9a3yKpFPDqVxfHkHkiX6xU4 1ZFl8CelmfzHwgpFsuAAX3S2MYR5QovDAoRK22vZ3Kyp8dN0Qw7eF0s4MdCpTDmFaOa0rf8Sf6XdC 1gQe3GF0518dQyjts9+v7E4jBKkChIpnTK4vkwvCqq7QLK/Cje4iy7FuG3IYc8ItjkAA1GnM/4zbZ zhERAlN1842iQcnQjpuFSXKIlQFS6wdUPS67DuuJ0gIj5SHbxoKVzwLSOAfl8QluwNPcd2rc9G80k WWVJtseJGlpwXw==; From: Anush V To: Eli Zaretskii Subject: Re: bug#78982: 30.1; find-program value mismatch between runtime and ~grep.el~ definition In-Reply-To: <86h5zlica1.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Jul 2025 19:01:26 +0300") Date: Wed, 09 Jul 2025 17:03:41 -0400 Message-ID: <87tt3laxg2.fsf@gnu.org> References: <87bjpte8rc.fsf@gnu.org> <86h5zlica1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78982 Cc: 78982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Eli Zaretskii > Date: Wed, 9 Jul 2025 19:01:26 +0300 > >> From: Anush V >> Date: Wed, 09 Jul 2025 10:31:03 -0400 >>=20 >> Hello Emacs maintainers, emacs --no-init;=20 >>=20=20 >> C-h v find-program=20 >>=20=20 >> Shows=20 >>=20=20 >> find-program is a variable defined in =E2=80=98grep.el=E2=80=99.=20 >>=20=20 >> Its value is=20 >> "/gnu/store/6i0xi5kf38jk54sw64akd3iv8scw5g6x-findutils-4.9.0/bin/find"= =20 >>=20=20 >> However, the definition of find-program in `grep.el` is=20 >>=20=20 >> (defvar find-program (purecopy=20 >> "/gnu/store/w4p913kmnga3xh80vx8vnkri42dcmqi3-findutils-4.9.0/bin/find"= )=20 >> "The default find program.=20 >> This is used by commands like `grep-find-command', `find-dired'=20 >> and others.")=20 >>=20=20 >> The find-program value differs, despite no user configuration being >> loaded. Could you confirm whether this is expected behavior or >> a potential bug? > > The actual value of find-program set by grep.el is this: > > (defvar find-program (purecopy "find") > "The default find program. > This is used by commands like `grep-find-command', `find-dired' > and others.") > > So the value is just "find", and some code somewhere assigned a > different value to this variable, and you need to figure out which > code did that and why. > > I don't see any Emacs bugs here. The default definition in the upstream grep.el is indeed (defvar find-program (purecopy "find")) The /gnu/store/... path I observed in my local grep.el appears to be a modification introduced by the Guix packaging of Emacs. I=E2=80=99ll fol= low up with the Guix maintainers to understand their rationale for this override. Thank you for checking. Please feel free to close this bug. -- Regards, Anush V From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 10 02:07:23 2025 Received: (at 78982-done) by debbugs.gnu.org; 10 Jul 2025 06:07:23 +0000 Received: from localhost ([127.0.0.1]:54666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZkRF-0000dK-Vl for submit@debbugs.gnu.org; Thu, 10 Jul 2025 02:07:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34332) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZkRD-0000br-KR for 78982-done@debbugs.gnu.org; Thu, 10 Jul 2025 02:07:20 -0400 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 1uZkR8-0001nw-CL for 78982-done@debbugs.gnu.org; Thu, 10 Jul 2025 02:07:14 -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=JsZtDpYPRT4262X/u7S2SeSnekHPVHsnrTg2C4j+wvQ=; b=i69wmlmpNu3JNcX9I9VZ PsjKB31pT72NszIWtn4BdTZXOICWzQOMtqbE4k3UEUjOQMWW7IofSMYblSGVxXbuvkunum+s7O02Y 6diXZan9LexFxef2w65RaBAzyK0ueC0a/16FkKdD/bqgdUflgI0YnI4xlMsIhczakZUJuu4ZWMClc 6zmVv0oddoRbBWnLP8K21lGr0WMidZ4+txou9rsOAvIJNq3SYqgN9k0awSAq0xjIVFR7wkUCR6BXI KtGk/M17yeD/IOJGvaRi2rQbZgwswANr9Xb6DsSD7G4hYZ1GGJuZ/GTv4OMU2mZ27sIlHAVRDHlxT N3pUotQYFbueCw==; Date: Thu, 10 Jul 2025 09:07:12 +0300 Message-Id: <86y0swh94f.fsf@gnu.org> From: Eli Zaretskii To: Anush V In-Reply-To: <87tt3laxg2.fsf@gnu.org> (message from Anush V on Wed, 09 Jul 2025 17:03:41 -0400) Subject: Re: bug#78982: 30.1; find-program value mismatch between runtime and ~grep.el~ definition References: <87bjpte8rc.fsf@gnu.org> <86h5zlica1.fsf@gnu.org> <87tt3laxg2.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78982-done Cc: 78982-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Anush V > Cc: 78982@debbugs.gnu.org > Date: Wed, 09 Jul 2025 17:03:41 -0400 > > > From: Eli Zaretskii > > Date: Wed, 9 Jul 2025 19:01:26 +0300 > > > >> From: Anush V > >> Date: Wed, 09 Jul 2025 10:31:03 -0400 > >> > >> Hello Emacs maintainers, emacs --no-init; > >> > >> C-h v find-program > >> > >> Shows > >> > >> find-program is a variable defined in ‘grep.el’. > >> > >> Its value is > >> "/gnu/store/6i0xi5kf38jk54sw64akd3iv8scw5g6x-findutils-4.9.0/bin/find" > >> > >> However, the definition of find-program in `grep.el` is > >> > >> (defvar find-program (purecopy > >> "/gnu/store/w4p913kmnga3xh80vx8vnkri42dcmqi3-findutils-4.9.0/bin/find") > >> "The default find program. > >> This is used by commands like `grep-find-command', `find-dired' > >> and others.") > >> > >> The find-program value differs, despite no user configuration being > >> loaded. Could you confirm whether this is expected behavior or > >> a potential bug? > > > > The actual value of find-program set by grep.el is this: > > > > (defvar find-program (purecopy "find") > > "The default find program. > > This is used by commands like `grep-find-command', `find-dired' > > and others.") > > > > So the value is just "find", and some code somewhere assigned a > > different value to this variable, and you need to figure out which > > code did that and why. > > > > I don't see any Emacs bugs here. > > The default definition in the upstream grep.el is indeed > > (defvar find-program (purecopy "find")) > > The /gnu/store/... path I observed in my local grep.el appears to be > a modification introduced by the Guix packaging of Emacs. I’ll follow > up with the Guix maintainers to understand their rationale for this > override. > > Thank you for checking. Please feel free to close this bug. Thanks, done. From unknown Fri Sep 12 17:52:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 07 Aug 2025 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator