GNU bug report logs - #4596
file completion in *shell*

Previous Next

Package: emacs;

Reported by: alinsoar <at> voila.fr

Date: Wed, 30 Sep 2009 08:45:04 UTC

Severity: normal

Tags: moreinfo

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

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 4596 in the body.
You can then email your comments to 4596 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4596; Package emacs. (Wed, 30 Sep 2009 08:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to alinsoar <at> voila.fr:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 30 Sep 2009 08:45:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "A. Soare" <alinsoar <at> voila.fr>
To: "Emacs   Pretest-Bug  [emacs-pretest-bug]" <emacs-pretest-bug <at> gnu.org>
Subject: file completion in *shell*
Date: Wed, 30 Sep 2009 10:37:35 +0200 (CEST)
I report again a bug that repeated to me many times;

I have a shell opened , and even if I am in the directory /x/y/z, when I press <TAB>, it expands the completion from the directory "X", not from Z, as expected.

To me TAB executes so:

TAB (translated from <tab>) runs the command comint-dynamic-complete

Inside comint-dynamic-complete, one executes the hook comint-dynamic-complete-functions, which are

(comint-replace-by-expanded-history comint-dynamic-complete-filename)

I will keep the session opened, and maybe somebody tells me what to report more than that.





____________________________________________________

Retour sur un week-end chargé en exploits sur http://sports.voila.fr/ 






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4596; Package emacs. (Thu, 01 Oct 2009 12:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Rodgers <kevin.d.rodgers <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 01 Oct 2009 12:25:05 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4596: file completion in *shell*
Date: Thu, 01 Oct 2009 06:15:31 -0600
A. Soare wrote:
> I report again a bug that repeated to me many times;
> 
> I have a shell opened , and even if I am in the directory /x/y/z, when I press <TAB>, it expands the completion from the directory "X", not from Z, as expected.
> 
> To me TAB executes so:
> 
> TAB (translated from <tab>) runs the command comint-dynamic-complete
> 
> Inside comint-dynamic-complete, one executes the hook comint-dynamic-complete-functions, which are
> 
> (comint-replace-by-expanded-history comint-dynamic-complete-filename)
> 
> I will keep the session opened, and maybe somebody tells me what to report more than that.

C-h v default-directory

-- 
Kevin Rodgers
Denver, Colorado, USA




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4596; Package emacs. (Thu, 01 Oct 2009 12:35:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Rodgers <kevin.d.rodgers <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 01 Oct 2009 12:35:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4596; Package emacs. (Tue, 06 Oct 2009 07:20:26 GMT) Full text and rfc822 format available.

Message #18 received at 4596 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: alinsoar <at> voila.fr
Cc: 4596 <at> debbugs.gnu.org
Subject: Re: bug#4596: file completion in *shell*
Date: Tue, 06 Oct 2009 03:15:01 -0400
tags 4596 moreinfo
stop

"A. Soare" wrote:

> I have a shell opened , and even if I am in the directory /x/y/z,
> when I press <TAB>, it expands the completion from the directory
> "X", not from Z, as expected.

Emacs tries to keep track of which directory you are in, but it is
straightforward to confuse it. Eg:

emacs -Q -f shell
cd ~
alias foobar=cd
foobar /tmp

and Emacs will still think you are in ~/.

So we need to know what you did starting from emacs -Q to confuse it,
before we can say if it is something that can reasonably be fixed.



Added tag(s) moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 06 Oct 2009 07:20:43 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 4596 <at> debbugs.gnu.org and alinsoar <at> voila.fr Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 18 Sep 2011 08:57:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4596; Package emacs. (Sun, 18 Sep 2011 09:02:02 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: alinsoar <at> voila.fr, 4596 <at> debbugs.gnu.org
Subject: Re: bug#4596: file completion in *shell*
Date: Sun, 18 Sep 2011 10:47:55 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> So we need to know what you did starting from emacs -Q to confuse it,
> before we can say if it is something that can reasonably be fixed.

More information was requested more than a year ago, but was apparently
not given, so I'm closing this bug report.  If the bug still exists,
please reopen the report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Oct 2011 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 252 days ago.

Previous Next


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