[Top][All Lists]

[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:00:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Rickard Norlander <address@hidden> writes:

>     First, run
>     mkdir folder;cd folder;echo $'#include<stdio.h>\nint
> main(){fopen("Hello\\nHenrik","w");}'>a.c;gcc a.c;./a.out

      $ touch $'Hello\nHenrik'

>     Now type
>     cat H
>     press tab. Result:
>     cat He
>     press tab twice. Two alternatives shown:
>     Hello   Henrik

What happens if you run "complete -r" first?


Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

reply via email to

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