From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 20 08:54:51 2023 Received: (at submit) by debbugs.gnu.org; 20 Dec 2023 13:54:51 +0000 Received: from localhost ([127.0.0.1]:38919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFx29-0003u3-BS for submit@debbugs.gnu.org; Wed, 20 Dec 2023 08:54:51 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFx24-0003tn-M5 for submit@debbugs.gnu.org; Wed, 20 Dec 2023 08:54:47 -0500 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 1rFx1t-000890-Eh for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 08:54:34 -0500 Received: from esa2.eurocontrol.c3s2.iphmx.com ([68.232.139.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFx1o-0007r7-5i for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 08:54:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eurocontrol.int; s=ectl2; t=1703080467; x=1703685267; h=from:to:subject:date:message-id:mime-version; bh=IqYOlaARZKozb0KiUzfVayLQG1H6ACjtNslbkQy0qaA=; b=TxTe+hqf1lEUNoQg9aLrD6nPbCadKKFhTpzT8rMElFogggUELIoucK6s FKGM1f/pNgAK48lairCIrLKadVk1L4EpUhe+fyLmTEhhjGURTkyWb71j7 fkzS8GJJ9z0JR7KgF3qmkV9g208Kq949r6+WuV+THSQs+Zqh143AurrVD /hk0WSkcmwC3/mv0tZYBTNmh5opkgbHFi/XJhAnzQjZmWB8iWJuH1PRfo L9HZUiOhPXJHeZRqVSfpThMw9jLFZaFglKaD/mcLJSGwkw7h9NGCgQKXk DM45X0jJaa9tVSfjxsS+X24yXCBw/8S+8Cp88r2cC0jfYLIZqpoH0ARRD A==; X-CSE-ConnectionGUID: VH5JCwOBQkqdfop5Y5lmCQ== X-CSE-MsgGUID: gUAe37hdS+CYAEvbAhN7OA== X-SignedOrEncrypted: False Received: from unknown (HELO drsmtpl01.eurocontrol.int) ([153.98.68.246]) by esa2.eurocontrol.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 14:54:21 +0100 Received: from SSPEX111.sky.corp.eurocontrol.int (sspex111.sky.corp.eurocontrol.int [172.19.3.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailservices.eurocontrol.int", Issuer "EUROCONTROL Certificate Authority 2016" (not verified)) by drsmtpl01.eurocontrol.int (Postfix) with ESMTPS id 59B8A240017 for ; Wed, 20 Dec 2023 14:54:21 +0100 (CET) Received: from SSPEX114.sky.corp.eurocontrol.int (172.19.3.5) by SSPEX111.sky.corp.eurocontrol.int (172.19.3.2) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 20 Dec 2023 14:54:21 +0100 Received: from dhinfd01.eurocontrol.int (10.5.64.1) by SSPEX114.sky.corp.eurocontrol.int (10.4.34.10) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 20 Dec 2023 14:54:21 +0100 Received: from dhws059.eurocontrol.int (dhws059.cfmu.corp.eurocontrol.int [10.130.84.68]) by dhinfd01.eurocontrol.int (Postfix) with ESMTP id 048A21FF7; Wed, 20 Dec 2023 13:54:20 +0000 (UTC) Received: by dhws059.eurocontrol.int (Postfix, from userid 36261) id E1855553; Wed, 20 Dec 2023 13:54:20 +0000 (UTC) From: Jurgen De Backer To: Subject: 29.1; emacs 29.1 follows symlinks when a grep result is selected Date: Wed, 20 Dec 2023 13:54:19 +0000 Message-ID: <80q7cl9dlo4.fsf@eurocontrol.int> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=68.232.139.104; envelope-from=prvs=711d71fff=jurgen.de-backer.ext@eurocontrol.int; helo=esa2.eurocontrol.c3s2.iphmx.com X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.063, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since emacs 29.1 (possibly already in 28.x), symlinks are resolved whenever a file is selected in a grep result in the *grep* buffer. For our project, we preferred the old behaviour to remain in the symlink's directory. Also, when symlinks are resolved and a new grep is done, we may end up grepping in another directory than we started from. Attached is a patch o revert the behaviour, and to add a custom variable compilation-follow-symlinks to disable/enable this behaviour. It may be useful to allow the user to select either behaviour. In GNU Emacs 29.1 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.12) of 2023-12-17 built on dhdevd14 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Red Hat Enterprise Linux Server 7.9 (Maipo) Configured using: 'configure --prefix=3D/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated --exec-prefix=3D/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/libex= ec/emacs-29.1 --mandir=3D/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/man --with-x-toolkit=3Dgtk3 --with-modules --with-xft 'CFLAGS=3D-I/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/include ' LDFLAGS=3D-L/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/lib' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $EMACSDATA: /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated= /share/emacs/29.1/etc value of $EMACSDOC: /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/= share/emacs/29.1/etc value of $EMACSLOADPATH: /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gener= ated/share/emacs/27.2/site-lisp:/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/site-lisp:/cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp value of $EMACSPATH: /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated= /libexec/emacs-29.1/libexec/emacs/29.1/x86_64-pc-linux-gnu: value of $LANG: C locale-coding-system: nil Major mode: Lisp Interaction Minor modes in effect: global-display-line-numbers-mode: t display-line-numbers-mode: t which-function-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: 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: /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/sh-script hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/s= hare/emacs/29.1/lisp/progmodes/sh-script /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-eshell hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-eshell /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-texinfo hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ox-texinfo /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-publish hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ox-publish /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-latex hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ox-latex /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-icalendar hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/ox-icalendar /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-ascii hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ox-ascii /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-timer hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-timer /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-tempo hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-tempo /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-table hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-table /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-protocol hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/org-protocol /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-plot hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-plot /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-pcomplete hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.= L7/generated/share/emacs/29.1/lisp/org/org-pcomplete /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-mouse hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-mouse /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-mobile hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/org-mobile /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-macs hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-macs /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-macro hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-macro /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-list hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-list /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-lint hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-lint /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-keys hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-keys /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-inlinetask hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP= .L7/generated/share/emacs/29.1/lisp/org/org-inlinetask /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-indent hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/org-indent /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-habit hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-habit /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-goto hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-goto /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-footnote hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/org-footnote /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-feed hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/org-feed /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-faces hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-faces /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-entities hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/org-entities /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-element hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/org-element /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-duration hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/org-duration /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-datetree hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/org-datetree /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-crypt hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-crypt /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-compat hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/org-compat /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-colview hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/org-colview /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-clock hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-clock /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-capture hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/org-capture /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-attach hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/org-attach /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-attach-git hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP= .L7/generated/share/emacs/29.1/lisp/org/org-attach-git /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-archive hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/org-archive /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-agenda hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/org-agenda /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generate= d/share/emacs/29.1/lisp/org/ol /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-w3m hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ol-w3m /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-rmail hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ol-rmail /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-mhe hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ol-mhe /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-eshell hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ol-eshell /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-docview hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ol-docview /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-tangle hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-tangle /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-table hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ob-table /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-shell hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ob-shell /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-screen hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-screen /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-scheme hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-scheme /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-python hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-python /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-processing hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.= L7/generated/share/emacs/29.1/lisp/org/ob-processing /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-plantuml hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/ob-plantuml /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-octave hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-octave /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-ocaml hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ob-ocaml /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-maxima hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-maxima /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-matlab hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-matlab /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-makefile hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/ob-makefile /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-lilypond hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/ob-lilypond /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-latex hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ob-latex /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-haskell hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ob-haskell /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-groovy hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-groovy /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-gnuplot hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ob-gnuplot /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-fortran hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ob-fortran /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-forth hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ob-forth /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-emacs-lisp hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.= L7/generated/share/emacs/29.1/lisp/org/ob-emacs-lisp /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-dot hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-dot /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-ditaa hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/ge= nerated/share/emacs/29.1/lisp/org/ob-ditaa /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-comint hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-comint /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-clojure hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/= generated/share/emacs/29.1/lisp/org/ob-clojure /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-calc hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-calc /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-awk hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-awk /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-R hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/genera= ted/share/emacs/29.1/lisp/org/ob-R /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-eval hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-eval /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generate= d/share/emacs/29.1/lisp/org/ox /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-org hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ox-org /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-odt hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ox-odt /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-md hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gener= ated/share/emacs/29.1/lisp/org/ox-md /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-man hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ox-man /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-html hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ox-html /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ox-beamer hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ox-beamer /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-version hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7= /generated/share/emacs/29.1/lisp/org/org-version /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-src hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/org-src /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-num hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/org-num /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-loaddefs hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L= 7/generated/share/emacs/29.1/lisp/org/org-loaddefs /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-id hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/org-id /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generat= ed/share/emacs/29.1/lisp/org/org /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/org-ctags hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/org-ctags /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-irc hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ol-irc /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-info hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ol-info /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-gnus hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ol-gnus /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-eww hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ol-eww /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-bibtex hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ol-bibtex /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ol-bbdb hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ol-bbdb /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generate= d/share/emacs/29.1/lisp/org/ob /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-sqlite hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/g= enerated/share/emacs/29.1/lisp/org/ob-sqlite /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-sql hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-sql /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-sed hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-sed /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-sass hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-sass /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-ruby hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-ruby /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-ref hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-ref /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-perl hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-perl /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-lisp hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-lisp /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-org hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-org /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-lua hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-lua /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-lob hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-lob /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-js hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gener= ated/share/emacs/29.1/lisp/org/ob-js /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-java hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-java /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-exp hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-exp /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-css hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gene= rated/share/emacs/29.1/lisp/org/ob-css /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-core hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/gen= erated/share/emacs/29.1/lisp/org/ob-core /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/generated/share/emacs/27.2/site-= lisp/org-9.3.1/ob-C hides /cm/ot/TOOL/GNU!28.0.0.44/build_G!30.IP.L7/genera= ted/share/emacs/29.1/lisp/org/ob-C Features: (shadow sort mail-extr cl-extra help-mode warnings 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 add-log display-line-numbers gpc dired dired-loaddefs mule-util etags fileloop generator which-func ido ada-mode align ada-skel wisi-skel skeleton ada-process wisi-process-parse ada-indent-user-options ada-imenu imenu ada-core wisi-prj wisi xref wisi-fringe wisi-parse-common semantic/lex semantic/fw mode-local uniquify-files project find-file compile easy-mmode files-x pcase text-property-search highlight-beyond-fill-column cperl-mode rx facemenu jka-compr which-key vlf-setup vlf vlf-base vlf-tune org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline icons org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs memory-usage ffap thingatpt comint ansi-osc ansi-color ring finder-inf solarized-theme-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 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/x-win x-win term/common-win x-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 move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 164552 9039) (symbols 48 17860 0) (strings 32 56258 2270) (string-bytes 1 1879266) (vectors 16 32599) (vector-slots 8 625425 79206) (floats 8 123 72) (intervals 56 320 0) (buffers 976 11) (heap 1024 29327 1694)) ____ This message and any files transmitted with it are legally privileged and i= ntended for the sole use of the individual(s) or entity to whom they are ad= dressed. If you are not the intended recipient, please notify the sender by= reply and delete the message and any attachments from your system. Any una= uthorised use or disclosure of the content of this message is strictly proh= ibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment= on the part of EUROCONTROL, unless it is confirmed by appropriately signed= hard copy. Any views expressed in this message are those of the sender. --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename="emacs-29.1.patches.07_follow_symlinks" Content-Transfer-Encoding: base64 IyBTaW5jZSBlbWFjcyAyOS4xLCB3aGVuIGNsaWNraW5nIG9uIGEgZmlsZSBsaW5rIGluIHRoZSAq Z3JlcCogcmVzdWx0cyBidWZmZXIsCiMgc3ltbGlua3MgYXJlIHJlc29sdmVkIHRvIHRoZSBhY3R1 YWwgZmlsZW5hbWUocykuCiMgV2hlbiBmb2xsb3dpbmcgc3ltbGlua3MsIHRoZSBiZWhhdmlvdXIg bWF5IGJlIHVuZXhwZWN0ZWQsIGZvciBleGFtcGxlOgojICAtIEEgZGlyZWN0b3J5IGNvbnRhaW5z IHN5bWxpbmtzIHRvIGZpbGVzIGluIHZhcmlvdXMgb3RoZXIgZGlyZWN0b3JpZXMuCiMgIC0gWW91 IGxhdW5jaCBhIGdyZXAgd2hpY2ggcmV0dXJucyBzb21lIHJlc3VsdHMuCiMgIC0gVGhlbiB5b3Ug c2VsZWN0IGEgZmlsZSBpbiB0aGUgKmdyZXAqIHJlc3VsdHMgYnVmZmVyLiAoWW91IG1heSBlLmcu IOKAnGZpeC9jaGFuZ2XigJ0gc29tZXRoaW5nIGluIHRoaXMgZ3JlcCBoaXQuKQojICAgIEJlY2F1 c2Ugc3ltbGlua3MgYXJlIHJlc29sdmVkLCB0aGUgYWN0dWFsIGZpbGUgaXMgb3BlbmVkIGluIGEg YnVmZmVyCiMgICAgICBhbmQgdGhlIGRpcmVjdG9yeSBvZiB0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orICA6dmVyc2lvbiAiMjkuMSIp CisKIDs7OyMjI2F1dG9sb2FkCiAoZGVmY3VzdG9tIGNvbXBpbGF0aW9uLWFzay1hYm91dC1zYXZl IHQKICAgIk5vbi1uaWwgbWVhbnMgXFxbY29tcGlsZV0gYXNrcyB3aGljaCBidWZmZXJzIHRvIHNh dmUgYmVmb3JlIGNvbXBpbGluZy4KQEAgLTMxMjIsOCArMzEyOSw5IEBACiAgICAgICAgICAgICBm bXRzIGZvcm1hdHMpCiAgICAgICA7OyBGb3IgZWFjaCBkaXJlY3RvcnksIHRyeSBlYWNoIGZvcm1h dCBzdHJpbmcuCiAgICAgICAod2hpbGUgKGFuZCBmbXRzIChudWxsIGJ1ZmZlcikpCi0gICAgICAg IChzZXRxIG5hbWUgKGZpbGUtdHJ1ZW5hbWUKLSAgICAgICAgICAgICAgICAgICAgKGZpbGUtbmFt ZS1jb25jYXQgdGhpc2RpciAoZm9ybWF0IChjYXIgZm10cykgZmlsZW5hbWUpKSkKKyAgICAgICAg KHNldHEgbmFtZSAoaWYgY29tcGlsYXRpb24tZm9sbG93LXN5bWxpbmtzCisgICAgICAgICAgICAg ICAgICAgICAgIChmaWxlLXRydWVuYW1lIChmaWxlLW5hbWUtY29uY2F0IHRoaXNkaXIgKGZvcm1h dCAoY2FyIGZtdHMpIGZpbGVuYW1lKSkpCisgICAgICAgICAgICAgICAgICAgICAoZXhwYW5kLWZp bGUtbmFtZSAoZm9ybWF0IChjYXIgZm10cykgZmlsZW5hbWUpIHRoaXNkaXIpKQogICAgICAgICAg ICAgICBidWZmZXIgKGFuZCAoZmlsZS1leGlzdHMtcCBuYW1lKQogICAgICAgICAgICAgICAgICAg ICAgICAgICAoZmluZC1maWxlLW5vc2VsZWN0IG5hbWUpKQogICAgICAgICAgICAgICBmbXRzIChj ZHIgZm10cykpKQpAQCAtMzE0NSw4ICszMTUzLDkgQEAKICAgICAgICAgKHNldHEgdGhpc2RpciAo Y2FyIGRpcnMpCiAgICAgICAgICAgICAgIGZtdHMgZm9ybWF0cykKICAgICAgICAgKHdoaWxlIChh bmQgZm10cyAobnVsbCBidWZmZXIpKQotICAgICAgICAgIChzZXRxIG5hbWUgKGZpbGUtdHJ1ZW5h bWUKLSAgICAgICAgICAgICAgICAgICAgICAoZmlsZS1uYW1lLWNvbmNhdCB0aGlzZGlyIChmb3Jt YXQgKGNhciBmbXRzKSBmaWxlbmFtZSkpKQorICAgICAgICAgIChzZXRxIG5hbWUgKGlmIGNvbXBp bGF0aW9uLWZvbGxvdy1zeW1saW5rcworICAgICAgICAgICAgICAgICAgICAgICAgIChmaWxlLXRy dWVuYW1lIChmaWxlLW5hbWUtY29uY2F0IHRoaXNkaXIgKGZvcm1hdCAoY2FyIGZtdHMpIGZpbGVu YW1lKSkpCisgICAgICAgICAgICAgICAgICAgICAgIChleHBhbmQtZmlsZS1uYW1lIChmb3JtYXQg KGNhciBmbXRzKSBmaWxlbmFtZSkgdGhpc2RpcikpCiAgICAgICAgICAgICAgICAgYnVmZmVyIChh bmQgKGZpbGUtZXhpc3RzLXAgbmFtZSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZmlu ZC1maWxlLW5vc2VsZWN0IG5hbWUpKQogICAgICAgICAgICAgICAgIGZtdHMgKGNkciBmbXRzKSkp CkBAIC0zMjA2LDggKzMyMTUsMTAgQEAKICAgICAgICAgICAgICAgKGRpbmcpIChzaXQtZm9yIDIp KQogICAgICAgICAgICAgICgoYW5kIChmaWxlLWRpcmVjdG9yeS1wIG5hbWUpCiAgICAgICAgICAg ICAgICAgICAgKG5vdCAoZmlsZS1leGlzdHMtcAotICAgICAgICAgICAgICAgICAgICAgICAgIChz ZXRxIG5hbWUgKGZpbGUtdHJ1ZW5hbWUKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAoZmlsZS1uYW1lLWNvbmNhdCBuYW1lIGZpbGVuYW1lKSkpKSkpCisgICAgICAgICAgICAg ICAgICAgICAgICAgKHNldHEgbmFtZSAoaWYgY29tcGlsYXRpb24tZm9sbG93LXN5bWxpbmtzCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZpbGUtdHJ1ZW5hbWUgKGZp bGUtbmFtZS1jb25jYXQgbmFtZSBmaWxlbmFtZSkpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIChleHBhbmQtZmlsZS1uYW1lIGZpbGVuYW1lIG5hbWUpKQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICkpKSkKICAgICAgICAgICAgICAgKG1lc3NhZ2UgIk5vIGAl cycgaW4gZGlyZWN0b3J5ICVzIiBmaWxlbmFtZSBvcmlnbmFtZSkKICAgICAgICAgICAgICAgKGRp bmcpIChzaXQtZm9yIDIpKQogICAgICAgICAgICAgICh0Cg== --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 20 13:47:02 2023 Received: (at 67930) by debbugs.gnu.org; 20 Dec 2023 18:47:02 +0000 Received: from localhost ([127.0.0.1]:41791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG1av-0005XN-UE for submit@debbugs.gnu.org; Wed, 20 Dec 2023 13:47:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG1at-0005X3-Uw for 67930@debbugs.gnu.org; Wed, 20 Dec 2023 13:47:00 -0500 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 1rG1aj-0005X2-Cx; Wed, 20 Dec 2023 13:46:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=d2+AQ58G8aOu72ZewL7X8hslwvWHZlPNi9rzeXyxV8s=; b=XZqP/UHRQ0ti lMyevIr8+CKZSYNhuBz95aD/EIo5mTKKAuSpRKZ2wc9uPsxr7vYu1MQvlrzSylq0mrK/sgM+bhf7P OMMbWesRBSd7RTSo9yRdEpXzd4l6IRMoXm6rdg85jEugc5qOgXeH0jt6N58c1/XVjgMxNH+NmDlus drVqk4One5xYIzL9H3j/nBXC9ZLLhuWerpdw9EhXp83xlsqoKu0oov2DJs24Dp17nh21P1wq4f8Yg vWSgFMKKySXgWG6aIQokxRWNRt0xKCxCN0xkcCUREO3zf07Tk+jg7fEOwBDl8aZH+ZcBzgHPaXkc0 D4Z1LWQZty9eHiKXHhMM5Q==; Date: Wed, 20 Dec 2023 20:46:33 +0200 Message-Id: <83edfghfue.fsf@gnu.org> From: Eli Zaretskii To: Jurgen De Backer In-Reply-To: <80q7cl9dlo4.fsf@eurocontrol.int> (bug-gnu-emacs@gnu.org) Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected References: <80q7cl9dlo4.fsf@eurocontrol.int> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67930 Cc: 67930@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 (---) > Date: Wed, 20 Dec 2023 13:54:19 +0000 > From: Jurgen De Backer via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Since emacs 29.1 (possibly already in 28.x), symlinks are resolved > whenever a file is selected in a grep result in the *grep* buffer. > For our project, we preferred the old behaviour to remain in the symlink's > directory. > Also, when symlinks are resolved and a new grep is done, we may end up > grepping in another directory than we started from. > > Attached is a patch o revert the behaviour, and to add a custom > variable compilation-follow-symlinks to disable/enable this behaviour. > > It may be useful to allow the user to select either behaviour. Thanks, but I don't think this is a matter of user preferences. We replaced expand-file-name there by file-truename because in some cases the former doesn't work: it expands to a file that doesn't exist. See bug#8035, where such cases are presented. We cannot ask the user to set or reset this option each time they need to work with these or those file names. So I don't think the fix you propose is the right one. I think we need to use expand-file-name where it works, and file-truename where expand-file-name doesn't work. Or maybe just try expand-file-name first, and if that produces a file name that fails file-exists-p, try file-truename. Would you like to propose and test a patch along these lines? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 22 11:21:00 2023 Received: (at 67930) by debbugs.gnu.org; 22 Dec 2023 16:21:00 +0000 Received: from localhost ([127.0.0.1]:47681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGiGi-0005Gq-Ac for submit@debbugs.gnu.org; Fri, 22 Dec 2023 11:21:00 -0500 Received: from esa2.eurocontrol.c3s2.iphmx.com ([68.232.139.104]:32332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGiGe-0005GY-6U for 67930@debbugs.gnu.org; Fri, 22 Dec 2023 11:20:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eurocontrol.int; s=ectl2; t=1703262051; x=1703866851; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=xJEfIEaOJX8FvfQwRUvGDMi1nkbfAtAqMduUcHg1PgQ=; b=dSViD6IFrNGKmVBxhINai/0SG90e6wmaycF3a7YTKqYP6uhxOWlhjRGY AR95iOZ4+P45szSdC6AFCYSJgGzgYkAIqcpHavSd6PpxCMnrrvd7vXc+N Eb8tLoWA1HXfLNrj7/BIr49GX/pKP/1NffDwNjHrbBbWw1qjRlLd6LId9 pN0Wco0zPh2/4OVkfT4RT0Y1FPc++s4CkcZjZtLbaTHonZxMyee6aqll1 fPmWbaIXWXqWS5vBeqrXIk0SfBmvAFbEXppVWXRXOshYkUkO8WzhpnT6F mJLDMUX6LDu6Kh/ig22J3gy28Kenz3QGn58d5PJ5+D+Xt+yTE3YKxOuxv w==; X-CSE-ConnectionGUID: bx/FbQ1nQVGiCPNcgFU5cg== X-CSE-MsgGUID: wS/PRFhwSoydhIUDjdLnhg== X-SignedOrEncrypted: False Received: from unknown (HELO drsmtpl02.eurocontrol.int) ([153.98.68.247]) by esa2.eurocontrol.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 17:20:44 +0100 Received: from SSPEX116.sky.corp.eurocontrol.int (sspex116.sky.corp.eurocontrol.int [172.19.3.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailservices.eurocontrol.int", Issuer "EUROCONTROL Certificate Authority 2016" (not verified)) by drsmtpl02.eurocontrol.int (Postfix) with ESMTPS id CE89C6001F; Fri, 22 Dec 2023 17:20:44 +0100 (CET) Received: from SSPEX111.sky.corp.eurocontrol.int (172.19.3.2) by SSPEX116.sky.corp.eurocontrol.int (172.19.3.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 22 Dec 2023 17:20:44 +0100 Received: from edge.eurocontrol.int (10.9.2.254) by SSPEX111.sky.corp.eurocontrol.int (10.4.34.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35 via Frontend Transport; Fri, 22 Dec 2023 17:20:44 +0100 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (104.47.11.105) by edge.eurocontrol.int (153.98.68.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 22 Dec 2023 17:20:43 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dBZVU3aNrbi8jNY2bp/tpiZtzNOhhai9UZLUn6CsKImPdLxlI6kpLglUeq85PVbErPuHeqUftAPdFpjOuDUlfJ2slWG09/fbhVQt9obFRadzJZuspgluPCy5TG0rpVTwLzFANh0RMm+lcDozm0yh6ujVivfcWTfxUxmg7X1xxDCwL7RwDQh1+kwC95PI6rGsMRMt1bDTHwgAIUvJHgeoEMPnY+TzrdE773pp01Q44VOXZpzEtLAsRz6DctWN1QgNTr2q1wTltEJab+3q4yCFhu+G+BMC8nKAFHxMC+BHyYqHGJzOW/c0uffZOFb3CJDUq0KPqr3l4upFSdKqmxtMvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6nbPJbeYQNnxDZSpKaQ8Jaundbz85EdZsQ1yfg6BayI=; b=NJQJAuZVkV8jh7U++DDVEM/fJQtPE+uodM3tdBD6o49jGmx0bu1xZUtgIRlT/vtumkB0Lau/4l+hLgw/Om2Sw6CU2g4k20VPTFsdPygIG9acsdRS0RsbjRAU2cdPZTkgfnNN2TReRy+eoWID3H6TxYydWv0oTr7rCvTP+pWuWWCWyenqEUtjOaxe/wPGIHj5pYUhduu6+LKspLPSDBnE8T4gw0mJE3bssBWDP6PvUWKx/rUSXxpH13xlwNtUBryhxXTh4wpqHFP2S99SJ7kQDLoHzlQQ3zSeABxj4zXRYcBM5Sqb6xLpaxQC4+IH/C7RjE24PGwNMboXNha+OwEY6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=eurocontrol.int; dmarc=pass action=none header.from=eurocontrol.int; dkim=pass header.d=eurocontrol.int; arc=none Received: from AS2PR08MB10053.eurprd08.prod.outlook.com (2603:10a6:20b:640::12) by DB9PR08MB8204.eurprd08.prod.outlook.com (2603:10a6:10:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.21; Fri, 22 Dec 2023 16:20:42 +0000 Received: from AS2PR08MB10053.eurprd08.prod.outlook.com ([fe80::5d6e:fd06:7fc3:f4e2]) by AS2PR08MB10053.eurprd08.prod.outlook.com ([fe80::5d6e:fd06:7fc3:f4e2%4]) with mapi id 15.20.7113.019; Fri, 22 Dec 2023 16:20:42 +0000 From: "DE BACKER Jurgen (EXT)" To: Eli Zaretskii Subject: RE: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected Thread-Topic: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected Thread-Index: AQHaM0wJZO5z1sT6TUmrSSQUyyhxCLCygzsAgAL6XyA= Date: Fri, 22 Dec 2023 16:20:42 +0000 Message-ID: References: <80q7cl9dlo4.fsf@eurocontrol.int> <83edfghfue.fsf@gnu.org> In-Reply-To: <83edfghfue.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=eurocontrol.int; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS2PR08MB10053:EE_|DB9PR08MB8204:EE_ x-ms-office365-filtering-correlation-id: bc24df5a-6b13-439c-2fc2-08dc0309f1a1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w15Ebfv1s+0clGtYiMjxUVgoyawJzzppGyPpLRyo9JBn/0+EKEfnmj72PSVcHO0p2F0raB3Nh60AhDuIwUlREhsYhE0l+uEgO+GZtylhMon/zvD0AQlOSiVARsmfwf89uXvqanCiO0kht6U/BtwUFenoH25EPcw9bmEiR68l7zvvmqVqq+o9MRbIhyMCEl7lW4VLxGZ8UHL3EyPCs1tnsZ/gCudlxI9I3SkJ5cH5hqL2VMdv+AyLcRafv4A2oonJPXStuUm35srzeM757m1EREIznMISPAdJaMj/viAoqMbTCfZFRpL+0v5oZ5cSoLdqRVE9tFXklHdnzH7MDnR3JE7A0cUdPEFVY1hy9DXatObEDFIRHYSka9QjFqWUrQUeYaQxtyrd3r0RmLYxpDjTtm0KjBk9IXDHBvDLBTHQ3ug6OjQeP1iTpAgGh0ZI+GJlCuQ+YnX9A7KDJcbNjeNn3umCuI4voWiY43QHmP+P8HsMXLL5hYSMAPfSIrZuBUZu6GFM4del8s07qlKrwwZQq4M6E9Q/Gka1490EVIIkoSApRdjZNufaRBY3Q3VJqYGoo5q4zPbqsgQAQVWeQRXdQbdzBDycU/OLOFsRyezyepqPTeNQY0gcp8+otu8tPSbX x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS2PR08MB10053.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(136003)(366004)(39860400002)(396003)(346002)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(71200400001)(5660300002)(7696005)(9686003)(6506007)(53546011)(478600001)(83380400001)(26005)(55016003)(76116006)(4326008)(8936002)(8676002)(52536014)(122000001)(99936003)(38070700009)(41300700001)(33656002)(2906002)(86362001)(38100700002)(66946007)(66446008)(64756008)(6916009)(66556008)(66476007)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?39MhKWePBLox7fP49oOPjrTtoYfnT1QWkqr2Vzx1lXv1xDh9wmsVEG07xuBn?= =?us-ascii?Q?DGgF5S9kfN5b6hXnymTqFc/43H1PXXY+p5bDBJWReJLpjyZiF6yIwBRCY+pM?= =?us-ascii?Q?ijKFCxXnk9rARfG8Iq5DpCmYtQiIcPXxsEO0+vIb5iW4MdbbUz6OkWalM+Ub?= =?us-ascii?Q?/b7JEk19DYv1gZnAyznFtcUR0Qp8ur74AH/n2G8nijthiiKA6seYTkb4cSis?= =?us-ascii?Q?e7CP3ey/0lZmCY98c1pPeZxxQpXyRJ+dSbtQbaEZZqes8Wu3f4xUEIhxYAUh?= =?us-ascii?Q?8N7o73v7sKqxCSN0M7q/FJ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=?us-ascii?Q?1lg50TedsfKwZT9KYGUTilU4N1k6SZC2ZelctKxAR7cpNq0Kgq+lKmSADqay?= =?us-ascii?Q?/D1XsoCcvv42en0SUpbinD+3Lc5lA3X3RSCqCjGnAzULSswfxrLUoe5sprr0?= =?us-ascii?Q?5UHW/JQBLSZSb2C+BMRfNA6IgkELeQvGlh6i7bJ6NJqeDxHjZbQzPrJauqTQ?= =?us-ascii?Q?3L4i1PfoaC7SbSLSrwDgbN3YpQhEtIxMCEuFrtJFfrUgYsRDdoJhcvKZhvqJ?= =?us-ascii?Q?Hu07A+KRsU4zHYEmdqEqSxCusXqKV6Q7u+UB7XnGrpBI/LYAoz1EOXCrTYKv?= =?us-ascii?Q?39hw7d21B6mRkcN1Ha5yPrSbTmrZXgeUR9kZZL901XIaGtn5zuNaM4tN6V+F?= =?us-ascii?Q?dYbHrJ92+7JjqWM7uq4EG/MCRk8rQmadM8Waq4N1HLhFbBO3ws6aZt7tfLmT?= =?us-ascii?Q?0WDYY139InLGDD4UJa1WaCQ=3D?= Content-Type: multipart/mixed; boundary="_002_AS2PR08MB1005345C1653E9D146C67FD0E9594AAS2PR08MB10053eu_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS2PR08MB10053.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc24df5a-6b13-439c-2fc2-08dc0309f1a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Dec 2023 16:20:42.2841 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 76f33c20-5979-4408-adf7-8b3c4be95e52 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OjBRw9cEFKVSzHlMfRgxPiNT4jD05LtwxCNWaM5h7keHzduYc5/+/XTbxd8C1rrw4Pw2Kl4fMhXNIJsRsgA2867UPpLk83HRu6up1G9AB60WXsEZdlbrJ+863ho/ONDQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8204 X-OriginatorOrg: eurocontrol.int X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67930 Cc: "67930@debbugs.gnu.org" <67930@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 (---) --_002_AS2PR08MB1005345C1653E9D146C67FD0E9594AAS2PR08MB10053eu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Eli Zaretskii > Sent: Wednesday, December 20, 2023 7:47 PM > To: DE BACKER Jurgen (EXT) > Cc: 67930@debbugs.gnu.org > Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep res= ult > is selected > > > Date: Wed, 20 Dec 2023 13:54:19 +0000 > > From: Jurgen De Backer via "Bug reports for GNU Emacs, the Swiss > > army knife of text editors" > > > > Since emacs 29.1 (possibly already in 28.x), symlinks are resolved > > whenever a file is selected in a grep result in the *grep* buffer. > > For our project, we preferred the old behaviour to remain in the > > symlink's directory. > > Also, when symlinks are resolved and a new grep is done, we may end up > > grepping in another directory than we started from. > > > > Attached is a patch o revert the behaviour, and to add a custom > > variable compilation-follow-symlinks to disable/enable this behaviour. > > > > It may be useful to allow the user to select either behaviour. > > Thanks, but I don't think this is a matter of user preferences. We repla= ced > expand-file-name there by file-truename because in some cases the former > doesn't work: it expands to a file that doesn't exist. See bug#8035, whe= re > such cases are presented. We cannot ask the user to set or reset this op= tion > each time they need to work with these or those file names. > > So I don't think the fix you propose is the right one. I think we need t= o use > expand-file-name where it works, and file-truename where expand-file- > name doesn't work. Or maybe just try expand-file-name first, and if that > produces a file name that fails file-exists-p, try file-truename. > > Would you like to propose and test a patch along these lines? Hi Eli, Please find attached a patch that does this: first we try to expand the fi= le name with expand-file-name and if this fails, retry with file-truename. ____ This message and any files transmitted with it are legally privileged and i= ntended for the sole use of the individual(s) or entity to whom they are ad= dressed. If you are not the intended recipient, please notify the sender by= reply and delete the message and any attachments from your system. Any una= uthorised use or disclosure of the content of this message is strictly proh= ibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment= on the part of EUROCONTROL, unless it is confirmed by appropriately signed= hard copy. Any views expressed in this message are those of the sender. --_002_AS2PR08MB1005345C1653E9D146C67FD0E9594AAS2PR08MB10053eu_ Content-Type: application/octet-stream; name="emacs-29.1_expand_file_names.patch" Content-Description: emacs-29.1_expand_file_names.patch Content-Disposition: attachment; filename="emacs-29.1_expand_file_names.patch"; size=3630; creation-date="Fri, 22 Dec 2023 16:19:04 GMT"; modification-date="Fri, 22 Dec 2023 16:20:42 GMT" Content-Transfer-Encoding: base64 IyBJbiBlbWFjcyAyOS4xLCB3aGVuIGNsaWNraW5nIG9uIGEgZmlsZSBsaW5rIGluIHRoZSAqZ3Jl cCogcmVzdWx0cyBidWZmZXIsCiMgc3ltbGlua3MgYXJlIHJlc29sdmVkIHRvIHRoZSBhY3R1YWwg ZmlsZW5hbWUocykuIEluIHNvbWUgY2FzZXMgdGhpcyBpcyBub3QgcHJlZmVyYWJsZS4KIwojIFRo aXMgcGF0Y2ggLTEgd2lsbCBmaXJzdCB1c2UgdGhlIHByZXZpb3VzIGJlaGF2aW91ciAodXNpbmcg ZXhwYW5kLWZpbGUtbmFtZSkgdG8gcmVzb2x2ZSBhIChyZWxhdGl2ZSkgZmlsZW5hbWUKIyAgICAg ICAgICAgIC0yIGlmIHRoaXMgZmFpbHMgKGkuZS4gdGhlIHJlc3VsdCBpcyBub3QgYW4gZXhpc3Rp bmcgZmlsZSksIHdlIHRyeSB3aXRoIHRoZSBuZXcgYmVoYXZpb3VyIAojICAgICAgICAgICAgICAg IHdoaWNoIHVzZXMgZnVuY3Rpb24gZmlsZS10cnVlbmFtZS4K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lY3RvcnksIHRy eSBlYWNoIGZvcm1hdCBzdHJpbmcuCiAgICAgICAod2hpbGUgKGFuZCBmbXRzIChudWxsIGJ1ZmZl cikpCi0gICAgICAgIChzZXRxIG5hbWUgKGZpbGUtdHJ1ZW5hbWUKLSAgICAgICAgICAgICAgICAg ICAgKGZpbGUtbmFtZS1jb25jYXQgdGhpc2RpciAoZm9ybWF0IChjYXIgZm10cykgZmlsZW5hbWUp KSkKKyAgICAgICAgKHNldHEgZXhwYW5kZWRuYW1lIChleHBhbmQtZmlsZS1uYW1lIChmb3JtYXQg KGNhciBmbXRzKSBmaWxlbmFtZSkgdGhpc2RpcikKKyAgICAgICAgICAgICAgbmFtZSAoaWYgKGZp bGUtZXhpc3RzLXAgZXhwYW5kZWRuYW1lKSA7OyBTZWUgYnVnICM4MDM1IGV4cGFuZC1maWxlLW5h bWUgZmFpbHMgaW4gc3BlY2lmaWMgY2FzZXMKKyAgICAgICAgICAgICAgICAgICAgICAgZXhwYW5k ZWRuYW1lCisgICAgICAgICAgICAgICAgICAgICAoZmlsZS10cnVlbmFtZSAoZmlsZS1uYW1lLWNv bmNhdCB0aGlzZGlyIChmb3JtYXQgKGNhciBmbXRzKSBmaWxlbmFtZSkpKSkKICAgICAgICAgICAg ICAgYnVmZmVyIChhbmQgKGZpbGUtZXhpc3RzLXAgbmFtZSkKICAgICAgICAgICAgICAgICAgICAg ICAgICAgKGZpbmQtZmlsZS1ub3NlbGVjdCBuYW1lKSkKICAgICAgICAgICAgICAgZm10cyAoY2Ry IGZtdHMpKSkKQEAgLTMxNDUsOCArMzE0NywxMCBAQAogICAgICAgICAoc2V0cSB0aGlzZGlyIChj YXIgZGlycykKICAgICAgICAgICAgICAgZm10cyBmb3JtYXRzKQogICAgICAgICAod2hpbGUgKGFu ZCBmbXRzIChudWxsIGJ1ZmZlcikpCi0gICAgICAgICAgKHNldHEgbmFtZSAoZmlsZS10cnVlbmFt ZQotICAgICAgICAgICAgICAgICAgICAgIChmaWxlLW5hbWUtY29uY2F0IHRoaXNkaXIgKGZvcm1h dCAoY2FyIGZtdHMpIGZpbGVuYW1lKSkpCisgICAgICAgICAgKHNldHEgZXhwYW5kZWRuYW1lIChl eHBhbmQtZmlsZS1uYW1lIChmb3JtYXQgKGNhciBmbXRzKSBmaWxlbmFtZSkgdGhpc2RpcikKKyAg ICAgICAgICAgICAgICBuYW1lIChpZiAoZmlsZS1leGlzdHMtcCBleHBhbmRlZG5hbWUpCisgICAg ICAgICAgICAgICAgICAgICAgICAgZXhwYW5kZWRuYW1lCisgICAgICAgICAgICAgICAgICAgICAg IChmaWxlLXRydWVuYW1lIChmaWxlLW5hbWUtY29uY2F0IHRoaXNkaXIgKGZvcm1hdCAoY2FyIGZt dHMpIGZpbGVuYW1lKSkpKQogICAgICAgICAgICAgICAgIGJ1ZmZlciAoYW5kIChmaWxlLWV4aXN0 cy1wIG5hbWUpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZpbmQtZmlsZS1ub3NlbGVj dCBuYW1lKSkKICAgICAgICAgICAgICAgICBmbXRzIChjZHIgZm10cykpKQpAQCAtMzE5OSwxNSAr MzIwMywxOCBAQAogICAgICAgICAgICAgICAgICAgICAgICAgOzsgICAgICAgKHNldHEgbmFtZSAo ZXhwYW5kLWZpbGUtbmFtZSBmaWxlbmFtZSBuYW1lKSkpCiAgICAgICAgICAgICAgICAgICAgICAg ICA7OyAgIChmaWxlLWV4aXN0cy1wIG5hbWUpKQogICAgICAgICAgICAgICAgICAgICAgICAgKSkK LSAgICAgICAgICAgICAgICAgKG9yaWduYW1lIG5hbWUpKQorICAgICAgICAgICAgICAgICAob3Jp Z25hbWUgbmFtZSkgZXhwYW5kZWRuYW1lKQogICAgICAgICAgICAgKGNvbmQKICAgICAgICAgICAg ICAoKG5vdCAoZmlsZS1leGlzdHMtcCBuYW1lKSkKICAgICAgICAgICAgICAgKG1lc3NhZ2UgIkNh bm5vdCBmaW5kIGZpbGUgYCVzJyIgbmFtZSkKICAgICAgICAgICAgICAgKGRpbmcpIChzaXQtZm9y IDIpKQogICAgICAgICAgICAgICgoYW5kIChmaWxlLWRpcmVjdG9yeS1wIG5hbWUpCiAgICAgICAg ICAgICAgICAgICAgKG5vdCAoZmlsZS1leGlzdHMtcAotICAgICAgICAgICAgICAgICAgICAgICAg IChzZXRxIG5hbWUgKGZpbGUtdHJ1ZW5hbWUKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAoZmlsZS1uYW1lLWNvbmNhdCBuYW1lIGZpbGVuYW1lKSkpKSkpCisgICAgICAgICAg ICAgICAgICAgICAgICAgKHNldHEgZXhwYW5kZWRuYW1lIChleHBhbmQtZmlsZS1uYW1lIGZpbGVu YW1lIG5hbWUpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZSAoaWYgKGZpbGUt ZXhpc3RzLXAgZXhwYW5kZWRuYW1lKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIGV4cGFuZGVkbmFtZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAoZmlsZS10cnVlbmFtZSAoZmlsZS1uYW1lLWNvbmNhdCBuYW1lIGZpbGVuYW1lKSkpCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKSkpKQogICAgICAgICAgICAgICAobWVzc2FnZSAi Tm8gYCVzJyBpbiBkaXJlY3RvcnkgJXMiIGZpbGVuYW1lIG9yaWduYW1lKQogICAgICAgICAgICAg ICAoZGluZykgKHNpdC1mb3IgMikpCiAgICAgICAgICAgICAgKHQK --_002_AS2PR08MB1005345C1653E9D146C67FD0E9594AAS2PR08MB10053eu_-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 23 06:11:22 2023 Received: (at 67930) by debbugs.gnu.org; 23 Dec 2023 11:11:22 +0000 Received: from localhost ([127.0.0.1]:48705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGzuc-0004JK-4g for submit@debbugs.gnu.org; Sat, 23 Dec 2023 06:11:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGzuZ-0004J5-Er for 67930@debbugs.gnu.org; Sat, 23 Dec 2023 06:11:20 -0500 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 1rGzuN-0004GV-0V; Sat, 23 Dec 2023 06:11:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WK5zX2X5oLyxzJwMv9nMB9T23Es1zYd0T8cs3JZp9hQ=; b=i0dC8FCcFjx/ 6Vnz+9un+YGXRQ91SLx2Fu89QZR2/RLGVsUlt2W218izC+R66Eo7kY9xGCpiWhCrgQ5aX6pHL+4dG oaQ2jzJs8sS9YUZVpb1eDJmVcJ9q9zqaK3ivC282IRApuKWeCxwBoRJhWdj21kky2aoao7Bh+MMWl nbgzBU6Zj/5mGL/abhSLpTldTqHYCvXemQDUxHueJkNgAA+f+kTzxrp2zGbx75u+KQSU46KAL5Jxi 0yevkHIZBW0o1RCM42mxXUgnf0rBP50oNCQR+0T4/dkFoDOAQn/bmhrAaM81t3rsILp+/9K00S6Mx iWPM0A8R5aUBmJu7SdxQzw==; Date: Sat, 23 Dec 2023 13:10:57 +0200 Message-Id: <8334vtdvi6.fsf@gnu.org> From: Eli Zaretskii To: "DE BACKER Jurgen (EXT)" In-Reply-To: (jurgen.de-backer.ext@eurocontrol.int) Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected References: <80q7cl9dlo4.fsf@eurocontrol.int> <83edfghfue.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67930 Cc: 67930@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: "DE BACKER Jurgen (EXT)" > CC: "67930@debbugs.gnu.org" <67930@debbugs.gnu.org> > Date: Fri, 22 Dec 2023 16:20:42 +0000 > > > From: Eli Zaretskii > > Sent: Wednesday, December 20, 2023 7:47 PM > > To: DE BACKER Jurgen (EXT) > > Cc: 67930@debbugs.gnu.org > > Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result > > is selected > > > > Thanks, but I don't think this is a matter of user preferences. We replaced > > expand-file-name there by file-truename because in some cases the former > > doesn't work: it expands to a file that doesn't exist. See bug#8035, where > > such cases are presented. We cannot ask the user to set or reset this option > > each time they need to work with these or those file names. > > > > So I don't think the fix you propose is the right one. I think we need to use > > expand-file-name where it works, and file-truename where expand-file- > > name doesn't work. Or maybe just try expand-file-name first, and if that > > produces a file name that fails file-exists-p, try file-truename. > > > > Would you like to propose and test a patch along these lines? > > Hi Eli, > > Please find attached a patch that does this: first we try to expand the file name with expand-file-name > and if this fails, retry with file-truename. Thanks. I have a couple of minor comments: > # In emacs 29.1, when clicking on a file link in the *grep* results buffer, > # symlinks are resolved to the actual filename(s). In some cases this is not preferable. > # > # This patch -1 will first use the previous behaviour (using expand-file-name) to resolve a (relative) filename > # -2 if this fails (i.e. the result is not an existing file), we try with the new behaviour > # which uses function file-truename. > # > # In emacs 29.1 expand-file-name was replaced by file-truename to solve bug #8035, > # because in specific cases expand-file-name returned a wrong/non existing file. > # Unlike expand-file-name, file-truename follows symlinks. Could you please reformat this log message using our style? The details can be found in the file CONTRIBUTE in the Emacs Git repository. > --- lisp/progmodes/compile.el.orig 2023-02-11 12:06:09.000000000 +0000 > +++ lisp/progmodes/compile.el 2023-12-21 17:22:34.000688000 +0000 > @@ -3108,7 +3108,7 @@ > (spec-dir (if directory > (expand-file-name directory) > default-directory)) > - buffer thisdir fmts name) > + buffer thisdir fmts expandedname name) > (if (and filename > (file-name-absolute-p filename)) > ;; The file name is absolute. Use its explicit directory as > @@ -3122,8 +3122,10 @@ > fmts formats) > ;; For each directory, try each format string. > (while (and fmts (null buffer)) > - (setq name (file-truename > - (file-name-concat thisdir (format (car fmts) filename))) > + (setq expandedname (expand-file-name (format (car fmts) filename) thisdir) > + name (if (file-exists-p expandedname) ;; See bug #8035 expand-file-name fails in specific cases > + expandedname > + (file-truename (file-name-concat thisdir (format (car fmts) filename)))) > buffer (and (file-exists-p name) > (find-file-noselect name)) > fmts (cdr fmts))) Your changes repeat the same pattern several times, so I think it would be better to factor out this code into a separate function, and then call that function in those places. Would you like to rewrite the patch along these lines? Thanks again for working on this. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 04 06:11:15 2024 Received: (at 67930) by debbugs.gnu.org; 4 Jan 2024 11:11:15 +0000 Received: from localhost ([127.0.0.1]:53706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLLd4-0003XP-FZ for submit@debbugs.gnu.org; Thu, 04 Jan 2024 06:11:15 -0500 Received: from esa1.eurocontrol.c3s2.iphmx.com ([68.232.133.181]:35423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLLcy-0003X2-Qn for 67930@debbugs.gnu.org; Thu, 04 Jan 2024 06:11:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eurocontrol.int; s=ectl2; t=1704366664; x=1704971464; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=x6mZiqX8tR2XGGUIJZiJ7fs2AXstX72ktu+ATbgCoW8=; b=Jk8hoZ++UZjZzJy9vL3LrD+fVibdNR1+wGot+1+inek3iSspQMkGdXgt ts/Ou1Ul1yOF24bf317so7d4LYpCwxLbzxKvO8DuTR05tui50sH3cj1V9 /zL5gLRONs134K9z9cvyj7xYoqVl1XiPONwLWbQ99hdSIKr6IcPd079Ju Ir6EBdsHZdu2o5ekZSR3lJwFH1E/Ra1QWVlaqtFR9kRU40xs1mUZgj3nO fMx3lLJwuQ/SwHi8TToU/4OKWSueQtEiUss1w9qlaDIRibNBKsdcFUqQG 6ZFwHOX7GT63mpcszJGYVPggmn+ubysnsAmWVympainOIqk92+qpFsRGx g==; X-CSE-ConnectionGUID: s1yPncYgTwmNf5xbn0nTUg== X-CSE-MsgGUID: HfsQ25ZRQIyCSkhjudLvMg== X-SignedOrEncrypted: False Received: from unknown (HELO drsmtpl02.eurocontrol.int) ([153.98.68.247]) by esa1.eurocontrol.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 12:10:59 +0100 Received: from SSPEX117.sky.corp.eurocontrol.int (sspex117.sky.corp.eurocontrol.int [172.19.3.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailservices.eurocontrol.int", Issuer "EUROCONTROL Certificate Authority 2016" (not verified)) by drsmtpl02.eurocontrol.int (Postfix) with ESMTPS id 1CB3D60008; Thu, 4 Jan 2024 12:10:59 +0100 (CET) Received: from SSPEX111.sky.corp.eurocontrol.int (172.19.3.2) by SSPEX117.sky.corp.eurocontrol.int (172.19.3.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 4 Jan 2024 12:10:58 +0100 Received: from edge.eurocontrol.int (10.9.2.254) by SSPEX111.sky.corp.eurocontrol.int (10.4.34.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35 via Frontend Transport; Thu, 4 Jan 2024 12:10:58 +0100 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (104.47.18.104) by edge.eurocontrol.int (153.98.68.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 4 Jan 2024 12:10:59 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XdI1t08fwUkUb9Egq6oV3w9w3wfahbp296O/efMmDEYMpM3mGrpF7+XLPlHFVXIikrIh0w2xyZgdtgcIIorhkncBETkf1mSd8Whez0mWedjGQgXYf6FkbTaeBoX5y3sBq1AA2vMSE3sZejUodg2C8WoHANYUlJRyeqhNiuDZnmhnMfCxpbQknK7bh625X8YsfnEV2KKfnYazRahoxDUP9Gz1D+19aUqxj5LOnwAmImzKN7XuoZtwFrGDmBCL2tVCT6RSMKGy/bNlXEdEWq7FsuHHv+Uxyu8dy3QVFb1bAYBWOimoL0789KyBn3prnVBjiVy0ZjbFdpgIV0Ansu3LaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wK9nhS9Jgy8E85GQIlP0xQ1xZeFLLFSEVb/TKh/OERI=; b=JrKdA7RPQqbXduaFmTSd84eert7BtXz8GiVOHFMHEeWm1BOAHLQSjreALFLKnSC15I9NsSgVWnzZt0DM1OWgTKPN9eKi3OhS5RXSi5NZ/fXAAAI0iCnz8kto1/ecpBtPqAJZfEsAa5AHp7MR5YnDnIlnVeDE62XhJLn1SS9S+ziBY+59Qz8kHamaoa/coX2gWLP1X3IOG62DsbT93c9rTlSYTXiMWm9zWomnTp4X8pCb4WrN6JPXnVkfJK3lnI7rymfHd5HMaIu6k0JGecV+MgZJqNdoxSYFfweCLQQlzwjorP10Itq02uUZSP9zNQ3IX/iRYjdsjsS7WB3YQgqnvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=eurocontrol.int; dmarc=pass action=none header.from=eurocontrol.int; dkim=pass header.d=eurocontrol.int; arc=none Received: from AS2PR08MB10053.eurprd08.prod.outlook.com (2603:10a6:20b:640::12) by DB9PR08MB7793.eurprd08.prod.outlook.com (2603:10a6:10:398::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.13; Thu, 4 Jan 2024 11:10:56 +0000 Received: from AS2PR08MB10053.eurprd08.prod.outlook.com ([fe80::54b5:9d24:f695:546e]) by AS2PR08MB10053.eurprd08.prod.outlook.com ([fe80::54b5:9d24:f695:546e%4]) with mapi id 15.20.7159.015; Thu, 4 Jan 2024 11:10:56 +0000 From: "DE BACKER Jurgen (EXT)" To: Eli Zaretskii Subject: RE: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected Thread-Topic: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected Thread-Index: AQHaM0wJZO5z1sT6TUmrSSQUyyhxCLCygzsAgAL6XyCAAT1KSIAS20tQ Date: Thu, 4 Jan 2024 11:10:56 +0000 Message-ID: References: <80q7cl9dlo4.fsf@eurocontrol.int> <83edfghfue.fsf@gnu.org> <8334vtdvi6.fsf@gnu.org> In-Reply-To: <8334vtdvi6.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=eurocontrol.int; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS2PR08MB10053:EE_|DB9PR08MB7793:EE_ x-ms-office365-filtering-correlation-id: df4e97a0-590a-4ca4-3701-08dc0d15d2ed x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XlI5JbA7qLTamkL3LdeYndgki0IDgdTV+K7qwJ/m0Y9OyC+yErfsOOR1M66KkPgW8gAJxio3BysZTadH/HByVI/t9YbeuNwLF9CStxH8tHWFGrJkHE6n5Wc0LZYLPKqeaf+9kG+8LdmS0QlYS/2x7XzrH4Y5aMWJQkH1PBpeyTkrNeLpnWibY9hkJtcGC9DWq1nGLmK1/mg/58XQ11kZQdNopR9ABSrjYarefVZix75k2JDhnLxyy1bGpxCK4g3VV1s+5s10zLxkxHdwHOfQBZuaiEiVVCqNkVfmcQ1s2C1+hqJ3cr7ZVyZi40sxBhjgpMI6FppLMRGpeNujQqV0ohnd8WKDlW5ZHewThx04S7Ky48NS1GoxutkmyKlFOd9pufHChJzYVgjS7TO0emeVBmJHJCvcYQWo9Be/JEoE9V9d4Rs7QWeoo1RdT7os2bV488oLAPZ50YS8aJI9ZXsaw4ZO8UGqu6fFkFbgarl9nxGn92nV7bzv2lwgccQcEsjvOiF56HpdMG8pJeKYaOpowaduafkWW5hpRFcbW5ExK6AcAOdts7SnXkFQad3SAMxov7iOM7ciybLfAwg2eNd/jpR/N+z+wQgepl8dKvZDRAFnWotCfijC87FnrALAjUXU x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS2PR08MB10053.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39850400004)(366004)(376002)(346002)(136003)(396003)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(76116006)(66946007)(66476007)(83380400001)(66556008)(6916009)(64756008)(66446008)(99936003)(478600001)(55016003)(33656002)(26005)(4326008)(52536014)(316002)(6506007)(9686003)(41300700001)(71200400001)(53546011)(8936002)(8676002)(7696005)(86362001)(38070700009)(5660300002)(2906002)(122000001)(38100700002)(4001150100001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?68GCF6r3Cd0LD3xb2NOoCJeL09b/RMRVVOCPiEaBfcLcBy5PYkg7UIGicBsL?= =?us-ascii?Q?usV79kWFyUkVJoH+ZEz7gLwWDj6OuZynAeSWwr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mlihHpEMvmJQx25/dPegYc5ygI5r2t1+5qutl5qrcas7ClSHYSe80?= =?us-ascii?Q?TdilNIGTjKWumLAVXQQ0BuQIFxvuVPI5xqE7Wb0OHiby6bZtNfQllj2qV5u/?= =?us-ascii?Q?BKAjcrD2EslQz2j3l1zQXEvghePC0VqWX8LGB0L81pjyVBtOHwyufIzeDM5I?= =?us-ascii?Q?YpcJwOf5JEna/CMC1vpCYtKVlrUEqxKsN3gE6FzAclrVab39vI287xL2XkjG?= =?us-ascii?Q?WW9MZhWUSG2G8WkAS6qrqsH4JdltTyEMDj96KWwHLx1TlFur8mcPqtADuNND?= =?us-ascii?Q?NkQsqZM+NAFTrbNgw8LpXp8yHj0ksBfY2AQpJzAo2hqNBS33z30sIi5B6jrb?= =?us-ascii?Q?srxT5I9e/2akYTyt6pHpxGXPkws3HXgpsBf58CD44qkoI3j7JvR7Ti7SikX6?= =?us-ascii?Q?bpEljaTbHntdMXULWozz4YV+OWxGnrQqWFwFZ0v5bz7kvmjYhkc6Yuelmnrj?= =?us-ascii?Q?uc1nDOXSQXomDyrYLSZgue4TeLtcb2s/nVxAsw2ChNJDZLH8v2FJ/a2+humb?= =?us-ascii?Q?/Lx8hpGLXIGRlpDE3lsAGMumscF1hI4b/Xifxf7P8cMq8TZY1pPjYOQFr6Qu?= =?us-ascii?Q?jngM8YzJ7l3aC/A12IO8krzHto2Zx/BD+3voD1NdyVIhpHmCUMy23k2pMXgG?= =?us-ascii?Q?hJ40J2kalAu4CeZV//xbGfw=3D?= Content-Type: multipart/mixed; boundary="_002_AS2PR08MB100530C3FE4A965638B72314A95672AS2PR08MB10053eu_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS2PR08MB10053.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: df4e97a0-590a-4ca4-3701-08dc0d15d2ed X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2024 11:10:56.3593 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 76f33c20-5979-4408-adf7-8b3c4be95e52 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BAGnVxKXMbbABOICTTwlEw1wj+9YsnS7BV6DZW/SQk/4WOR3sHotubSOv27O1wAkh85WqVJ/yhisFsASlt6oz3Wj8IBrFFbjoaxpSKAic480IdnjmFqHiX7er8VON8gq X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7793 X-OriginatorOrg: eurocontrol.int X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67930 Cc: "67930@debbugs.gnu.org" <67930@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 (---) --_002_AS2PR08MB100530C3FE4A965638B72314A95672AS2PR08MB10053eu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Eli Zaretskii > Sent: Saturday, December 23, 2023 12:11 PM > To: DE BACKER Jurgen (EXT) > Cc: 67930@debbugs.gnu.org > Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep res= ult > is selected > > > From: "DE BACKER Jurgen (EXT)" > > CC: "67930@debbugs.gnu.org" <67930@debbugs.gnu.org> > > Date: Fri, 22 Dec 2023 16:20:42 +0000 > > > > > From: Eli Zaretskii > > > Sent: Wednesday, December 20, 2023 7:47 PM > > > To: DE BACKER Jurgen (EXT) > > > Cc: 67930@debbugs.gnu.org > > > Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a > > > grep result is selected > > > > > > Thanks, but I don't think this is a matter of user preferences. We > > > replaced expand-file-name there by file-truename because in some > > > cases the former doesn't work: it expands to a file that doesn't > > > exist. See bug#8035, where such cases are presented. We cannot ask > > > the user to set or reset this option each time they need to work with > these or those file names. > > > > > > So I don't think the fix you propose is the right one. I think we > > > need to use expand-file-name where it works, and file-truename where > > > expand-file- name doesn't work. Or maybe just try expand-file-name > > > first, and if that produces a file name that fails file-exists-p, try= file- > truename. > > > > > > Would you like to propose and test a patch along these lines? > > > > Hi Eli, > > > > Please find attached a patch that does this: first we try to expand > > the file name with expand-file-name and if this fails, retry with file- > truename. > > Thanks. I have a couple of minor comments: > > > # In emacs 29.1, when clicking on a file link in the *grep* results > > buffer, # symlinks are resolved to the actual filename(s). In some case= s this > is not preferable. > > # > > # This patch -1 will first use the previous behaviour (using expand-fil= e- > name) to resolve a (relative) filename > > # -2 if this fails (i.e. the result is not an existing file)= , we try with the > new behaviour > > # which uses function file-truename. > > # > > # In emacs 29.1 expand-file-name was replaced by file-truename to solve > bug #8035, > > # because in specific cases expand-file-name returned a wrong/non > existing file. > > # Unlike expand-file-name, file-truename follows symlinks. > > Could you please reformat this log message using our style? The details = can > be found in the file CONTRIBUTE in the Emacs Git repository. > > > --- lisp/progmodes/compile.el.orig 2023-02-11 12:06:09.000000000 +0000 > > +++ lisp/progmodes/compile.el 2023-12-21 17:22:34.000688000 +0000 > > @@ -3108,7 +3108,7 @@ > > (spec-dir (if directory > > (expand-file-name directory) > > default-directory)) > > - buffer thisdir fmts name) > > + buffer thisdir fmts expandedname name) > > (if (and filename > > (file-name-absolute-p filename)) > > ;; The file name is absolute. Use its explicit directory as > > @@ -3122,8 +3122,10 @@ > > fmts formats) > > ;; For each directory, try each format string. > > (while (and fmts (null buffer)) > > - (setq name (file-truename > > - (file-name-concat thisdir (format (car fmts) filen= ame))) > > + (setq expandedname (expand-file-name (format (car fmts) filena= me) > thisdir) > > + name (if (file-exists-p expandedname) ;; See bug #8035 e= xpand- > file-name fails in specific cases > > + expandedname > > + (file-truename (file-name-concat thisdir (format > > + (car fmts) filename)))) > > buffer (and (file-exists-p name) > > (find-file-noselect name)) > > fmts (cdr fmts))) > > Your changes repeat the same pattern several times, so I think it would b= e > better to factor out this code into a separate function, and then call th= at > function in those places. Would you like to rewrite the patch along thes= e > lines? > > Thanks again for working on this. Hi, Please find attached an updated patch which addresses your remarks. All the best, Jurgen ____ This message and any files transmitted with it are legally privileged and i= ntended for the sole use of the individual(s) or entity to whom they are ad= dressed. If you are not the intended recipient, please notify the sender by= reply and delete the message and any attachments from your system. Any una= uthorised use or disclosure of the content of this message is strictly proh= ibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment= on the part of EUROCONTROL, unless it is confirmed by appropriately signed= hard copy. Any views expressed in this message are those of the sender. --_002_AS2PR08MB100530C3FE4A965638B72314A95672AS2PR08MB10053eu_ Content-Type: application/octet-stream; name="emacs-29.1_expand_file_names.patch" Content-Description: emacs-29.1_expand_file_names.patch Content-Disposition: attachment; filename="emacs-29.1_expand_file_names.patch"; size=3040; creation-date="Thu, 04 Jan 2024 11:09:27 GMT"; modification-date="Thu, 04 Jan 2024 11:10:56 GMT" Content-Transfer-Encoding: base64 QXZvaWQgcmVzb2x2aW5nIHN5bWxpbmtzIHdoZW4gc2VsZWN0aW5nIGZpbGVzIGluIHRoZSAqZ3Jl cCogYnVmZmVyCgpXaGVuIGNsaWNraW5nIG9uIGEgZmlsZSBsaW5rIGluIHRoZSAqZ3JlcCogcmVz dWx0cyBidWZmZXIsIHN5bWxpbmtzIGFyZQpyZXNvbHZlZCB0byB0aGUgYWN0dWFsIGZpbGVuYW1l KHMpLiAgSW4gc29tZSBjYXNlcyB0aGlzIGlzIG5vdCBwcmVmZXJhYmxlLgpUaGlzIHBhdGNoIHdp bGwgZmlyc3QgdXNlIHRoZSBwcmV2aW91cyBiZWhhdmlvciAodXNpbmcgZXhwYW5kLWZpbGUtbmFt ZSkKdG8gcmVzb2x2ZSBhIGZpbGVuYW1lIGFuZCBpZiB0aGlzIGZhaWxzICh0aGUgcmVzdWx0IGlz IG5vdCBhbiBleGlzdGluZyBmaWxl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AgICAgICAgIGJ1ZmZlciAoYW5k IChmaWxlLWV4aXN0cy1wIG5hbWUpCiAgICAgICAgICAgICAgICAgICAgICAgICAgIChmaW5kLWZp bGUtbm9zZWxlY3QgbmFtZSkpCiAgICAgICAgICAgICAgIGZtdHMgKGNkciBmbXRzKSkpCkBAIC0z MTQ1LDggKzMxNTMsNyBAQAogICAgICAgICAoc2V0cSB0aGlzZGlyIChjYXIgZGlycykKICAgICAg ICAgICAgICAgZm10cyBmb3JtYXRzKQogICAgICAgICAod2hpbGUgKGFuZCBmbXRzIChudWxsIGJ1 ZmZlcikpCi0gICAgICAgICAgKHNldHEgbmFtZSAoZmlsZS10cnVlbmFtZQotICAgICAgICAgICAg ICAgICAgICAgIChmaWxlLW5hbWUtY29uY2F0IHRoaXNkaXIgKGZvcm1hdCAoY2FyIGZtdHMpIGZp bGVuYW1lKSkpCisgICAgICAgICAgKHNldHEgbmFtZSAoc2FmZS1leHBhbmQtZmlsZS1uYW1lIHRo aXNkaXIgKGZvcm1hdCAoY2FyIGZtdHMpIGZpbGVuYW1lKSkKICAgICAgICAgICAgICAgICBidWZm ZXIgKGFuZCAoZmlsZS1leGlzdHMtcCBuYW1lKQogICAgICAgICAgICAgICAgICAgICAgICAgICAg IChmaW5kLWZpbGUtbm9zZWxlY3QgbmFtZSkpCiAgICAgICAgICAgICAgICAgZm10cyAoY2RyIGZt dHMpKSkKQEAgLTMyMDYsOCArMzIxMyw3IEBACiAgICAgICAgICAgICAgIChkaW5nKSAoc2l0LWZv ciAyKSkKICAgICAgICAgICAgICAoKGFuZCAoZmlsZS1kaXJlY3RvcnktcCBuYW1lKQogICAgICAg ICAgICAgICAgICAgIChub3QgKGZpbGUtZXhpc3RzLXAKLSAgICAgICAgICAgICAgICAgICAgICAg ICAoc2V0cSBuYW1lIChmaWxlLXRydWVuYW1lCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgKGZpbGUtbmFtZS1jb25jYXQgbmFtZSBmaWxlbmFtZSkpKSkpKQorICAgICAgICAg ICAgICAgICAgICAgICAgIChzZXRxIG5hbWUgKHNhZmUtZXhwYW5kLWZpbGUtbmFtZSBuYW1lIGZp bGVuYW1lKSkpKSkKICAgICAgICAgICAgICAgKG1lc3NhZ2UgIk5vIGAlcycgaW4gZGlyZWN0b3J5 ICVzIiBmaWxlbmFtZSBvcmlnbmFtZSkKICAgICAgICAgICAgICAgKGRpbmcpIChzaXQtZm9yIDIp KQogICAgICAgICAgICAgICh0Cg== --_002_AS2PR08MB100530C3FE4A965638B72314A95672AS2PR08MB10053eu_-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 06 05:35:28 2024 Received: (at 67930-done) by debbugs.gnu.org; 6 Jan 2024 10:35:28 +0000 Received: from localhost ([127.0.0.1]:58643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rM41Y-0008Lk-CU for submit@debbugs.gnu.org; Sat, 06 Jan 2024 05:35:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rM41T-0008LS-Ig for 67930-done@debbugs.gnu.org; Sat, 06 Jan 2024 05:35:27 -0500 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 1rM41H-0003Ks-1I; Sat, 06 Jan 2024 05:35:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=z4RjDJmX6iGjAlLKVU3hrW8gg7OR07DFUYJGiBC/+8A=; b=ovPVPpdxOJ16 LAlPOpPbU67sRQORqS1sSsBJq2xld34d/vWJSJb4lCu8vt6OaC/7jK1OQC2cF5RqsTvgHouq90akd g7iDlItMNZhoYD7VBdfeB6pRjiuHuPbJRCSvijuaY45pNTx0l1SKyTJk+C+m6+egt2q5KUH8YJ+dp Wr8Lu1sEqBkL9pASlmHLINg4ksI/JOGouH+3quoTESO96TzdN4zAs82q4n29NRyvBOwUZbkIo+ng8 z3E9pZUuaVBKcfrlAnR1OJGxGg5+fKZOL1S7XjMbebbHYOUjzT842/8QaNLvFbnOKbSpfrrI1U0Kj FIAsAcj9TLMi6oIiOVAgDQ==; Date: Sat, 06 Jan 2024 12:35:01 +0200 Message-Id: <83edeuu4ve.fsf@gnu.org> From: Eli Zaretskii To: "DE BACKER Jurgen (EXT)" In-Reply-To: (jurgen.de-backer.ext@eurocontrol.int) Subject: Re: bug#67930: 29.1; emacs 29.1 follows symlinks when a grep result is selected References: <80q7cl9dlo4.fsf@eurocontrol.int> <83edfghfue.fsf@gnu.org> <8334vtdvi6.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67930-done Cc: 67930-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: "DE BACKER Jurgen (EXT)" > CC: "67930@debbugs.gnu.org" <67930@debbugs.gnu.org> > Date: Thu, 4 Jan 2024 11:10:56 +0000 > > Please find attached an updated patch which addresses your remarks. Thanks, installed on the master branch, and closing the bug. From unknown Sat Sep 20 08:01:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Feb 2024 12:24:07 +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