[mew-dist 29224] Re: zip

Kazu Yamamoto (山本和彦) <[email protected]>
Newsgroups gmane.mail.mew.general.japanese
Message-ID <[email protected]>
> (defun mew-attach-zip ()
>   "Put the 'Z' mark and encrypt it with \"zip\" in attachments."
>   (interactive)
>   ....
> 	    (let* ((subdir (mew-attach-expand-path mew-encode-syntax nums))
> 		   (attachdir (mew-attachdir))
> 		   (name (mew-syntax-get-file syntax))
> 		   (ename (if (string= subdir "") name (concat subdir name)))
> 		   (fullname (expand-file-name ename attachdir))
> 		   (zname (concat name ".zip"))
> 		   (zct "application/zip")
> 		   (default-directory (file-name-directory fullname)))
> 	      (call-process "zip" nil nil nil "-e" "-P" password zname name)
>   ...
> 
> 

 push 

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.