From dbc66666f5374165b5cf4980af11d9647b15a755 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 19 Jul 2010 22:26:14 +0200 Subject: REPL: new doc bindings in tune with those in scheme buffers. --- README | 3 ++- doc/img/repl-menu.png | Bin 145164 -> 28491 bytes doc/repl.texi | 9 ++++++++- doc/web.texi | 1 + elisp/geiser-repl.el | 7 +++++-- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README b/README index d51b0cc..fcf5f4f 100644 --- a/README +++ b/README @@ -144,7 +144,8 @@ | C-c C-m, C-c m | Set current module | | C-c C-l, C-c l | Load scheme file | |----------------+----------------------------------------------------| - | C-c C-d, C-c d | See module documentation | + | C-c C-d C-d | See documentation for symbol at point | + | C-c C-d C-m | See documentation for module | | C-c C-a, C-c a | Toggle autodoc mode | |----------------+----------------------------------------------------| diff --git a/doc/img/repl-menu.png b/doc/img/repl-menu.png index 7d1dcbe..306552d 100644 Binary files a/doc/img/repl-menu.png and b/doc/img/repl-menu.png differ diff --git a/doc/repl.texi b/doc/repl.texi index dffd2a1..3541954 100644 --- a/doc/repl.texi +++ b/doc/repl.texi @@ -151,6 +151,13 @@ when the optional argument has a default value, it's represented by a list made up of its name and that value. When the argument is a keyword argument, its name is preceded by a colon. +If that's not enough documentation for you, @kbd{C-c C-d d} will open a +separate documentation buffer with help on the symbol at point. For some +implementations (e.g. Racket), this separate buffer will actually be a +web page displaying the corresponding page in the manual, while for +implementations supporting docstrings (e.g. (you guessed it) Guile) +it'll be a real Emacs buffer displaying that information. + If that's still not enough, Geiser can jump, via @kbd{M-.}, to the symbol's definition. A buffer with the corresponding file will pop up, with its point resting upon the identifier's defining form. When you're @@ -159,7 +166,7 @@ will see, these commands are also available in scheme buffers. Finally, Geiser can produce for you a list, classified by kind, of the identifiers exported by a given module: all you need to do is press -@kbd{C-c d}, and type or complete the desired module's name. +@kbd{C-c C-d m}, and type or complete the desired module's name. @image{img/repl-mod} diff --git a/doc/web.texi b/doc/web.texi index 0ae33a1..b09aae7 100644 --- a/doc/web.texi +++ b/doc/web.texi @@ -17,6 +17,7 @@ @end menu @html +