From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64229 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail.el: set-buffer-file-coding-system takes too many args Date: Sat, 06 Jan 2007 15:50:24 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168095060 23562 80.91.229.12 (6 Jan 2007 14:51:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2007 14:51:00 +0000 (UTC) Cc: Simon Josefsson , ding@gnus.org Original-X-From: ding-owner+M12752@lists.math.uh.edu Sat Jan 06 15:50:58 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1H3Csr-00071C-UN for ding-account@gmane.org; Sat, 06 Jan 2007 15:50:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1H3Csf-00082s-LE; Sat, 06 Jan 2007 08:50:45 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1H3Csd-00082Y-Hm for ding@lists.math.uh.edu; Sat, 06 Jan 2007 08:50:43 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1H3CsV-0005Oa-Dx for ding@lists.math.uh.edu; Sat, 06 Jan 2007 08:50:43 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1H3CsU-0006yk-00 for ; Sat, 06 Jan 2007 15:50:34 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id l06EoPFE028697; Sat, 6 Jan 2007 15:50:25 +0100 (MET) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id 46A0A12529; Sat, 6 Jan 2007 15:50:25 +0100 (CET) Original-Received: (nullmailer pid 15443 invoked by uid 170); Sat, 06 Jan 2007 14:50:25 -0000 Original-To: David Z Maze X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: David Z Maze , Simon Josefsson , ding@gnus.org User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) X-DCC-sonic.net-Metrics: gemini 1156; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64229 Archived-At: On Wed, Jan 03 2007, David Z Maze wrote: > I ran 'cvs update' after a long drought and suddenly couldn't send any > mail! I tracked this down to a change in smtpmail.el that sets the > coding system on outgoing mail buffers; it calls > set-buffer-file-coding-system with four arguments, but my Emacs ("GNU > Emacs 21.4.1 (sparc-sun-solaris2.10, X toolkit) of 2005-05-31 on > maytag.mit.edu") only takes three. > > To make things work I needed the following: > > --- smtpmail.el 27 Nov 2006 00:39:24 -0000 7.5 > +++ smtpmail.el 3 Jan 2007 15:25:57 -0000 > @@ -248,7 +248,7 @@ > ;; buffer, otherwise any write-region invocations (e.g., in > ;; mail-do-fcc below) will annoy with asking for a suitable > ;; encoding. > - (set-buffer-file-coding-system smtpmail-code-conv-from nil t) > + (set-buffer-file-coding-system smtpmail-code-conv-from nil) [...] > Is the last arg necessary on some other Emacs? If I understand Eli's comment correctly, it seems to be necessary (at least for mail-do-fcc). > Is there some Gnus compatability shim that'll work here? Does its > status in "contrib" affect things any? The version in contrib/ is synced from Emacs CVS: ,----[ contrib/README ] | sendmail.el | smtpmail.el | | Copies of the corresponding files from the Emacs lisp/mail/ | directory, to provide features (occasionally) needed by Gnus which | may not be provided by the versions of these files in older Emacs | distributions. `---- IIRC, smtpmail.el is also included with XEmacs. Simon, is `smtpmail.el' (from Emacs CVS) supposed to work with XEmacs without modifications? If so `smtpmail.el' should probably not use the NOMODIFY argument or provide some compatibility code. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/