nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [RFC] Improve nano's completion feature to use external


From: Marco Diego Aurélio Mesquita
Subject: Re: [Nano-devel] [RFC] Improve nano's completion feature to use external sources of completion
Date: Sun, 20 May 2018 16:37:33 -0300

On Sat, May 19, 2018 at 1:14 PM, Benno Schulenberg <address@hidden> wrote:
>
> Op 19-05-18 om 02:23 schreef Marco Diego Aurélio Mesquita:
>> On Fri, May 18, 2018 at 3:01 PM, Benno Schulenberg <address@hidden> wrote:
>>> Hm.  You want to run this grep every time the user types ^]?
>>> That seems like a waste of time, and leads to a repetitious
>>> reading of the same file.  Better just let nano read the
>>> relevant file into a special buffer and include that buffer
>>> in the completion search.
>>
>> I think details have been given in my answer to Brand. Please join the
>> discussion!
>
> WTF?  You send me to a different thread?  You want me to read all that
> stuff and figure out what part is the answer to my question?  Don't do
> that!  Answer *here*.
>

Sorry. Answering your question: the use of grep is just an example;
any external command will do. It can be something that keeps a
database to answer queries and doesn't need to grep anything at all,
like gnu global, cscope or any language server protocol. By using an
external command we keep nano simple and extensible. Please check the
patch attached to
http://lists.gnu.org/archive/html/nano-devel/2018-05/msg00073.html and
.nanorc in http://lists.gnu.org/archive/html/nano-devel/2018-05/msg00075.html
.



reply via email to

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