R5RS in Info format in Emacs
Monday, November 3, 2003
When I'm working with Scheme code (or any code, actually) in Emacs, I prefer reading documenation in info over using a browser because:
- It is a lot faster to open an info document in Emacs than an html document in a browser.
- There are more options available for searching for things if they are in an emacs buffer.
(add-hook 'scheme-mode-hook (lambda () (define-key scheme-mode-map [f1] '(lambda () (interactive) (ignore-errors (let ((symbol (thing-at-point 'symbol))) (info "(r5rs)") (Info-index symbol)))))))This works well (and is very fast) for generic r5rs scheme code. However, r5rs.info is the "Scheme specification" documentation, not the "PLT Scheme implementation" documentation (which is both r5rs plus extensions). I would prefer to open one of the PLT Scheme language manuals at the appropriate place when I'm working with some PLT-specific code which I'm not familiar with. I know that Quack will open the appropriate html page in the PLT documentation for a keyword with "C-c C-q k" but it doesn't position to the correct place in the document (this appears to be a Windows-related bug as it jumps to the correct place when the code is called on a linux box). It's also (relatively) slow to open the browser each time I want to see a keyword definition.
It would be great to have access to the PLT documentation in info format.

