[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] ^W and ^\ behaves differently on BACKWARDS_SEARCH
From: |
Liu Hao |
Subject: |
[Nano-devel] ^W and ^\ behaves differently on BACKWARDS_SEARCH |
Date: |
Thu, 12 Apr 2018 19:38:11 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Dear developers,
I have noticed that now ^W always starts a forward search by calling the
`do_search_forward()` function in 'src/search.c', which clears the
`BACKWARDS_SEARCH` flag. This is, however, not the case on ^\, which
honors the current status of this flag, which could be altered
accidentally by ^Q or M-Up. Sometimes I get confused by the
'out-of-thin-air' backwards replacing flag.
I think the behavior of these function should match in this case, and
here is a patch for it.
--
Best regards,
LH_Mouse
0001-search-always-clear-the-backwards-flag-on-just-like-.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature
- [Nano-devel] ^W and ^\ behaves differently on BACKWARDS_SEARCH,
Liu Hao <=