maxima-el: feature suggests



Leo <sdl.web at gmail.com> writes:
...
>>> 1. readonly input prompt.
>>
>> comint-mode, which inferior-maxima-mode is based on, has an option for
>> a readonly prompt.  The only reason inferior-maxima-mode doesn't use
>> it is because the option is off by default.  It'd be easy to turn this
>> on for maxima.
>
> Indeed. This can be easily customized.
>
> To enable it for just inferior-maxima-mode:
> (add-hook 'inferior-maxima-mode-hook
> 	  (lambda ()
> 	    (set (make-local-variable 'comint-prompt-read-only) t)))

Sure, but it also makes sense to have inferior-maxima-mode do it
automatically. 

>>> 2. Better help system.
...
> BTW, I just notice a few conflicting keybindings in maxima-el. For
> example, C-c C-h, in Emacs 22 and later, would provide the user a list
> of key-bindings that starts with C-c. Thus bind C-c C-h to something
> else is not a good idea. 

Oops; you're right.

> How about making all the bindings related to
> documentation start with C-c C-d such that
>
>     C-c C-d d -> maxima-describe
>     C-c C-d a -> maxima-apropos
>     C-c C-d h -> maxima-help
>            ......

> Albert Reiner <areiner at tph.tuwien.ac.at> writes:
...
> Those have the additional benefit of corresponding to some of SLIME's
> bindings:
...
> I'd assume that there is considerable overlap between the users of the
> Emacs Maxima modes and SLIME; and more than once was I surprised to
> get some prompt already after C-c C-d in some maxima mode.
> 
> BTW, with the exception of h, in SLIME you get the same with or
> without the C modifier for the last key, which seems quite handy to
> me.

Okay; unless anybody objects, I'll make the above changes.

Jay