From unknown Sun Aug 10 02:40:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47497: 28.0.50; dired: does not distinguish between local directory and remote Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Mar 2021 10:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 47497@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161710183131156 (code B ref -1); Tue, 30 Mar 2021 10:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Mar 2021 10:57:11 +0000 Received: from localhost ([127.0.0.1]:50490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRC3a-00086R-Qo for submit@debbugs.gnu.org; Tue, 30 Mar 2021 06:57:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:53494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRC3Y-00086J-7l for submit@debbugs.gnu.org; Tue, 30 Mar 2021 06:57:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRC3X-0006Ay-Vw for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 06:57:07 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:35367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRC3W-0001qO-4A for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 06:57:07 -0400 Received: from localhost ([::ffff:41.202.241.58]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000027ECE.00000000606303DF.00006C11; Tue, 30 Mar 2021 03:56:31 -0700 From: Jean Louis Date: Tue, 30 Mar 2021 13:54:42 +0300 Message-ID: <86tuosc3nx.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) If there exists local directory: /scp:static: by using Dired and pressing RET, Emacs will try to open connection over Tramp and show remote files. Is Tramp working on improbability that users will never have such directories in / root file system? Now I can guess that other similar root directories would also cause Emacs to behave now how user thinks, as it relies on improbabilities and not file verification. /: total used in directory 112K available 27.8 GiB lrwxrwxrwx 1 7 Feb 7 07:29 bin -> usr/bin drwxr-xr-x 3 4.0K Mar 15 11:40 boot drwxr-xr-x 20 3.9K Mar 29 14:56 dev drwxr-xr-x 82 4.0K Mar 29 18:15 etc drwxr-xr-x 7 4.0K Nov 5 13:50 home lrwxrwxrwx 1 7 Feb 7 07:29 lib -> usr/lib lrwxrwxrwx 1 7 Feb 7 07:29 lib64 -> usr/lib drwx------ 2 16K Mar 15 10:48 lost+found drwxr-xr-x 9 4.0K Mar 28 13:06 mnt drwxr-xr-x 2 4.0K Sep 28 2020 opt drwxr-xr-x 5 4.0K Mar 18 10:19 package dr-xr-xr-x 245 0 Mar 29 08:18 proc drwxr-x--- 13 4.0K Mar 30 13:39 root drwxr-xr-x 21 700 Mar 30 12:34 run lrwxrwxrwx 1 7 Feb 7 07:29 sbin -> usr/bin drwxr-xr-x 2 4.0K Mar 30 13:51 scp:static: drwxr-xr-x 4 4.0K Mar 15 11:12 srv dr-xr-xr-x 13 0 Mar 29 08:18 sys drwxrwxrwt 6 48K Mar 29 16:39 tmp drwxr-xr-x 9 4.0K Mar 18 10:21 usr drwxr-xr-x 13 4.0K Mar 28 11:18 var In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw scroll bars) of 2021-03-22 built on protected.rcdrun.com Repository revision: cb5d1fe1aa9f280d60fcb33b58fc83ace3d95081 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 Configured using: 'configure --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-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 cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 55095 8914) (symbols 48 7046 1) (strings 32 20619 1763) (string-bytes 1 649562) (vectors 16 13853) (vector-slots 8 181036 8554) (floats 8 23 46) (intervals 56 252 0) (buffers 992 12)) -- Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 30 07:10:43 2021 Received: (at control) by debbugs.gnu.org; 30 Mar 2021 11:10:43 +0000 Received: from localhost ([127.0.0.1]:50500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRCGg-0008RV-Ln for submit@debbugs.gnu.org; Tue, 30 Mar 2021 07:10:43 -0400 Received: from mout.gmx.net ([212.227.15.19]:49651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRCGf-0008R5-1e for control@debbugs.gnu.org; Tue, 30 Mar 2021 07:10:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617102635; bh=MBJkSttBR5z5P5MzQ9SWgnJWql2hgnfZPz+U4/W5IVM=; h=X-UI-Sender-Class:Date:To:From:Subject; b=XlGo0NQlLr0cvNXnFWrg+qgIR2CWA9cNWiH2Rdvh6/voYM5YrMrhoAKUvJM7T/282 BWJurXd5XGW23o09bYn0esGy5yBOR4YJG9I1WkdwmgKDA610Y1RFonrbj2y3GEGXhv NYZCEKM9d5cywuWlxNCwMzHdaRfNWWxKRQPHerRc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.60.94]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MMXQ5-1l9vzx3pIt-00Jelp for ; Tue, 30 Mar 2021 13:10:35 +0200 Date: Tue, 30 Mar 2021 13:10:33 +0200 Message-Id: <87sg4c3niu.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #47497 X-Provags-ID: V03:K1:28ZbV5C3kOFRjgWtp5LYI7aYh8sFqAcX2nuOGXWYtJCHhBewoJv H5sPN+iDfPn6OW+C7Z1rbtB5QNMpr4ID7pfHnXQCmtPNh32soCshY7NZDEkIuGDV2miUVE+ EluJKHE4of+Uxm6AFvs8vmqa27E/EijqNd8ddrmVdyrWXZX1oC61TiKvfn6OfUC4z+6pPJs eB9IhQBEERIZozH7GyaAw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:earapRhLc1g=:drXD7mXStGyQvMml296qPk xqFpLyMu+LTgVH00qN3G1UQLMyPanO8NygKW6artcZT4qH4auyKFAUyG6I2llTvboeY6y2iY/ Zwrj/adVsyw7rDDm50FzTIdUnJwwSm7LjHQH1jBtXnT7T/8Riq5MbUhyYksHlRRU1sq5YAedX ecFFOqfP66Y1fIUjR66xKO1yn8CdmpFlngV33bo0xDYwNjVZeE4FVdvUweWk61dlc8U2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(/) X-Debbugs-Envelope-To: control 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.7 (-) tags 47497 + notabug quit From unknown Sun Aug 10 02:40:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jean Louis Subject: bug#47497: closed (Re: bug#47497: 28.0.50; dired: does not distinguish between local directory and remote) Message-ID: References: <87tuos3njx.fsf@gmx.de> <86tuosc3nx.fsf@protected.rcdrun.com> X-Gnu-PR-Message: they-closed 47497 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 47497@debbugs.gnu.org Date: Tue, 30 Mar 2021 11:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1617102662-32497-1" This is a multi-part message in MIME format... ------------=_1617102662-32497-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47497: 28.0.50; dired: does not distinguish between local directory and re= mote which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 47497@debbugs.gnu.org. --=20 47497: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47497 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1617102662-32497-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 47497-done) by debbugs.gnu.org; 30 Mar 2021 11:10:36 +0000 Received: from localhost ([127.0.0.1]:50497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRCGa-0008R7-80 for submit@debbugs.gnu.org; Tue, 30 Mar 2021 07:10:36 -0400 Received: from mout.gmx.net ([212.227.17.22]:36949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRCGW-0008Qp-W8 for 47497-done@debbugs.gnu.org; Tue, 30 Mar 2021 07:10:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617102596; bh=buFmUdsqQsAcVgfKijn/QBAM3lTKb8q64IrsCwR1ANM=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Mm8I7R6f1yIIW0zpw8SgZJFu5vqokQWbcS7nWKtEUv3hkaRHOjrcSlmhICXLGerG3 rGw+VQbusOOQt7wgzWkwGgLbCQ+ZJNXQul/RjJnaTD2SYnDhqemN3CS7rsaQ4qvYgN Rl0IYBbuNovtQ/yErvxgwmdYlErpnQZM7oU7Lr+s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.60.94]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBm1U-1lLjgW078W-00CCkk; Tue, 30 Mar 2021 13:09:56 +0200 From: Michael Albinus To: Jean Louis Subject: Re: bug#47497: 28.0.50; dired: does not distinguish between local directory and remote References: <86tuosc3nx.fsf@protected.rcdrun.com> Date: Tue, 30 Mar 2021 13:09:54 +0200 In-Reply-To: <86tuosc3nx.fsf@protected.rcdrun.com> (Jean Louis's message of "Tue, 30 Mar 2021 13:54:42 +0300") Message-ID: <87tuos3njx.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:uLen1qSIFx+wTXAuKfU+dTRLshPnOue4iyaO//0vUThhEe0YEPw Uufw+9schIG6TLaTE2nGc5IYSse7LxUT/G6w7q6FkngzNanmMhjKYpXkMJXiBjlOIY787tR b7IanTYdCFNNH0yZJncJa+eJY2zLE+sfWDSKJNozixZjsuhjHOKTHtVD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zcoQqrTWFcFxTE9H1LDmYI7uEkAKdGN/tHTQS3aG6z8Cmaf9/kgtcCg5ZVB1J+ 8y5+4WpPt6pZ90oeBoIaXZhNe9/YP8M6pWUtwdAEBK+JGd35FiavcvWn+YPA4GddzEOtrTnWz UMbd3BVCZbCzSf7+01Jk2WxpUBkJxM0MtY8cto2PNtjCdhlVP5xcvfTtUvTFwF0b+XYH3o+hT okocoMktO4PBwCUTX4qPQ43MrBexaI7d24ddwg0TvAIy/3LaJRK1gr8mTmQAbtWItk3LLbgnX ie3miHtJeGKmqGrkI X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47497-done Cc: 47497-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: -1.7 (-) Jean Louis writes: Hi Jean, > If there exists local directory: /scp:static: by using Dired and > pressing RET, Emacs will try to open connection over Tramp and show > remote files. > > Is Tramp working on improbability that users will never have such > directories in / root file system? Tramp handles this case, if instructed. Read the Tramp manual, chapter "Frequesntly Asked Questions": --8<---------------cut here---------------start------------->8--- =E2=88=92 To deactivate TRAMP for some look-alike remote file names, set =E2=80=98tramp-ignored-file-name-regexp=E2=80=99 to a proper = regexp in =E2=80=98.emacs=E2=80=99. *Note*, that we don=E2=80=99t use =E2=80=98customize-set-variable=E2=80=99, in order to avoid loadi= ng TRAMP. (setq tramp-ignored-file-name-regexp "\\`/ssh:example\\.com:= ") This is needed, if you mount for example a virtual file system on your local host=E2=80=99s root directory as =E2=80=98/ssh:example.com:=E2=80=99. --8<---------------cut here---------------end--------------->8--- I'm closing the bug, because there's no error. The problem was discussed in bug#31489 initially. Best regards, Michael. ------------=_1617102662-32497-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Mar 2021 10:57:11 +0000 Received: from localhost ([127.0.0.1]:50490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRC3a-00086R-Qo for submit@debbugs.gnu.org; Tue, 30 Mar 2021 06:57:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:53494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRC3Y-00086J-7l for submit@debbugs.gnu.org; Tue, 30 Mar 2021 06:57:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRC3X-0006Ay-Vw for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 06:57:07 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:35367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRC3W-0001qO-4A for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 06:57:07 -0400 Received: from localhost ([::ffff:41.202.241.58]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000027ECE.00000000606303DF.00006C11; Tue, 30 Mar 2021 03:56:31 -0700 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 28.0.50; dired: does not distinguish between local directory and remote Date: Tue, 30 Mar 2021 13:54:42 +0300 Message-ID: <86tuosc3nx.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) If there exists local directory: /scp:static: by using Dired and pressing RET, Emacs will try to open connection over Tramp and show remote files. Is Tramp working on improbability that users will never have such directories in / root file system? Now I can guess that other similar root directories would also cause Emacs to behave now how user thinks, as it relies on improbabilities and not file verification. /: total used in directory 112K available 27.8 GiB lrwxrwxrwx 1 7 Feb 7 07:29 bin -> usr/bin drwxr-xr-x 3 4.0K Mar 15 11:40 boot drwxr-xr-x 20 3.9K Mar 29 14:56 dev drwxr-xr-x 82 4.0K Mar 29 18:15 etc drwxr-xr-x 7 4.0K Nov 5 13:50 home lrwxrwxrwx 1 7 Feb 7 07:29 lib -> usr/lib lrwxrwxrwx 1 7 Feb 7 07:29 lib64 -> usr/lib drwx------ 2 16K Mar 15 10:48 lost+found drwxr-xr-x 9 4.0K Mar 28 13:06 mnt drwxr-xr-x 2 4.0K Sep 28 2020 opt drwxr-xr-x 5 4.0K Mar 18 10:19 package dr-xr-xr-x 245 0 Mar 29 08:18 proc drwxr-x--- 13 4.0K Mar 30 13:39 root drwxr-xr-x 21 700 Mar 30 12:34 run lrwxrwxrwx 1 7 Feb 7 07:29 sbin -> usr/bin drwxr-xr-x 2 4.0K Mar 30 13:51 scp:static: drwxr-xr-x 4 4.0K Mar 15 11:12 srv dr-xr-xr-x 13 0 Mar 29 08:18 sys drwxrwxrwt 6 48K Mar 29 16:39 tmp drwxr-xr-x 9 4.0K Mar 18 10:21 usr drwxr-xr-x 13 4.0K Mar 28 11:18 var In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw scroll bars) of 2021-03-22 built on protected.rcdrun.com Repository revision: cb5d1fe1aa9f280d60fcb33b58fc83ace3d95081 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 Configured using: 'configure --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-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 cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 55095 8914) (symbols 48 7046 1) (strings 32 20619 1763) (string-bytes 1 649562) (vectors 16 13853) (vector-slots 8 181036 8554) (floats 8 23 46) (intervals 56 252 0) (buffers 992 12)) -- Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns ------------=_1617102662-32497-1--