unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* don't require path hints for *shell*
@ 2008-01-08 17:11 jidanni
  2008-02-28 21:41 ` Chong Yidong
  2008-04-03  5:15 ` Chong Yidong
  0 siblings, 2 replies; 5+ messages in thread
From: jidanni @ 2008-01-08 17:11 UTC (permalink / raw)
  To: bug-gnu-emacs

Why do we have to give *shell* a hint (./) to get it to expand paths?
$ emacs -Q -f shell
c d SPC <tab> <tab> <tab> <tab> . / <tab>
Bash needs no hint. Act like bash as the default, please.
emacs-version "22.1.1"




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

* Re: don't require path hints for *shell*
  2008-01-08 17:11 don't require path hints for *shell* jidanni
@ 2008-02-28 21:41 ` Chong Yidong
  2008-04-03  5:15 ` Chong Yidong
  1 sibling, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2008-02-28 21:41 UTC (permalink / raw)
  To: bug-gnu-emacs

jidanni@jidanni.org writes:

> Why do we have to give *shell* a hint (./) to get it to expand paths?
> $ emacs -Q -f shell
> c d SPC <tab> <tab> <tab> <tab> . / <tab>
> Bash needs no hint. Act like bash as the default, please.
> emacs-version "22.1.1"

The following patch implements this behavior.  If no one objects, I'll
check it into the trunk shortly.

*** emacs/lisp/shell.el.~1.149.2.4.~	2008-01-10 10:25:37.000000000 -0500
--- emacs/lisp/shell.el	2008-02-28 16:34:30.000000000 -0500
***************
*** 191,197 ****
      shell-dynamic-complete-environment-variable
      shell-dynamic-complete-command
      shell-replace-by-expanded-directory
!     comint-dynamic-complete-filename)
    "List of functions called to perform completion.
  This variable is used to initialize `comint-dynamic-complete-functions' in the
  shell buffer.
--- 191,197 ----
      shell-dynamic-complete-environment-variable
      shell-dynamic-complete-command
      shell-replace-by-expanded-directory
!     comint-dynamic-complete-as-filename)
    "List of functions called to perform completion.
  This variable is used to initialize `comint-dynamic-complete-functions' in the
  shell buffer.





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

* Re: don't require path hints for *shell*
  2008-01-08 17:11 don't require path hints for *shell* jidanni
  2008-02-28 21:41 ` Chong Yidong
@ 2008-04-03  5:15 ` Chong Yidong
  2008-06-04 15:16   ` bug#361: " Stephen Berman
  1 sibling, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-04-03  5:15 UTC (permalink / raw)
  To: bug-gnu-emacs

jidanni@jidanni.org writes:

> Why do we have to give *shell* a hint (./) to get it to expand paths?
> $ emacs -Q -f shell
> c d SPC <tab> <tab> <tab> <tab> . / <tab>
> Bash needs no hint. Act like bash as the default, please.
> emacs-version "22.1.1"

I've just checked in a fix.  Thanks.





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

* bug#361: don't require path hints for *shell*
  2008-04-03  5:15 ` Chong Yidong
@ 2008-06-04 15:16   ` Stephen Berman
  2008-07-23 17:35     ` bug#361: marked as done (don't require path hints for *shell*) Emacs bug Tracking System
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Berman @ 2008-06-04 15:16 UTC (permalink / raw)
  To: bug-gnu-emacs

On Thu, 03 Apr 2008 01:15:56 -0400 Chong Yidong <cyd@stupidchicken.com> wrote:

> jidanni@jidanni.org writes:
>
>> Why do we have to give *shell* a hint (./) to get it to expand paths?
>> $ emacs -Q -f shell
>> c d SPC <tab> <tab> <tab> <tab> . / <tab>
>> Bash needs no hint. Act like bash as the default, please.
>> emacs-version "22.1.1"
>
> I've just checked in a fix.  Thanks.

This change breaks shell completion in $PWD, e.g.

~/steve/cvsroot/emacs> ./conf <TAB>

fails to complete to `./configure'.  It also breaks shell expansion of
absolute file names, see
<http://permalink.gmane.org/gmane.emacs.devel/97369>.

Steve Berman








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

* bug#361: marked as done (don't require path hints for *shell*)
  2008-06-04 15:16   ` bug#361: " Stephen Berman
@ 2008-07-23 17:35     ` Emacs bug Tracking System
  0 siblings, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2008-07-23 17:35 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]


Your message dated Wed, 23 Jul 2008 13:28:52 -0400
with message-id <87tzegwluz.fsf@stupidchicken.com>
and subject line Re: don't require path hints for *shell*
has caused the Emacs bug report #361,
regarding don't require path hints for *shell*
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
361: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=361
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3148 bytes --]

From: Stephen Berman <stephen.berman@gmx.net>
To: bug-gnu-emacs@gnu.org
Subject: Re: don't require path hints for *shell*
Date: Wed, 04 Jun 2008 17:16:36 +0200
Message-ID: <87abi1xmaz.fsf@escher.local.home>

On Thu, 03 Apr 2008 01:15:56 -0400 Chong Yidong <cyd@stupidchicken.com> wrote:

> jidanni@jidanni.org writes:
>
>> Why do we have to give *shell* a hint (./) to get it to expand paths?
>> $ emacs -Q -f shell
>> c d SPC <tab> <tab> <tab> <tab> . / <tab>
>> Bash needs no hint. Act like bash as the default, please.
>> emacs-version "22.1.1"
>
> I've just checked in a fix.  Thanks.

This change breaks shell completion in $PWD, e.g.

~/steve/cvsroot/emacs> ./conf <TAB>

fails to complete to `./configure'.  It also breaks shell expansion of
absolute file names, see
<http://permalink.gmane.org/gmane.emacs.devel/97369>.

Steve Berman





[-- Attachment #3: Type: message/rfc822, Size: 1111 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: 361-done@emacsbugs.donarmstrong.com
Subject: Re: don't require path hints for *shell*
Date: Wed, 23 Jul 2008 13:28:52 -0400
Message-ID: <87tzegwluz.fsf@stupidchicken.com>

> This change breaks shell completion in $PWD, e.g.
>
> ~/steve/cvsroot/emacs> ./conf <TAB>
>
> fails to complete to `./configure'.  It also breaks shell expansion of
> absolute file names

Fixed.  Sorry for the delay.


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

end of thread, other threads:[~2008-07-23 17:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08 17:11 don't require path hints for *shell* jidanni
2008-02-28 21:41 ` Chong Yidong
2008-04-03  5:15 ` Chong Yidong
2008-06-04 15:16   ` bug#361: " Stephen Berman
2008-07-23 17:35     ` bug#361: marked as done (don't require path hints for *shell*) Emacs bug Tracking System

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).