bug-bash
[Top][All Lists]
Advanced

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

Re: Tab completion misbehaves with newlines


From: Andreas Schwab
Subject: Re: Tab completion misbehaves with newlines
Date: Wed, 15 Jul 2015 18:44:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Greg Wooledge <wooledg@eeg.ccf.org> writes:

> I type:
>
> $ cat bad
>
> and press Tab twice.  (The first does nothing visible.)  This gives me
> two completion choices:
>
> bad        bad^Jfile
>
> If I press Ctrl-V Ctrl-J, the cursor moves to the next line.  At this
> point, further Tabbing (with or without characters) acts like a new
> completion rather than a continuation of the previous completion, as
> this bug report indicated.

You are inserting an unquoted whitespace, which ends the current word.
The only bug is that readline doesn't perform command completion on the
new line.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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