Re: [ANN] new version of axiom mode for emacs.

Ralf Hemmecke <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.user,gmane.comp.mathematics.axiom.devel
Message-ID <[email protected]>
Hi,

Unfortunately, axiom.el is not usable in XEmacs. Here is a translation 
of the offending key definition. The definitions given below are 
compatible between Emacs and XEmacs.

(define-key axiom-mode-map [(meta up)] 'axiom-previous-input)
(define-key axiom-mode-map [(meta down)] 'axiom-next-input)

(define-key axiom-mode-map [(shift up)] 'axiom-paint-previous-line)
(define-key axiom-mode-map [(shift down)] 'axiom-paint-next-line)
(define-key axiom-mode-map [(shift left)] 'axiom-paint-previous-char)
(define-key axiom-mode-map [(shift right)] 'axiom-paint-next-char)

But there is more...

When I start M-x axiom from within XEmacs, I see

(1) ->  ^M(1) ->

And if I type the famous 1+1 then my cursor jumps right on the ^ of the 
above given line and my status line says:

cannot support overlay 'modification-hooks property under XEmacs

So XEmacs users are left out with your mode. :-(

On 05/23/2007 03:35 PM, Martin Rubey wrote:
> * it would be extremely nice to have command tab-completion, as when starting
>   axiom in a shell.  (The polymake team would like to have this, for example.)
>   Anybody knows how to go about this?

A simple and stupid way is, to extract (by hand) all relevant Axiom 
identifiers and put them into axiom.el then write a routine to use this 
list. Of course that is not good if somebody changes the axiom library, 
but until then it might serve quite well.

Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.