From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dario Klingenberg Newsgroups: gmane.emacs.bugs Subject: bug#35732: eshell case-insensitive completion Date: Tue, 14 May 2019 18:16:56 +0200 Message-ID: <63a63605-fee1-93c1-c231-ff5a43721e23@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------5213192A3F4E47EBD0746F4E" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="85919"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 To: 35732@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 14 19:09:05 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQavI-000MFw-7Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 May 2019 19:09:04 +0200 Original-Received: from localhost ([127.0.0.1]:51356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQavG-0002HV-LT for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 May 2019 13:09:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQatq-000152-4H for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 13:07:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQaqQ-0000KJ-6i for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 13:04:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQaqQ-0000Jx-3g for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 13:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQaqP-00083x-QO for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 13:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dario Klingenberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2019 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35732 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.155785338330913 (code B ref -1); Tue, 14 May 2019 17:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 May 2019 17:03:03 +0000 Original-Received: from localhost ([127.0.0.1]:49739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQapS-00082M-Dg for submit@debbugs.gnu.org; Tue, 14 May 2019 13:03:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQa7G-0004pp-BV for submit@debbugs.gnu.org; Tue, 14 May 2019 12:17:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQa74-0000Dy-SN for submit@debbugs.gnu.org; Tue, 14 May 2019 12:17:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQa73-00087q-Cv for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 12:17:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQa6x-00009G-Sq for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 12:17:05 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:51770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQa6x-00004z-15 for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 12:17:03 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id o189so3513945wmb.1 for ; Tue, 14 May 2019 09:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=F5rNzHy0koVzK7lD7t/6SYMSyopYMGD2MSVIY5yLzyo=; b=a31COaP98ivRNjNp6LinlnTcQAtcVg9vh3grVBKBDISDIHyZQhlGMgusU8UkjsSJbi gxAp28BNN1hrunzrFMXHmqFFCuFSScSyDY2gVzyhlh9FP6GiZ5YkxmluxzzpdVD+2u7q fNH8bPj/KnrDyoM5MeX2VZP9qMx1fK1TQA+tWI1yJOjqQk1PueZWRYY3jRDFDUOKgfMA E1wODTZ3oCCEdBKKV2vQp3qKH2/KgzMk+ufVe8QKDlPM8xgarUufOQ5og3LaEsdbVM8P k/UfvyvjQW0I8fuWUy8Sd8iD4XwtQmKwrX5hgok6oC8Ngvkj5g2aYzVvWqhpYRonoxzU DQuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=F5rNzHy0koVzK7lD7t/6SYMSyopYMGD2MSVIY5yLzyo=; b=XFVamF/htEMuK/NOM2H6Fbxy5M0c65+PDj0lCzKms3tIDuw4bsXbaiQ2ONK7w0lgWA BsbS/4sdLp7JkiTRhV5jlZgF7X2jorVrSojz6wN5Ujw7tHbZE8da6B4mbGGR+c+atbZm 0OT2QJZvfsS/krvBMhn6zijSNHCNH1L38i7gG3YR6zmwYrDj+QzgvFCFUKGSFaM0E3mb Iq4kgmJHSGfG6zz3XU/hh0d1W8USKZmzfV8nEKlVa8qvUhQiLB/gmiQH6rF/QvR1ZGOz Si+vqv3uxBV6KxQuQyHnRBOiWKD6EV/uFDlVfARTUUv2N6Ud42w08Mu/XzAp0xvicycm f7lw== X-Gm-Message-State: APjAAAWO5LPi2vf8N4PvkkqDDOeKNTW60j5Kf2czNndUpD8yE6sLuhWR 2ax1xtLCnodZ1qknj2dQpd7O0yyoYVg= X-Google-Smtp-Source: APXvYqyTYK5dPOHOHVyyKoLRkVDNTAzG7XSP/RmFrcLKHO8vKzWA4pe2RYz10NqSQ2m6F6lax7bGKg== X-Received: by 2002:a7b:cb11:: with SMTP id u17mr19689546wmj.55.1557850618818; Tue, 14 May 2019 09:16:58 -0700 (PDT) Original-Received: from ?IPv6:2a02:908:1860:be0:96b2:b75:9c28:1c03? ([2a02:908:1860:be0:96b2:b75:9c28:1c03]) by smtp.gmail.com with ESMTPSA id t18sm36800140wrg.19.2019.05.14.09.16.57 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 09:16:57 -0700 (PDT) Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 14 May 2019 13:03:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159281 Archived-At: This is a multi-part message in MIME format. --------------5213192A3F4E47EBD0746F4E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Dear all, I am experiencing a strange behaviour of eshell on emacs 26.2: Steps to reproduce: emacs -Q M-x eshell (setq pcomplete-ignore-case t) Description: Under some circumstances, completion of paths starting with "~" leads to "~" being expanded to the full path and overwriting the previous text. Example: suppose I wanted to copy the directory ~/Documents/some_directory/ to my ~/Downloads/ folder. I type cp -r ~/doc and it correctly expands to cp -r ~/Documents/ However, when I continue with cp -r ~/Documents/my_directory ~/dow it expands to cp -r ~/Docume/home/username/Downloads/ It seems related to this bug: https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-11/msg00878.html In GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.7)  of 2019-04-17 built on localhost Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description:    Manjaro Linux Configured using:  'configure  CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash  SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash  --prefix=/gnu/store/b38pn0gnj4jsrf79lg4kr80rn5kaim0q-emacs-26.2  --enable-fast-install --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS Memory information: ((conses 16 820281 36352)  (symbols 48 72804 17)  (miscs 40 147 163)  (strings 32 218249 11988)  (string-bytes 1 6827776)  (vectors 16 118557)  (vector-slots 8 1948506 26962)  (floats 8 610 381)  (intervals 56 640 0)  (buffers 992 13)) Best regards, Dario --------------5213192A3F4E47EBD0746F4E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Dear all,


I am experiencing a strange behaviour of eshell on emacs 26.2:


Steps to reproduce:

emacs -Q
M-x eshell
(setq pcomplete-ignore-case t)


Description:

Under some circumstances, completion of paths starting with "~" leads to "~" being expanded to the full path and overwriting the previous text.

Example: suppose I wanted to copy the directory ~/Documents/some_directory/ to my ~/Downloads/ folder. I type

cp -r ~/doc<TAB>

and it correctly expands to 

cp -r ~/Documents/
However, when I continue with
cp -r ~/Documents/my_directory ~/dow<TAB>

it expands to

cp -r ~/Docume/home/username/Downloads/


It seems related to this bug: https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-11/msg00878.html


In GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.7)
 of 2019-04-17 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description:    Manjaro Linux

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash
 SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash
 --prefix=/gnu/store/b38pn0gnj4jsrf79lg4kr80rn5kaim0q-emacs-26.2
 --enable-fast-install --with-modules'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 XDBE XIM MODULES THREADS

Memory information:
((conses 16 820281 36352)
 (symbols 48 72804 17)
 (miscs 40 147 163)
 (strings 32 218249 11988)
 (string-bytes 1 6827776)
 (vectors 16 118557)
 (vector-slots 8 1948506 26962)
 (floats 8 610 381)
 (intervals 56 640 0)
 (buffers 992 13))


Best regards,

Dario


    


--------------5213192A3F4E47EBD0746F4E--