bug-bash
[Top][All Lists]
Advanced

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

Re: dabbrev-expand behavior


From: Chet Ramey
Subject: Re: dabbrev-expand behavior
Date: Wed, 14 Jan 2009 21:47:40 -0500
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Dan Nicolaescu wrote:
> Hi,
> 
> Thanks for implementing dabbrev-expand in bash-4.0!
> 
> Unfortunately the behavior is not consistent with what dabbrev-expand
> does in Emacs (and tcsh), so it will be quite confusing for users to
> use.

Since the dabbrev-expand implementation combines existing mechanisms,
and fits into the bash completion framework, it will be consistent
with how bash completions behave.

That means that the possible completions will be generated the same
way as dynamic-complete-history; the possible completions will be
sorted and duplicates removed; and the completions will be displayed
as menu-complete does, which honors the setting of
show-all-if-ambiguous.

It might not be exactly the way emacs and tcsh do it, but it fits in
with how bash does things.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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