From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65065 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: The return of starttls doesn't work in smtpmail Date: Fri, 17 Aug 2007 10:30:46 +0200 Message-ID: References: <86d4xmyk77.fsf@hondo.cadr.de> 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 1187339588 28291 80.91.229.12 (17 Aug 2007 08:33:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2007 08:33:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13575@lists.math.uh.edu Fri Aug 17 10:33:06 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 1ILxGP-0000XO-Mt for ding-account@gmane.org; Fri, 17 Aug 2007 10:33:02 +0200 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 1ILxF3-0005Mc-EF; Fri, 17 Aug 2007 03:31:37 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1ILxF1-0005ML-HP for ding@lists.math.uh.edu; Fri, 17 Aug 2007 03:31:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1ILxEz-0003Kk-Iv for ding@lists.math.uh.edu; Fri, 17 Aug 2007 03:31:35 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ILxEy-0000Cn-00 for ; Fri, 17 Aug 2007 10:31:32 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ILxEp-0006za-PA for ding@gnus.org; Fri, 17 Aug 2007 10:31:23 +0200 Original-Received: from p54a959ab.dip.t-dialin.net ([84.169.89.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Aug 2007 10:31:23 +0200 Original-Received: from Reiner.Steib by p54a959ab.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Aug 2007 10:31:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 56 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a959ab.dip.t-dialin.net X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65065 Archived-At: On Fri, Aug 17 2007, Wolfram Fenske wrote: > According to > , > smptmail.el still isn't fixed. ,----[ 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. XEmacs users should NOT use this, since it doesn't | work. See the XEmacs mail-lib module instead. `---- In contrib/smtpmail.el we even have: ;; This version of `smtpmail.el' should only be used with Emacs 21. (if (featurep 'xemacs) (error "Please use `smtpmail.el' from the mail-lib package.") (when (>= emacs-major-version 22) (error "Please use `smtpmail.el' bundled with Emacs."))) So it should be fixed in XEmacs or the smtpmail.el file in XEmacs mail-lib package. > ;;; XEmacs and older Emacs might not have `with-no-warnings' > (unless (fboundp 'with-no-warnings) > ;; Taken from Emacs' byte-run.el > (defun with-no-warnings (&rest body) > "Like `progn', but prevents compiler warnings in the body." > ;; The implementation for the interpreter is basically trivial. > (car (last body)))) This is a bad idea. ,----[ (info "(elisp)Coding Conventions") ] | * If a package needs to define an alias or a new function for | compatibility with some other version of Emacs, name it with the | package prefix, not with the raw name with which it occurs in the | other version. Here is an example from Gnus, which provides many | examples of such compatibility issues. | | (defalias 'gnus-point-at-bol | (if (fboundp 'point-at-bol) | 'point-at-bol | 'line-beginning-position)) `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/