[slime-devel] Re: comma shortcut doesn't work always

Helmut Eller e9626484 at stud3.tuwien.ac.at
Thu Apr 22 20:58:35 UTC 2004


Brian Downing <bdowning at lavos.net> writes:

> I'm not sure what you mean by a synthetic C-l event here, but I for one
> rebind C-l, making C-l C-l be recenter and opening up a lot of other
> useful bindings for me.  So if slime is going to be generating C-l (as
> opposed to recenter) automatically somehow it will probably screw me up.
> :-/

Yes your right. Do you see any problems with this:

(setq unread-command-events
      (append (listify-key-sequence 
	       (car (where-is-internal 'recenter
				       overriding-local-map nil nil)))
	      unread-command-events))

If 'recenter' isn't bound, no event is generated.  Or do you know a
nicer solution?





More information about the slime-devel mailing list