From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "s. keeling" Newsgroups: gmane.emacs.help Subject: post.el stopped working. What to do? Date: Tue, 05 Jun 2007 22:56:48 GMT Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1181116219 20221 80.91.229.12 (6 Jun 2007 07:50:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2007 07:50:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 06 09:50:16 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 1HvqHS-0002Iw-9n for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jun 2007 09:50:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvqHR-0000Tb-BW for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jun 2007 03:50:09 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps90.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help X-UCE: I forward UCE/spam with ALL headers to abuse@your.isp UNREAD! X-UCE2: Wow, are spammers ever stoopid! X-PGP-Key: GPG key: http://keyserver.noreply.org:11371/pks/lookup?op=vindex&search=0x48EE77B1AC94E4B7 User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Lines: 51 Original-NNTP-Posting-Host: 209.115.174.241 Original-X-Trace: edtnps90 1181084208 209.115.174.241 (Tue, 05 Jun 2007 16:56:48 MDT) Original-NNTP-Posting-Date: Tue, 05 Jun 2007 16:56:48 MDT Original-Xref: shelby.stanford.edu gnu.emacs.help:149099 X-Mailman-Approved-At: Wed, 06 Jun 2007 03:49:53 -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:44695 Archived-At: 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