From unknown Wed Jun 18 23:05:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15385 <15385@debbugs.gnu.org> To: bug#15385 <15385@debbugs.gnu.org> Subject: Status: [Eshell] Directory completion overwrites preceding characters Reply-To: bug#15385 <15385@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:05:53 +0000 retitle 15385 [Eshell] Directory completion overwrites preceding characters reassign 15385 emacs submitter 15385 Joost Kremers severity 15385 normal tag 15385 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 15 10:12:25 2013 Received: (at submit) by debbugs.gnu.org; 15 Sep 2013 14:12:25 +0000 Received: from localhost ([127.0.0.1]:38609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VLD3o-00027l-Bn for submit@debbugs.gnu.org; Sun, 15 Sep 2013 10:12:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VLD3l-00027T-B3 for submit@debbugs.gnu.org; Sun, 15 Sep 2013 10:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLD3b-0001GN-2D for submit@debbugs.gnu.org; Sun, 15 Sep 2013 10:12:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLD3a-0001GF-UK for submit@debbugs.gnu.org; Sun, 15 Sep 2013 10:12:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLD3W-000416-0s for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2013 10:12:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLD3O-0001Ee-Tj for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2013 10:12:05 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLD3O-0001EJ-IB for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2013 10:11:58 -0400 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id AB22220929 for ; Sun, 15 Sep 2013 10:11:56 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sun, 15 Sep 2013 10:11:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=ghlLbfUp1Uvjs3ZwkCKCIS1/TVI=; b=LTCa9mg9kWr676/+U7OCa BBQNEv7buQjRaNsp7of6F2bTSA0QR9RilS9CzL1HyqVFy0jJQfwYIhhKE/PeCro6 q/QlhbBVg2b3iQTvRKHKRsDTgSUmTiqH4uQiSWk0oGomxolhNXGV6yFd3knDsz3K sUdbzAy8JyrY4WgQ9rWf4A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=ghlLbfUp1Uvjs3ZwkCKCIS 1/TVI=; b=RPTo88LTlD3JWB2Rj5DViLQeqniR0fpeqF6yFMx02NzSAr4vuhddLT 5vB+Mlr+cB/99R3Ppu/1QcA9DL8eWO9f6aNcs6xqGhCjrQdErx+l2D3QX+nmN459 muCVsCT8W7VpHY4yl/fQJeJCU3gaLK8XIxv7OAZj4K9sX0+hQ5ABQ= X-Sasl-enc: VFedhv8FfkNPmIKGJ6s7WNV+LiL+6I0Xw5SLL+R1RAED 1379254315 Received: from eeenterprise.messagingengine.com (unknown [77.8.31.156]) by mail.messagingengine.com (Postfix) with ESMTPA id 6391E6800C0 for ; Sun, 15 Sep 2013 10:11:55 -0400 (EDT) User-agent: mu4e 0.9.9.5; emacs 24.3.1 From: Joost Kremers To: bug-gnu-emacs@gnu.org Subject: [Eshell] Directory completion overwrites preceding characters Date: Sun, 15 Sep 2013 16:11:44 +0200 Message-ID: <87fvt6p42n.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.3 (----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': ============================== Starting from `emacs -Q', if I do (setq eshell-cmpl-ignore-case t) and then start up a shell, TAB completion behaves incorrectly under some conditions. Specifically, I type a command such as: $ cp ~/Dropbox/Work/Reading/Wilbur_Martinez2002.pdf ~/Dro At this point, I hit TAB to complete `~/Dro' and get: $ cp ~/Dropbox/Work/Reading/Wilbur_Martine/home/joost/Dropbox/ Note that the problem does *not* occur with the first file path. If I hit TAB to complete $ cp ~/Dro then completion produces the correct result: $ cp ~/Dropbox/ It seems the problem occurs when the file path is the second argument on the command line, because if I type: $ ls ~/Dropbox/Work/Literature/k/kim2002.pdf ~/dro and hit TAB to complete, the result is also: $ ls ~/Dropbox/Work/Literature/k/ki/home/joost/Dropbox/ It does not occur when there is a switch preceding the file path: $ ls -l ~/dro completes fine. Thanks, Joost Kremers ============================== If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-08-22 on chindi02, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11103000 System Description: elementary OS Luna Configured using: `configure '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: EShell Minor modes in effect: tooltip-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 Recent input: ( s e t q SPC c m e s h e l l - c m p l - i g n o r e - c a s e SPC t ) M-x e s h e l l c d SPC d r o D r o W o r R e c d SPC . . / R e a c p SPC W i l SPC ~ / D r o D r o C-x b C-x C-e C-x b d r o e x i t M-x e s h e l l c d SPC d r o r e a w o r r e a c p SPC w i l b ~ / r d r o c d c d SPC ~ / d r o w o M-x r e p o r Recent messages: Loading em-hist...done Loading em-ls...done Loading em-prompt...done Loading em-script...done Loading em-term...done Loading em-unix...done No completions of dro t No completions of /home/joost/dro No completions of Dropbox/rea Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec 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 pcomplete comint ansi-color em-term term disp-table easymenu ehelp electric em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias ring esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc help-fns esh-groups eshell esh-module esh-mode esh-util time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 21 00:06:25 2013 Received: (at 15385) by debbugs.gnu.org; 21 Sep 2013 04:06:25 +0000 Received: from localhost ([127.0.0.1]:52413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNESe-00037q-OX for submit@debbugs.gnu.org; Sat, 21 Sep 2013 00:06:25 -0400 Received: from goat.amuri.net ([203.99.132.195]:59707) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNESb-00037e-2w for 15385@debbugs.gnu.org; Sat, 21 Sep 2013 00:06:22 -0400 Received: from dimension8.tehua.net (unknown [49.143.231.163]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aidalgol@amuri.net) by goat.amuri.net (Postfix) with ESMTPSA id 2ABE0FF389; Sat, 21 Sep 2013 16:08:07 +1200 (NZST) From: Aidan Gauland To: 15385@debbugs.gnu.org Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters References: Date: Sat, 21 Sep 2013 16:06:10 +1200 In-Reply-To: (Joost Kremers's message of "Sun, 15 Sep 2013 16:11:44 +0200") Message-ID: <87d2o2ddjh.fsf@dimension8.tehua.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15385 Cc: Joost Kremers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (+) The bug seems to be in pcomplete, line 1140 of pcomplete.el, to be exact: (delete-char (- (length (comint-quote-filename stub)))) `comint-quote-filename' is given a relative path, "~/Dro", and returning an absolute path, "/home/joost/Dropbox/". The length of this is then passed to `delete-char' to clear the argument being completed, but the length is wrong when it's a relative path, because `comint-quote-filename' seems to always return an absolute path. I'm not sure how to fix this without breaking something else or leaving out other special cases, such as ${FOO}tm[TAB], because I still don't really understand how pcomplete works. I still want to sit down with pcomplete for a while and document it (it was left undocumented along with Eshell, of which it was originally a component), so unless someone else can come up with a good fix, this bug will have to remain outstanding for a while, unfortunately. --Aidan Joost Kremers writes: > Starting from `emacs -Q', if I do > > (setq eshell-cmpl-ignore-case t) > > and then start up a shell, TAB completion behaves incorrectly under some > conditions. > > Specifically, I type a command such as: > > $ cp ~/Dropbox/Work/Reading/Wilbur_Martinez2002.pdf ~/Dro > > At this point, I hit TAB to complete `~/Dro' and get: > > $ cp ~/Dropbox/Work/Reading/Wilbur_Martine/home/joost/Dropbox/ > > Note that the problem does *not* occur with the first file path. If I > hit TAB to complete > > $ cp ~/Dro > > then completion produces the correct result: > > $ cp ~/Dropbox/ > > It seems the problem occurs when the file path is the second argument on > the command line, because if I type: > > $ ls ~/Dropbox/Work/Literature/k/kim2002.pdf ~/dro > > and hit TAB to complete, the result is also: > > $ ls ~/Dropbox/Work/Literature/k/ki/home/joost/Dropbox/ > > It does not occur when there is a switch preceding the file path: > > $ ls -l ~/dro > > completes fine. > > Thanks, > > Joost Kremers From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 21 07:30:18 2013 Received: (at submit) by debbugs.gnu.org; 21 Sep 2013 11:30:18 +0000 Received: from localhost ([127.0.0.1]:53008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNLOD-0005g3-Qv for submit@debbugs.gnu.org; Sat, 21 Sep 2013 07:30:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42279) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNLOC-0005Wz-1V for submit@debbugs.gnu.org; Sat, 21 Sep 2013 07:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNLO1-0000wf-6S for submit@debbugs.gnu.org; Sat, 21 Sep 2013 07:30:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNLO1-0000wW-3w for submit@debbugs.gnu.org; Sat, 21 Sep 2013 07:30:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNLNv-000631-Nx for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2013 07:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNLNq-0000dc-D7 for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2013 07:29:59 -0400 Received: from plane.gmane.org ([80.91.229.3]:46085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNLNq-0000dP-6S for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2013 07:29:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VNLNp-0001YT-2L for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2013 13:29:53 +0200 Received: from 37.160.103.179 ([37.160.103.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Sep 2013 13:29:53 +0200 Received: from thierry.volpiatto by 37.160.103.179 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Sep 2013 13:29:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters Date: Sat, 21 Sep 2013 13:29:38 +0200 Organization: Emacs Helm Lines: 18 Message-ID: <8761tu5s65.fsf@gmail.com> References: <87d2o2ddjh.fsf@dimension8.tehua.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 37.160.103.179 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:QRzpvrD2Cree48tfHg+e7ivV6HQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (-) Aidan Gauland writes: > The bug seems to be in pcomplete, line 1140 of pcomplete.el, to be > exact: > > (delete-char (- (length (comint-quote-filename stub)))) With helm completion enabled, this bug is not reproductible, if that help you can look at the code here: https://github.com/emacs-helm/helm/blob/master/helm-eshell.el How to enable helm completion in eshell: https://github.com/emacs-helm/helm/wiki#wiki-helmeshellcompletion -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 21 10:42:59 2013 Received: (at 15385) by debbugs.gnu.org; 21 Sep 2013 14:42:59 +0000 Received: from localhost ([127.0.0.1]:53681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNOOh-0002Y0-2a for submit@debbugs.gnu.org; Sat, 21 Sep 2013 10:42:59 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41402) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNOOc-0002Xm-8g for 15385@debbugs.gnu.org; Sat, 21 Sep 2013 10:42:55 -0400 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 4AA9C21913; Sat, 21 Sep 2013 10:42:51 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 21 Sep 2013 10:42:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=mesmtp; bh=95Iwr2lxRfjuFf99ygyBBXW xsu4=; b=MhYamiP+ZqM6u51PW92F+ITCpAaJWGF6IH2QVYcat2IxUCJDnKjRYca pFg4p9ivzM5G56HmJbRepi89B4SFaJs9eMFU/3H+Syj+qy6mgPGhWSF7Y8qnX1ZN 1TMzHqaXfdXFSG9Vv5bkuihpiFXC0/fvnETqQD4/Z2GgczDHciNI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=references:from:to:cc:subject:in-reply-to :date:message-id:mime-version:content-type; s=smtpout; bh=95Iwr2 lxRfjuFf99ygyBBXWxsu4=; b=Kj4X1/ghynK9NNcYUZtjtQK434DxiVTWDugF5w YhUbUxyxummYPRevtGzJaEWyWzvdCdXLcroKudDof5f4xeRTEo93uKXw8w9XoFUD /8Z+SJ3+LxrPCskIBsKV64uMaKgoAeUWoybO5hYDkEYFPvOg3rUaJp4sSteP63FO S2IQs= X-Sasl-enc: Qmxx1LJqX2AlaEtwedqQri/MypOx3DwFg1k+we5wDuQk 1379774570 Received: from eeenterprise.messagingengine.com (unknown [93.130.87.139]) by mail.messagingengine.com (Postfix) with ESMTPA id A34A4680198; Sat, 21 Sep 2013 10:42:50 -0400 (EDT) References: <87d2o2ddjh.fsf@dimension8.tehua.net> User-agent: mu4e 0.9.9.5; emacs 24.3.1 From: Joost Kremers To: Aidan Gauland Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters In-reply-to: <87d2o2ddjh.fsf@dimension8.tehua.net> Date: Sat, 21 Sep 2013 16:42:46 +0200 Message-ID: <87pps29qxl.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 15385 Cc: 15385@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) But that still does not explain why the problem only occurs with the second argument on the command line. The first argument is completed without any problem, and *without* expanding ~ to /home/joost. Joost On Sat, Sep 21 2013, aidalgol@no8wireless.co.nz wrote: > The bug seems to be in pcomplete, line 1140 of pcomplete.el, to be > exact: > > (delete-char (- (length (comint-quote-filename stub)))) > > `comint-quote-filename' is given a relative path, "~/Dro", and returning > an absolute path, "/home/joost/Dropbox/". The length of this is then > passed to `delete-char' to clear the argument being completed, but the > length is wrong when it's a relative path, because > `comint-quote-filename' seems to always return an absolute path. > > I'm not sure how to fix this without breaking something else or leaving > out other special cases, such as ${FOO}tm[TAB], because I still don't > really understand how pcomplete works. I still want to sit down with > pcomplete for a while and document it (it was left undocumented along > with Eshell, of which it was originally a component), so unless someone > else can come up with a good fix, this bug will have to remain > outstanding for a while, unfortunately. > > --Aidan > > Joost Kremers writes: > >> Starting from `emacs -Q', if I do >> >> (setq eshell-cmpl-ignore-case t) >> >> and then start up a shell, TAB completion behaves incorrectly under some >> conditions. >> >> Specifically, I type a command such as: >> >> $ cp ~/Dropbox/Work/Reading/Wilbur_Martinez2002.pdf ~/Dro >> >> At this point, I hit TAB to complete `~/Dro' and get: >> >> $ cp ~/Dropbox/Work/Reading/Wilbur_Martine/home/joost/Dropbox/ >> >> Note that the problem does *not* occur with the first file path. If I >> hit TAB to complete >> >> $ cp ~/Dro >> >> then completion produces the correct result: >> >> $ cp ~/Dropbox/ >> >> It seems the problem occurs when the file path is the second argument on >> the command line, because if I type: >> >> $ ls ~/Dropbox/Work/Literature/k/kim2002.pdf ~/dro >> >> and hit TAB to complete, the result is also: >> >> $ ls ~/Dropbox/Work/Literature/k/ki/home/joost/Dropbox/ >> >> It does not occur when there is a switch preceding the file path: >> >> $ ls -l ~/dro >> >> completes fine. >> >> Thanks, >> >> Joost Kremers -- Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 22 14:55:59 2013 Received: (at 15385) by debbugs.gnu.org; 22 Sep 2013 18:55:59 +0000 Received: from localhost ([127.0.0.1]:56185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNop5-00010U-3w for submit@debbugs.gnu.org; Sun, 22 Sep 2013 14:55:59 -0400 Received: from goat.amuri.net ([203.99.132.195]:48622) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNop2-00010K-Ng for 15385@debbugs.gnu.org; Sun, 22 Sep 2013 14:55:57 -0400 Received: from dimension8.tehua.net (unknown [49.143.231.163]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aidalgol@amuri.net) by goat.amuri.net (Postfix) with ESMTPSA id 6BB67FF842; Mon, 23 Sep 2013 06:57:46 +1200 (NZST) From: Aidan Gauland To: 15385@debbugs.gnu.org Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters References: <87d2o2ddjh.fsf@dimension8.tehua.net> Date: Mon, 23 Sep 2013 06:55:51 +1200 In-Reply-To: (Thierry Volpiatto's message of "Sat, 21 Sep 2013 13:29:38 +0200") Message-ID: <87zjr4bs94.fsf@dimension8.tehua.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15385 Cc: Thierry Volpiatto X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (+) Thierry Volpiatto writes: > Aidan Gauland writes: > >> The bug seems to be in pcomplete, line 1140 of pcomplete.el, to be >> exact: >> >> (delete-char (- (length (comint-quote-filename stub)))) > > With helm completion enabled, this bug is not reproductible, if that > help you can look at the code here: > https://github.com/emacs-helm/helm/blob/master/helm-eshell.el > > How to enable helm completion in eshell: > https://github.com/emacs-helm/helm/wiki#wiki-helmeshellcompletion Oh great, this gets even weirder. Thanks for the info! From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 22 15:00:50 2013 Received: (at 15385) by debbugs.gnu.org; 22 Sep 2013 19:00:51 +0000 Received: from localhost ([127.0.0.1]:56193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNotm-00018W-0s for submit@debbugs.gnu.org; Sun, 22 Sep 2013 15:00:50 -0400 Received: from goat.amuri.net ([203.99.132.195]:48646) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNoth-00018M-Vk for 15385@debbugs.gnu.org; Sun, 22 Sep 2013 15:00:47 -0400 Received: from dimension8.tehua.net (unknown [49.143.231.163]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aidalgol@amuri.net) by goat.amuri.net (Postfix) with ESMTPSA id 28073FF842; Mon, 23 Sep 2013 07:02:33 +1200 (NZST) From: Aidan Gauland To: 15385@debbugs.gnu.org Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters References: <87d2o2ddjh.fsf@dimension8.tehua.net> Date: Mon, 23 Sep 2013 07:00:37 +1200 In-Reply-To: (Joost Kremers's message of "Sat, 21 Sep 2013 16:42:46 +0200") Message-ID: <87vc1sbs16.fsf@dimension8.tehua.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15385 Cc: Joost Kremers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (+) Joost Kremers writes: > But that still does not explain why the problem only occurs with the > second argument on the command line. The first argument is completed > without any problem, and *without* expanding ~ to /home/joost. You're right, it doesn't. I forgot to mention this in my last post. I'm not even sure whether this is pcomplete or the way eshell uses pcomplete. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 03 22:40:34 2021 Received: (at 15385) by debbugs.gnu.org; 4 Dec 2021 03:40:35 +0000 Received: from localhost ([127.0.0.1]:52638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLuc-0004zR-MR for submit@debbugs.gnu.org; Fri, 03 Dec 2021 22:40:34 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLub-0004zB-6R for 15385@debbugs.gnu.org; Fri, 03 Dec 2021 22:40:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DoO7udcr1duRJVNEt96dt6LwAR1o8zSjURjCPFlUSAw=; b=ard4ik/GZkHJVuLS1au55TzWoM KrxUA3ikxwYULsUASwf+SdmZMSMz2dXy9woIL/FeVYfLyFc/pgVbrFoyqxLzpEag4mq/lQmHIaKKU /0gmyTcO1kka4CeIeDPuxcdLBhotDK9ufbyYGk+oouM94/4C4EgQ/0cRPEmhKrYSBbTw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtLuS-00020g-JP; Sat, 04 Dec 2021 04:40:27 +0100 From: Lars Ingebrigtsen To: Joost Kremers Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters References: <87fvt6p42n.fsf@fastmail.fm> X-Now-Playing: Janis Joplin's _Pearl_: "A Woman Left Only" Date: Sat, 04 Dec 2021 04:40:23 +0100 In-Reply-To: <87fvt6p42n.fsf@fastmail.fm> (Joost Kremers's message of "Sun, 15 Sep 2013 16:11:44 +0200") Message-ID: <87sfv9qbq0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Joost Kremers writes: > Starting from `emacs -Q', if I do > > (setq eshell-cmpl-ignore-case t) > > and then start up a shell, TAB completion behaves incorrectly under some > conditions. > > Specifically, I type a command s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 15385 Cc: 15385@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 (---) Joost Kremers writes: > Starting from `emacs -Q', if I do > > (setq eshell-cmpl-ignore-case t) > > and then start up a shell, TAB completion behaves incorrectly under some > conditions. > > Specifically, I type a command such as: > > $ cp ~/Dropbox/Work/Reading/Wilbur_Martinez2002.pdf ~/Dro > > At this point, I hit TAB to complete `~/Dro' and get: > > $ cp ~/Dropbox/Work/Reading/Wilbur_Martine/home/joost/Dropbox/ (I'm going through old bug reports that unfortunately weren't resolved at the time.) I tried to reproduce this (now with that exact path, but something similar) in Emacs 29, and I was unable to -- it completed to the expected path. Are you still seeing this issue in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 03 22:40:39 2021 Received: (at control) by debbugs.gnu.org; 4 Dec 2021 03:40:39 +0000 Received: from localhost ([127.0.0.1]:52641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLug-0004zh-Uf for submit@debbugs.gnu.org; Fri, 03 Dec 2021 22:40:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLuf-0004zH-D9 for control@debbugs.gnu.org; Fri, 03 Dec 2021 22:40:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VHWBBHqhbNnkjNlK5T7e3DLlWHu+gVdsaWj4C7a7kqI=; b=PbrUGHS9OAFhodLJA99Cd0ia2B tphv6CGjNfzFdbMTcn8suktAy8cczcjOJlqpuUa3sculOIPKaTH/AiGOxO6tlGuMivPb+p9j00Uo2 hlzu4kIaCXQg0c88n0FjIaxyEW6bUGC3L0kKKnWWuFMqREDCeXuIJIP4WYwOTwFVV0S8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtLuX-00020n-Ih for control@debbugs.gnu.org; Sat, 04 Dec 2021 04:40:31 +0100 Date: Sat, 04 Dec 2021 04:40:29 +0100 Message-Id: <87r1atqbpu.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15385 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 15385 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 15385 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 17:05:59 2021 Received: (at 15385) by debbugs.gnu.org; 4 Dec 2021 22:05:59 +0000 Received: from localhost ([127.0.0.1]:55579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtdAN-0006B4-CQ for submit@debbugs.gnu.org; Sat, 04 Dec 2021 17:05:59 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:54815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtdAG-0006Ag-KX for 15385@debbugs.gnu.org; Sat, 04 Dec 2021 17:05:57 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0751C5C00A2; Sat, 4 Dec 2021 17:05:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 04 Dec 2021 17:05:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; s=fm1; bh=OJlUS7w6ODiYDsQyq7mfdzWgJd mYxnf1Xm113IWFqiA=; b=WMYjfQi3JXyFDFQerrWo+RjfOo4VV+WLG4FqXLw73U C8WVHQUTxyNlQH09P3K63X2wiSMXV2jOg9/fr+THjBHGPRhdmKTBLUF84XsgAzNF CML6SgCgt7YSfoGySfPlEka9ANUxuIyAi6EOFeP1QbNjJsRMme8xzX2SEjlglJ9o awDXvh0gneJHFcT4N8pFta4yzoXl44KhMHWUUfPjuX6xcCsVe+yE14ppfrB5ZwyW Pa4q6oEEzdrEZeulnCoKfQkcAXVqi2Lkym9hl336ToLNC4fS7iqZfbdKrl8QvuJM ot1ueT/vMBBYr982GgD2oBSe1gV8pFWW/CGtF3wP9Veg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=OJlUS7 w6ODiYDsQyq7mfdzWgJdmYxnf1Xm113IWFqiA=; b=cR3hBi7QDt4y1mte0GCND4 uKWxX7v2b9NjDSZRKcFPgrSSMx9cq+zz0jg4fo6K7Kzes1D7ys3wBUm80+lqU66j FyzDhpqWBcosR7NVIhJgGM1za6P056XXcwwnSwarJeq72jWAw/kSka9UkkaFoTYw u/Ti6UD5B1cdx3jipmQVMdVfp3iML6fDPOsDQwwUn07Cckow25bQ/O0IOb1ulXSs WZ595CYrb5pQvJIPtnPsQohPadtEGjSEImvrzMVy+8RtqPumtm0SpcVwbg90YapI AvUWqA3gQ2VA34u3JqQqxljfvvd27bFETkPcflylvT82SRHW4L+YZPwxCKAwTBOA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieelgdduheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpedviefhteeuveekudetheduieehvdelgfeijeehvdetfeeg leelhefhjeduieejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 4 Dec 2021 17:05:45 -0500 (EST) References: <87fvt6p42n.fsf@fastmail.fm> <87sfv9qbq0.fsf@gnus.org> User-agent: mu4e 1.6.9; emacs 28.0.90 From: Joost Kremers To: Lars Ingebrigtsen Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters Date: Sat, 04 Dec 2021 22:37:13 +0100 In-reply-to: <87sfv9qbq0.fsf@gnus.org> Message-ID: <87zgpg2fgq.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 15385 Cc: 15385@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 (-) On Sat, Dec 04 2021, Lars Ingebrigtsen wrote: > Joost Kremers writes: > >> Starting from `emacs -Q', if I do >> >> (setq eshell-cmpl-ignore-case t) >> >> and then start up a shell, TAB completion behaves incorrectly under some >> conditions. >> >> Specifically, I type a command such as: >> >> $ cp ~/Dropbox/Work/Reading/Wilbur_Martinez2002.pdf ~/Dro >> >> At this point, I hit TAB to complete `~/Dro' and get: >> >> $ cp ~/Dropbox/Work/Reading/Wilbur_Martine/home/joost/Dropbox/ > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > I tried to reproduce this (now with that exact path, but something > similar) in Emacs 29, and I was unable to -- it completed to the > expected path. > > Are you still seeing this issue in recent Emacs versions? I vaguely remember being disappointed that it hadn't been fixed in the first release after my bug report, but that would have been Emacs 25. I haven't seen this issue for a long time, probably since Emacs 26. I just installed the Emacs 28 pretest and I can't reproduce the issue either. So I think it's safe to close this bug. -- Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 17:14:33 2021 Received: (at 15385) by debbugs.gnu.org; 4 Dec 2021 22:14:33 +0000 Received: from localhost ([127.0.0.1]:55604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtdIf-0006Ot-Hy for submit@debbugs.gnu.org; Sat, 04 Dec 2021 17:14:33 -0500 Received: from quimby.gnus.org ([95.216.78.240]:42344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtdIe-0006Oc-Bn for 15385@debbugs.gnu.org; Sat, 04 Dec 2021 17:14:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=H9OCTX6Z/SvmwLViAMc9apyVn0rI0VL5qrRi0PKN5xU=; b=YNtC8/4zimc2yQouKFAjIurlz0 6yChndiNElrNN0W25vCsS6BFXcHu2w48Lbg3j8QIap7H+cP9mI4yKj7nJK5FTTczn0+7Is82+Cwiz 47OdFulwWWbdmpXvolsMoFVVHhhRVWo5iAvGg+dctAyu0xj9THTf5i8JZ5onVKxE3jFY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtdIV-00010n-So; Sat, 04 Dec 2021 23:14:26 +0100 From: Lars Ingebrigtsen To: Joost Kremers Subject: Re: bug#15385: [Eshell] Directory completion overwrites preceding characters References: <87fvt6p42n.fsf@fastmail.fm> <87sfv9qbq0.fsf@gnus.org> <87zgpg2fgq.fsf@fastmail.fm> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXNqF30y1yZe22+ yb5tiVZWXU////+Xfhi4AAAAAWJLR0QGYWa4fQAAAAd0SU1FB+UMBBU7FhJEYTUAAAG2SURBVDjL ddTBkuIgEAZgQL2TzAskbbhnEuc+YnPfytLv/yr7d0DLlCzRsuSDTkOTGNu1myngcdnDGIOvM8Po Bk+md866wbmhQu8AY0/aOiLnxgodoiCWN2j4wd8K60ezTVge63cTblsbHv+BJbdh4cTtGSyyrfdP oAnw0wDJgNCARQR2b2WVQC24oV/GT/gRCU24TYSrwvS+jIUCxbGUVpiv64rPOrhAFOK1rNwjc8pR 4sRESYFqKOJIQppNpEg0vSBynHTFQYgwCVwrOKWoqyotYv70hKzjRTdpS0yccoVQB2+230Q4p208 wp/vPifJKBUOpbHe1H5ytoDsgOsJ5u85M2NFbL013vpyg41snAGsMzpAtwPRYL7OJ+FQQPfKl35s 1fmROKQXdFGP+WmHi4T0m1kriHxJ4ygs8SZB77KDBeD8azFmXlIugH4kbCqsCpB0R7qasrYvRFrT oAtU0JubeT6VSNeLbjM7uds9q1fB8w37IXyW3+4Il0fSLeT9wL3DLBMCcd4LZY6vA03Tap85ytsY gO6XPcwrsD/2g30OrPGNcRrVemdf/fscM5hDK+8LlPUfuWmwd0aU4E4AAAAldEVYdGRhdGU6Y3Jl YXRlADIwMjEtMTItMDRUMjE6NTk6MjIrMDA6MDC6Vv/2AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIx LTEyLTA0VDIxOjU5OjIyKzAwOjAwywtHSgAAAABJRU5ErkJggg== X-Now-Playing: The Maytals's _This Is Reggae Music_: "Funky Kingston" Date: Sat, 04 Dec 2021 23:14:23 +0100 In-Reply-To: <87zgpg2fgq.fsf@fastmail.fm> (Joost Kremers's message of "Sat, 04 Dec 2021 22:37:13 +0100") Message-ID: <878rx0xbk0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Joost Kremers writes: > I vaguely remember being disappointed that it hadn't been fixed in the > first release after my bug report, but that would have been Emacs > 25. I haven't seen this issue for a long time, probably s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 15385 Cc: 15385@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 (---) Joost Kremers writes: > I vaguely remember being disappointed that it hadn't been fixed in the > first release after my bug report, but that would have been Emacs > 25. I haven't seen this issue for a long time, probably since Emacs > 26. I just installed the Emacs 28 pretest and I can't reproduce the > issue either. > > So I think it's safe to close this bug. Thanks for checking; closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 17:14:43 2021 Received: (at control) by debbugs.gnu.org; 4 Dec 2021 22:14:43 +0000 Received: from localhost ([127.0.0.1]:55607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtdIo-0006PE-RE for submit@debbugs.gnu.org; Sat, 04 Dec 2021 17:14:42 -0500 Received: from quimby.gnus.org ([95.216.78.240]:42358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtdIn-0006P3-QJ for control@debbugs.gnu.org; Sat, 04 Dec 2021 17:14:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=O6NjeviA9CNYs37CjErqwPLUSVnLzRzqxO6H9ORs3PM=; b=foQDsBUJg/CjrVmIZSxBpZy/V+ 2NO39LfZvNwMYzHVnYnnPkNB8qkNIVcVkc6Ptz3DuuPbTxuIbRvEuecoJTj7ekhEtu645hQTqbjXb 5936xEi/8O+PbnNTSIyTotNC0tqhQQZjAdFZPKeYomh8dGV9RRjj7+fVv291K4DMT7NY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtdIf-00010w-T4 for control@debbugs.gnu.org; Sat, 04 Dec 2021 23:14:36 +0100 Date: Sat, 04 Dec 2021 23:14:33 +0100 Message-Id: <877dckxbjq.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15385 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 15385 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 15385 quit From unknown Wed Jun 18 23:05:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Jan 2022 12:24:10 +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