all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gary Lawrence Murphy <garym@canada.com>
Subject: Re: Mozex and Emacs
Date: Mon, 07 Mar 2005 15:20:48 -0500	[thread overview]
Message-ID: <m2psyb5hsv.fsf_-_@maya.dyndns.org> (raw)
In-Reply-To: m2brb5qixo.fsf@maya.dyndns.org


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 <addresses> <subject>
    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 <HTML> 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 <garym@teledyn.com> ==============================
www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com
====================== The present moment is a powerful goddess (Goethe)

  parent reply	other threads:[~2005-03-07 20:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-26 18:26 Gnome scrollbar? Gary Lawrence Murphy
2005-01-26 19:12 ` Peter Dyballa
2005-01-26 22:09   ` Gary Lawrence Murphy
2005-01-26 22:37     ` Peter Dyballa
     [not found] ` <mailman.15500.1106767663.27204.help-gnu-emacs@gnu.org>
2005-01-26 20:04   ` Henrik Enberg
2005-01-27 23:11     ` Gary Lawrence Murphy
2005-01-27 23:44       ` David Kastrup
2005-01-31 23:21         ` Gary Lawrence Murphy
2005-01-31 23:26         ` Gary Lawrence Murphy
2005-02-01 10:02           ` Pierre-Charles David
2005-02-01 16:01             ` Gary Lawrence Murphy
2005-03-07 20:20           ` Gary Lawrence Murphy [this message]
2005-01-27 16:02 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2psyb5hsv.fsf_-_@maya.dyndns.org \
    --to=garym@canada.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.