From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#43735: 28.0.50; eshell: No such directory found via CDPATH environment variable Date: Thu, 01 Oct 2020 07:28:53 +0300 Message-ID: <86mu16tvqy.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38331"; mail-complaints-to="usenet@ciao.gmane.io" To: 43735@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 06:41:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNqP3-0009tF-AN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 06:41:13 +0200 Original-Received: from localhost ([::1]:54928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNqP2-0006nc-BK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 00:41:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNqOs-0006nS-4E for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 00:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNqOr-0001JS-Qv for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 00:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNqOr-0008Op-NS for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 00:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 04:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43735 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160152721632225 (code B ref -1); Thu, 01 Oct 2020 04:41:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2020 04:40:16 +0000 Original-Received: from localhost ([127.0.0.1]:33779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNqO7-0008Ng-VU for submit@debbugs.gnu.org; Thu, 01 Oct 2020 00:40:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNqO3-0008NW-LU for submit@debbugs.gnu.org; Thu, 01 Oct 2020 00:40:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNqO2-0006e8-GU for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 00:40:10 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:55719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNqNy-00012I-PK for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 00:40:10 -0400 Original-Received: from protected.rcdrun.com ([::ffff:197.157.34.169]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_CBC_SHA1) by stw1.rcdrun.com with UTF8ESMTPSA id 00000000000F3C72.000000005F755D81.00000334; Wed, 30 Sep 2020 21:39:29 -0700 Original-Received: from localhost (localhost [127.0.0.1]) (uid 1001) by protected.rcdrun.com with local id 00000000000C2378.000000005F755B05.000025F0; Thu, 01 Oct 2020 06:28:53 +0200 X-Hashcash: 1:20:201001:bug-gnu-emacs@gnu.org::k9cNIQY8P0OmFMez:00000000000000000000000000000000000000000ztz Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/01 00:39:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189469 Archived-At: Working directory: /home/data1/protected Following is invoked as emacs -Q: M-x eshell $ cd tmp ~/tmp $ cd zim-admin No such directory found via CDPATH environment variable y~/tmp $ cd .. /home/data1 $ No such directory found via CDPATH environment variable If I am in ~/tmp, by "cd .." I should get in /home/data1/protected, instead I find myself in /home/data1 My $HOME is /home/data1/protected /home/data1 $ cd protected/ No such directory found via CDPATH environment variable /home/data1 $ cd protected/ No such directory found via CDPATH environment variable /home/data1 $ ls -l total 96 drwxr-xr-x 4 postgres postgres 4096 2018-06-07 2018 database drwxr-xr-x 233 admin admin 94208 2020-10-01 07:22 protected directory is obviously there /home/admin is symlink to /home/data1/protected: /home/data1 $ ls -l total 96 drwxr-xr-x 4 postgres postgres 4096 2018-06-07 2018 database drwxr-xr-x 233 admin admin 94208 2020-10-01 07:22 protected /home/data1 $ cd /home/admin /home/admin $ ls -l total 3749 -rw-r--r-- 1 admin admin 4206 2020-10-01 07:23 #*message*-20201001-072114# -rw------- 1 admin admin 307724 2020-09-26 16:22 A1.pdf drwxr-xr-x 2 admin admin 4096 2020-09-29 23:14 Aufnahmen drwxr-xr-x 3 admin admin 4096 2020-09-30 02:06 Desktop drwxr-x--- 32 admin admin 4096 2020-09-06 09:48 Documents drwx------ 22 admin admin 28672 2020-09-30 21:11 Downloads drwxr-xr-x 4 admin admin 4096 2019-11-09 2019 GNUstep drwx------50488 admin admin 2359296 2020-09-30 19:24 Maildir drwxr-x--- 13 admin admin 4096 2020-09-16 02:19 Media -rw------- 1 admin admin 705245 2020-09-26 16:34 PLM0208KGR.pdf drwxr-x--- 32 admin admin 4096 2019-10-06 2019 Programming drwxr-xr-x 3 admin admin 4096 2019-08-16 2019 R drwxr-xr-x 19 admin admin 4096 2020-07-06 11:09 TO-DO drwxr-xr-x 4 admin admin 12288 2020-09-30 20:16 TO-SORT drwx------ 10 admin admin 4096 2018-06-17 2018 Work drwxr-xr-x 8 admin admin 20480 2020-09-30 19:38 bin -rw-r--r-- 1 admin admin 20255 2020-09-30 19:47 kdeconnect-01.jpg drwxr-xr-x 14 admin admin 4096 2018-10-13 2018 lib drwxr-xr-x 185 admin admin 12288 2020-05-15 12:06 public_html drwxrwxrwt 46 admin admin 327680 2020-10-01 03:07 tmp /home/admin $ from /home/admin I "cd tmp" it works, if I wish to cd to zim-admin directory inside: No such directory found via CDPATH environment variable Then I do "cd", it works again: ~/tmp $ cd zim-admin No such directory found via CDPATH environment variable ~/tmp $ cd ~ $ pwd /home/data1/protected ~ $ ~ $ ls Text is read-only If I kill eshell buffer and get into new one: Welcome to the Emacs shell /home/data1 $ but my HOME is /home/data1/protected /home/data1 $ echo $HOME /home/data1/protected /home/data1 $ cd ~ $ pwd /home/data1/protected there are weird things happening in eshell In GNU Emacs 28.0.50 (build 15, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2020-09-24 built on protected.rcdrun.com Repository revision: de54cd6f0edb3619777c17fe75560c5c84fed8a4 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs-2020-09-24 --with-x-toolkit=lucid --with-modules --without-gpm PKG_CONFIG_PATH=/home/data1/protected/GNUstep/Library/Libraries/pkgconfig:/usr/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_ALL: de_DE.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: eshell-prompt-mode: t eshell-hist-mode: t eshell-pred-mode: t eshell-cmpl-mode: t eshell-proc-mode: t eshell-arg-mode: t tooltip-mode: t global-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 hashcash 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 sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pcmpl-unix em-unix em-term term disp-table easymenu ehelp em-script em-prompt em-ls cl-loaddefs cl-lib em-hist em-pred em-glob em-dirs esh-var em-cmpl pcomplete comint ansi-color ring em-basic em-banner em-alias esh-mode eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util 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 timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 72220 5021) (symbols 48 8946 1) (strings 32 25490 2689) (string-bytes 1 840241) (vectors 16 15547) (vector-slots 8 205830 10455) (floats 8 31 41) (intervals 56 484 203) (buffers 992 13)) -- Thanks, Jean Louis