From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 27 12:24:44 2012 Received: (at submit) by debbugs.gnu.org; 27 Nov 2012 17:24:44 +0000 Received: from localhost ([127.0.0.1]:41950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdOtn-0000Wn-K9 for submit@debbugs.gnu.org; Tue, 27 Nov 2012 12:24:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35434) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdOtl-0000Wg-7R for submit@debbugs.gnu.org; Tue, 27 Nov 2012 12:24:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdOrt-00034L-Mp for submit@debbugs.gnu.org; Tue, 27 Nov 2012 12:22:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdOrt-00033c-IR for submit@debbugs.gnu.org; Tue, 27 Nov 2012 12:22:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdOrn-0004hI-OC for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 12:22:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdOrc-0002vD-7Y for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 12:22:39 -0500 Received: from mail-da0-f41.google.com ([209.85.210.41]:55760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdOrc-0002ux-1K for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 12:22:28 -0500 Received: by mail-da0-f41.google.com with SMTP id e20so4250493dak.0 for ; Tue, 27 Nov 2012 09:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type; bh=p97ufAXvYya5izNuGHy+Gu2uPKa3GQoHhgjvD3N0mVA=; b=TFMks/cfTn79hVLWr9aEFZP9/7p/bMFnBIz2Hab5C13wVZvqNUbqh2rnvblZvaEF+a u5nbM5xoTQvGkt20c8Wke2L4zp8ryINH+OZ+ey1esSwjT/OSI7TPMhgVqSLp2IXSBFkn SeahynlVnaKL1PvcVN2Y03ILfedXqKABwj49yCJ9XWqTSYv6xxIPUefnKBsp/q8hK+kn wR62tODEVi/Z2SGwtNlK//Hu7dtAZ41W16jAB/QX3HF1j++Aj9kS7zhO5PPuLKAoShPG Nhm4jCKw1QZQVnexaJvGtCNYa1iZ7QLA9MmuuJN3q97DmoFDqyb+w/xDHibMzQBFEc7K RFLg== Received: by 10.66.76.10 with SMTP id g10mr44221732paw.80.1354036947332; Tue, 27 Nov 2012 09:22:27 -0800 (PST) Received: from debian-6.05 ([115.184.83.157]) by mx.google.com with ESMTPS id ix9sm10930688pbc.7.2012.11.27.09.22.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Nov 2012 09:22:26 -0800 (PST) From: Jambunathan K To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Windows XP bug? get-file-buffer, file-name-as-directory Date: Tue, 27 Nov 2012 22:54:57 +0530 Message-ID: <87zk236jrq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: submit Cc: Ista Zahn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) This report is a digest of following thread: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg62455.html. The problem is because of Emacs mangling file paths like this on Windows XP. "c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-8052VuJ/" "c:/Documents and Settings/IZAHN/Local Settings/Temp/odt-8052VuJ/content.xml" The problem is better explained with ielm session below. Create a ielm buffer with M-x ielm RET and type out the following 4 lisp forms ONE-by-ONE. (setq org-e-odt-zip-dir (file-name-as-directory (make-temp-file "odt-" t))) (with-current-buffer (find-file-noselect (concat org-e-odt-zip-dir "content.xml") t) (buffer-file-name)) (with-current-buffer (get-file-buffer (concat org-e-odt-zip-dir "content.xml")) (save-buffer 0)) (get-file-buffer (concat org-e-odt-zip-dir "content.xml")) Here is what Ista reports: *** Welcome to IELM *** Type (describe-mode) for help. ELISP> (setq org-e-odt-zip-dir (file-name-as-directory (make-temp-file "odt-" t))) "c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-8052VuJ/" ELISP> (with-current-buffer (find-file-noselect (concat org-e-odt-zip-dir "content.xml") t) (buffer-file-name)) "c:/Documents and Settings/IZAHN/Local Settings/Temp/odt-8052VuJ/content.xml" ELISP> (with-current-buffer (get-file-buffer (concat org-e-odt-zip-dir "content.xml")) (save-buffer 0)) *** Eval error *** Wrong type argument: stringp, nil ELISP> (get-file-buffer (concat org-e-odt-zip-dir "content.xml")) nil ELISP> I am surprised that `get-file-buffer' is returning nil. Why is there a mismatch between file names as reported by `file-name-as-directory' and `buffer-file-name'. The problem is seen with Ista's machine (CCed here) with the following setup. ,---- | GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN | | I have cygwin installed, but emacs is the windows version from | http://ftp.gnu.org/gnu/emacs/windows/ | | The OS is Windows XP professional with service pack 3. `---- Apparently the problem is not seen with either here or ,---- | Windows 7 | GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN `---- here ,---- | GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN | Windows 7 `---- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 27 13:03:25 2012 Received: (at 13013) by debbugs.gnu.org; 27 Nov 2012 18:03:25 +0000 Received: from localhost ([127.0.0.1]:42014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdPVE-0001Ub-91 for submit@debbugs.gnu.org; Tue, 27 Nov 2012 13:03:24 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:56818) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdPVB-0001US-J8 for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 13:03:23 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME500M00RCJB700@a-mtaout22.012.net.il> for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 20:01:04 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME500LW5RDSQ1C0@a-mtaout22.012.net.il>; Tue, 27 Nov 2012 20:01:04 +0200 (IST) Date: Tue, 27 Nov 2012 20:01:19 +0200 From: Eli Zaretskii Subject: Re: bug#13013: 24.3.50; Windows XP bug? get-file-buffer, file-name-as-directory In-reply-to: <87zk236jrq.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Jambunathan K Message-id: <831uffx6vk.fsf@gnu.org> References: <87zk236jrq.fsf@gmail.com> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 13013 Cc: istazahn@gmail.com, 13013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Jambunathan K > Date: Tue, 27 Nov 2012 22:54:57 +0530 > Cc: Ista Zahn > > > This report is a digest of following thread: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg62455.html. I will read it soon, for now replying only based on what you posted. > The problem is because of Emacs mangling file paths like this on Windows > XP. > > "c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-8052VuJ/" > "c:/Documents and Settings/IZAHN/Local Settings/Temp/odt-8052VuJ/content.xml" Emacs doesn't mangle file names. Emacs uses the value of TEMP environment variable, which Windows sets to a 8+3 alias of the long name (evidently trying to avoid bugs in programs that don't handle whitespace in file names). Emacs then converts the 8+3 alias to the full long name when it stores the file name in the buffer object of the buffer that visits the file. > Create a ielm buffer with > M-x ielm RET > > and type out the following 4 lisp forms ONE-by-ONE. > > (setq org-e-odt-zip-dir (file-name-as-directory (make-temp-file "odt-" t))) > > (with-current-buffer (find-file-noselect (concat org-e-odt-zip-dir "content.xml") t) (buffer-file-name)) > > (with-current-buffer (get-file-buffer (concat org-e-odt-zip-dir "content.xml")) (save-buffer 0)) > > (get-file-buffer (concat org-e-odt-zip-dir "content.xml")) The solution is to call file-truename on (concat org-e-odt-zip-dir "content.xml") Think of the 8+3 name as a symlink to the long file name. > I am surprised that `get-file-buffer' is returning nil. It returns nil because it compares file names with string-equal. > Why is there a mismatch between file names as reported by > `file-name-as-directory' and `buffer-file-name'. See above. Won't the same happen with symlinks? From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 27 13:40:08 2012 Received: (at 13013) by debbugs.gnu.org; 27 Nov 2012 18:40:08 +0000 Received: from localhost ([127.0.0.1]:42069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQ4l-0003FE-Q2 for submit@debbugs.gnu.org; Tue, 27 Nov 2012 13:40:08 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21107) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQ4j-0003F5-HX for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 13:40:06 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxKh9/2dsb2JhbABEsEiDSYEIghUBAQQBViMQCzQSFBgNEAETiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="208604499" Received: from 69-196-168-125.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.125]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Nov 2012 13:38:15 -0500 Received: by pastel.home (Postfix, from userid 20848) id 7AC7852110; Tue, 27 Nov 2012 13:38:13 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#13013: 24.3.50; Windows XP bug? get-file-buffer, file-name-as-directory Message-ID: References: <87zk236jrq.fsf@gmail.com> <831uffx6vk.fsf@gnu.org> Date: Tue, 27 Nov 2012 13:38:13 -0500 In-Reply-To: <831uffx6vk.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Nov 2012 20:01:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13013 Cc: 13013@debbugs.gnu.org, Jambunathan K , istazahn@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> I am surprised that `get-file-buffer' is returning nil. > It returns nil because it compares file names with string-equal. I think this brings us back to a recent suggestion to get rid of get-file-buffer and redefine it as an alias of find-buffer-visiting (which should work fine in this case). Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 27 14:01:12 2012 Received: (at 13013) by debbugs.gnu.org; 27 Nov 2012 19:01:12 +0000 Received: from localhost ([127.0.0.1]:42099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQPA-0003lP-Ke for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:01:12 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:38624) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQP8-0003lH-Fk for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 14:01:11 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME500M00U07X200@a-mtaout22.012.net.il> for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 20:59:19 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME500MGQU2UMK50@a-mtaout22.012.net.il>; Tue, 27 Nov 2012 20:59:18 +0200 (IST) Date: Tue, 27 Nov 2012 20:59:33 +0200 From: Eli Zaretskii Subject: Re: bug#13013: 24.3.50; Windows XP bug? get-file-buffer, file-name-as-directory In-reply-to: <831uffx6vk.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: kjambunathan@gmail.com, istazahn@gmail.com Message-id: <83mwy2x46i.fsf@gnu.org> References: <87zk236jrq.fsf@gmail.com> <831uffx6vk.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Tue, 27 Nov 2012 20:01:19 +0200 > From: Eli Zaretskii > Cc: istazahn@gmail.com, 13013@debbugs.gnu.org > > > From: Jambunathan K > > Date: Tue, 27 Nov 2012 22:54:57 +0530 > > Cc: Ista Zahn > > > > > > This report is a digest of following thread: > > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg62455.html. > > I will read it soon, for now replying only based on what you posted. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4999] X-Debbugs-Envelope-To: 13013 Cc: 13013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Tue, 27 Nov 2012 20:01:19 +0200 > From: Eli Zaretskii > Cc: istazahn@gmail.com, 13013@debbugs.gnu.org > > > From: Jambunathan K > > Date: Tue, 27 Nov 2012 22:54:57 +0530 > > Cc: Ista Zahn > > > > > > This report is a digest of following thread: > > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg62455.html. > > I will read it soon, for now replying only based on what you posted. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4346] > Date: Tue, 27 Nov 2012 20:01:19 +0200 > From: Eli Zaretskii > Cc: istazahn@gmail.com, 13013@debbugs.gnu.org > > > From: Jambunathan K > > Date: Tue, 27 Nov 2012 22:54:57 +0530 > > Cc: Ista Zahn > > > > > > This report is a digest of following thread: > > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg62455.html. > > I will read it soon, for now replying only based on what you posted. Read it, but didn't learn anything useful. > The problem is seen with Ista's machine (CCed here) with the following > setup. > ,---- > | GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN > | > | I have cygwin installed, but emacs is the windows version from > | http://ftp.gnu.org/gnu/emacs/windows/ > | > | The OS is Windows XP professional with service pack 3. > `---- > > Apparently the problem is not seen with either here or > ,---- > | Windows 7 > | GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN > `---- > > here > ,---- > | GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN > | Windows 7 > `---- Because Windows 7 doesn't put a 8+3 alias into TEMP, but instead uses the full long file name. Probably because XP still supports DOS programs (via NTVDM), while Windows 7 tossed that support. IOW, it works on Windows 7 "by sheer luck". From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 27 14:25:25 2012 Received: (at submit) by debbugs.gnu.org; 27 Nov 2012 19:25:26 +0000 Received: from localhost ([127.0.0.1]:42103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQmb-0004KQ-Le for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:25:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37634) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQmZ-0004KG-4X for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:25:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdQkj-0000gm-6W for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:23:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:47045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQkj-0000gi-3M for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:23:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQki-00025K-0Y for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:23:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdQkb-0000fE-62 for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:23:27 -0500 Received: from plane.gmane.org ([80.91.229.3]:34957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQka-0000eo-VK for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:23:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TdQki-00016j-2H for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 20:23:28 +0100 Received: from pd9eb3b29.dip.t-dialin.net ([217.235.59.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Nov 2012 20:23:28 +0100 Received: from Stromeko by pd9eb3b29.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Nov 2012 20:23:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Achim Gratz Subject: Re: bug#13013: 24.3.50; Windows XP bug? get-file-buffer, file-name-as-directory Date: Tue, 27 Nov 2012 20:23:08 +0100 Organization: Linux Private Site Lines: 16 Message-ID: <877gp64zqb.fsf@Rainer.invalid> References: <87zk236jrq.fsf@gmail.com> <831uffx6vk.fsf@gnu.org> <83mwy2x46i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb3b29.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) Cancel-Lock: sha1:AFfb3Uv2vuDoQo/J5bATl9u5wYU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Eli Zaretskii writes: > Because Windows 7 doesn't put a 8+3 alias into TEMP, but instead uses > the full long file name. Probably because XP still supports DOS > programs (via NTVDM), while Windows 7 tossed that support. Win7 may not support DOS programs, but it still supports 8+3 filenames, this is one of the easier ways to escape quoting hell on that platform. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 27 14:55:04 2012 Received: (at 13013) by debbugs.gnu.org; 27 Nov 2012 19:55:04 +0000 Received: from localhost ([127.0.0.1]:42129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdRFH-00052s-RM for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:55:04 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:52528) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdRFF-00052Q-6d for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 14:55:02 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME500000W444F00@a-mtaout22.012.net.il> for 13013@debbugs.gnu.org; Tue, 27 Nov 2012 21:52:35 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME500N4NWJL3O50@a-mtaout22.012.net.il>; Tue, 27 Nov 2012 21:52:35 +0200 (IST) Date: Tue, 27 Nov 2012 21:52:47 +0200 From: Eli Zaretskii Subject: Re: bug#13013: 24.3.50; Windows XP bug? get-file-buffer, file-name-as-directory In-reply-to: <877gp64zqb.fsf@Rainer.invalid> X-012-Sender: halo1@inter.net.il To: Achim Gratz Message-id: <83lidmx1ps.fsf@gnu.org> References: <87zk236jrq.fsf@gmail.com> <831uffx6vk.fsf@gnu.org> <83mwy2x46i.fsf@gnu.org> <877gp64zqb.fsf@Rainer.invalid> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Achim Gratz > Date: Tue, 27 Nov 2012 20:23:08 +0100 > > Eli Zaretskii writes: > > Because Windows 7 doesn't put a 8+3 alias into TEMP, but instead uses > > the full long file name. Probably because XP still supports DOS > > programs (via NTVDM), while Windows 7 tossed that support. > > Win7 may not support DOS programs, but it still supports 8+3 filenames, [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4988] X-Debbugs-Envelope-To: 13013 Cc: 13013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Achim Gratz > Date: Tue, 27 Nov 2012 20:23:08 +0100 > > Eli Zaretskii writes: > > Because Windows 7 doesn't put a 8+3 alias into TEMP, but instead uses > > the full long file name. Probably because XP still supports DOS > > programs (via NTVDM), while Windows 7 tossed that support. > > Win7 may not support DOS programs, but it still supports 8+3 filenames, Of course it does. I never said it didn't. I attempted to explain why XP sets TEMP to something like C:\DOCUME~1\USERNAME\LOCALS~1\Temp, whereas Windows 7 sets it to C:\Users\USERNAME\APPDATA\Local\Temp. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 13:12:08 2012 Received: (at control) by debbugs.gnu.org; 4 Dec 2012 18:12:08 +0000 Received: from localhost ([127.0.0.1]:53526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfwyV-00085k-SS for submit@debbugs.gnu.org; Tue, 04 Dec 2012 13:12:08 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:44990) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfwyT-00085d-MX for control@debbugs.gnu.org; Tue, 04 Dec 2012 13:12:06 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TfwyQ-0002mX-H9 for control@debbugs.gnu.org; Tue, 04 Dec 2012 13:12:02 -0500 Date: Tue, 04 Dec 2012 13:12:02 -0500 Message-Id: Subject: control message for bug 13013 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) close 13013 From unknown Sat Jun 21 03:16:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 02 Jan 2013 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator