[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help needed writing a mode for axiom
From: |
Martin Rubey |
Subject: |
Re: help needed writing a mode for axiom |
Date: |
26 May 2007 00:35:02 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Martin Rubey <axiomize@yahoo.de> writes:
> Martin Rubey <axiomize@yahoo.de> writes:
>
> > ; (put-text-property (1+ begin) end 'rear-non-sticky t)
> ^
> |
>
> got it. it's rear-nonsticky.
Hm, I was a little to euphoric. I am now using
(defun make-output (begin end)
(let ((inhibit-read-only t))
(put-text-property begin (1- end) 'face 'axiom-output)
(put-text-property begin (1- end) 'rear-nonsticky t)
(put-text-property begin (1- end) 'read-only t)))
but if the axiom-output-filter sends two strings, one after the other, there is
(of course) a spot between them where one can insert text. I.e., I do not get
a single block of read-only text.
help?
Martin