Isearch sets its keymap at the front of the minor mode map alist in
order to take precedence over all other keymaps. Historically, it was
good enough, but it is not good enough with extents' `keymap'
property. Repeat the observed bug with the following steps:
M-x about-xemacs RET
C-s hrvoje RET
So, we search for `hrvoje' in the About page, and press RET to
terminate the search. However, RET gets read by the extent's keymap,
and the link is followed besides the search being terminated. This is
wrong.
The same bug can be triggered in the latest Gnus, when you press `s'
to search the article, and then press the "wrong" key while over a
button.
Isearch should probably use overriding-local-map or something like
that, instead of kludgily hooking into minor mode maps. I'll try to
cons up a patch, but it may be non-trivial to fix without breaking
something else.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
The end of the world is coming... SAVE YOUR BUFFERS!
Show replies by date