unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tyler Smith <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: slrn and emacsclient
Date: Thu, 01 Feb 2007 12:40:29 GMT	[thread overview]
Message-ID: <slrnes3ntg.9uu.tyler.smith@blackbart.mynetwork> (raw)

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

             reply	other threads:[~2007-02-01 12:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 12:40 Tyler Smith [this message]
2007-02-01 17:04 ` slrn and emacsclient Maarten Bergvelt
2007-02-01 21:55   ` Tyler Smith
2007-02-01 22:09     ` Tyler Smith
2007-02-04 17:28     ` Kevin Rodgers
     [not found]     ` <mailman.4001.1170610117.2155.help-gnu-emacs@gnu.org>
2007-02-05  4:12       ` Tyler Smith
2007-02-05  9:59         ` Peter Dyballa
     [not found]         ` <mailman.4033.1170669629.2155.help-gnu-emacs@gnu.org>
2007-02-05 16:02           ` Tyler Smith
2007-02-05 17:57             ` Peter Dyballa
     [not found]             ` <mailman.4057.1170698276.2155.help-gnu-emacs@gnu.org>
2007-02-06  2:36               ` Tyler Smith
2007-02-01 17:28 ` Phil Jackson

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=slrnes3ntg.9uu.tyler.smith@blackbart.mynetwork \
    --to=tyler.smith@mail.mcgill.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).