================================================================
Dear Bug Team!
When I use the smtpmail package to send mail to an SMTP server that
uses STARTTLS, I get an error message "SMTP protocol error". I have
tracked this down to packages/xemacs-packages/mail-lib/smtpmail.el
revision 1.24: it uses the macro with-no-warnings, which I believe
only exists in GNU Emacs, not XEmacs, and this causes the check for
the tls executable to silently fail (because it's inside a
condition-case). When I redefined smtpmail-open-stream without the
with-no-warnings macro, it works fine. I don't know if there's some
equivalent in XEmacs, or if there's any need for it.
Thanks,
--Doug Orleans
dougorleans(a)gmail.com
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux vernadsky 2.6.15.7 #1 SMP Tue Jun 27 18:34:43 UTC 2006 i686 GNU/Linux
./configure '--with-sound=none,native' '--with-x11'
'--extra-verbose' '--with-site-lisp' '--with-database=berkdb'
'--statedir=/var/lib' '--infodir=/usr/share/info/xemacs21'
'--infopath=/usr/share/info/xemacs21' '--prefix=/usr' '--dynamic'
'--error-checking=none' '--debug=no' '--with-pop'
'--with-file-coding' '--pdump' '--with-system-malloc'
'--with_menubars=lucid' '--with_scrollbars=lucid'
'--with_dialogs=athena'
'--docdir=/usr/lib/xemacs-21.4.19/i386-debian-linux/mule/' '--with-mule'
'--with-canna=no' '--with-wnn=no' '--with-xim=xlib'
'--with-xfs'
'--package-path=~/.xemacs:~/.xemacs/packages:~/.xemacs/xemacs-packages::/usr/share/xemacs21/site-packages:/usr/share/xemacs21/mule-packages:/usr/share/xemacs21/xemacs-packages'
'i386-debian-linux'
XEmacs 21.4.19 "Constant Variable" configured for `i386-debian-linux'.
Compilation / Installation:
Source code location: /build/buildd/xemacs21-21.4.19
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow
Compiler version: gcc (GCC) 4.1.2 20060613 (prerelease) (Ubuntu
4.1.1-2ubuntu3)
Compiler specs file: specs.
Relocating allocator for buffers: no
GNU version of malloc: no
- User chose not to use GNU allocators.
Need to guess glibc1/2/etc here
Window System:
Compiling in support for the X window system:
- X Windows headers location:
- X Windows libraries location:
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for file coding.
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
- Using XFontSet to provide bilingual menubar.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs21/site-lisp/dictionaries-common/flyspell
/usr/share/xemacs21/site-lisp/dictionaries-common/flyspell
/usr/share/xemacs21/site-lisp/dictionaries-common/ispell
/usr/share/xemacs21/site-lisp/dictionaries-common/ispell
/usr/share/xemacs21/site-lisp/dictionaries-common/debian-ispell
/usr/share/xemacs21/site-lisp/dictionaries-common/debian-ispell
/usr/share/xemacs21/site-lisp/quack-el/w3mnav
/usr/share/xemacs21/site-lisp/quack-el/w3mnav
/usr/share/xemacs21/site-lisp/quack-el/quack
/usr/share/xemacs21/site-lisp/quack-el/quack
/usr/share/xemacs21/site-lisp/w3m/xml
/usr/share/xemacs21/site-lisp/w3m/xml
/usr/share/xemacs21/site-lisp/w3m/w3m
/usr/share/xemacs21/site-lisp/w3m/w3m
/usr/share/xemacs21/site-lisp/w3m/w3m-weather
/usr/share/xemacs21/site-lisp/w3m/w3m-weather
/usr/share/xemacs21/site-lisp/w3m/w3m-ucs
/usr/share/xemacs21/site-lisp/w3m/w3m-ucs
/usr/share/xemacs21/site-lisp/w3m/w3m-tabmenu
/usr/share/xemacs21/site-lisp/w3m/w3m-tabmenu
/usr/share/xemacs21/site-lisp/w3m/w3m-symbol
/usr/share/xemacs21/site-lisp/w3m/w3m-symbol
/usr/share/xemacs21/site-lisp/w3m/w3m-search
/usr/share/xemacs21/site-lisp/w3m/w3m-search
/usr/share/xemacs21/site-lisp/w3m/w3m-rss
/usr/share/xemacs21/site-lisp/w3m/w3m-rss
/usr/share/xemacs21/site-lisp/w3m/w3m-perldoc
/usr/share/xemacs21/site-lisp/w3m/w3m-perldoc
/usr/share/xemacs21/site-lisp/w3m/w3m-namazu
/usr/share/xemacs21/site-lisp/w3m/w3m-namazu
/usr/share/xemacs21/site-lisp/w3m/w3m-lnum
/usr/share/xemacs21/site-lisp/w3m/w3m-lnum
/usr/share/xemacs21/site-lisp/w3m/w3m-image
/usr/share/xemacs21/site-lisp/w3m/w3m-image
/usr/share/xemacs21/site-lisp/w3m/w3m-hist
/usr/share/xemacs21/site-lisp/w3m/w3m-hist
/usr/share/xemacs21/site-lisp/w3m/w3m-form
/usr/share/xemacs21/site-lisp/w3m/w3m-form
/usr/share/xemacs21/site-lisp/w3m/w3m-filter
/usr/share/xemacs21/site-lisp/w3m/w3m-filter
/usr/share/xemacs21/site-lisp/w3m/w3m-favicon
/usr/share/xemacs21/site-lisp/w3m/w3m-favicon
/usr/share/xemacs21/site-lisp/w3m/w3m-dtree
/usr/share/xemacs21/site-lisp/w3m/w3m-dtree
/usr/share/xemacs21/site-lisp/w3m/w3m-cookie
/usr/share/xemacs21/site-lisp/w3m/w3m-cookie
/usr/share/xemacs21/site-lisp/w3m/w3m-ccl
/usr/share/xemacs21/site-lisp/w3m/w3m-ccl
/usr/share/xemacs21/site-lisp/w3m/w3m-bug
/usr/share/xemacs21/site-lisp/w3m/w3m-bug
/usr/share/xemacs21/site-lisp/w3m/w3m-bookmark
/usr/share/xemacs21/site-lisp/w3m/w3m-bookmark
/usr/share/xemacs21/site-lisp/w3m/mew-w3m
/usr/share/xemacs21/site-lisp/w3m/mew-w3m
/usr/share/xemacs21/site-lisp/w3m/w3m-xmas
/usr/share/xemacs21/site-lisp/w3m/w3m-xmas
/usr/share/xemacs21/site-lisp/w3m/w3m-proc
/usr/share/xemacs21/site-lisp/w3m/w3m-proc
/usr/share/xemacs21/site-lisp/w3m/w3m-util
/usr/share/xemacs21/site-lisp/w3m/w3m-util
/usr/share/xemacs21/site-lisp/w3m/w3m-load
/usr/share/xemacs21/site-lisp/w3m/w3m-load
/usr/share/xemacs21/site-lisp/w3m/w3m-antenna
/usr/share/xemacs21/site-lisp/w3m/w3m-antenna /home/dougo/elisp/psvn
/usr/share/emacs/site-lisp/psvn
/usr/share/xemacs21/site-lisp/debian-startup
/usr/share/emacs/site-lisp/debian-startup /etc/emacs/site-start
/usr/share/xemacs21/site-packages/lisp/site-start
/usr/share/xemacs21/site-lisp/dictionaries-common/ispell
/usr/share/xemacs21/xemacs-packages/lisp/ispell/ispell
/usr/share/xemacs21/site-lisp/w3m/xml
/usr/share/xemacs21/xemacs-packages/lisp/net-utils/xml
/usr/share/xemacs21/site-lisp/dictionaries-common/flyspell
/usr/share/xemacs21/xemacs-packages/lisp/text-modes/flyspell
/usr/share/xemacs21/xemacs-packages/lisp/build/build-report
/usr/lib/xemacs-21.4.19/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xwem ver: 1.22 upstream: lg(a)xwem.org--2005/xwem--main--2.1--versionfix-1)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg(a)xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.01 upstream: steve(a)eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.72 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.03 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.32 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(viper ver: 1.48 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.21 upstream: 3.33.8)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.41 upstream: No-Upstream-Ver)
(tramp ver: 1.32 upstream: 2.0.53)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.9 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.12 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.2 upstream: 1.4.4)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.22 upstream: 2.0.2)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.07 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.07 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.37 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.48 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.29 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.76 upstream: No-Upstream-Ver)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.14 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.08 upstream: 2.1)
(gnus ver: 1.9 upstream: 5.10.7)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.04 upstream: No-Upstream-Ver)
(games ver: 1.17 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.1 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.21 upstream: Version 5.1.2 Revision: 1.796.2.6)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.34 upstream: No-Upstream-Ver)
(ediff ver: 1.62 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.29 upstream: 2.34)
(auctex ver: 1.46 upstream: 11.55)
(apel ver: 1.32 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)
(skk ver: 1.23 upstream: 10.62a)
(mule-ucs ver: 1.14 upstream: 0.84)
(mule-base ver: 1.48 upstream: No-Upstream-Ver)
(lookup ver: 1.15 upstream: 1.0)
(locale ver: 1.22 upstream: No-Upstream-Ver)
(leim ver: 1.22 upstream: No-Upstream-Ver)
(latin-unity ver: 1.17 upstream: 1.17)
(latin-euro-standards ver: 1.07 upstream: 1.07)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow vm-mark dabbrev info tags etags debug psgml-xemacs
edmacro vm-digest tempo sgml-mode psgml psgml-html pp rect w3-style
ethio-util w3-hot url-file url-cache w3-xemac w3-xemacs w3-toolbar
xbm-button xpm-button w3-forms images url-http url-cookie urlauth w3
w3-menu url-news url-gw w3-script w3-jscript w3-elisp w3-java cus-edit
cus-load w3-emulate w3-auto w3-parse url mm url-vars w3-cfg w3-sysdp
w3-display w3-mouse w3-imap w3-vars wid-edit w3-cus mule-sysdp
w3-widget url-parse css w3-keyword cperl-mode j-mcp browse-url
j-moo-code moo-code j-moo j-tiny j-mud j-mud-history j-mud-macros
prefix j-mud-get j-mud-worlds vm-macro vm-virtual bbdb-hooks starttls
mail-utils vm-reply hyper-apropos smtpmail vm-sort vm-delete vm-save
vm-crypto vm-minibuf vm-pop vm-undo bbdb-gui vm-page vm-mime
vm-toolbar vm-summary tapestry vm-motion vm-message vm-menu vm-folder
vm-misc vm-mouse vm-window bbdb-vm bbdb-snarf mail-extr bbdb-com
mail-abbrevs sendmail rfc822 vm-autoload vm-vars highlight-headers
vm-version vm vm-startup sh-script easy-mmode executable view-less
view man passwd env efs-dired dired-faces dired-xemacs dired lazy-shot
shell bbdb timezone tocstr toc tnt time quack font thingatpt compile
cmuscheme scheme gnuserv disp-table x-compose cc-fonts font-lock
cus-face filladapt vc vc-hooks cc-mode cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs regexp-opt advice advice-preload
uniquify efs-x19.15 efs-fnh efs-ovwrt efs-cu efs-netrc efs-defun
comint ring efs w3m-load mwheel zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-autoloads xetla-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tramp-autoloads
tpu-autoloads tooltalk-autoloads tm-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads sml-mode-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
re-builder-autoloads python-modes-autoloads psgml-dtds-autoloads
psgml-autoloads ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads oo-browser-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads mailcrypt-autoloads
mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
gnus-autoloads gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads escreen-autoloads erc-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edt-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads crisp-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
skk-autoloads mule-ucs-autoloads mule-base-autoloads lookup-autoloads
locale-autoloads leim-autoloads latin-unity-autoloads
latin-euro-standards-autoloads egg-its-autoloads edict-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 slovenian
czech romanian ccl mule-help code-cmds gutter-items menubar-items
x-menubar mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete cus-file derived frame
text-props obsolete cus-start custom widget cl-extra mini-cl cl cl-19
packages backquote very-early-lisp file-coding mule lucid-scrollbars
cut-buffer lucid-menubars athena-dialogs x c-balloon-help tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db md5 xemacs xim gutter tiff png gif jpeg xface xpm xbm
lisp-float-type linux dialog devices window-system base64)
Recent keystrokes:
-----------------
e l l o SPC f r o m SPC q u i e t M-> w h e e . RET
C-c C-c g g i M-h i u C-v button2 button2up button5
button5up button5 button5up button5 button5up button5
button5up button5 button5up button5 button5up button5
button5up button5 button5up button5 button5up button2
button2up C-s w i t h - n o C-s C-a C-s w a r n C-s
C-s C-s C-s C-s C-s C-s C-s C-s RET RET button2 button2up
C-v M-v n p p n u u button2 button2up C-s w a r n C-a
button2 button2up misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Selecting menu item byte-compile-error-on-warn...done
gzip -dc /usr/share/info/xemacs21/lispref.info-3.gz...
Selecting menu item byte-compile-error-on-warn...
Selecting menu item Index...done
gzip -dc /usr/share/info/xemacs21/lispref.info-9.gz...
Selecting menu item Index...
gzip -dc /usr/share/info/xemacs21/lispref.info-1.gz...
Selecting menu item display-warning-suppressed-classes...done
gzip -dc /usr/share/info/xemacs21/lispref.info-7.gz...
Selecting menu item display-warning-suppressed-classes...
Selecting menu item Index...done
gzip -dc /usr/share/info/xemacs21/lispref.info-9.gz...
Selecting menu item Index...
Selecting menu item Lispref...done
gzip -dc /usr/share/info/xemacs21/lispref.info-1.gz...
gzip -dc /usr/share/info/xemacs21/lispref.info.gz...
Selecting menu item Lispref...
Composing main Info directory...done
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta