From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Rubey Newsgroups: gmane.emacs.help Subject: Re: help needed writing a mode for axiom Date: 26 May 2007 00:35:02 +0200 Message-ID: <9qy7jc5y7d.fsf@aquin.mat.univie.ac.at> References: <9qd50oindj.fsf@aquin.mat.univie.ac.at> <9qy7jch7i1.fsf@aquin.mat.univie.ac.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180163363 16967 80.91.229.12 (26 May 2007 07:09:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 07:09:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 26 09:09:21 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HrqOr-0004MH-A1 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 May 2007 09:09:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrqOq-0002sh-7j for geh-help-gnu-emacs@m.gmane.org; Sat, 26 May 2007 03:09:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Lines: 26 Original-NNTP-Posting-Host: aquin.mat.univie.ac.at Original-X-Trace: 1180132502 usenet.univie.ac.at 8024 131.130.16.163 Original-X-Complaints-To: abuse@univie.ac.at Original-Xref: shelby.stanford.edu gnu.emacs.help:148853 X-Mailman-Approved-At: Sat, 26 May 2007 03:07:57 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44444 Archived-At: Martin Rubey writes: > Martin Rubey 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