From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gary Lawrence Murphy Newsgroups: gmane.emacs.help Subject: Re: Mozex and Emacs Date: Mon, 07 Mar 2005 15:20:48 -0500 Organization: Bell Sympatico Message-ID: References: <87fz0o554q.fsf@telia.com> Reply-To: garym@canada.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110227104 25906 80.91.229.2 (7 Mar 2005 20:25:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2005 20:25:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 21:25:04 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8Omb-0006gb-Lx for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2005 21:24:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8P6Q-0006vI-Jo for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2005 15:45:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!cyclone.bc.net!news-in.mts.net!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: =5x+:Y0B9+Rxqq>~4fy; "j_'={?([Yp7<09D7{; |jF?{'T^">e&m, 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24609 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24609 Mostly because I had to write these down to transfer them to my laptop anyway, but hey, why not share? :) The config options I find useful for using the Mozex extension with Emacs are as follows: Mailer: /home/garym/bin/email %A %S Text Areas: /usr/bin/emacsclient %t Emacsclient you know, but the email script is as follows: #!/bin/sh # wrapper for mozex: use email exec emacsclient -e "(compose-mail \"$1\" \"$2\")" > /dev/null in addition, I have placed the following function on a function-key so I can quickly promote a mozex buffer for use with PSGML mode, although I haven't figure out how to get it to start at a DIV level instead of insisting on as the overall tag (do I need to work from a subset of the XHTML DTD?) (defun xhtml-ced () "begin editing XHTML document" (interactive) (html-mode) (sgml-load-dtd (expand-file-name "~/dev/xhtml.ced"))) (global-set-key [(control f4)] 'xhtml-ced) I also tried to automate this with (setq auto-mode-alist (append '(("^mozex\\.textarea\\..*\\.txt" . html-mode)) auto-mode-alist)) but it didn't work :( -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe)