Chong Yidong writes: > David Kastrup writes: > >>> C-h k followed by mouse-1 on the overlay, display string, or text >>> propertized region all report the correct action for the given local >>> keymap. >> >> Uh, C-h k has extra code doing this sort of lookup. It does not rely >> on key-binding. > > It also works with (setq foo (read-key-sequence "")) > >> Do you have an idea why the stuff in read-key-sequence concerning >> mouse related maps appears so much more complicated? Or is it just >> me? Some complication, of course, is due to read-key-sequence >> having to _assemble_ a key sequence instead of merely looking it up. > > What you said. Well, it does not seem just as easy as that. I now can't start RefTeX anymore without getting the error: