delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/16/07:03:09

Message-Id: <5.1.1.6.2.20021016125819.009ea3c0@pop.gmx.net>
X-Sender: martinSteuer AT gmx DOT de@pop.gmx.net
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Wed, 16 Oct 2002 13:01:51 +0200
To: djgpp AT delorie DOT com
From: Martin Steuer <martinSteuer AT gmx DOT de>
Subject: Re: Dos-Emacs and default shell
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Sorry Eli, replied directly to you by mistake...

At 16:09 15.10.2002 +0200, you wrote:

 >You don't need sh, but to get what you want you will have to hack
 >feedmail.el to replace the explicit "/bin/sh" with shell-file-name and
 >"-c" with shell-command-switch.  The fact that feedmail doesn't do that
 >itself is a bug.

Ok, this works but I knew it won't be that easy. I think feedmail now 
executes /bin/mail (which I dont have). I want to set up this to another 
commandline-mailer. The problem is I know nothing about ELisp (shame on 
me). What do I have to do in this section:

(defun feedmail-buffer-to-binmail (prepped errors-to addr-listoid)
  "Function which actually calls /bin/mail as a subprocess.
  Feeds the buffer to it."
  (set-buffer prepped)
  (apply
  'call-process-region
  (append (list (point-min) (point-max) shell-file-name nil errors-to nil 
shell-      command-switch
		(format feedmail-binmail-template
			(mapconcat 'identity addr-listoid " "))))))

I know it's bad I'm not doing the homework myself but I'm really too lazy 
to get used to ELisp just for setting up this Mail stuff. I tried some 
things but with no success.

Sorry to bother you again,
Martin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019