From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jonadab the Unsightly One" Newsgroups: gmane.emacs.help Subject: Re: Saving text properties Date: 08 Feb 2003 18:39:45 -0500 Organization: bright.net Ohio Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84wukft41a.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044746361 4117 80.91.224.249 (8 Feb 2003 23:19:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2003 23:19:21 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18heFi-00013r-00 for ; Sun, 09 Feb 2003 00:19:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18heH2-0002RS-00 for gnu-help-gnu-emacs@m.gmane.org; Sat, 08 Feb 2003 18:20:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cletus.bright.net!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Emacs: GNU Emacs 21.1.1 (i386-mandrake-linux-gnu, X toolkit, Xaw3d scroll bars) of 2001-11-26 on no.mandrakesoft.com Original-Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-NNTP-Posting-Host: 209.143.57.45 Original-X-Complaints-To: abuse@bright.net Original-X-Trace: cletus.bright.net 1044746327 209.143.57.45 (Sat, 08 Feb 2003 18:18:47 EST) Original-NNTP-Posting-Date: Sat, 08 Feb 2003 18:18:47 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:109962 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6467 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6467 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > Greg Hill writes: > > > The section entitled "Saving Text Properties in Files" the Emacs Lisp > > Reference Manual says: > > > >> We invite users to write Lisp programs to store and retrieve text > >> properties in files, [...] > > > > Does anyone have any experience with that that they would like to > > pass along? > > I only know of enriched-mode which saves text properties in files. > It comes with Emacs. > > I also wonder if there is other work in that area. I would be interested to see a mode that saves the properties as XML entities containing the text, with the properties encoded as XML properties. Standard tools could then be used to do various transformations on the resulting XML, to create web pages, DocBook format, OpenOffice documents, and so forth from the same file. -- (defun switch-to-scratch () (interactive) "Switch to *scratch* buffer." (switch-to-buffer (get-buffer-create "*scratch*"))) (global-set-key (kbd "C-t") 'switch-to-scratch)