From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Zhang Wei" Newsgroups: gmane.emacs.devel Subject: org-publish failed on windows because of illegal timestamp filename Date: Wed, 6 Feb 2008 00:33:35 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202236183 26307 80.91.229.12 (5 Feb 2008 18:29:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2008 18:29:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 05 19:30:05 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 1JMSYW-0002qF-GH for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 19:30:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMSY4-0001gT-2r for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 13:29:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMSXz-0001g2-2Q for emacs-devel@gnu.org; Tue, 05 Feb 2008 13:29:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMSXw-0001fi-Ml for emacs-devel@gnu.org; Tue, 05 Feb 2008 13:29:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMSXw-0001ff-H2 for emacs-devel@gnu.org; Tue, 05 Feb 2008 13:29:28 -0500 Original-Received: from ik-out-1112.google.com ([66.249.90.181]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMSXw-0002Fp-6X for emacs-devel@gnu.org; Tue, 05 Feb 2008 13:29:28 -0500 Original-Received: by ik-out-1112.google.com with SMTP id c29so405918ika.2 for ; Tue, 05 Feb 2008 10:29:26 -0800 (PST) Original-Received: by 10.151.85.20 with SMTP id n20mr325216ybl.28.1202229215138; Tue, 05 Feb 2008 08:33:35 -0800 (PST) Original-Received: by 10.150.148.7 with HTTP; Tue, 5 Feb 2008 08:33:35 -0800 (PST) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: 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:88293 Archived-At: The org-publish-timestamp-filename function try to compose a timestamp filename as something like "c:_BREP_org_notes.org.timestamp" which is illegal on windows, as there's a colon `:' in the filename. The following patch works for me: *** org-publish.el.~1.22.~ 2008-01-18 23:11:18.000000000 +0800 --- org-publish.el 2008-02-06 00:24:58.000000000 +0800 *************** *** 294,300 **** (defun org-publish-timestamp-filename (filename) "Return path to timestamp file for filename FILENAME." ! (while (string-match "~\\|/" filename) (setq filename (replace-match "_" nil t filename))) (concat org-publish-timestamp-directory filename ".timestamp")) --- 294,300 ---- (defun org-publish-timestamp-filename (filename) "Return path to timestamp file for filename FILENAME." ! (while (string-match "~\\|/\\|:/" filename) (setq filename (replace-match "_" nil t filename))) (concat org-publish-timestamp-directory filename ".timestamp"))