From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49761 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: wrong directory separator Date: Sun, 02 Feb 2003 13:31:37 +0900 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044160237 1932 80.91.224.249 (2 Feb 2003 04:30:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2003 04:30:37 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18fBm3-0000Ud-00 for ; Sun, 02 Feb 2003 05:30:31 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18fBnZ-0001wG-00; Sat, 01 Feb 2003 22:32:05 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 01 Feb 2003 22:33:02 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA09541 for ; Sat, 1 Feb 2003 22:32:50 -0600 (CST) Original-Received: (qmail 79655 invoked by alias); 2 Feb 2003 04:31:49 -0000 Original-Received: (qmail 79650 invoked from network); 2 Feb 2003 04:31:49 -0000 Original-Received: from java.hostforweb.net (66.197.222.237) by 66.230.238.6 with SMTP; 2 Feb 2003 04:31:49 -0000 Original-Received: from [66.197.244.213] (helo=yamaoka.cc) by java.hostforweb.net with esmtp (Exim 3.36 #1) id 18fBnJ-00041H-00 for ding@gnus.org; Sat, 01 Feb 2003 23:31:49 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.090015 (Oort Gnus v0.15) XEmacs/21.4 (Portable Code, i686-pc-linux) Cancel-Lock: sha1:PtMKU8eZBhk7c8uHUdtSlpiaquE= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - java.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - yamaoka.cc Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49761 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49761 >>>>> In >>>>> Lars Magne Ingebrigtsen wrote: > Katsumi Yamaoka writes: >> The root cause of the problem is the default value for the >> nnheader-directory-separator-character variable. [...] I've practically tested XEmacs 21.4.11 on Windows just now, and confirmed that the backslash character is used even in Emacs Lisp expressions. For example: (file-name-as-directory "") => ".\\" Lars> The reason I introduced that variable was because a Windows user Lars> reported that generating the active file for nnml created groups that Lars> were named "some\\thing". Letting Lars> `nnheader-directory-separator-character' be ?\ apparently fixed his Lars> problem. I believe you and the reporter. However, all Emacsen on Windows don't use the backslash character for a directory separator. Lars> But perhaps there's a different way to compute this variable that Lars> will get this right on all Windoses/Emacsens? For instance -- we Lars> could eval the following and see what character number 2 is: Lars> (let ((default-directory ".")) Lars> (expand-file-name "foo")) Lars> But I'm not familiar with the mysteries of Windows at all, so I don't Lars> know... I think that's a good idea. I've just changed the way to determine the default value for `nnheader-directory-separator-character' in the CVS repository. -- Katsumi Yamaoka