[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow specifying services as symbols?
From: |
Stefan Monnier |
Subject: |
Re: Allow specifying services as symbols? |
Date: |
Wed, 20 Oct 2010 11:36:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>> As more of a philosophical objection than anything, t is a symbol.
>> Hmm, good catch. So's nil.
> True. Perhaps this isn't a good idea after all. It's just come more
> than a few times over the years that people are using 'nntp instead of
> "nntp" and 'imap instead of "imap" and not understanding why they're
> getting errors.
Maybe signalling a clear error would be a better choice.
> The issue came up as a customization user-side problem and I suggested
> allowing symbols. Using symbols is consistent with many other Emacs
> facilities (too many to list) that use symbols to enumerate a small set
> of choices. It makes customization simpler and less error-prone for
> software that uses `make-network-process'. It doesn't really cost
We're talking about an argument to a function, so it's not directly
related to customization. IOW if there's a problem with customization,
it can be fixed elsewhere.
Stefan
- Allow specifying services as symbols?, Lars Magne Ingebrigtsen, 2010/10/19
- Re: Allow specifying services as symbols?, Eli Zaretskii, 2010/10/19
- Re: Allow specifying services as symbols?, Ted Zlatanov, 2010/10/19
- Re: Allow specifying services as symbols?, Davis Herring, 2010/10/19
- Re: Allow specifying services as symbols?, Ted Zlatanov, 2010/10/20
- Re: Allow specifying services as symbols?, Andreas Schwab, 2010/10/20
- Re: Allow specifying services as symbols?, Ted Zlatanov, 2010/10/20