One feature (?) of the default isearch that's extremely convenient is unprettifying prettify-symbols-mode symbols while in search. It seems that ctrlf does not do this while searching, regardless of the setting of prettify-symbols-unprettify-at-point.
For example, with ctrlf-mode disabled:
- Enter e.g.,
emacs-lisp-mode (or any other mode for which prettify-symbols-mode has some default symbols)
- Set
prettify-symbols-unprettify-at-point to some value that unprettifies things (e.g., 'right-edge)
M-x prettify-symbols-mode RET
- Type
(lambda ()). This should now show up as (λ ()).
C-r l (that is, isearch-backward for "l") now takes you back to the "l" in "lambda", but also unprettifies "λ" to "lambda".
With ctrlf-mode enabled, point 5 above works differently; pressing C-r l also takes you back to the "l" in "lambda", but does not unprettify "λ". This is only done after pressing RET, ending the search.
Some example screenshots:
I would take a stab at this myself, but I have absolutely now idea where to start; any tips?
One feature (?) of the default isearch that's extremely convenient is unprettifying
prettify-symbols-modesymbols while in search. It seems thatctrlfdoes not do this while searching, regardless of the setting ofprettify-symbols-unprettify-at-point.For example, with
ctrlf-modedisabled:emacs-lisp-mode(or any other mode for whichprettify-symbols-modehas some default symbols)prettify-symbols-unprettify-at-pointto some value that unprettifies things (e.g.,'right-edge)M-x prettify-symbols-mode RET(lambda ()). This should now show up as(λ ()).C-r l(that is,isearch-backwardfor "l") now takes you back to the "l" in "lambda", but also unprettifies "λ" to "lambda".With
ctrlf-modeenabled, point 5 above works differently; pressingC-r lalso takes you back to the "l" in "lambda", but does not unprettify "λ". This is only done after pressingRET, ending the search.Some example screenshots:
isearchctrlfI would take a stab at this myself, but I have absolutely now idea where to start; any tips?