From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: slrn and emacsclient Date: Thu, 01 Feb 2007 12:40:29 GMT Organization: Business Internet Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1170333660 31854 80.91.229.12 (1 Feb 2007 12:41:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2007 12:41:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 01 13:40:44 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 1HCbEv-00034a-5C for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Feb 2007 13:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCbEu-000134-Na for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Feb 2007 07:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.aset.psu.edu!news.cse.psu.edu!elk.ncren.net!newsflash.concordia.ca!News.Dal.Ca!ursa-nb00s0.nbnet.nb.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Lines: 37 Original-NNTP-Posting-Host: 142.177.137.19 Original-X-Complaints-To: abuse@aliant.net Original-X-Trace: ursa-nb00s0.nbnet.nb.ca 1170333629 142.177.137.19 (Thu, 01 Feb 2007 08:40:29 AST) Original-NNTP-Posting-Date: Thu, 01 Feb 2007 08:40:29 AST Original-Xref: shelby.stanford.edu gnu.emacs.help:145215 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:40821 Archived-At: Hi, I'm trying to get emacsclient set up as my editor for slrn. This arrangment works well for mutt, but it's a little rough with slrn as I have it configured. Posting from slrn calls emacsclient, but not in mail mode. When I finish I have to save the message, kill the buffer, confirm kill the buffer even though it still has clients, switch to the slrn window, control-c to get past "waiting for Emacs", and then finally post the message. With mutt I just C-x k the message and switch to the mutt window, which is waiting for me to send the message. How do I get the same functionality with slrn? I know, I should probably be using gnus instead from inside emacs, but I couldn't quite get that working. Eventually I'll sort it out, but the mutt-like interface of slrn is familiar. Oh, and here's the relevant part of my .emacs: ;; mutt and mail stuff: (add-to-list 'auto-mode-alist '("/mutt" . mail-mode)) (add-to-list 'auto-mode-alist '("/slrn" . mail-mode)) ;; just a guess! (defun my-mail-mode-hook () (auto-fill-mode 1) (abbrev-mode 1) (local-set-key "\C-Xk" 'server-edit)) (add-hook 'mail-mode-hook 'my-mail-mode-hook) -- Regards, Tyler Smith