From: Chong Yidong <cyd@stupidchicken.com>
To: herring@lanl.gov
Cc: emacs-devel@gnu.org
Subject: Re: Allow specifying services as symbols?
Date: Tue, 19 Oct 2010 18:20:55 -0400 [thread overview]
Message-ID: <8739s19648.fsf@stupidchicken.com> (raw)
In-Reply-To: <49549.130.55.132.18.1287523965.squirrel@webmail.lanl.gov> (Davis Herring's message of "Tue, 19 Oct 2010 14:32:45 -0700 (PDT)")
"Davis Herring" <herring@lanl.gov> writes:
>> ! :service SERVICE -- SERVICE is name of the service desired (a string
>> ! or a symbol) or an integer specifying a port number to connect to. If
>> ! SERVICE is t, a random port number is selected for the server. (If
>> ! Emacs was compiled with getaddrinfo, a port number can also be
>> ! specified as a string, e.g. "http", as well as an integer. This is
>> ! not portable.)
>
> As more of a philosophical objection than anything, t is a symbol.
Hmm, good catch. So's nil.
So let's back up for a moment, here. Lars, could you provide an example
that shows why it's convenient to allow symbols to name services?
next prev parent reply other threads:[~2010-10-19 22:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 18:07 Allow specifying services as symbols? Lars Magne Ingebrigtsen
2010-10-19 18:22 ` Eli Zaretskii
2010-10-19 19:09 ` Ted Zlatanov
2010-10-19 20:17 ` Chong Yidong
2010-10-19 21:25 ` Ted Zlatanov
2010-10-19 21:32 ` Davis Herring
2010-10-19 22:20 ` Chong Yidong [this message]
2010-10-19 23:46 ` Lars Magne Ingebrigtsen
2010-10-20 15:36 ` Stefan Monnier
2010-10-20 16:10 ` Chong Yidong
2010-10-20 16:21 ` Ted Zlatanov
2010-10-20 11:32 ` Ted Zlatanov
2010-10-20 11:52 ` Andreas Schwab
2010-10-20 12:29 ` Ted Zlatanov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739s19648.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=herring@lanl.gov \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).