From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.help Subject: Re: emacs and smtpmail Date: Sat, 01 Jul 2006 20:33:25 +0100 Message-ID: <87ejx5f7cq.fsf@thunk.shootybangbang.com> References: <1151499992.999428.271020@y41g2000cwy.googlegroups.com> <871wt5h4iq.fsf@thunk.shootybangbang.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151790480 16160 80.91.229.2 (1 Jul 2006 21:48:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Jul 2006 21:48:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 01 23:47:58 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FwnJf-00058c-EC for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jul 2006 23:47:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FwnJe-0001jd-Vt for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jul 2006 17:47:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FwlDZ-0004ij-Uz for help-gnu-emacs@gnu.org; Sat, 01 Jul 2006 15:33:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FwlDY-0004hs-Ed for help-gnu-emacs@gnu.org; Sat, 01 Jul 2006 15:33:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FwlDY-0004hp-9X for help-gnu-emacs@gnu.org; Sat, 01 Jul 2006 15:33:24 -0400 Original-Received: from [207.106.133.28] (helo=proof.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FwlQa-0001y3-IQ; Sat, 01 Jul 2006 15:46:52 -0400 Original-Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id 717C3247E5; Sat, 1 Jul 2006 15:33:20 -0400 (EDT) Original-Received: from thunk.shootybangbang.com (thunk.shootybangbang.com [217.169.11.184]) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id B08BD5E3B1; Sat, 1 Jul 2006 15:33:18 -0400 (EDT) Original-To: Eli Zaretskii X-Mailer: Norman X-Attribution: JPW X-Face: oX^^1Wzw=7hF+$9sbFF; "@y\k=M:/\KKp>Ix4]Nue{W[-D*|!E&nB]#ZV7!P (Eli Zaretskii's message of "Sat, 01 Jul 2006 17:23:47 +0300") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Mailman-Approved-At: Sat, 01 Jul 2006 17:47:20 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35781 Archived-At: Eli Zaretskii writes: > FWIW, I was tripped by this as well, back when I started using > smtpmail. The documentation should be clearer on the type of the > value, IMHO: it currently could be interpreted as if "25" is allowed, > and will be magically converted to a number: > > The variable `smtpmail-smtp-service' controls the port on the > server to contact. It is either a string, in which case it will be > translated into an integer using system calls, or an integer. Harry says that specifying a port number as a string worked under XEmacs. Do you think it would be a good idea to handle strings representing an integer in `make-network-process' ? Alternatively, we could add such support as a special case to the smtpmail library instead.