New feature added - search next opens invisible area
Hi Vegard, I have been tied for awhile that the 'n/N' commands are not able to open the folded text in org-mode, or not able to open the folded invisible souce code in C/C++ mode. Finally I added this feature so that if "search-invisible" is "open" the "n/N" commands will be able to open an invisible area when the match enters that area, at the same time re-close the previouly opened invisible area the match has just moved away from (provided that the subsequent 'n/N' is pressed within "vimpulse-flash-delay" and no "non-search" commands had been executed between the two "n/N" commands). I added this because I believe that Evil will have the same problem (if it hasn't been handled yet). Please find attached my patch file. Thanks, York
On 2011-06-23 19:59 +0200, York Zhao wrote:
Please find attached my patch file.
Thank you for the fix. I added it to Vimpulse in commit 06f4d49 and to Evil in commit 507eb1d. Now that I think about it, there was a discussion about this issue on vim-mode's EmacsWiki page a while ago, but I can't find it now. Frank? -- Vegard
Hi Vegard, The inconvenience thing of my previous fix is that if you don't want the previously invisible area to become permanently opened after the expiration of the `vimpulse-flash-delay', you have to keep pressing 'n/N' within the `vimpulse-flash-delay'. I think it is better that the area becomes permanently opened only when pressing a key other than 'n/N'. Please find attached my fix for this. Thank you, York On Fri, Jun 24, 2011 at 2:26 PM, Vegard Øye <[email protected]> wrote: On 2011-06-23 19:59 +0200, York Zhao wrote:
Please find attached my patch file.
Thank you for the fix. I added it to Vimpulse in commit 06f4d49 and to Evil in commit 507eb1d. Now that I think about it, there was a discussion about this issue on vim-mode's EmacsWiki page a while ago, but I can't find it now. Frank? -- Vegard _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
participants (2)
-
Vegard Øye -
York Zhao