From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: filename coding systems and w32-*-file-name functions Date: Sun, 30 Nov 2008 03:08:54 +0100 Message-ID: References: <492EADA3.6000406@f2s.com> <492EB5D1.8030701@f2s.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228010952 12182 80.91.229.12 (30 Nov 2008 02:09:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 02:09:12 +0000 (UTC) Cc: rudalics@gmx.at, jasonr@f2s.com, emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 30 03:10:15 2008 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.50) id 1L6blF-0000QQ-9t for ged-emacs-devel@m.gmane.org; Sun, 30 Nov 2008 03:10:13 +0100 Original-Received: from localhost ([127.0.0.1]:39483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6bk4-0007oY-Vd for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2008 21:09:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6bk1-0007oS-Nr for emacs-devel@gnu.org; Sat, 29 Nov 2008 21:08:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6bk0-0007oG-Db for emacs-devel@gnu.org; Sat, 29 Nov 2008 21:08:56 -0500 Original-Received: from [199.232.76.173] (port=48988 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6bk0-0007oD-8L for emacs-devel@gnu.org; Sat, 29 Nov 2008 21:08:56 -0500 Original-Received: from yx-out-1718.google.com ([74.125.44.154]:50007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6bjz-0007cC-SO for emacs-devel@gnu.org; Sat, 29 Nov 2008 21:08:56 -0500 Original-Received: by yx-out-1718.google.com with SMTP id 34so780222yxf.66 for ; Sat, 29 Nov 2008 18:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=IOR40mYfH/B5cEmEpG+XrKLySCetP7Jwkk9o3UX47Zo=; b=ekIRoZscI7VGNtmgSuI0Re3XukzikSjC1wZxWaeGpMOa68CyIzD1jCKgUK0Ojb92Lw OSU1jGFRBDs5aiva2BD0m4NqjG4gDVEg9MMx3zMgtDbB2yTJ15KKYYJxaSb8kMLLaDy6 GVG/ZnQTKw6pra3+eqf4wwlZ+4lFj9fRwWMck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=buivSsRLJz7uev0XChE435bL4v90OOHsTcGLiQGRqsc+nvZMEFnUZcBn94qci/QKFO OGTdwUr+DC/LYw91TDgH6Fz/Izj6IcDr9/LH/dthu3IswJ795mEE2P4UQ8YjQ2NmTOe8 YjsS2KkFjxNTchLb0dPi0N3tciSMMJi6ByeQA= Original-Received: by 10.100.127.18 with SMTP id z18mr5011761anc.6.1228010934766; Sat, 29 Nov 2008 18:08:54 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Sat, 29 Nov 2008 18:08:54 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:106330 Archived-At: On Fri, Nov 28, 2008 at 09:36, Eli Zaretskii wrote: > I don't see anything wrong with this return value. So I think you can > use it without any trouble. I've committed that fix. And, in a related note: some time ago, I changed `w32-list-locales' (from w32-fns.el) to decode the output of `w32-get-locale-info'. But, in fact, I don't think that should be done at the lisp level; there's no reason why `w32-get-locale-info' shouldn't use DECODE_SYSTEM for the long form of the locale name. As for using DECODE_SYSTEM when the LONGFORM argument is a LCTYPE constant, I'm not sure. On one hand, I don't think that ELISP> (w32-get-locale-info (w32-get-current-locale-id) 2) "Espa\361ol - Espa\361a (alfabetizaci\363n tradicional)^@" is very useful. On the other hand, the LCTYPE results are null-terminated strings so I don't know what it the intended use. Comments? TIA, Juanma