From: "s. keeling" <keeling@spots.ab.ca>
To: help-gnu-emacs@gnu.org
Subject: post.el stopped working. What to do?
Date: Tue, 05 Jun 2007 22:56:48 GMT [thread overview]
Message-ID: <slrnf6bqcu.b6a.keeling@heretic.spots.ab.ca> (raw)
Hi. This is GNU Emacs 21.4.1, running in grml.org's downstream of
Debian Sid/unstable. I lost a hard drive recently, and after
re-installing, I find post-mode (post.el 2.4 2004/07/23) no longer
works in mutt, sort of. It does work if I "M-x post-mode" once I'm
in Emacs, but it used to be automatic. I've tried fiddling with
mutt's invocation, from:
set editor="emacs '%s'"
to:
set editor="emacs -f post-mode '%s'"
to no effect. The weird thing is it still works as it used to in
slrn. post.el is in ~/.emacs.d/. In my ~/.emacs (long line
automatically broken, comments removed for brevity):
---------------------------------------------
(setq load-path (append load-path (list "/home/keeling/.emacs.d")))
...
;; see Dave Pearson's url for the link to these (http://www.davep.org/mutt/).
(server-start)
(load "/home/keeling/.emacs.d/post")
(defadvice server-process-filter (after post-mode-message first activate)
"If the buffer is in post mode, overwrite the server-edit
message with a post-save-current-buffer-and-exit message."
(if (eq major-mode 'post-mode)
(message
(substitute-command-keys "Type \\[describe-mode] for help composing; \\[post-save-
current-buffer-and-exit] when done."))))
'(font-lock-verbose 1000)
(add-hook 'server-switch-hook
(function (lambda()
(cond ((string-match "Post" mode-name)
(post-goto-body))))))
---------------------------------------------
I'm a longtime _user_ of Emacs, but I'm lisp ignorant. What can I do
to try to sort this out? It's not like it's broken. It works when
called with M-x, but why in slrn but not mutt?
Suggestions please?
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Spammers! http://www.spots.ab.ca/~keeling/emails.html
next reply other threads:[~2007-06-05 22:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-05 22:56 s. keeling [this message]
2007-06-06 19:05 ` post.el stopped working. What to do? [Solved] s. keeling
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnf6bqcu.b6a.keeling@heretic.spots.ab.ca \
--to=keeling@spots.ab.ca \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).