[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous worki
From: |
Rishabh Dave |
Subject: |
Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected |
Date: |
Fri, 22 Jul 2016 22:26:31 +0530 |
On Thu, Jul 21, 2016 at 4:40 PM, Benno Schulenberg
<address@hidden> wrote:
>
> So... I'll accept M-G .. <Enter> highlighting its rabbit hole, but only
> if the user types exactly .. <Enter>, not anything else -- not ../, not
> ../., not ./.. nor ../../.., nothing. Only M-G dot dot Enter. This will
> allow the user to suppress the highlighting by typing dot dot slash, for
> example. And for multilevel jumps, there will be no highlighting.
>
> If you can live with that, please provide an adapted patch.
Okay... Patch is attached. It checks for ".." at the end of the path
given at prompt and checks if character just before "/.." is a ".",
"/" or "~" because unlike letters they have special meaning. eg.
normally in nano, path = "//.." leads to / and path = "~/.." leads to
"/home" and in both cases highlight is disturbed if we don't check for
them.
select-dotdot-only.patch
Description: Text Data
- [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Rishabh Dave, 2016/07/18
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Benno Schulenberg, 2016/07/20
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Rishabh Dave, 2016/07/20
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Benno Schulenberg, 2016/07/21
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected,
Rishabh Dave <=
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Benno Schulenberg, 2016/07/22
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Rishabh Dave, 2016/07/23
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Benno Schulenberg, 2016/07/23
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Rishabh Dave, 2016/07/24
- Re: [Nano-devel] [PATCH] browser: when using goto prompt, previous working directory remains unselected, Benno Schulenberg, 2016/07/24