* Release 5.22
@ 2008-02-19 8:20 Carsten Dominik
2008-02-20 14:11 ` Bernt Hansen
0 siblings, 1 reply; 9+ messages in thread
From: Carsten Dominik @ 2008-02-19 8:20 UTC (permalink / raw)
To: org-mode mailing list
[-- Attachment #1.1: Type: text/plain, Size: 2042 bytes --]
Hi,
I am releasing org-mode 5.22 at the usual places.
Enjoy!
- Carsten
Changes in Version 5.22
~~~~~~~~~~~~~~~~~~~~~~~
Incompatible changes
====================
- The variable `org-log-done' is now less complex.
- The in-buffer settings for logging have changed. Some
options no longer exists, some new ones have been added.
Details
=======
Changes to logging progress
---------------------------
There is now more control over which state changes are being
logged in what way. Please read carefully the corresponding
sections in the manual. Basically:
- The variable `org-log-done' has been simplified, it no
longer influences logging state changes and clocking out.
- There is a new variable for triggering note-taking when
clocking out an item: `org-log-note-clock-out'.
- Logging of state changes now has to be configured on a
pre-keyword basis, either in `org-todo-keywords' or in the
#+TODO in-buffer setting.
- These per-keyword settings allow more control. For example
WAIT(w@) Record a note when entering this state.
WAIT(w!) Record a timestamp when entering this state.
WAIT(w@/!) Recore a note when entering and timestamp
when leaving this state. This is great for
getting a record when switching *back* from
WAIT to TODO.
WAIT(/!) Record a timestamp when leaving this state.
Here we not even define a fast access
character, but just the logging stuff.
This was triggered by requests from Wanrong Lin and Bernt Hansen.
Other
-----
- M-RET no longer brakes a line in the middle, it will make a
new line after the current or (if cursor is at the beginning
of the line) before the current line.
- RET, when executed in a headline after the main text and
before the tags will leave the tags in the current line and
create a new line below the current one.
[-- Attachment #1.2: Type: text/html, Size: 4090 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Release 5.22
2008-02-19 8:20 Release 5.22 Carsten Dominik
@ 2008-02-20 14:11 ` Bernt Hansen
2008-02-20 21:48 ` Carsten Dominik
0 siblings, 1 reply; 9+ messages in thread
From: Bernt Hansen @ 2008-02-20 14:11 UTC (permalink / raw)
To: Carsten Dominik; +Cc: org-mode mailing list
Carsten Dominik <dominik@science.uva.nl> writes:
> Changes to logging progress
> ---------------------------
>
> There is now more control over which state changes are being
> logged in what way. Please read carefully the corresponding
> sections in the manual. Basically:
>
> - The variable `org-log-done' has been simplified, it no
> longer influences logging state changes and clocking out.
> - There is a new variable for triggering note-taking when
> clocking out an item: `org-log-note-clock-out'.
> - Logging of state changes now has to be configured on a
> pre-keyword basis, either in `org-todo-keywords' or in the
> #+TODO in-buffer setting.
> - These per-keyword settings allow more control. For example
>
> WAIT(w@) Record a note when entering this state.
> WAIT(w!) Record a timestamp when entering this state.
> WAIT(w@/!) Recore a note when entering and timestamp
> when leaving this state. This is great for
> getting a record when switching *back* from
> WAIT to TODO.
> WAIT(/!) Record a timestamp when leaving this state.
> Here we not even define a fast access
> character, but just the logging stuff.
>
> This was triggered by requests from Wanrong Lin and Bernt Hansen.
>
I tried setting my TODO keywords to
(setq org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)")
(sequence "WAITING(w@/!)" "|" "CANCELLED(c!/!)")
(sequence "SOMEDAY(s!/!)" "|")))
But that messes up the agenda view. Old DONE tasks appear again (things
with due dates -446 days ago for instance)
Removing the /! and restarting emacs fixes it.
Sorry :(
Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Release 5.22
2008-02-20 14:11 ` Bernt Hansen
@ 2008-02-20 21:48 ` Carsten Dominik
2008-02-20 22:16 ` Bernt Hansen
2008-02-21 2:31 ` org export html with header and footer option Xin Shi
0 siblings, 2 replies; 9+ messages in thread
From: Carsten Dominik @ 2008-02-20 21:48 UTC (permalink / raw)
To: Bernt Hansen; +Cc: org-mode mailing list
[-- Attachment #1.1: Type: text/plain, Size: 2292 bytes --]
Hi Bernt,
thanks. Please try the following patch:
- Carsten
--- org.el.orig 2008-02-20 22:45:38.000000000 +0100
+++ org.el 2008-02-20 22:45:59.000000000 +0100
@@ -4670,7 +4670,7 @@
(defun org-remove-keyword-keys (list)
(mapcar (lambda (x)
- (if (string-match "(..?)$" x)
+ (if (string-match "(.+)$" x)
(substring x 0 (match-beginning 0))
x))
list))
On Feb 20, 2008, at 3:11 PM, Bernt Hansen wrote:
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Changes to logging progress
>> ---------------------------
>>
>> There is now more control over which state changes are being
>> logged in what way. Please read carefully the corresponding
>> sections in the manual. Basically:
>>
>> - The variable `org-log-done' has been simplified, it no
>> longer influences logging state changes and clocking out.
>> - There is a new variable for triggering note-taking when
>> clocking out an item: `org-log-note-clock-out'.
>> - Logging of state changes now has to be configured on a
>> pre-keyword basis, either in `org-todo-keywords' or in the
>> #+TODO in-buffer setting.
>> - These per-keyword settings allow more control. For example
>>
>> WAIT(w@) Record a note when entering this state.
>> WAIT(w!) Record a timestamp when entering this state.
>> WAIT(w@/!) Recore a note when entering and timestamp
>> when leaving this state. This is great for
>> getting a record when switching *back* from
>> WAIT to TODO.
>> WAIT(/!) Record a timestamp when leaving this state.
>> Here we not even define a fast access
>> character, but just the logging stuff.
>>
>> This was triggered by requests from Wanrong Lin and Bernt Hansen.
>>
>
> I tried setting my TODO keywords to
>
> (setq org-todo-keywords
> '((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)")
> (sequence "WAITING(w@/!)" "|" "CANCELLED(c!/!)")
> (sequence "SOMEDAY(s!/!)" "|")))
>
> But that messes up the agenda view. Old DONE tasks appear again
> (things
> with due dates -446 days ago for instance)
>
> Removing the /! and restarting emacs fixes it.
>
> Sorry :(
>
> Bernt
[-- Attachment #1.2: Type: text/html, Size: 5192 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Release 5.22
2008-02-20 21:48 ` Carsten Dominik
@ 2008-02-20 22:16 ` Bernt Hansen
2008-02-21 2:31 ` org export html with header and footer option Xin Shi
1 sibling, 0 replies; 9+ messages in thread
From: Bernt Hansen @ 2008-02-20 22:16 UTC (permalink / raw)
To: Carsten Dominik; +Cc: org-mode mailing list
Carsten Dominik <dominik@science.uva.nl> writes:
> thanks. Please try the following patch:
That seems to fix it - thanks!
Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* org export html with header and footer option
2008-02-20 21:48 ` Carsten Dominik
2008-02-20 22:16 ` Bernt Hansen
@ 2008-02-21 2:31 ` Xin Shi
2008-02-21 3:36 ` William Henney
1 sibling, 1 reply; 9+ messages in thread
From: Xin Shi @ 2008-02-21 2:31 UTC (permalink / raw)
To: org-mode mailing list
Hello,
I've been using Emacs Muse and Planner to maintain my project in html format for about 3 years. Until recently, I started looking into the org mode and really impressed by it!
Now, when I want to publish org to html, it is possible to add a header and footer file? Usually the header file contains the style and other format related settings.
Just for reference, here is the settings in Emacs Muse:
------------------------------------------------------------------------
(muse-derive-style "calendar" "planner-xhtml"
:header "~/work/static/templates/header-calendar.html"
:footer "~/work/static/templates/footer.html")
(setq muse-project-alist
(append muse-project-alist
`(
("cms-calendar"
("~/work/calendar/"
:force-publish ("index")
:default "index")
(:base "calendar"
:path "~/work/cms/calendar/"))
)))
------------------------------------------------------------------------
Thanks!
Xin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org export html with header and footer option
2008-02-21 2:31 ` org export html with header and footer option Xin Shi
@ 2008-02-21 3:36 ` William Henney
2008-02-21 4:49 ` Xin Shi
2008-02-21 15:35 ` Xin Shi
0 siblings, 2 replies; 9+ messages in thread
From: William Henney @ 2008-02-21 3:36 UTC (permalink / raw)
To: Xin Shi; +Cc: org-mode mailing list
Hi Xin
On 20 Feb 2008 21:31:07 -0500, Xin Shi <xs32@cornell.edu> wrote:
> Now, when I want to publish org to html, it is possible to add a header and footer file? Usually the header file contains the style and other format related settings.
There is a variable org-export-html-style, which lets insert stuff
into the <head> ... </head> section of the html file. Despite its
name, you can abuse it to add stuff other than stylesheets. For
instance,
# Local Variables:
# org-export-html-style: "<link rel=stylesheet
# href=\"temarios.css\"
# type=\"text/css\">
# <meta HTTP-EQUIV=\"Refresh\" CONTENT=300>"
# End:
There are also two variables: org-export-html-preamble and
org-export-html-postamble that allow you set fixed code to appear at
the beginning and end of the <body> ... </body> section of the file.
Unlike muse, they have to be literal strings rather than references to
files.
HTH
Will
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org export html with header and footer option
2008-02-21 3:36 ` William Henney
@ 2008-02-21 4:49 ` Xin Shi
2008-02-21 15:35 ` Xin Shi
1 sibling, 0 replies; 9+ messages in thread
From: Xin Shi @ 2008-02-21 4:49 UTC (permalink / raw)
To: William Henney; +Cc: org-mode mailing list
Hi Will,
Thanks for your message!
So, for your first solution, I just put the code into my .org file?
# Local Variables:
# org-export-html-style: "<link rel=stylesheet
# href=\"temarios.css\"
# type=\"text/css\">
# <meta HTTP-EQUIV=\"Refresh\" CONTENT=300>"
# End:
I'll check it out.
Xin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org export html with header and footer option
2008-02-21 3:36 ` William Henney
2008-02-21 4:49 ` Xin Shi
@ 2008-02-21 15:35 ` Xin Shi
2008-02-21 15:47 ` William Henney
1 sibling, 1 reply; 9+ messages in thread
From: Xin Shi @ 2008-02-21 15:35 UTC (permalink / raw)
To: William Henney; +Cc: org-mode mailing list
Hi Will,
I've tried that and it works pretty well!
There are still one minor issue bother me:
I would like to turn off the Author and Date at the end of the page. And instead add my own style footer:
org-export-html-postamble: " <div id=\"footer\">
Updated February 20, 2008
</div>
And I don't know how to put a variable for the date format. (In the muse case, it is
<div id="footer">
Updated <lisp>(muse-publishing-directive "date")</lisp>
</div>
Thanks!
Xin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org export html with header and footer option
2008-02-21 15:35 ` Xin Shi
@ 2008-02-21 15:47 ` William Henney
0 siblings, 0 replies; 9+ messages in thread
From: William Henney @ 2008-02-21 15:47 UTC (permalink / raw)
To: Xin Shi; +Cc: org-mode mailing list
Hi Xin
On 21 Feb 2008 10:35:02 -0500, Xin Shi <xs32@cornell.edu> wrote:
> There are still one minor issue bother me:
>
> I would like to turn off the Author and Date at the end of the page. And instead add my own style footer:
>
> org-export-html-postamble: " <div id=\"footer\">
> Updated February 20, 2008
> </div>
>
> And I don't know how to put a variable for the date format. (In the muse case, it is
>
> <div id="footer">
> Updated <lisp>(muse-publishing-directive "date")</lisp>
> </div>
>
As far as I know, you can only include static text in the
header/footer. Maybe Bastien's new exporter will include this
functionality.
Cheers
Will
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-02-21 15:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19 8:20 Release 5.22 Carsten Dominik
2008-02-20 14:11 ` Bernt Hansen
2008-02-20 21:48 ` Carsten Dominik
2008-02-20 22:16 ` Bernt Hansen
2008-02-21 2:31 ` org export html with header and footer option Xin Shi
2008-02-21 3:36 ` William Henney
2008-02-21 4:49 ` Xin Shi
2008-02-21 15:35 ` Xin Shi
2008-02-21 15:47 ` William Henney
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).