bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: don't require path hints for *shell*


From: Chong Yidong
Subject: Re: don't require path hints for *shell*
Date: Thu, 28 Feb 2008 16:41:36 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (gnu/linux)

address@hidden 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]