Mouse interface to M-.
Bob Rogers <[email protected]>
| Newsgroups | gmane.lisp.ilisp.devel |
|---|---|
| Message-ID | <[email protected]> |
I have just committed a patch that includes a mouse interface to a generalized M-., plus changes to compile and load this along with ilisp. Depending upon what you click (and various internal switches), you can invoke find-file, dired, ange-ftp, find-tag, your favorite WWW browser (via the browse-url package), and (of course) the ilisp and eli M-. Lisp definition finders. The only thing lacking is a mouse binding, which I haven't yet supplied because of the following issues: 1. The traditional binding is Meta-Left, but (a) Emacs by default uses this to manipulate the secondary selection, and (b) some window managers usurp this gesture anyway, so putting it there doesn't help unless users are willing to tweak their WM. At the very least, the choice of gesture needs to be customizable, so the real question is: What gesture should we use as the default? 2. I don't currently have XEmacs available, but I know that at the very least, the syntax for describing mouse gestures is different. Would somebody please research what should be done for XEmacs? I haven't yet updated the documentation, but will do so when these issues are settled. (Suggestions and/or contributions welcome.) Thanks, -- Bob Rogers P.S. In order to play with this code, a comment at the top of the new ilisp-mouse.el file tells you how to put it on a mouse gesture (in FSF emacs anyway; xemacs will need something like [(meta button1)]). ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com