Since there seems to be an interest in isearch-mode.el right now, I'll ask
a question I asked a long time ago - anybody know why using history with
isearch is broken? For example, try this:
run xemacs -q
clear scratch buffer with C-_
enter 'a b c a b c a b c <RET>'
isearch for a from beginning of buffer (M-< C-s a)
stop isearch, then isearch for b (M-< C-s b)
stop isearch, then isearch for c (M-< C-s c)
stop isearch, then isearch for c again, using M-p to recall it,
search for it twice, second time it starts looking for b instead
of c (M-< C-s M-p M-p M-p C-s C-s)
I've tried a couple of times (half-heartedly, I admit) to debug it, but
haven't had much success other than it looks like the search-ring and
search-ring-yank-pointer get out of sync at some point...
The vanilla Emacs 20.4 isearch.el doesn't suffer from this, I noted, but
they were enough different that it didn't really help me figure it out.
Anyone have any ideas?
Chuck
--
Charles K. Hines <chuck_hines(a)vnet.ibm.com> <hinesc(a)us.ibm.com>
IBM Logic Synthesis Developer [BooleDozer (TM)]
Martial Arts Instructor [Modern Arnis and Balintawak Escrima]
"Go back to sleep, Chuck. You're just havin' a nightmare
-- of course, we ARE still in Hell." (Gary Larson)
Show replies by date