[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Re: [Axiom-mail] [ANN] new version of axiom mode for e

From: Ralf Hemmecke
Subject: [Axiom-developer] Re: [Axiom-mail] [ANN] new version of axiom mode for emacs.
Date: Thu, 24 May 2007 12:54:02 +0200
User-agent: Thunderbird (X11/20070326)


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]