Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: The return of starttls doesn't work in smtpmail
Date: Fri, 17 Aug 2007 10:30:46 +0200	[thread overview]
Message-ID: <v9ps1mmukp.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <86d4xmyk77.fsf@hondo.cadr.de>

On Fri, Aug 17 2007, Wolfram Fenske wrote:

> According to
> <http://quimby.gnus.org/cgi-bin/cvsweb.cgi/gnus/contrib/smtpmail.el>,
> 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/




  reply	other threads:[~2007-08-17  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17  2:21 Wolfram Fenske
2007-08-17  8:30 ` Reiner Steib [this message]
2007-08-19 21:17   ` Wolfram Fenske

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=v9ps1mmukp.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.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).