help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: help needed writing a mode for axiom


From: Kevin Rodgers
Subject: Re: help needed writing a mode for axiom
Date: Fri, 01 Jun 2007 21:46:02 -0600
User-agent: Thunderbird 1.5.0.12 (Macintosh/20070509)

Martin Rubey wrote:
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?

(put-text-property begin 'front-sticky t)?

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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