From: Carsten Dominik <dominik@science.uva.nl>
To: Tokuya Kameshima <kames@fa2.so-net.ne.jp>
Cc: emacs-orgmode@gnu.org
Subject: Re: patch to org-public.el for Windows
Date: Tue, 5 Feb 2008 19:11:37 +0100 [thread overview]
Message-ID: <E6DD295E-F7BC-45A5-8A19-90318B2BA3F1@science.uva.nl> (raw)
In-Reply-To: <ulk5zcxl3.wl%kames@fa2.so-net.ne.jp>
applied, thanks.
- Carsten
On Feb 5, 2008, at 3:00 PM, Tokuya Kameshima wrote:
> Hi all.
>
> This is a patch to org-public.el for Emacs on Windows. In Windows
> systems, the file names are not allowed to have ":" in it. So, we
> need to convert ":" to "_".
>
> Thanks,
> --Tokuya
>
>
> --- org-publish.el.ORIG Sat Jan 19 15:38:38 2008
> +++ org-publish.el Tue Feb 05 13:55:18 2008
> @@ -294,7 +294,8 @@
>
> (defun org-publish-timestamp-filename (filename)
> "Return path to timestamp file for filename FILENAME."
> - (while (string-match "~\\|/" filename)
> + (while (string-match (if (eq system-type 'windows-nt) "~\\|/\\|:"
> "~\\|/")
> + filename)
> (setq filename (replace-match "_" nil t filename)))
> (concat org-publish-timestamp-directory filename ".timestamp"))
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-02-05 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 14:00 patch to org-public.el for Windows Tokuya Kameshima
2008-02-05 18:11 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E6DD295E-F7BC-45A5-8A19-90318B2BA3F1@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=kames@fa2.so-net.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).