maxima mode keybinding complaint



Raymond Toy <toy@rtp.ericsson.se> writes:

> >>>>> "Jay" == Jay Belanger <belanger@truman.edu> writes:
> 
>     Jay> Some of the keybindings are left over from a previous package, where I
>     Jay> was running out of keystrokes to use.
>     Jay> Anyhow, I'd certainly be willing to change keybindings, if there are
>     Jay> no complaints.
>     Jay> Any complaints?  Any suggestions?
> 
> As a long-time user of XEmacs and the ilisp package (a great package
> BTW), I am partial to the keybindings there.

I'm not that familiar with ilisp, but I went through the manual
looking at the keybindings.  My thoughts are at the end of this
message. 

> (I wonder if ilisp with some modifications could support
> maxima-mode?)

I'm not sure what this means.  ilisp is for common lisp, and
apparently it takes some doing to get it going for lisp dialects like
scheme.  

Jay

I'm not really familiar with ilisp, so some of my comparisons may be
off.  But here's what I have.  Ideas?


Motion commands     Keybinding   Notes
---------------     ----------   -----
End of form         C-cC-e       This is bound to eval-defun in ilisp,
                                 which corresponds to send-form.  Use
                                 C-cC-e for send-form, and change this
                                 to M-e?

Beginning of form   C-cC-a       This is unbound in ilisp, but could
                                 be changed to M-a to match end of form.

Beginning of sexp   C-c(         This is bound to M-C-b in ilisp.
                                 Change to that?

End of sexp         C-c)         This is bound to M-C-e in ilisp.
                                 Change to that?


Process commands     Keybinding   Notes
----------------     ----------   -----
Send region          M-C-r        This is bound to C-cC-r in ilisp.
                                  Change to that?

Send buffer          M-C-b        There is no analogue in ilisp,
                                  change to C-cC-b to match C-cC-r?
                                  (C-cC-b is bound to "switch to lisp
                                  buffer"   in ilisp, which has no
                                  analogue in maxima mode.)

Send line            M-C-l        There is no analogue in ilisp.  
                                  C-cC-l is bound to "load lisp file"
                                  in ilisp, for which there is no
                                  analogue here.  Change to that?

Send form            M-C-f        C-cC-e is eval-defun in ilisp, this
                                  seems to correspond to that.  Change
                                  to that?

Send line, as well  C-RET         There is no analogue in ilisp.  C-RET
as any nearby lines               is unbound in ilisp.  Keep?
needed to complete
form.  Go to next
form.

Send region, as well M-RET        There is no analogue in ilisp.  M-RET
as any nearby lines               is bound to some completion command
needed to complete                in ilisp that isn't part of ilisp.
form.  Go to next                 Keep?
form.

Kill Maxima.         M-C-k        There is no analogue in ilisp.  This
                                  binding could be removed, and any cleanup
                                  could be done when the buffer is
                                  killed.

Completion commands     Keybinding   Notes
-------------------     ----------   -----
complete symbol         M-TAB        This corresponds with ilisp.
(present a buffer
with completions)

dynamic complete        C-TAB        C-TAB is bury buffer.  Perhaps
(cycle through                       another binding is in order.
completions)                         Suggestions?  


Commenting commands     Keybinding   Notes
-------------------     ----------   -----
comment region          C-cC-c       This is bound to C-c; in ilisp.    
                                     Change to that?

insert long comment     C-c;         This would have to change.
/*                                   Change to C-c/?
  like this.
*/

insert short comment    C-c:         The colon was so it would go
/* like this */                      nicely with the semicolon for 
                                     the long comment.  Change to C-c*?

Indentation commands     Keybinding   Notes
--------------------     ----------   -----
Indent form              M-C-q        This corresponds with ilisp.


Documentation commands     Keybinding   Notes
----------------------     ----------   -----
(These are also available in inferior-maxima-mode, and the changes
would be made there, also.)

describe                    C-cC-h      Documentation in ilisp is
                                        available through C-cC-d.
                                        Change to that?

Read manual                 C-cC-i      The i was for info manual.
                                        Change to C-cC-m?  (Which
                                        is unbound in ilisp?)
        
Completion help             f12         This is somewhat analogous to
(describe functions                     describe-lisp or documentation-lisp, 
which begin with word                   which are bound to C-cC-i and C-cC-f
at point)                               in ilisp.  Change?

Apropos help                M-f12       Keep?  Change to C-cC-a?
(describe functions
which contain word
at point)

Miscellaneous commands     Keybinding   Notes
----------------------     ----------   -----
Mark form                  C-cC-f       No analogue in ilisp. Suggestions?

Check parentheses          C-cC-p       This is somewhat analogous to 
                                        find-unbalanced-lisp in ilisp,
                                        which is bound to C-c).
                                        Change to that?  
                                        (Note that
                                        find-unbalanced-lisp checks
                                        the buffer by default, and the
                                        region if given an argument.
                                        check parentheses here checks
                                        the region by default.  This
                                        could be changed.)

Check form for             C-cC-g       No analogue in ilisp.  Suggestions?
parentheses

Start process/             M-C-p        No analogue in ilisp.  Suggestions?
display process 
buffer