[Top][All Lists]

[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: Wed, 20 Jul 2016 21:04:18 +0530

On Wed, Jul 20, 2016 at 4:01 PM, Benno Schulenberg
<address@hidden> wrote:
> On Mon, Jul 18, 2016, at 20:00, Rishabh Dave wrote:
>> Attached patch solves the bug - when using goto prompt, previous
>> working directory remains unselected. Link to it -
>> While using prompt, we can jump to not only parent but also to
>> grandparent or great-grandparent directories or even more until to the
>> root. So, I have added some more code to handle that.
> Hm.  So when I'm in /home/user/folder  and I type in nano ^R ^T
> followed by M-G ../../.. <Enter>, it jumps to the root directory and
> highlights "home   (dir)" to indicate that that is where I came from?
> Okay.  But what if I then press <Enter>?  It doesn't highlight
> "user   (dir)" to give me an easy way to retrace my steps.  So the
> usefulness of highlighting the originating dir after a jump is limited.
> Also, if instead of M-G ../../.. <Enter> I do M-G / <Enter>, the dir
> that I came from is *not* highlighted.  This makes this highlighting
> even less useful.  And worse, if instead of M-G .. <Enter> I do M-G
> /home/user, the "folder   (dir)" is not highlighted.  Hm.  If going to
> the parent dir should highlight the originating dir, it should do that
> always, in whatever manner we land there -- even when we type ^R .. ^T.
> So, seeing the various ways in which we can jump to a parent dir, I
> would say: let jumping behave differently from typing <Enter> on "..".
> If the user wants the originating dir to be highlighted, they should
> type M-\ <Enter>.  If they find this highlighting annoying, they can
> use M-G .. <Enter>.  So... I am inclined to mark the above bug as
> "wontfix".

Hmm... When we type ".." the mindset is - go to parent directory. But
when we are already at /home/user/folder and when we type /home/user/,
thought is going to directory user via /. Does *not* matter from where
we go, but it does matter how we write (thus the "mindset"). It
applies to me. I think I can generalize. If you feel the same (which
would validate my generalization) and if this justifies it, do

Umm... though this doesn't change the fact that cwd is parent
directory of previous working directory. So, if so called mindset
matters, you must reconsider. Otherwise: "wontfix".

reply via email to

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