unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4596: file completion in *shell*
@ 2009-09-30  8:37 A. Soare
  2009-10-01 12:15 ` Kevin Rodgers
  2009-10-06  7:15 ` Glenn Morris
  0 siblings, 2 replies; 5+ messages in thread
From: A. Soare @ 2009-09-30  8:37 UTC (permalink / raw)
  To: Emacs   Pretest-Bug  [emacs-pretest-bug]


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/ 








^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4596: file completion in *shell*
  2009-09-30  8:37 bug#4596: file completion in *shell* A. Soare
@ 2009-10-01 12:15 ` Kevin Rodgers
  2009-10-06  7:15 ` Glenn Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2009-10-01 12:15 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: bug-gnu-emacs

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4596: file completion in *shell*
  2009-09-30  8:37 bug#4596: file completion in *shell* A. Soare
  2009-10-01 12:15 ` Kevin Rodgers
@ 2009-10-06  7:15 ` Glenn Morris
  2009-10-06  7:20   ` Processed: " Emacs bug Tracking System
  2011-09-18  8:47   ` Lars Magne Ingebrigtsen
  1 sibling, 2 replies; 5+ messages in thread
From: Glenn Morris @ 2009-10-06  7:15 UTC (permalink / raw)
  To: alinsoar; +Cc: 4596

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Processed: Re: bug#4596: file completion in *shell*
  2009-10-06  7:15 ` Glenn Morris
@ 2009-10-06  7:20   ` Emacs bug Tracking System
  2011-09-18  8:47   ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-10-06  7:20 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs

Processing commands for control@emacsbugs.donarmstrong.com:

> tags 4596 moreinfo
Bug #4596 [emacs] file completion in *shell*
Added tag(s) moreinfo.
> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4596: file completion in *shell*
  2009-10-06  7:15 ` Glenn Morris
  2009-10-06  7:20   ` Processed: " Emacs bug Tracking System
@ 2011-09-18  8:47   ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-18  8:47 UTC (permalink / raw)
  To: Glenn Morris; +Cc: alinsoar, 4596

Glenn Morris <rgm@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/





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-18  8:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30  8:37 bug#4596: file completion in *shell* A. Soare
2009-10-01 12:15 ` Kevin Rodgers
2009-10-06  7:15 ` Glenn Morris
2009-10-06  7:20   ` Processed: " Emacs bug Tracking System
2011-09-18  8:47   ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).