From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Translation of http status code to text Date: Mon, 22 Mar 2010 10:01:24 -0400 Message-ID: References: <87sk7vllgj.fsf@mail.jurta.org> <87hbo81onq.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269266509 14538 80.91.229.12 (22 Mar 2010 14:01:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2010 14:01:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 22 15:01:41 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NtiCK-0002hJ-JT for ged-emacs-devel@m.gmane.org; Mon, 22 Mar 2010 15:01:40 +0100 Original-Received: from localhost ([127.0.0.1]:56249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtiCJ-0001WD-W1 for ged-emacs-devel@m.gmane.org; Mon, 22 Mar 2010 10:01:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtiCD-0001SJ-B8 for emacs-devel@gnu.org; Mon, 22 Mar 2010 10:01:33 -0400 Original-Received: from [140.186.70.92] (port=42225 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtiC6-0001H4-TK for emacs-devel@gnu.org; Mon, 22 Mar 2010 10:01:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtiC5-0003l0-7I for emacs-devel@gnu.org; Mon, 22 Mar 2010 10:01:26 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:8162 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtiC5-0003ks-5H for emacs-devel@gnu.org; Mon, 22 Mar 2010 10:01:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAIIUp0vO+IPa/2dsb2JhbACbK3S6TYR9BIsd X-IronPort-AV: E=Sophos;i="4.51,287,1267419600"; d="scan'208";a="58795963" Original-Received: from 206-248-131-218.dsl.teksavvy.com (HELO ceviche.home) ([206.248.131.218]) by ironport2-out.pppoe.ca with ESMTP; 22 Mar 2010 10:01:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 109B1660F2; Mon, 22 Mar 2010 10:01:24 -0400 (EDT) In-Reply-To: <87hbo81onq.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 22 Mar 2010 08:17:29 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122472 Archived-At: > Would it be OK to just make an alist with symbols and text, e.g. The question is sufficiently general that some of the possible understandings of it are indeed OK. Of course, you can also come up with an alist of symbols and text to which I would be strongly opposed. So assuming you (can) do it right, then yes, that's of course perfectly acceptable; but details matter. > (setq url-http-codes '((206 (url-http-code-partial-content "Partial content")))) `setq' doesn't sound right, for example, Stefan