← Back to team overview

vm team mailing list archive

Re: [Blueprint vm-elpa] Add VM to the Emacs Lisp Package Archive

 

Ulrich Mueller writes:
 > >>>>> On Thu, 19 Aug 2010, Tim Cross wrote:
 > 
 > > These programs are not essential for VM. In fact, I've not used
 > > them for a long time, preferring other alternatives which I've
 > > found more reliable.
 > 
 > In fact, I don't use these programs either. I use "mimencode" (from
 > the metamail package) instead, which is a replacement for all four
 > of them:
 > 
 >    (setq vm-mime-qp-decoder-program "mimencode")
 >    (setq vm-mime-qp-decoder-switches '("-u" "-q"))
 >    (setq vm-mime-qp-encoder-program "mimencode")
 >    (setq vm-mime-qp-encoder-switches '("-q"))
 >    (setq vm-mime-base64-decoder-program "mimencode")
 >    (setq vm-mime-base64-decoder-switches '("-u"))
 >    (setq vm-mime-base64-encoder-program "mimencode")
 >    (setq vm-mime-base64-encoder-switches nil)
 > 

I use the perl packages i.e. 

(setq vm-mime-base64-decoder-program "/usr/bin/perl"
      vm-mime-base64-decoder-switches
      '("-MMIME::Base64" "-ne" "print decode_base64($_)")
      vm-mime-base64-encoder-program "/usr/bin/perl"
      vm-mime-base64-encoder-switches
      '("-MMIME::Base64" "-ne" "print encode_base64($_)")
      vm-mime-qp-decoder-program "/usr/bin/perl"
      vm-mime-qp-decoder-switches
      '("-MMIME::QuotedPrint" "-ne" "print decode_qp($_)")
      vm-mime-qp-encoder-program "/usr/bin/perl"
      vm-mime-qp-encoder-switches
      '("-MMIME::QuotedPrint" "-ne" "print encode_qp($_)"))

Tim

-- 
Tim Cross
tcross@xxxxxxxxxxxxxxx

There are two types of people in IT - those who do not manage what
they understand and those who do not understand what they manage.
-- 
Tim Cross
tcross@xxxxxxxxxxxxxxx

There are two types of people in IT - those who do not manage what they 
understand and those who do not understand what they manage.



References