From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: Simon Josefsson <simon@josefsson.org>, ding@gnus.org
Subject: Re: smtpmail.el: set-buffer-file-coding-system takes too many args
Date: Sat, 06 Jan 2007 15:50:24 +0100 [thread overview]
Message-ID: <v9irfkryz3.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <y68bqlgqg9y.fsf@grumpy-fuzzball.mit.edu>
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/
next prev parent reply other threads:[~2007-01-06 14:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 15:30 David Z Maze
2007-01-06 14:50 ` Reiner Steib [this message]
2007-01-06 17:59 ` Simon Josefsson
2007-01-06 20:11 ` Reiner Steib
2007-01-07 10:12 ` Simon Josefsson
2007-01-07 12:07 ` Reiner Steib
2007-01-08 8:54 ` Simon Josefsson
2007-01-07 12:09 ` Reiner Steib
2007-03-24 12:30 ` Reiner Steib
2007-03-24 17:07 ` Eli Zaretskii
2007-03-24 19:18 ` Reiner Steib
2007-03-25 2:14 ` Miles Bader
2007-03-31 21:18 ` Reiner Steib
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9irfkryz3.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=ding@gnus.org \
--cc=simon@josefsson.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 NNTP newsgroup(s).