GNU bug report logs - #35732
eshell case-insensitive completion

Previous Next

Package: emacs;

Reported by: Dario Klingenberg <dario.klingenberg <at> gmail.com>

Date: Tue, 14 May 2019 17:04:01 UTC

Severity: normal

Tags: fixed

Found in version 26.2

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35732 in the body.
You can then email your comments to 35732 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35732; Package emacs. (Tue, 14 May 2019 17:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dario Klingenberg <dario.klingenberg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 May 2019 17:04:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dario Klingenberg <dario.klingenberg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: eshell case-insensitive completion
Date: Tue, 14 May 2019 18:16:56 +0200
[Message part 1 (text/plain, inline)]
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


[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35732; Package emacs. (Wed, 14 Aug 2019 15:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 35732 <at> debbugs.gnu.org (full text, mbox):

From: Alex Branham <alex.branham <at> gmail.com>
To: Dario Klingenberg <dario.klingenberg <at> gmail.com>
Cc: 35732 <at> debbugs.gnu.org
Subject: Re: bug#35732: eshell case-insensitive completion
Date: Wed, 14 Aug 2019 09:59:22 -0500
On Tue 14 May 2019 at 18:16, Dario Klingenberg <dario.klingenberg <at> gmail.com> wrote:

> Steps to reproduce:
>
> emacs -Q
> M-x eshell
> (setq pcomplete-ignore-case t)

I can't reproduce this, which isn't surprising since eshell moved away
from pcomplete. If no one else can reproduce, can we close this bug?

Thanks,
Alex




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35732; Package emacs. (Thu, 15 Aug 2019 22:32:01 GMT) Full text and rfc822 format available.

Message #11 received at 35732 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 35732 <at> debbugs.gnu.org, Dario Klingenberg <dario.klingenberg <at> gmail.com>
Subject: Re: bug#35732: eshell case-insensitive completion
Date: Thu, 15 Aug 2019 18:31:06 -0400
found 35732 26.2
tags 35732 fixed
close 35732 27.1
quit

Alex Branham <alex.branham <at> gmail.com> writes:

> On Tue 14 May 2019 at 18:16, Dario Klingenberg <dario.klingenberg <at> gmail.com> wrote:
>
>> Steps to reproduce:
>>
>> emacs -Q
>> M-x eshell
>> (setq pcomplete-ignore-case t)
>
> I can't reproduce this, which isn't surprising since eshell moved away
> from pcomplete. If no one else can reproduce, can we close this bug?

I can reproduce on emacs-26, but not on master, so I think it's safe to
call it fixed.




bug Marked as found in versions 26.2. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 15 Aug 2019 22:32:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 15 Aug 2019 22:32:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 35732 <at> debbugs.gnu.org and Dario Klingenberg <dario.klingenberg <at> gmail.com> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 15 Aug 2019 22:32:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Sep 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.