GNU bug report logs -
#17453
Isearch doesn't work properly with Follow Mode.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Fri, 9 May 2014 22:50:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> (add-hook 'isearch-update-post-hook 'recenter)
>> (add-hook 'replace-update-post-hook 'recenter)
>
> First comment: this sort of thing will wreck Follow Mode, scrolling text
> in the current window rather than point moving forward to the next
> window.
I guess a lot of other customizations will wreck Follow Mode too.
>> How would you do the same without these hooks, using only post-command-hook?
>
> By putting #'recenter into `post-command-hook'? This should work for
> Isearch, and would work for Replace and Ispell if these two used the
> Emacs command loop.
This will call #'recenter on every command.
> I have indeed put *Choices* at the top of the RH window, to preserve
> sanity.
>
> I committed those changes, including changes to Ispell this afternoon. I
> think they're close to working fully.
Yes, pretty close.
This bug report was last modified 9 years and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.