[Top][All Lists]

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

[Nano-devel] [PATCH] Incremental search: a new hope.

From: Marco Diego Aurélio Mesquita
Subject: [Nano-devel] [PATCH] Incremental search: a new hope.
Date: Sat, 14 Jul 2018 16:00:00 -0300

Hi Devs!

The attached patch implements incremental search for nano.

Differences from last version sent are:
 - code has been cleaned up,
 - prompt is set to errorcolor if text can't be found and
 - it has been updated to current master.

Last remaining complaints were that it did not worked when text was
pasted and the loss of functionality of pressing enter on an empty
prompt to redo last search. This first issue was fixed. The second one
I don't think should be fixed for the following reasons: it will work
just as before if "incremental" is not set in nanorc, it will also
work as before if doing a non-incremental search, there are other ways
to redo a search (M-W, M-arrow_up or M-arrow_down) and Benno said that
enter on an empty incremental search prompt makes no sense.

Please review it.

Attachment: 0001-Implement-incremental-search.patch
Description: Text Data

reply via email to

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