Hi Carsten, Thank you for your reply. I explain why.
I tried org-publish.el to export local org files to html, and realized timestamps didn't work. In fact, `M-x org-publish-current-project' published all the files, including unchanged org files. In contrast, `C-u M-x org-publish-current-project' published only changed files. `org-publish-use-timestamp-flag' was not set, whose default value is t. In org-publish.el of verson 1.80b, the definition of org-publish-current-project is like below: : (defun org-publish-current-project (&optional force) : "Publish the project associated with the current file. : With prefix argument, force publishing all files in project." : (interactive "P") : (save-window-excursion : (let* ((project-name (org-publish-get-project-from-filename (buffer-file-name)))) : (if (not project-name) : (error "File %s is not part of any known project." (buffer-file-name))) : (org-publish project-name (if force nil t))))) I guess the last line is wrong. It reverses the force flag, and `org-publish' reverses the flag again. Is it correct? -- Kondo Konji At Tue, 26 Feb 2008 09:06:18 +0100, Carsten Dominik wrote: > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; US-ASCII (7bit)>] > Hi Kondo, > > Why do you think so? > Force is used in the org-bublish function to temporarily turn off > org-publish-use-timestamp-flag. > > - Carsten > > On Feb 25, 2008, at 7:23 PM, [EMAIL PROTECTED] wrote: > > > > > Hi. > > > > I've found (maybe) a bug. > > > > With org 5.22a (org-publish.el version 1.80 b), > > org-publish-current-project reverses the force flag > > when passing the flag to org-publish. > > > > Thanks. > > > > -- > > Kondo Kenji <[EMAIL PROTECTED]> > > > > > > _______________________________________________ > > 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 > > [1.2 <text/html; US-ASCII (quoted-printable)>] > > [2 <text/plain; us-ascii (7bit)>] > _______________________________________________ > 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 _______________________________________________ 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