[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] tab completion in the browser
From: |
Rishabh Dave |
Subject: |
Re: [Nano-devel] tab completion in the browser |
Date: |
Fri, 29 Apr 2016 18:25:45 +0530 |
On Thu, Apr 28, 2016 at 5:19 PM, Benno Schulenberg
<address@hidden> wrote:
>
>
> It seems that present_path needs to be concatenated with buf
> before cwd_tab_completion() is called.
>
Ohk... That means every buf passed to cwd_tab_completion should
contain absolute path. But won't editing the buf would make scenario
more complicated? It is used a lot for first: we display buf at
prompt. Thus, tabbing would change prompt's content. (This did happen
to me.)
We could also make path absolute for is_dir and then trim it again. I
guess, not a very clean idea but much less complicated.
I have applied this method and tested it. It works.
special-arrangement-for-is_dir.patch
Description: Text Data
- [Nano-devel] tab completion in the browser, Rishabh Dave, 2016/04/23
- Re: [Nano-devel] tab completion in the browser, Benno Schulenberg, 2016/04/23
- Re: [Nano-devel] tab completion in the browser, Rishabh Dave, 2016/04/24
- Re: [Nano-devel] tab completion in the browser, Benno Schulenberg, 2016/04/25
- Re: [Nano-devel] tab completion in the browser, Rishabh Dave, 2016/04/26
- Re: [Nano-devel] tab completion in the browser, Benno Schulenberg, 2016/04/26
- Re: [Nano-devel] tab completion in the browser, Rishabh Dave, 2016/04/27
- Re: [Nano-devel] tab completion in the browser, Benno Schulenberg, 2016/04/28
- Re: [Nano-devel] tab completion in the browser,
Rishabh Dave <=
- Re: [Nano-devel] tab completion in the browser, Benno Schulenberg, 2016/04/30