org-babel: make [:file filename] imply [:exports results]
[rgr-org-mode.git] / lisp / ChangeLog
blob822bd579ad40453e5a18a9840c87b93075062fbb
1 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-mobile.el (org-mobile-apply): Count success and failure.
5         * org.el (org-indent-line-function): Fix regexp replace problem.
7 2009-10-19  John Wiegley  <johnw@newartisans.com>
9         * org-agenda.el (org-agenda-auto-exclude-function): New
10         customization variable for allowing the user to create an "auto
11         exclusion" filter for doing context-aware auto tag filtering.
12         (org-agenda-filter-by-tag): Changes to support the use of
13         `org-agenda-auto-exclude-function'.  See the new manual addition,.
15 2009-10-18  John Wiegley  <johnw@newartisans.com>
17         * org.el (org-files-list): Don't attempt to return a file name for
18         Org buffers which have no associated file.
20         * org-agenda.el (org-agenda-do-action): Fixed a typo.
22 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
24         * org-mobile.el (org-mobile-locate-entry): Interpret files
25         relative to org-directory.
26         (org-mobile-inbox-for-pull): Document the best location for this
27         file.
28         (org-mobile-check-setup): Verify `org-directory'.
29         (org-mobile-create-index-file): Sort the files to be listed in
30         index.org.
32 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
34         * org-clock.el (org-clock-resolve, org-resolve-clocks)
35         (org-emacs-idle-seconds): Use `org-float-time' instead of
36         `time-to-seconds'
38 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
40         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
41         type.
43         * org.el (org-pre-cycle-hook): Document that `empty' can also be
44         the value of ARG when doing local cycling.
46 2009-10-17  John Wiegley  <johnw@newartisans.com>
48         * org-clock.el (org-clock-resolve-clock): If keeping or
49         subtracting time results in a clock out at a time in the past, and
50         if the resolution occurred due to idleness or invoking `M-x
51         org-resolve-clocks', remember that past moment in time.  On the
52         next clock in, the user will be prompted to see if they want to
53         back-date their new clock to then.
54         (org-clock-resolve): Do not jump the user to the location of a
55         dangling clock if the resolution is occuring due to an idle
56         timeout.  In that case there is typically only one dangling clock,
57         the active one, and there is no value gained by shuffling their
58         windows around to show it to them.  Being prompted to resolve an
59         idle clock should be as inobtrusive as possible.
60         (org-resolve-clocks-if-idle): New function that resolves only the
61         currently active clock if the user has exceeded the time returned
62         by `org-user-idle-seconds', based on the value of
63         `org-clock-idle-time'.
64         (org-clock-in): If, after resolving clocks, 
65         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
67         * org-clock.el (org-clock-resolve-clock): New function that
68         resolves a clock to a specific time, closing or resuming as need
69         be, and possibly even starting a new clock.
70         (org-clock-resolve): New function used by `org-resolve-clocks'
71         that sets up for the call to `org-clock-resolve-clock'.  It
72         determines the time to resolve to based on a single-character
73         selection from the user to either keep time, subtract away time or
74         cancel the clock.
75         (org-resolve-clocks): New user command which resolves dangling
76         clocks -- that is, open but not active -- anywhere in the file
77         list returned by `org-files-list'.
78         (org-clock-in): Automatically resolve dangling clocks whenever a
79         user clocks in.
80         (org-clock-cancel): If the user cancels the solely clock in a
81         LOGBOOK, remove the empty drawer.
83         * org-clock.el (org-clock-idle-time): New user customizable option
84         for detecting whether the user has left a clock idle.  Note: it is
85         only used in this commit to test whether it's worthwhile to check
86         OS X to get the Mac user's current idle time.  If the Emacs idle
87         time is less than the value, the user hasn't been away long enough
88         to be worth checking (a more expensive test than just getting
89         Emacs idle time).
90         (org-user-idle-seconds, org-mac-idle-seconds)
91         (org-emacs-idle-seconds): This three functions, in conjunction
92         with the user customization variable `org-clock-idle-time', return
93         the number of seconds (as a floating point) that the user has been
94         away from their Emacs (or, if running on OS X, their computer).
96         * org-clock.el (org-find-open-clocks): New function that returns a
97         list of all open clocks in the given FILE.  Note that each clock
98         it returns is a cons cell of the format (MARKER . START-TIME).
99         This "clock" value is used by several of the new clock module
100         utility functions.
101         (org-is-active-clock): New inline function which tests whether the
102         given clock value is the same as the currently active clock.
103         Returns non-nil if this is the case.
104         (org-with-clock-position): New macro that evaluates FORMS with
105         point in the buffer and at the position of the given clock.
106         Changes to the current clock are global.
107         (org-with-clock): New macro that evaluates FORMS with point in the
108         buffer and at the position of the given clock.  However, changes
109         to the current clock are local and have no effect on the user's
110         active clock.  This allows, for example, far any clock to be
111         cancelled without cancelling the active clock.
112         (org-clock-clock-in): New inline function that switches the active
113         clock to the given clock.  If either the argument RESUME, or the
114         global `org-clock-in-resume', are non-nil, it will resume a clock
115         that was previously left open.
116         (org-clock-clock-out): New inline function that clocks out the
117         given clock value without affecting the currently active clock.
118         (org-clock-clock-cancel): New inline function that cancels the
119         given clock value without affecting the currently active clock.
121         * org-clock.el (org-clock-in): Before creating
122         `org-clock-mode-line-timer', check to make sure an older timer is
123         not currently running.
124         (org-clock-out): Accept new third parameter `at-time', which
125         permits a clock to be clocked out at a specific time.  Note that
126         no attempt is made to verify that the clock out time is later than
127         the clock in time.
129         * org.el (org-files-list): New utility function for returning a
130         list of all open org-mode buffers, plus all files used to build
131         the agenda buffer.  Note that not all the files will necessarily
132         be visited by a buffer at time of call.
133         (org-entry-beginning-position): Like the function
134         `line-beginning-position', this inline function returns the
135         beginning position of the current heading/entry.
136         (org-entry-end-position): Like the function `line-end-position',
137         this inline function returns the end position of the current
138         heading/entry.
140 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
142         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
143         a header line.
145 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
147         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
149 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
151         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
152         entries that have no tags.
153         (org-agenda-search-view): New customize group.
154         (org-agenda-search-view-search-words-only): New option.
155         (org-search-view): Implement substring search.
157 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
159         * org.el (org-outline-level): Add doc string.
161 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
163         * org-inlinetask.el (org-inlinetask-export): Re-introduce
164         variable.
165         (org-inlinetask-export-handler): Only export inline task if the
166         user option calls for it.
168 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
170         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
171         END if present.
173 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
175         * org-latex.el (org-export-latex-tables): Don't format in
176         protected regions.
178 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
180         * org-src.el (org-edit-src-code)
181         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
182         macro editing.
184         * org-agenda.el (org-prefix-category-max-length): New variable.
185         (org-format-agenda-item): Use `org-prefix-category-max-length'.
186         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
188 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
190         * org-mobile.el (org-mobile-create-index-file): Improve the
191         listing of tags and todo keywords.
193         * org-latex.el (org-export-latex-format-image): New function.
194         (org-export-latex-links): Use `org-export-latex-format-image'.
196 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
198         * org-inlinetask.el (org-inlinetask-get-current-indentation)
199         (org-inlinetask-remove-terminator): New functions.
200         (org-inlinetask-export-handler): Terminate the description list.
202         * org-exp.el (org-export-select-backend-specific-text): Remove the
203         region markers.
205         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
206         tasks without content.
208         * org-clock.el: Make sure the clock-in target position does not
209         move to a different node by widening the buffer.
211         * org-html.el (org-export-html-format-image): Wrap image into
212         figure div only when there is a caption.
214         * org-archive.el (org-archive-mark-done): Change default value to
215         nil.
217 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
219         * org.el (org-context): Call `bobp', not `eobp'.
221         * org-clock.el (org-clock-cancel): Remove quotes from marker
222         variables.
224         * org.el (org-read-date-prefer-future): New allowed value `time'.
225         (org-read-date-analyze): Shift day to tomorrow depending on time
226         entered and value of `org-read-date-prefer-future'.
228 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
230         * org.el (org-set-tags-to): New command.
232         * org-mobile.el (org-mobile-action-alist): Add more options and
233         update the docstring.
234         (org-mobile-apply-flags): Parse for and use the data.
236         * org-latex.el (org-export-latex-set-initial-vars): Also check in
237         the plist.
239         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
240         keyword.
242         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
244 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
246         * org-inlinetask.el (org-inlinetask-export): Option removed.
247         (org-inlinetask-export-handler): Better export.
249         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
250         (org-export-as-xoxo): Run the new hook.
252         * org-html.el (org-export-html-final-hook): New hook.
253         (org-export-as-html): Run the new hook.
255         * org-docbook.el (org-export-docbook-final-hook): New hook.
256         (org-export-as-docbook): Run the new hook.
258         * org-ascii.el (org-export-ascii-final-hook): New hook.
259         (org-export-as-ascii): Run the new hook.
261         * org-mobile.el (org-mobile-create-sumo-agenda): Call
262         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
264         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
265         space character as the character before the ^/_.
266         (org-export-latex-final-hook): New hook.
267         (org-export-as-latex): Run `org-export-latex-final-hook'.
269 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
271         * org-macs.el (org-if-unprotected-at): Fix docstring.
273         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
274         text in the prefix (if category is a link).
276         * org-latex.el (org-export-latex-preprocess): Deal properly with
277         empty lines in verse environments.
279         * org.el (org-format-latex-header): Inline fullpage.sty.
281         * org-footnote.el (org-footnote-create-definition): Reveal context
282         to add a new footnote definition.
284         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
285         the index file.
286         (org-mobile-files): New option.
287         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
288         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
289         functions.
290         (org-mobile-push): Start by creating the files lists.
291         (org-mobile-copy-agenda-files): Move killing the buffer to after
292         the save-excursion has exited.
293         (org-mobile-write-checksums): Write checksums also for files in
294         sub-directories.
296         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
297         org-table-recalculate when cursor is in TBLFM line.
299         * org-list.el (org-renumber-ordered-list): Fix cursor position
300         when bullet length has changed.
302 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
304         * org.el (org-format-latex): Mention `org-format-latex-options' in
305         the docstring.
307 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org.el (org-agenda-get): New function.
311         * org-agenda.el (org-agenda-post-command-hook): No longer move
312         point away from end of line.
313         (org-agenda-add-entry-text, org-agenda-collect-markers)
314         (org-finalize-agenda, org-agenda-mark-clocking-task)
315         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
316         (org-agenda-entry-text-show, org-agenda-highlight-todo)
317         (org-agenda-compare-effort, org-agenda-filter-apply)
318         (org-agenda-later, org-agenda-change-time-span)
319         (org-agenda-post-command-hook, org-agenda-show-priority)
320         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
321         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
322         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
323         (org-agenda-open-link, org-agenda-copy-local-variable)
324         (org-agenda-switch-to, org-agenda-check-no-diary)
325         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
326         (org-agenda-add-note, org-agenda-change-all-lines)
327         (org-agenda-priority, org-agenda-set-tags)
328         (org-agenda-set-property, org-agenda-set-effort)
329         (org-agenda-toggle-archive-tag, org-agenda-date-later)
330         (org-agenda-show-new-time, org-agenda-date-prompt)
331         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
332         (org-agenda-clock-in, org-agenda-bulk-mark)
333         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
334         `org-get-at-bol'.
336         * org-colview.el (org-columns-display-here)
337         (org-columns-edit-allowed, org-agenda-columns): Use
338         `org-get-at-bol'.
340 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
342         * org.el (org-special-ctrl-a/e): Improve documentation and
343         customize type.
344         (org-end-of-line): Don't jump to after the ellipsis.
345         (org-mode-map): Bind <home> and <end> as well.
347 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
349         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
350         space after #+ as comments.
351         (org-open-at-point): Run `org-follow-link-hook' always.
353         * org-latex.el (org-export-latex-emph-format): Use better commands
354         to insert special characters in verbatim snippets.
356 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
358         * org-faces.el (org-copy-face): New function.  Use it to create
359         various faces formerly created by using `copy-face'.
361         * org-agenda.el (org-prepare-agenda): Don't officially mark this
362         window dedicated.
363         (org-agenda-quit): Kill the frame containing the agenda window if
364         that frame was created for the agenda.
366 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
368         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
369         stamp in the agenda.
371 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
373         * org-mobile.el (org-mobile-create-index-file): Add the list of
374         TODO keywords, and the list of drawers to the index file.
376         * org-agenda.el (org-prepare-agenda): Reset
377         `org-drawers-for-agenda'.
378         (org-prepare-agenda): Uniquify list of drawers.
380         * org.el (org-complex-heading-regexp-format): New variable.
381         (org-set-regexps-and-options): Define
382         `org-complex-heading-regexp-format'.
383         (org-drawers-for-agenda): New variable.
384         (org-map-entries): Bind `org-drawers-for-agenda'.
385         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
387         * org-remember.el (org-go-to-remember-target)
388         (org-remember-handler): Use `org-complex-heading-regexp-format'.
390 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
392         * org-agenda.el (org-agenda-highlight-todo): Fix text property
393         problem.
395         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
396         the capture file, and make it non-configurable.
398         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
399         always with `invisible-ok'.
400         (org-store-link): No error when there is nothing to link to in the
401         agenda.
403         * org-list.el (org-update-checkbox-count): Insert changed cookie
404         before the old, to avoid problems with invisibility at the end of
405         the line.
406         (org-update-checkbox-count): Insert changed cookie before the old,
407         to avoid problems with invisibility at the end of the line.
409         * org.el (org-sort-entries-or-items): Include the final newline.
410         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
411         lines for fontification.
412         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
413         (org-prepare-dblock): Store the current indentation of the BEGIN
414         line.
415         (org-update-dblock): Apply the indentation of the begin line to
416         the rest of the block.
417         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
418         (org-startup-folded): New allowed value `showeverything'.
419         (org-startup-options): Add STARTUP keyword `showeverything'.
420         (org-set-startup-visibility): Respect value `showeverything' in
421         org-startup-folded.
423 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
425         * org.el (org-closest-date): Fix issue with past preference.
427         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
429         * org-archive.el (org-archive-set-tag)
430         (org-archive-subtree-default): New commands.
432         * org-mobile.el (org-mobile-create-index-file): Fix link to
433         capture file.
434         (org-mobile-copy-agenda-files): Create the capture file if it does
435         not exist.
437         * org-clock.el (org-clock-clocktable-default-properties): New
438         option.
439         (org-clock-report): Use
440         `org-clock-clocktable-default-properties'.
442 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
444         * org.el (org-iswitchb-completing-read): Fix typo.
446         * org-crypt.el: New file.
448         * org.el: Add an entry for org-crypt.
450 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
452         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
453         consistency.
454         (org-batch-store-agenda-views): New function.
455         (org-mobile-force-id-on-agenda-items): Mention variable.
456         (org-agenda-title-append): Define variable.
457         (org-write-agenda): New export to Org files.
458         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
459         (org-agenda): Allow to keep the restricted file list if a special
460         variable is bound to t.
461         (org-agenda): Define a special agenda view for working on flagged
462         entries.
463         (org-agenda-get-restriction-and-command): List the new agenda
464         view.
465         (org-agenda-show-the-flagging-note): New command.
466         (org-agenda-mode-map): New key `?' for looking at the flagging
467         note.
469         * org.el (org-autoload): Autoload org-mobile.el.
470         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
472         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
474 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
476         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
477         statements.
478         (org-table-get-remote-range): Match indented #+TBLNAME
479         statements.
481         * org.el (org-convert-to-odd-levels)
482         (org-convert-to-oddeven-levels): Work also correctly if the file
483         is in outline-mode.
485 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
487         * org.el (org-store-link): When in agenda buffer, link to
488         referenced entry.
489         (org-add-planning-info): Remove spaces at eol.
491         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
492         property.
494 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
496         * org-latex.el (org-export-latex-first-lines): Fix problem with
497         LaTeX export of first line and selected subtree.
499         * org.el (org-shifttab): Interpret arg differently when using only
500         odd levels.
502 2009-09-09  Bastien Guerry  <bzg@altern.org>
504         * org.el (org-check-agenda-file): Use a more explicit message
506 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
508         * org-exp.el (org-export-remove-special-table-lines): Don't remove
509         normal lines.
511 2009-09-08  Bastien Guerry  <bzg@altern.org>
513         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
514         prompt in the temporary window.
516         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
517         prefix for marked entries in the agenda view.
519 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
521         * org.el (outline-end-of-subtree): Bugfix: advise this function in
522         a way that prevents any trailing character from being displayed.
524 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
527         menu.
529         * org-exp.el (org-export-remove-special-table-lines): Remove bad
530         slow regexp match.
532 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
534         * org-latex.el (org-export-latex-preprocess): Do not protect in
535         the LaTeX header.
537         * org-src.el (org-edit-src-save): Save window setup while saving.
538         (org-edit-src-code): Use new buffer name construction scheme.
540 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
542         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
543         variable.
544         (org-agenda-entry-text-cleanup-hook): New hook.
545         (org-agenda-get-some-entry-text): Remove matches of
546         `org-agenda-entry-text-exclude-regexps' and run the hook
547         `org-agenda-entry-text-cleanup-hook'.
549         * org.el (org-offer-links-in-entry): New argument ZERO to
550         implement a link with index zero.
551         (org-cycle-show-empty-lines): Not keep empty line under header
552         hidden.
553         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
554         to nil for special completion.
555         (org-store-link): Don't error before the first heading.
557         * org-agenda.el (org-agenda-open-link): Pass the prefix to
558         `org-offer-links-in-entry'.
560 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
562         * org-agenda.el (org-agenda-quit): Provide the window argument for
563         `window-dedicated-p', Emacs 22 needs it.
564         (org-format-agenda-item): If the category is a link, arrange for
565         invisible text to replaced with spaces.
566         (org-compile-prefix-format): Add the extra space.
567         (org-prefix-category-length): New variable.
569         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
570         references from TOC lines.
572         * org.el (org-selected-window): New variable.
574         * org-table.el (org-table-edit-formulas): Remember the selected
575         window.
576         (org-table-fedit-finish, org-table-fedit-abort): Select the window
577         that was originally selected.
579         * org-exp.el (org-export-preprocess-apply-macros): Scan the
580         expansion of a macro for more macro definitions.
582         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
583         invisibility overlay starts on the newline.
585 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
587         * org-protocol.el (org-protocol-store-link)
588         (org-protocol-remember, org-protocol-open-source): Add autoloads.
590         * org-compat.el (org-float-time): New function.
592         * org.el (org-clock-update-time-maybe)
593         (org-sort-entries-or-items, org-do-sort)
594         (org-evaluate-time-range, org-time-string-to-seconds)
595         (org-closed-in-range): Use `org-float-time'.
597         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
598         (org-timer-seconds):  Use `org-float-time'.
600         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
601         (org-clock-sum, org-dblock-write:clocktable)
602         (org-clocktable-steps):  Use `org-float-time'.
604         * org-agenda.el (org-agenda-last-marker-time)
605         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
607         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
608         function.
610         * org-exp.el (org-get-file-contents): Only protect lines that
611         really need it.
613         * org-html.el (require): Require cl for compilation.
615         * org.el:  Avoid using `default-major-mode'.
617         * org-plot.el (require): Require CL only at compile time.
619         * org-exp.el (require): Require CL only at compile time.
621         * org-agenda.el (org-agenda-quit): When the agenda window is
622         dedicated, remove other windows before exiting, so that the frame
623         really will be killed.
625         * org-exp.el (org-export-handle-include-files): Reset START and
626         END for each loop cycle.
628 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
630         * org.el (org-eval-in-calendar): Use
631         `org-select-frame-set-input-focus'.
633         * org-compat.el (org-select-frame-set-input-focus): New function.
635         * org.el (org-update-statistics-cookies): New function.
636         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
638 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
640         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
641         after the local variables are set.
643         * org-latex.el (org-export-latex-protect-amp): New function.
644         (org-export-latex-links): Protect link ampersands in tables.
646         * org-exp.el (org-export-select-backend-specific-text): Match in
647         two steps, to avoid regexp problems.
649         * org.el (org-offer-links-in-entry): Improve working with many and
650         duplicate links.
652         * org-agenda.el (org-agenda-show-1): Make more consistent with
653         normal cycling.
654         (org-agenda-cycle-show): Make more consistent with normal cycling.
656         * org-gnus.el (org-gnus-store-link): Restore the linking to a
657         website.
659 2009-08-30  Bastien Guerry  <bzg@altern.org>
661         * org-latex.el (org-export-latex-first-lines): Bugfix.
663 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
665         * org-clock.el (org-clock-modify-effort-estimate): Emit message
666         about new effort.
668         * org.el (org-set-effort): New function.
669         (org-mode-map): New key for effort setting command.
671         * org-agenda.el (org-agenda): Keep window setup when calling
672         agenda from within agenda window.
673         (org-agenda-mode-map): New keys for effort setting commands.
674         (org-agenda-menu): Add effort setting commands to menu.
675         (org-agenda-set-property, org-agenda-set-effort): New functions.
677         * org-latex.el (org-export-latex-tables): Fix
678         `org-table-last-alignment' and `org-table-last-column-widths' if
679         the first column has been removed.
681 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
683         * org.el (org-remove-timestamp-with-keyword): Only remove in
684         entry, not in subtree.
686         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
687         emacs lisp.
689         * org.el (org-open-at-point): When on headline, offer all strings
690         in entry.
692         * org-remember.el (org-remember-templates): Documentation fix.
694         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
695         `org-get-last-sibling' instead of the outline versions of these
696         functions.
697         (org-get-last-sibling): New function.
698         (org-refile): Use `org-get-next-sibling' instead of the outline
699         version of this function.
700         (org-clean-visibility-after-subtree-move): Use
701         `org-get-next-sibling' and `org-get-last-sibling' instead of the
702         outline versions of these functions.
704 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
706         * org-agenda.el (org-prepare-agenda): When creating a new frame
707         for the agenda, make the window dedicated.
709         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
711         * org-table.el (org-table-align): Change the order of reinsertion
712         and deletion, to avoid problems with overlays following the table.
714         * org.el (org-parse-time-string): Better error message.
715         (org-show-subtree): Use org-end-of-subtree.
717         * org-macs.el (org-goto-line): New defsubst.
719         * org.el (org-open-file, org-change-tag-in-region)
720         (org-fast-tag-show-exit): Don't use `goto-line'.
722         * org-table.el (org-table-align, org-table-insert-column)
723         (org-table-delete-column, org-table-move-column)
724         (org-table-sort-lines, org-table-copy-region)
725         (org-table-paste-rectangle, org-table-wrap-region)
726         (org-table-get-specials, org-table-rotate-recalc-marks)
727         (org-table-get-range, org-table-recalculate)
728         (org-table-edit-formulas, org-table-fedit-convert-buffer)
729         (org-table-show-reference, org-table-highlight-rectangle): Don't
730         use `goto-line'.
732         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
733         (org-edit-src-exit): Don't use `goto-line'.
735         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
737         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
738         Don't use `goto-line'.
740         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
742         * org-colview.el (org-columns, org-columns-redo)
743         (org-agenda-columns): Don't use `goto-line'.
745         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
746         use `goto-line'.
748         * org-agenda.el (org-agenda-mode): Force visual line motion off.
749         (org-agenda-add-entry-text-maxlines): Improve docstring.
750         (org-agenda-start-with-entry-text-mode): New option.
751         (org-agenda-entry-text-maxlines): New option.
752         (org-agenda-entry-text-mode): New variable.
753         (org-agenda-mode): Set initial value of
754         `org-agenda-entry-text-mode'.
755         (org-agenda-mode-map): Add the `E' key.
756         (org-agenda-menu): Add entry text mode to the menu.
757         (org-agenda-get-some-entry-text): Fix line count bug.
758         (org-finalize-agenda): Apply entry text mode if appropriate.
759         (org-agenda-entry-text-show-here): New function.
760         (org-agenda-entry-text-show): New function.
761         (org-agenda-entry-text-hide): New function.
762         (org-agenda-view-mode-dispatch): Add entry text mode to the view
763         key menu.
764         (org-agenda-entry-text-mode): New command.
765         (org-agenda-set-mode-name): Add entry text mode to the mode line
766         string.
767         (org-agenda-undo, org-agenda-get-restriction-and-command)
768         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
769         `goto-line'.
771 2009-08-26  Bernt Hansen  <bernt@norang.ca>
773         * org-clock.el (org-notify): Bugfix.
775 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
777         * org-agenda.el (org-agenda-open-link): Handle multiple links and
778         check for after-string.
780         * org-gnus.el (org-gnus-store-link): Simplify.
782         * org.el (org-latex-regexps): Don't add extra empty lines for
783         display formulas.
785 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
787         * org-agenda.el (org-agenda-get-some-entry-text): New function.
788         (org-agenda-add-entry-text): Use
789         `org-agenda-get-some-entry-text'.
791         * org.el (org-cycle-separator-lines): Update docstring.
792         (org-cycle-show-empty-lines): Handle negative values for
793         `org-cycle-show-empty-lines'.
795         * org-exp.el (org-export-protect-sub-super): New function.
796         (org-export-normalize-links): Protect the url of plain links from
797         supscript and superscript processing.
799         * org-remember.el (org-remember-escaped-%): New function.
800         (org-remember-apply-template): Use `org-remember-escaped-%' to
801         detect escaped % signs.
803 2009-08-23  Bastien Guerry  <bzg@altern.org>
805         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
806         sound when showing the notification.
808         * org-clock.el (org-notify): New function.
809         (org-clock-notify-once-if-expired): Use `org-notify'.
811         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
812         and `gnus-article-mode' separately.
813         (gnus-summary-article-header): Fix the declare-function.
815 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
817         * org-exp.el (org-export-format-source-code-or-example): Translate
818         language.
820         * org-src.el (org-src-lang-modes): New variable
821         (org-edit-src-code): Translate language.
823         * org-exp.el (org-export-format-source-code-or-example): Deal wit
824         the new structure of the `org-export-latex-listings-langs'
825         variable.
827         * org-latex.el (org-export-latex-listings-langs): Change structure
828         of the variable from plist to alist.
830 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
832         * org.el (org-in-commented-line): New function.
834 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
836         * org.el (org-hide-block-toggle): Make folded blocks searchable.
838 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
840         * org.el (org-flag-drawer): More useful error.
842 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
844         * org-remember.el (org-remember-apply-template): Use
845         org-icompleting-read.
847         * org-publish.el (org-publish): Use org-icompleting-read.
849         * org-colview.el (org-columns-edit-value, org-columns-new)
850         (org-insert-columns-dblock): Use org-icompleting-read.
852         * org-colview-xemacs.el (org-columns-edit-value)
853         (org-columns-new, org-insert-columns-dblock): Use
854         org-icompleting-read.
856         * org-attach.el (org-attach-delete-one, org-attach-open): Use
857         org-icompleting-read.
859 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
861         * org.el (org-hierarchical-todo-statistics): Improve docstring.
862         (org-version): Return the version text.
863         (org-org-menu): Add a menu entry for the new bug reporter.
864         (org-submit-bug-report): New command.
866         * org-list.el (org-hierarchical-checkbox-statistics): Improve
867         docstring.
869         * org.el (org-emphasis-regexp-components): Add "`" to set of
870         pre-emphasis characters.
872         * org-latex.el (org-export-latex-classes): Always include the soul
873         package.
874         (org-export-latex-emphasis-alist): Use \st for strikethough.
876         * org-exp-blocks.el (org-export-blocks-preprocess): Use
877         `indent-code-rigidly' to indent.
879         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
880         properties only if MATCH really is a string.
882 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
884         * org-latex.el (org-export-latex-packages-alist): Fix
885         customization type.
887         * org.el (org-create-formula-image): Also use
888         `org-export-latex-packages-alist'.
890         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
891         (org-export-as-html): Format footnotes correctly.
893 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
895         * org.el (org-fast-tag-selection): Avoid text properties on tags
896         in the alist.
898         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
899         text properties on the match element.
901 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
903         * org.el (org-set-regexps-and-options): Make sure the list of done
904         keywords is not invalid.
906         * org-exp.el (org-export-interpolate-newlines): New function.
908 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
910         * org.el (org-format-latex): Avoid nested overlays.
912         * org-latex.el (org-export-latex-listings-langs): Add a few more
913         languages.
915         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
916         ignore newlines and space before the first macro argument.
918         * org-latex.el (org-export-latex-tables): Remove save-excursion
919         around `org-table-align'.
921 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
923         * org.el (org-export-html-special-string-regexps): Definition
924         moved into org.el
926         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
927         in macro calls.
929 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
931         * org-latex.el (org-export-latex-listings)
932         (org-export-latex-listings-langs): New options.
934         * org-exp.el (org-export-format-source-code-or-example): Use
935         listing package if requested by the user.
937 2009-08-08  Bastien Guerry  <bzg@altern.org>
939         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
940         command before actually switching to a buffer.
942 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
944         * org-exp.el (org-get-file-contents): Only quote org lines when
945         the markup is src or example.
947         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
948         New option
949         (org-agenda-get-day-entries): Remember deadline results and pass
950         them on into the function getting the scheduling information.
951         (org-agenda-get-scheduled): Accept deadline results as parameters
952         and maybe skip some entries.
953         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
955         * org.el (org-insert-heading): When respecting content, do not
956         convert current line to headline.
958         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
959         cheeeeeck the hd marker
960         (org-clock-in): Also set the hd marker.
961         (org-clock-out): Also set the hd marker.
962         (org-clock-cancel): Reset markers.
964         * org.el (org-clock-hd-marker): New marker.
966         * org-faces.el (org-agenda-clocking): New face.
968         * org-agenda.el (org-agenda-mark-clocking-task): New function.
969         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
971         * org.el (org-modules): Add org-track.el.
973         * org-agenda.el (org-agenda-bulk-marked-p): New function.
974         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
975         `org-agenda-bulk-marked-p'.
976         (org-agenda-bulk-toggle): New command.
978 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
980         * org.el (org-move-subtree-down): Hide subtree if it was folded,
981         not just the body.
983         * org-remember.el (org-remember-finalize): Avoid buffer-modified
984         messages.
1002 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1004         * org-latex.el (org-export-latex-first-lines): Fix bug with
1005         finding the end of the first lines.
1007         * org.el (org-create-formula-image): Remove the -E option for
1008         dvipng.
1010         * org-exp.el (org-default-export-plist): Respect #+BIND.
1011         (org-export-confirm-letbind): New function.
1013         * org.el (org-paste-subtree): Test the kill ring entry if it is
1014         going to be used.
1015         (org-copy-subtree): Use `org-forward-same-level'.
1016         (org-forward-same-level): Respect the `invisibe-ok' arg for
1017         back-to-heading.
1019 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1021         * org.el (org-table-map-tables): Make sure cursor is back at table
1022         beginning after funcall.
1024         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1025         handled before children, and do not error if an entry is not
1026         found, probably because it hase been remove when the parent was
1027         archived or refiled.
1029         * org.el (org-ido-completing-read): Accept straight lists for
1030         completion as well as alists.
1032         * org-html.el (org-export-as-html): Fix parenthesis error in
1033         footnore code.
1035         * org-timer.el (org-timer-cancel-timers): Renamed from
1036         `org-timer-cancel-timers'.
1038         * org.el (org-cycle-internal-local): Fix problem with finding next
1039         invisible line.
1041 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1043         * org-list.el (org-list-send-list): Call
1044         `org-list-goto-true-beginning' instead of
1045         `org-list-find-true-beginning', which does not exist.
1047         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1048         (org-timer-set-timer): Do not assign to heading.
1050         * org-id.el (org-id-open): Quote function name.
1052         * org-macs.el (org-unmodified): Turn off recording undo
1053         information while running inside the macro.
1055         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1056         variable.
1057         (org-indent-mode): Remember and restore value of
1058         org-hide-leading-stars before `org-indent-mode'.
1060         * org-table.el (org-table-export): Also work in file-less
1061         buffers.
1063         * org.el (org-startup-indented): New option.
1064         (org-startup-options): Add new options indent and noindent.
1065         (org-unfontify-region): Remove line-prefix and wrap-prefix
1066         properties.
1067         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1068         hooks.
1069         (org-promote, org-demote): Run the new hooks.
1071         * org-table.el (org-table-align): Replace leading \n as well.
1073         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1074         and `line-wrap' text properties.
1076         * org-compat.el (org-kill-new): New function.
1078         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1079         `line-wrap' text properties.
1081         * org-indent.el: New file.
1083 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1085         * org.el (org-provide-todo-statistics): Tweak docstring.
1087         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1089 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1091         * org-exp.el (org-export-as-org): Insert the "-source" string
1092         before the extension.
1094         * org.el (org-read-date): Make sure the calendar is in the current
1095         frame.
1096         (org-set-emph-re): Remove the ? from the post-match.
1097         (org-emphasis-regexp-components): Add backslash to the
1098         postmatch class.
1099         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1100         optional so that also lines at the end of the buffers will still
1101         be matched as headlines.
1103         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1104         Variable made obsolete.
1105         (org-table-relative-ref-may-cross-hline): New option.
1106         (org-table-find-row-type): Honow the new option
1107         `org-table-relative-ref-may-cross-hline'.
1109 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1111         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1112         on single field if no active region.
1114 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1116         * org-latex.el (org-export-latex-make-header): Only insert title
1117         if one is defined.
1119         * org.el (org-make-options-regexp): Allow empty values.
1121         * org-html.el (org-export-as-html): Move hrule detection to after
1122         plain list handling.
1124 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1126         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1128 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1130         * org.el (org-cycle-internal-local): Improved version of finding
1131         next visible line.
1132         (org-cycle-hide-drawers): Only hide drawers if this is really
1133         necessary.
1134         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1135         org-version of this function in Org-mode.  We use advice to
1136         implement this change, so that future changes to this function in
1137         outline.el wil be handled properly.
1138         (org-forward-same-level, org-backward-same-level): New commands.
1140 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1142         * org.el (org-remove-empty-overlays-at)
1143         (org-clean-visibility-after-subtree-move): New functons.
1144         (org-move-subtree-down): Simplify cleanup of display.
1146 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1148         * org-mac-message.el (org-mac-message-get-links): Improve
1149         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1150         "s".  Fix the return value.
1151         (org-mac-message-insert-flagged): Simplify.
1153         * org.el (org-refile-get-location): Tamper with refile history o
1154         that history contains compete matches instead of the entered
1155         string.
1157 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1159         * org.el (org-store-link): Never store a link to an inline task.
1161         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1163         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1164         inline tasks when positioning footnotes.
1166         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1167         function.
1169         * org.el (org-refile): Remove the END line when archiving an
1170         inline task that does have an END line.
1172         * org-archive.el (org-archive-subtree): Remove the END line when
1173         archiving an inline task that does have an END line.
1175         * org-macs.el (org-with-limited-levels): New macro.
1176         (org-get-limited-outline-regexp): New function.
1178         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1179         that did not enumerate first line.
1180         (org-export-mark-radio-links): Skip matches in links.
1182 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1184         * org.el (org-activate-plain-links): Make single-match.
1185         (org-adapt-indentation): Fix docstring.
1187         * org-macs.el (org-unmodified): Turn of modification hooks while
1188         running this macro.
1190 2009-08-02  Bastien Guerry  <bzg@altern.org>
1192         * org.el (org-adapt-indentation): Slightly improve the docstring.
1193         (org-occur): Sends an error when the user inputs an empty string.
1194         (org-priority): Bugfix: the tag alignement should happen within
1195         save-excursion.
1197 2009-07-31  Bastien Guerry  <bzg@altern.org>
1199         * org.el (org-make-link-regexps): Don't exclude parentheses from
1200         `org-plain-link-re'
1201         (org-cycle-internal-local): When locally cycling, switch directly
1202         from CHILDREN to FOLDED if there is no subtree
1203         (org-cycle): Update the docstring to document the new behavior of
1204         `org-cycle-internal-local'.
1206 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1208         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1209         an abbreviated format for days.
1211 2009-07-27  Bastien Guerry  <bzg@altern.org>
1213         * org-protocol.el (org-protocol-default-template-key): New
1214         option.
1216         * org.el (org-refile): Bugfix: save-excursion before reading the
1217         refile target, otherwise cursor moves might confuse `org-refile'.
1219         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1220         footnote reference before the footnote itself.
1222         * org.el (org-toggle-heading): Bugfix: correctly convert list
1223         items before the first headline.
1225         * org-html.el (org-export-html-footnote-format): New option for
1226         formatting the footnote reference.
1227         (org-export-as-html): Use the new option.
1229         * org.el (org-provide-todo-statistics): Allow a list of TODO
1230         keywords to compute statistics against headlines containing a
1231         keyword from this list.
1232         (org-update-parent-todo-statistics): Possibly use the new allowed
1233         value of `org-provide-todo-statistics'.
1235 2009-07-26  Bastien Guerry  <bzg@altern.org>
1237         * org-timer.el: Add autoload cookie.
1239         * org.el (org-occur-link-in-agenda-files): New function.
1241         * org-timer.el (org-timer-last-timer): New variable.
1243         * org-agenda.el (org-agenda-mode-map): New key for
1244         org-timer-set-timer called from the agenda.
1246         * org.el (org-mode-map): New key for org-timer-set-timer.
1248         * org-timer.el (org-timer-reset-timers)
1249         (org-timer-show-remaining-time, org-timer-set-timer): New
1250         functions.
1252         * org-clock.el (org-show-notification): Update the docstring.
1254         * org.el (org-provide-todo-statistics): Allow new value
1255         'all-headlines for this option, which includes entries with no
1256         TODO keywords in the todo statistics.
1257         (org-update-parent-todo-statistics): Possibly use the new
1258         'all-headline value from `org-provide-todo-statistics'.
1260 2009-07-25  Bastien Guerry  <bzg@altern.org>
1262         * org-clock.el (org-dblock-write:clocktable): Add a new option
1263         :timestamp which allows display of timestamps in clock reports.
1265         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1266         list to a subtree, preserving the structure of the list.
1267         (org-set-emph-re): Make the last element optional in the regexp.
1268         This regexp now matches an emphasized string at the end of a line.
1270         * org-list.el (org-list-goto-true-beginning)
1271         (org-list-make-subtree, org-list-make-subtrees): New functions.
1273         * org.el (org-eval-in-calendar): Select the right frame.
1274         (org-save-frame-excursion): Remove this macro.
1276 2009-07-24  Bastien Guerry  <bzg@altern.org>
1278         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1279         trying to find the beginning of a list.
1281         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1282         When present, tell org-get-file-contents not to protect org-like
1283         lines.
1285         * org-id.el (org-id-uuid-program): New option to set the name of
1286         the uuidgen program.
1287         (org-id-method): Use `org-id-uuid-program'.
1288         (org-id-new): Use `org-id-uuid-program'.
1290 2009-07-23  Bastien Guerry  <bzg@altern.org>
1292         * org-exp.el (org-export-number-lines): Allow whitespace in code
1293         references.  Allow the -r switch to remove the references in the
1294         source code even when the lines are not numbered: the labels can
1295         be explicit enough.
1297         * org.el (org-fontify-whole-heading-line): New option.
1298         (org-set-font-lock-defaults): Use the new option.
1300         * org-clock.el (org-show-notification-handler): New option.
1301         (org-show-notification): Use the new option.
1303 2009-07-21  Bastien Guerry  <bzg@altern.org>
1305         * org.el (org-eval-in-calendar): Fix a bug about calendar
1306         navigation when `calendar-setup' value is 'calendar-only.
1308 2009-07-19  Bastien Guerry  <bzg@altern.org>
1310         * org.el (orgstruct++-mode): Fix typo in docstring.
1311         (org-insert-link): Clean up: (or (...)) => (...)
1312         (org-insert-link): Use TAB for stored links completion.
1314 2009-07-18  Bastien Guerry  <bzg@altern.org>
1316         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1317         building the list of targets.
1319         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1320         option.
1321         (org-remember-handler): Use the new option.
1323 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1325         * org.el (org-tags-sort-function): New option for sorting tags.
1326         (org-set-tags): Use the new option to sort tags.
1328         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1329         premature deletion of the data when using org-plot in a script.
1331 2009-07-17  Bastien Guerry  <bzg@altern.org>
1333         * org-clock.el (org-clock-in-prepare-hook): New hook.
1334         (org-clock-in): Use this new hook.
1336 2009-07-16  Bastien Guerry  <bzg@altern.org>
1338         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1339         'reversed for this option to the "true line boundary first"
1340         behavior.
1341         (org-tags-match-list-sublevels): Document the 'indented value for
1342         this variable.
1344         * org-latex.el (org-export-latex-first-lines): Fix problem with
1345         publishing the region.
1347         * org-exp.el (org-export-format-source-code-or-example): Fix
1348         bad line numbering when exporting examples in HTML.
1350 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1352         * org-colview.el (org-format-time-period): Formats a time in
1353         fractional days as days, hours, mins, seconds.
1354         (org-columns-display-here): Add special handling for SINCE and
1355         SINCE_IA to format for display.
1357         * org.el (org-time-since): Add a function to get the time since an
1358         org timestamp.
1359         (org-entry-properties): Add two new special properties: SINCE and
1360         SINCE_IA. These give the time since any active or inactive
1361         timestamp in an entry.
1362         (org-special-properties): Add SINCE, SINCE_IA.
1363         (org-tags-sort-function): Add custom declaration for tags
1364         sorting function.
1365         (org-set-tags): Sort tags if org-tags-sort-function is set
1367 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1369         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1371         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1373         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1374         option.
1376 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1378         * org-publish.el (org-publish-remove-all-timestamps): New function.
1379         (org-publish-all): Remove all timestamp files if `org-publish-all'
1380         is called with a prefix argument.
1382         * org-list.el (org-indent-item): Fix typo.
1383         (org-item-indent-positions): Normalize ordered bullet.
1385         * org-html.el (org-export-html-home/up-format): New option.
1386         (org-export-as-html): Insert the up and HOME links.
1388 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1390         * org-html.el (org-export-as-html): Insert the title into the
1391         option plist.
1392         (org-export-html-insert-plist-item): New function.
1393         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1395         * org-macs.el (org-set-local): Make a local variable, do not make
1396         the variable buffer-local!
1398         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1400         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1402         * org-docbook.el (org-export-as-docbook): Call
1403         `org-install-letbind'.
1405         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1407         * org-exp.el (org-infile-export-plist): Read BIND lines.
1408         (org-install-letbind): New function.
1409         (org-export-as-org, org-export-preprocess-string): Call
1410         `org-install-letbind'.
1412         * org-src.el (org-edit-src-exit): Untabify the example before
1413         returning to Org.
1415         * org-list.el (org-list-demote-modify-bullet): New option.
1416         (org-first-list-item-p): Save point.
1417         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1418         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1419         (org-item-indent-positions): Return bullet types along with
1420         indentation.
1422 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1424         * org.el (org-show-entry): Hide drawers.
1426 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1428         * org-footnote.el (org-footnote-auto-adjust): New option.
1429         (org-footnote-auto-adjust-maybe): New function.
1430         (org-footnote-new, org-footnote-delete): Call
1431         `org-footnote-auto-adjust-maybe'.
1433         * org.el (org-startup-options): Add new footnote-related
1434         keywords.
1436         * org-publish.el (org-publish-timestamp-filename): Additional
1437         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1438         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1439         TRUE-PUB-DIR.  Pass them through to
1440         `org-publish-timestamp-filename'.
1441         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1442         PUB-FUNC, which are included in the hash.
1443         (org-publish-file): Delay timestamp test until the publishing
1444         function is known.
1446 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1448         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1449         setting the deadline.
1451         * org.el (org-read-date-final-answer): New variable.
1452         (org-read-date): Store the final answer string, including the date
1453         from the calendar, for reuse by agenda bulk commands.
1455         * org-publish.el (org-publish-attachment): Fix publishing of
1456         attachments.
1458         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1459         quotation makrs in parenthesis.
1460         (org-remove-initial-hash): New function.
1461         (org-export-latex-preprocess): Fix bug with infinite loop if
1462         environment is not properly closed.
1464         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1465         when indented.
1467         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1468         highlight also when indented.
1470 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1472         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1473         (org-footnote-action): Offer renumbering.
1475         * org.el (org-cycle): Honor the `integrate' value of
1476         org-cycle-include-plain-lists'.
1478         * org-list.el (org-cycle-include-plain-lists): New allowed value
1479         `internal'.  Improve the docstring.
1481         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1482         regexp to work better with LaTeX commands.
1484 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1486         * org-feed.el (org-feed-update): fix problem with non-existing
1487         buffer.
1488         (org-feed-skip-http-headers): New function.
1489         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1490         (org-feed-get-feed): Fix command line arguments for curl.
1492 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1494         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1495         and eps extensions.
1497 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1499         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1500         loaded.
1502         * org.el (org-map-entries): No longer force
1503         `org-tags-match-list-sublevels' to t during a todo-only tags
1504         search.
1506 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1508         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1509         environment.
1510         (org-export-latex-subcontent): Handle user-defined environment.
1512         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1513         the View dispatcher.
1515         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1516         `make-overlay'.
1518         * org-latex.el (org-export-as-pdf): Protect match data during call
1519         to shell-quote-argument.
1521         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1522         (org-agenda-view-mode-dispatch): New function.
1524 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org-agenda.el (org-agenda-mode): Reset list of marks.
1527         (org-agenda-mode-map): Define new keys for refile and bulk action.
1528         (org-agenda-menu): Add menu itesm for refile and bulk action.
1529         (org-agenda-refile): New function.
1530         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1531         (org-agenda-marked-entries): New variable.
1532         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1533         (org-agenda-remove-all-bulk-action-marks)
1534         (org-agenda-bulk-action): New functions/commands.
1536 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1538         * org-exp.el (org-get-file-contents): Protect org-like lines in
1539         included files.
1540         (org-export-format-source-code-or-example): Remove newlines.
1542         * org-latex.el (org-export-latex-links): Check for no-description
1543         marking.
1545         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1546         argument separator back to comma.
1547         (org-export-normalize-links): Mark links without description.
1549 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1551         * org-exp.el (org-infile-export-plist): Fix bug in macro
1552         processing.
1554         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1555         out.
1556         (org-agenda-highlight-todo): Fix bug with highlighting.
1558 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1561         new alignment strings.
1563         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1564         command list.
1565         (org-table-align): Check for forced align type.
1567         * org.el (org-self-insert-command): Add yas/expand to command
1568         list.
1570         * org-clock.el (org-clock-in-hook): New hook.
1571         (org-clock-in): Run `org-clock-in-hook.
1572         (org-clock-out-hook): New hook.
1573         (org-clock-out): Run `org-clock-out-hook.
1574         (org-clock-cancel-hook): New hook.
1575         (org-clock-cancel): Run `org-clock-cancel-hook.
1576         (org-clock-goto-hook): New hook.
1577         (org-clock-goto): Run `org-clock-goto-hook.
1579 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1581         * org.el (org-store-link): Better default description for link to
1582         Org-mode headline.
1584         * org-exp.el (org-export-generic): Autoload the generic exporter
1585         function.
1586         (org-export): Implement the `g' key for the generic exporter.
1588 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1591         and for zbacktab'.
1593         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1595         * org-exp.el (org-infile-export-plist): Get macros also from
1596         #+SETUPFILE.
1598 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1600         * org-colview.el (org-columns-capture-view): Protect vertical bars
1601         in column values.
1602         (org-columns-capture-view): Exclude comment and archived trees.
1604         * org-colview-xemacs.el (org-columns-capture-view): Protect
1605         vertical bars in column values.
1606         (org-columns-capture-view): Exclude comment and archived trees.
1608         * org.el (org-quote-vert): New function.
1610         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1612         * org-exp.el (org-export-format-source-code-or-example): Use
1613         `org-export-latex-verbatim-wrap'.
1615         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1616         time stamps.
1618         * org-html.el (org-export-table-row-tags): New option.
1619         (org-format-org-table-html): Rename `nlines' to `nline', use new
1620         option.
1623 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1625         * org-exp-blocks.el: Declare functions and variables.
1627         * org-remember.el (org-remember-templates): Allow the headline
1628         element to be a function.
1629         (org-remember-apply-template): If the headline is a function, call
1630         it to get the true function.
1632         * org-clock.el (org-clock-menu): New function.
1633         (org-clock-update-mode-line): Update help string.
1634         (org-clock-modify-effort-estimate): New function.
1635         (org-clock-mark-default-task): New function.
1637         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1638         minutes as input.
1639         (org-org-menu): Add new clocking stuff.
1640         (org-clock-is-active): New function.
1642 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1644         * org.el (org-open-non-existing-files): Improve docstring.
1646 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1649         option.
1650         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1652         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1654         * org-list.el (org-get-checkbox-statistics-face): Use the new
1655         faces.
1657         * org-faces.el (org-checkbox-statistics-todo)
1658         (org-checkbox-statistics-done): New faces.
1660 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
1662         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1663         (org-edit-src-exit): Better cursor positioning when returning from
1664         editing.
1666         * org-latex.el (org-export-latex-use-verb): New variable.
1667         (org-export-latex-emph-format): Prefer \texttt over \verb when
1668         org-export-latex-use-verb is set.
1670 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
1672         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1673         at normal indentation.
1675         * org-html.el (org-export-html-close-lists-maybe): Also look at
1676         normal indentation.
1678         * org-remember.el (org-remember-handler): Abort remember if the
1679         buffer is empty.
1681         * org-src.el (org-edit-src-content-indentation): New option.
1682         (org-edit-src-exit): Apply extra indentation.
1684         * org-exp.el (org-export-format-source-code-or-example): Run
1685         `org-src-mode-hook'.
1687         * org-src.el (org-src-mode-hook): New variable.
1688         (org-edit-src-code): Run `org-src-mode-hook'.
1690 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1692         * org.el (org-indent-line-function): Fix indentation of +#end lines.
1694         * org-src.el (org-edit-src-get-indentation): New function.
1695         (org-edit-src-code): Base indentation on the begin line.
1697 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
1699         * org-gnus.el (org-gnus-store-link): Require message.el in
1700         org-gnus-store-link.
1702 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1704         * org-src.el: New file, split out of org.el
1706         * org-docbook.el (org-export-as-docbook): Better indentation
1707         treatment.
1709         * org-macs.el (org-replace-match-keep-properties): New function.
1711         * org-exp.el (org-export-mark-blockquote-verse-center): Better
1712         preprocessing of center and quote and verse blocks.
1714         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1715         (org-export-as-docbook): Close lists when original indentation
1716         mandates it.
1718         * org-html.el (org-export-html-close-lists-maybe): New function.
1719         (org-export-as-html): Close lists when original indentation
1720         mandates it.
1722         * org-list.el (org-list-end): Respect the stored "original"
1723         indentation when determining the end of the list.
1725         * org-exp.el (org-export-replace-src-segments-and-examples):
1726         Remember indentation correctly.
1728 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org-clock.el (org-clock-update-mode-line): Apply face
1731         org-mode-line-clock.
1733         * org-faces.el (org-mode-line-clock): New face.
1735 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1737         * org-gnus.el (org-gnus-store-link): Fix bug where
1738         `org-gnus-store-link' used wrong subject when called in an article
1739         buffer.  Patch provided by fengli AT gmail DOT com.
1741 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1743         * org-exp.el (org-export-format-source-code-or-example): Remember
1744         the original indentation of source code snippets and examples.
1746         * org-latex.el (org-export-as-latex): Relocate the table of
1747         contents.
1749         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1751         * org-agenda.el (org-run-agenda-series): Scope global options also
1752         when creating the agenda buffer.
1754 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1756         * org.el (org-adapt-indentation): Improve documentation.
1757         (org-insert-property-drawer): Respect org-adapt-indentation when
1758         inserting the drawer.
1759         (org-remove-flyspell-overlays-in): New function.
1760         (org-do-emphasis-faces, org-activate-plain-links)
1761         (org-activate-code, org-fontify-meta-lines-and-blocks)
1762         (org-activate-angle-links, org-activate-footnote-links)
1763         (org-activate-bracket-links, org-activate-dates)
1764         (org-activate-target-links, org-activate-tags): Remove flyspell
1765         overlays.
1767 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1769         * org.el (org-edit-src-save): New function.
1771         * org-clock.el (org-clock-out-switch-to-state): New option.
1772         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1774         * org-compat.el (org-compatible-face): Improve macro.
1776         * org.el (org-global-properties-fixed): Add default for
1777         CLOCK_MODELINE_TOTAL.
1779         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1780         andd tend.
1781         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1782         org-clock-sum.
1783         (org-clock-get-sum-start): New function.
1785         * org.el (org-startup-options): New keywords blockhide and
1786         blockshow.
1787         (org-mode): Add new invisibility spec.
1788         (org-set-startup-visibility): Hide block on startup if so
1789         desired.
1790         (org-hide-block-startup): New option.
1791         (org-block-regexp): New constant.
1792         (org-hide-block-overlays): New variable.
1793         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1794         (org-show-block-all, org-hide-block-toggle-maybe)
1795         (org-hide-block-toggle): New functions.
1796         (org-edit-src-exit): Do not quote lines starting with # and no +
1797         behind it.
1798         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1799         entry.
1801 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1803         * org.el (org-buffer-property-keys): Add Effort property for
1804         completion.
1806 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1808         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1809         when retrieving total clocked time in the subtree.
1811         * org.el (org-quoting-blocks): New variable.
1813 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1815         * org-table.el (org-table-store-formulas)
1816         (org-table-get-stored-formulas, org-table-fix-formulas)
1817         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1818         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1820         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1821         indented #+TBLFM line.
1823         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1824         indented #+TBLFM line.
1826         * org-colview.el (org-dblock-write:columnview): Allow indented
1827         #+TBLFM line.
1829         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1830         indented #+TBLFM line.
1832         * org-clock.el (org-dblock-write:clocktable): Allow indented
1833         #+TBLFM line.
1835 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1837         * org-exp.el (org-export-format-source-code-or-example): Make
1838         editing indented blocks work correctly.
1840         * org.el (org-edit-src-nindent): New variable.
1841         (org-edit-src-code, org-edit-fixed-width-region)
1842         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1843         editing indented blocks work correctly.
1845 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1847         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1848         indented blocks.
1849         (org-export-format-source-code-or-example): Fix indentation of
1850         blocks.
1851         (org-export-remove-indentation): New function.
1852         (org-export-select-backend-specific-text): Allow backend-specific
1853         code to be indented.
1854         (org-export-mark-blockquote-verse-center): Allow markers to be
1855         indented.
1857         * org.el (org-fontify-meta-lines): New function.
1858         (org-set-font-lock-defaults): Call the new fontification
1859         function.
1861         * org-faces.el (org-meta-line): New face
1862         (org-block):  New face.
1864 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1866         * org.el (org-treat-insert-todo-heading-as-state-change)
1867         (org-treat-S-cursor-todo-selection-as-state-change): New
1868         variables.
1869         (org-insert-todo-heading): Honor
1870         `org-treat-insert-todo-heading-as-state-change'.
1871         (org-shiftright, org-shiftleft): Honor
1872         `org-treat-S-cursor-todo-selection-as-state-change'.
1873         (org-inhibit-logging): New variable.
1875 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1878         range for marker position checking.
1880         * org-latex.el (org-export-latex-first-lines): Fix bug when
1881         exporting a region.
1883 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1885         * org-exp.el (org-export-push-to-kill-ring): Protect using
1886         x-set-selection, because that does not always work.
1888         * org-agenda.el (org-agenda-list): Apply the new face
1889         `org-agenda-date-today'.
1891         * org-faces.el (org-agenda-date-today): New face.
1893 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1895         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1896         creating appointments.
1898         * org-latex.el (org-export-latex-low-levels): Fix customization
1899         type.
1901         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1902         priority commands.
1904         * org-agenda.el (org-agenda-priority): Disable priority commands.
1906         * org.el (org-enable-priority-commands): New option.
1908         * org-colview-xemacs.el (org-columns-compute)
1909         (org-columns-number-to-string): Fix problems with empty fields.
1911         * org-colview.el (org-columns-compute)
1912         (org-columns-number-to-string): Fix problems with empty fields.
1914         * org-exp.el (org-export-push-to-kill-ring): New function.
1915         (org-export-copy-to-kill-ring): New option.
1917         * org-latex.el (org-export-as-latex): Call
1918         `org-export-push-to-kill-ring'.
1920         * org-html.el (org-export-as-html): Call
1921         `org-export-push-to-kill-ring'.
1923         * org-docbook.el (org-export-as-docbook): Call
1924         `org-export-push-to-kill-ring'.
1926         * org-ascii.el (org-export-as-ascii): Call
1927         `org-export-push-to-kill-ring'.
1929         * org-exp.el (org-export-show-temporary-export-buffer): New
1930         option.
1932         * org-latex.el (org-export-as-latex): Use
1933         `org-export-show-temporary-export-buffer'.
1935         * org-html.el (org-export-as-html): Use
1936         `org-export-show-temporary-export-buffer'.
1938         * org-docbook.el (org-export-as-docbook): Use
1939         `org-export-show-temporary-export-buffer'.
1941         * org-ascii.el (org-export-as-ascii-to-buffer): Use
1942         `org-export-show-temporary-export-buffer'.
1944         * org-exp.el (org-export-show-temporary-export-buffer): New
1945         option.
1946         (org-export-push-to-kill-ring): New function.
1948         * org-colview.el (org-columns-compile-map): New variable.
1949         (org-columns-new, org-columns-compute)
1950         (org-columns-number-to-string, org-columns-uncompile-format)
1951         (org-columns-compile-format): Implement new operators.
1953 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
1955         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1957         * org-html.el (org-export-html-xml-declaration): New option.
1958         (org-export-as-html): Use `org-export-html-xml-declaration'.
1960         * org-list.el (org-update-checkbox-count): Make property
1961         dependent.
1963         * org.el (org-hierarchical-todo-statistics): New option.
1964         (org-update-parent-todo-statistics): Modified to handle recursive
1965         statistics.
1967 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
1969         * org-publish.el (org-publish): Make this function behave
1970         correctly in interactive use when called with a prefix argument.
1972         * org.el (org-todo-statistics-hook): New hook.
1973         (org-update-parent-todo-statistics): Use new hook.
1974         (org-log-into-drawer): New function.
1975         (org-add-log-setup): Use the new `org-log-into-drawer' function to
1976         determine if we should be logging into a drawer.
1977         (org-log-into-drawer): Update docstring.
1978         (org-default-properties): Add LOG_INTO_DRAWER as a property.
1980         * org-list.el (org-checkbox-statistics-hook): New hook.
1981         (org-update-checkbox-count-maybe): Use new hook.
1983         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1984         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1985         to kill ring.
1987 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1990         a line.
1992 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
1994         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1995         better bufer-generating mechanism.
1996         (org-edit-src-find-buffer): New function.
1998         * org-icalendar.el (org-print-icalendar-entries): Don't check for
1999         archive tag, this is already done by `org-agenda-skip'.
2000         data while constructing lost of tags.
2002 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2004         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2005         as argument separator in macros.
2007         * org-html.el (org-export-as-html): Add xml declaration.
2009 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2011         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2012         (org-sort-entries-or-items): Run the new hook.
2013         (org-after-refile-insert-hook): New hook.
2014         (org-refile): Run `org-after-refile-insert-hook'.
2016         * org-agenda.el (org-agenda-get-progress): Never take time of day
2017         from headline when displaying progress.
2019         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2020         (org-export-as-latex): Force the correct regexp in the
2021         preprocessor buffer.
2022         (org-export-latex-set-initial-vars): Set
2023         `org-export-latex-complex-heading-re'.
2025         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2026         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2028 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2030         * org-latex.el (org-export-latex-tables-centered): New option.
2031         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2033         * org-exp.el (org-export-as-org): New command.
2034         (org-export-as-org): New command.
2036         * org-publish.el (org-publish-org-to-org): New function.
2038 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2040         * org.el (org-yank): Just call `org-yank-generic'.
2041         (org-yank-generic): New function, containing the formaer
2042         functionality of `org-yank'.
2044         * org-latex.el (org-export-latex-not-done-keywords)
2045         (org-export-latex-done-keywords): New variables.
2046         (org-export-latex-todo-keyword-markup): New option.
2047         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2048         (org-export-latex-keywords-maybe): Apply the TODO markup.
2050 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2052         * org-exp.el (org-infile-export-plist): Add more default macros.
2053         (org-export-preprocess-apply-macros): Process macro arguments.
2055 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2057         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2058         `unblocked'.
2059         (org-print-icalendar-entries): Respect the new value of
2060         `org-icalendar-include-todo'.
2062         * org.el (org-link-try-special-completion)
2063         (org-file-complete-link): New functions.
2064         (org-insert-link): Add special completion support for some link
2065         types.
2067         * org-bbdb.el (org-bbdb-complete-link): New function.
2069 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2071         * org-list.el (org-update-checkbox-count): Allow recursive
2072         statistics.
2073         (org-hierarchical-checkbox-statistics): New option.
2075         * org.el (org-cycle): Remove erraneous space character.
2077         * org-icalendar.el (org-icalendar-timezone): Initialize from
2078         environment.
2080         * org-html.el (org-format-org-table-html): Specify the scope.
2081         (org-format-table-table-html): Specify the scope.
2082         (org-export-table-header-tags): Prepare the scope parameter.
2084 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2086         * org-html.el
2087         (org-export-html-table-use-header-tags-for-first-column): New
2088         option.
2090         * org.el (org-autoload): Fix autoloading of ascii export
2091         functions.
2092         (org-modules): Add org-special-blocks.
2094 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2096         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2097         (org-ical-timezone): New option.
2099         * org-exp.el (org-export-get-coderef-format): Use the description
2100         is present.
2102         * org.el (org-sort-entries-or-items): Improve docstring, and make
2103         better implementation for time sorting.
2105 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2107         * org.el (org-edit-src-persistent-message): New option.
2108         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2109         option.
2111         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2112         patch.
2114         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2115         separate buffer instead of indirect buffer to edit source code.
2116         (org-edit-src-exit): Make this function work with the new setup.
2118         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2119         are properly fontified before shown in the selection menu.
2121         * org.el (org-fontify-like-in-org-mode): New function.
2123         * org-latex.el (org-export-latex-links): Use the property list to
2124         retrieve the default image attributes.
2126         * org-exp.el (org-export-plist-vars): Add a new option.
2128 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2130         * org-exp.el (org-export, org-export-visible): Support ASCII
2131         export to buffer
2132         (org-export-normalize-links): Do not protect the description if it
2133         is explicitly given.
2135         * org-ascii.el (org-export-as-ascii-to-buffer)
2136         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2137         commands.
2138         (org-export-as-ascii): Add all the same parameters that are also
2139         supported by the other export functions.
2141         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2142         org-checklist.el.
2143         (org-reset-checkbox-state-subtree): Call
2144         `org-reset-checkbox-state-subtree'.
2146         * org-remember.el (org-select-remember-template): For the
2147         selection of a valid template.
2149         * org-latex.el (org-export-region-as-latex): Supply the
2150         force-no-subtree argument.
2151         (org-export-as-latex): Provide better limits when exporting the
2152         first line.  When exporting to string, we still want the first
2153         lines.
2154         (org-export-latex-first-lines): New argument END, to force the end
2155         of the region.
2156         (org-export-region-as-latex): Use the property list.
2157         (org-export-as-latex):
2159         * org-colview-xemacs.el (org-columns-remove-overlays)
2160         (org-columns): Fix call to `local-variable-p'.
2162 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2164         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2165         (org-export-as-html): Run the new hook.
2167         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2168         (org-export-latex-preprocess): Run the new hook.
2170         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2171         (org-export-preprocess-string): Run the new hook.
2173 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2175         * org-macs.el (org-check-external-command): New defsubst.
2177         * org.el (org-mode-map): New key for reload.
2178         (org-format-latex): Better error message when external programs
2179         are not available.
2181         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2183         * org.el (org-sort-entries-or-items): Explicit sorting function
2184         for priorities, needed for XEmacs compatibility.
2186         * org-remember.el (org-remember-apply-template): Improve auto-save
2187         behavior.
2189 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2191         * org-latex.el (org-export-latex-preprocess): Also protect
2192         environments ending in a star.
2194         * org-list.el (org-at-item-p): Fix regular expression.
2196 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org.el (org-end-of-subtree): Improve speed.
2200         * org-agenda.el (org-agenda-get-timestamps)
2201         (org-agenda-get-progress, org-agenda-get-deadlines)
2202         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2203         in particular, wait as long as possible to collect the tags.
2204         (org-stuck-projects): Improve docstring.
2206         * org.el (org-store-link): No errors when getting custom id before
2207         first headline.
2208         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2210 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2212         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2214         * org-protocol.el: Remove dependency on url.el.
2215         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2216         dependency on url.el.
2218         * org-latex.el (org-export-as-pdf): Use
2219         `org-latex-to-pdf-process'.
2221 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2223         * org-latex.el (org-latex-to-pdf-process): New option.
2225         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2226         New option.
2227         (org-agenda-get-timestamps): Honor
2228         `org-agenda-skip-additional-timestamps-same-entry'.
2230         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2231         (org-clock-goto): Find recent task only if
2232         `org-clock-goto-may-find-recent-task' allows it.
2234         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2235         drawers, and drawers that are missing the :END: line.
2237 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2239         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2240         clock is running.
2242 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2244         * org.el (org-update-parent-todo-statistics): Check for
2245         STATISTICS_FROM property.
2247         * org-list.el (org-update-checkbox-count): Check for
2248         STATISTICS_FROM property.
2250         * org.el (org-tab-first-hook)
2251         (org-tab-after-check-for-table-hook)
2252         (org-tab-after-check-for-cycling-hook): New hooks.
2253         (org-cycle-internal-global, org-cycle-internal-local): New
2254         functions, split out from `org-cycle'.
2255         (org-cycle): Call the new hooks.
2257 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2259         * org-exp.el (org-export-preprocess-string): Reset the list of
2260         preferred targets for each run of the preprocessor.
2262         * org.el (org-refile-target-verify-function): Improve
2263         documentation.
2264         (org-get-refile-targets): Respect point being moved by the
2265         verification function.
2267         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2268         option.
2269         (org-export-latex-keywords): Use new option.
2271         * org.el (org-rear-nonsticky-at): New defsubst.
2272         (org-activate-plain-links, org-activate-angle-links)
2273         (org-activate-footnote-links, org-activate-bracket-links)
2274         (org-activate-dates, org-activate-target-links)
2275         (org-activate-tags): Place the rear-nonsticky properties at the
2276         correct location.
2278 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2280         * org-protocol.el (server-edit): Declare `server-edit'.
2281         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2282         functions.
2283         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2285         * org.el (org-default-properties): New default properteis for
2286         completion.
2288         * org-exp.el (org-export-add-subtree-options): Add new properties
2289         for subtree export.
2291         * org-docbook.el (org-export-docbook-keywords-markup)
2292         (org-export-docbook-timestamp-markup): New options.
2293         (org-export-docbook-protect-tags): New function.
2295 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2297         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2298         org-refile-target-verify-function for the duration of the command.
2300         * org.el (org-link-to-org-use-id): New possible value
2301         `create-if-interactive-and-no-custom-id'.
2302         (org-store-link): Use custom IDs.
2303         (org-link-search): Find custom ID properties from #link.
2304         (org-default-properties): Add CUSTOM_ID for property completion.
2305         (org-refile-target-verify-function): New option.
2306         (org-goto): Turn off org-refile-target-verify-function
2307         for the duration of the command.
2309 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2311         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2313         * org-exp.el (org-export-preferred-target-alist): New variable.
2314         (org-export-define-heading-targets): Find the new CUSTOM_ID
2315         property.
2316         (org-export-target-internal-links): Target the custom ids when
2317         possible.
2319         * org-latex.el (org-export-latex-preprocess): Better regexp for
2320         matching latex macros with arguments.
2322 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2324         * org-remember.el (org-remember-handler): Allow filing to non-org
2325         files.
2327 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2329         * org-feed.el (org-feed-alist): New keyword options.
2330         (org-feed-update): Use the new options.
2331         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2332         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2333         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2334         functions.
2336         * org-table.el (org-table-fix-formulas): Do not change references
2337         to remote tables.
2338         (org-table-get-remote-range): Convert standard coordinates to RC
2339         format.
2341         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2343 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2345         * org-compat.el (org-sha1-string): Function removed.
2347         * org.el (org-refile-allow-creating-parent-nodes): New option.
2348         (org-refile-get-location): New argument NEW-NODES.
2349         (org-refile): Call `org-refile-get-location' with the new
2350         argument.
2351         (org-refile-get-location): Arrange for adding a new child.
2352         (org-refile-new-child): New function.
2354         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2355         an additional span element.
2357         * org-clock.el: Fix a number of docstrings.
2358         (org-clock-find-position): New argument
2359         FIND-UNCLOSED to make the function find an unclosed clock in the
2360         entry.
2361         (org-clock-in): Call `org-clock-find-position' with the new
2362         argument if we might be resuming a clock.
2364 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2366         * org-latex.el (org-export-latex-display-custom-times): New variable.
2367         (org-export-latex-timestamp-markup): New option.
2368         (org-export-latex-set-initial-vars): Remember the local value of
2369         `org-display-custom-times'.
2370         (org-export-latex-content): Process time stamps.
2371         (org-export-latex-time-stamps): New function.
2373         * org-macs.el (org-maybe-intangible): Add intangible property
2374         again to invisible text.
2376 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2378         * org-exp.el (org-default-export-plist): Handle undefined
2379         variables.
2381 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2383         * org.el (org-sort-entries-or-items): Match TODO keywrds
2384         case-sensitively, when sorting.
2385         (org-priority): Do not match TODO keywords with wrong case.
2387 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2389         * org-feed.el (org-feed-update): Bind the variable
2390         `new-formatted'.
2392         * org-html.el (org-export-as-html): Start paragraphs after literal
2393         examples.
2395         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2396         literal examples.
2398 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2400         * org.el (org-todo): Honor the NOBLOCKING property.
2402         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2403         NOBLOCKING property.
2405         * org.el (org-scan-tags): Fix bug in tag scanner
2407 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2409         * org.el (org-modules): Mark obsolete packages.
2411         * org-html.el: New file, split out from org-exp.el.
2413         * org-icalendar.el: New file, split out from org-exp.el.
2415         * org-xoxo.el: New file, split out from org-exp.el.
2417         * org-ascii.el: New file, split out from org-exp.el.
2419 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2421         * org-compat.el (org-find-library-name): New function.
2423         * org.el (org-pre-cycle-hook): New hook.
2424         (org-cycle): Call the new hook in appropriate places.
2425         (org-reload): Only reload files that have been loaded before.
2427 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2429         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2430         after todo keyword.
2431         (org-todo): When changing TODO state, do matching
2432         case-sensitively.
2433         (org-map-continue-from): New variable.
2434         (org-scan-tags): Respect values in `org-map-continue-from'.
2435         (org-reload): Make XEmacs compatible.
2437 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2439         * org-protocol.el (org-protocol-flatten-greedy): New function.
2440         (org-protocol-flatten): New function.
2442         * org.el (org-open-link-from-string): Pass reference buffer to
2443         `org-open-at-point'.
2444         (org-open-at-point): New optional argument `reference-buffer'.
2446 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2448         * org.el (org-scan-tags): Make tag scan find headline in first
2449         line, 2nd attempt.
2450         (org-get-refile-targets): Add the naked file name.
2451         (org-refile): Store as top-level entry when only file name was
2452         given.
2454         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2456         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2457         Renamed from org-block-todo-from-children-or-siblings, and
2458         enhanced to look for the parent's status as well.
2460         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2461         (org-agenda-get-progress): Add first notes line to log entry if so
2462         desired.
2464 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2466         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2467         (org-agenda-cleanup-fancy-diary): Call the new hook.
2469         * org-remember.el (org-remember-apply-template): Take the default
2470         for the annotation from the :annotation property.
2472         * org-mac-message.el (org-mac-message-get-link): Remove the
2473         quotes.
2474         (org-mac-message-get-link): Return the result.
2476 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2478         * org.el (org-refile-get-location): Add file name only if not
2479         already included in outline path.
2481         * org-faces.el (org-n-level-faces): Fix customization type from
2482         number to integer.
2484         * org-exp.el (org-export-headline-levels): Fix customization type
2485         from number to integer.
2487         * org-agenda.el (org-agenda-confirm-kill)
2488         (org-agenda-custom-commands-local-options)
2489         (org-timeline-show-empty-dates, org-agenda-ndays)
2490         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2491         customization type from number to integer.
2493 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2495         * org-protocol.el: Declare some functions.
2497         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2498         postion before inserting modified headline.
2500         * org-agenda.el (org-agenda-compare-effort): Honor
2501         `org-sort-agenda-noeffort-is-high'.
2502         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2503         (org-agenda-compare-effort): Implement the "?" operator for
2504         finding entries without effort setting.
2506         * org.el (org-extract-attributes-from-string): New function.
2508         * org-exp.el (org-export-splice-attributes): New function.
2510 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2512         * org-mouse.el: XEmacs compatibility fixes
2514         * org-docbook.el (org-export-as-docbook): Process footnotes like
2515         normal text.
2517         * org.el (org-modules): Add org-inlinetasks.el
2518         (org-cycle): Implement limiting level on cycling.
2519         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2520         buffer.
2522         * org-inlinetask.el: New file.
2524         * org.el (org-emphasis-regexp-components): Allow braces in
2525         emphasis pre and post match.
2527         * org-footnote.el (org-footnote-normalize): When only dorting, do
2528         not insert inline notes at the end.
2530         * org-docbook.el (org-id-find-id-file): Add function declaration.
2532         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2534         * org-docbook.el: New file.
2536 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2538         * org.el (org-reftex-citation): New command.
2540 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2542         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2543         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2544         sorting options.
2545         (org-entries-lessp): Apply the new sorting option.
2547         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2548         blocker code, when an older sibling has children.
2550         * org-mac-message.el (org-mac-message-get-link): Improve getting
2551         links from multiple selected messages.
2553 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2555         * org-remember.el (org-remember-finalize): Do not set buffer file
2556         name to nil.
2557         (org-remember-handler): Mark buffer as unmodified.
2558         (org-remember-handler): Delete backup file and show message about
2559         remaining backup files.
2560         (org-remember-auto-remove-backup-files): New option.
2562         * org.el (org-store-link): Use buffer name as link description in
2563         w3-mode buffers.
2564         (org-ido-switchb): Fix argument bug for completion.
2566         * org-remember.el (org-remember-apply-template): Set local
2567         variable `auto-save-visited-file-name' instead of global one.
2569 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2571         * org-feed.el: Re-write.
2573         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2574         (org-agenda-get-todos): Mark file tags as inherited.
2575         (org-agenda-list): Always search diary lines for a time.
2577 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2579         * org-feed.el (org-feed-assume-stable): New option.
2580         (org-feed-before-adding-hook): New hook.
2582         * org-exp.el (org-export-as-html): Close local lists depending on
2583         indentation, also when starting a table.
2585         * org-remember.el (org-remember-backup-directory)
2586         (org-remember-backup-name): New internal variable.
2588 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2590         * org-clock.el (org-clock-out-if-current): Make buffer detection
2591         work in indirect buffers as well.
2593         * org.el (org-emphasis-regexp-components): Add the exxclamation
2594         mark to the post-emphasis characters.
2596 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2598         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2599         (org-read-date): Run the new hook.
2601         * org-mac-message.el (org-mac-flagged-mail): New group.
2602         (org-mac-mail-account): New variable.
2603         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2604         commands.
2606         * org-remember.el (org-remember-backup-directory): New variable.
2607         (org-remember-apply-template): Write file to backup directory.
2609 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2611         * org-mouse.el (org-mouse-todo-menu): New function.
2612         (org-mouse-todo-keywords): Function removed.
2613         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2615         * org-table.el (org-table-beginning-of-field)
2616         (org-table-end-of-field): New commands
2617         (org-table-previous-field, org-table-beginning-of-field): Better
2618         error messages.
2619         (orgtbl-setup): Include `M-a' and `M-e'.
2621         * org.el (org-backward-sentence, org-forward-sentence): New
2622         commands.
2624         * org-colview.el (org-colview-initial-truncate-line-value): New
2625         variable.
2626         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2627         (org-columns): Remember the value of `truncate-lines'.
2629         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2630         New variable.
2631         (org-columns-remove-overlays): Restore the value of
2632         `truncate-lines'.
2633         (org-columns): Remember the value of `truncate-lines'.
2635         * org.el (org-columns-skip-arrchived-trees): New option.
2637         * org-agenda.el (org-agenda-export-html-style): Define color for
2638         org-agenda-done face.
2639         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2640         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2642         * org.el (org-scan-tags): Use the new face.
2644         * org-faces.el (org-agenda-done): New face.
2646         * org.el (org-scan-tags): Test the value org
2647         `org-tags-match-list-sublevels'.
2648         (org-tags-match-list-sublevels): New allowed value: indented.
2650         * org-export-latex.el (org-export-latex-make-header): Apply macros
2651         in header.
2653         * org-exp.el (org-export-apply-macros-in-string): New function.
2655         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2656         with the definition of a checked box.
2658         * org-clock.el (org-clock-find-position): Fix drawer indentations.
2660         * org-export-latex.el (org-export-latex-low-levels): More options
2661         for how to process lower levels in LaTeX.
2662         (org-export-latex-subcontent): Better treatment for lists as a
2663         means of publishing lower levels.
2665 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
2667         * org.el (org-set-font-lock-defaults): Use new checkbox face.
2669         * org-faces.el (org-checkbox): New face.
2671         * org-exp.el (org-export-html-preprocess): Only create LaTeX
2672         fragement images if there is an export file.
2674 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
2676         * org-agenda.el (org-stuck-projects): Document that the subtree of
2677         projects that are not stuck will now be searched for stuck
2678         sub-projects.
2679         (org-agenda-skip-entry-when-regexp-matches)
2680         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2681         (org-agenda-list-stuck-projects): Use
2682         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2684         * org-export-latex.el (org-export-latex-preprocess): Improve
2685         export of verses.
2687         * org-exp.el (org-export-as-html): Implement centering as a div
2688         rather than a paragraph.  Do a better job with line-end in verse
2689         environments.
2691 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org.el (org-open-at-point): Fix tags searches by mouse click.
2695 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
2697         * org-export-latex.el (org-export-latex-preprocess): Implement the
2698         centering markup.
2700         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2701         from `org-export-mark-blockquote-and-verse'.
2702         (org-export-as-html): Implement the centering markup.
2704         * org-export-latex.el (org-export-latex-tables): Fix vertical
2705         lines in tables.
2707 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
2709         * org.el (org-read-date-history): New variable.
2710         (org-read-date): Use new history variable.
2711         (org-toggle-heading): Fix bug when used before first headline.
2712         (org-store-log-note): Remove drawer if empty while note is
2713         aborted.
2714         (org-remove-empty-drawer-at): New function.
2715         (org-check-after-date): New command.
2716         (org-sparse-tree): New sparse tree command "a".
2718         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2720 2009-03-14  Bastien Guerry  <bzg@altern.org>
2722         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2723         column and a space, not only a column.
2725 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
2727         * org-export-latex.el (org-export-latex-emphasis-alist): Better
2728         defaults for verbose emphasis.
2729         (org-export-latex-emph-format): New function.
2730         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2732         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2733         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2734         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2735         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2736         commands.
2738         * org.el (org-timestamp-change): Move end-time along with start
2739         time.
2741 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2743         * org-exp.el (org-export-target-internal-links)
2744         (org-export-as-html): Protect links specified as #name.
2746 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2748         * org.el (org-clone-subtree-with-time-shift): New command.
2750         * org-export-latex.el (org-export-latex-special-chars)
2751         (org-export-latex-treat-sub-super-char): Fix subscript export.
2753         * org-exp.el (org-create-multibrace-regexp): Do not add
2754         backslashes to the class.
2756 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2758         * org-colview.el (org-columns-map): Better functions for moving up
2759         and down a row, even if `truncate-line' is nil.
2761         * org.el (org-insert-todo-heading): Make sure the keyword is
2762         inserted at the correct position.
2764         * org-publish.el (org-publish-project-alist)
2765         (org-publish-projects, org-publish-org-index): Change default anme
2766         for the index of file names to "sitemap.org".
2768         * org-export-latex.el (org-export-latex-tables): Use
2769         `org-split-string', for Emacs 21 compatibility.
2771 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2773         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2775 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2777         * org-exp.el (org-export-page-description)
2778         (org-export-page-keywords): New variables.
2779         (org-export-plist-vars): Add entries for :keywords and
2780         :description.
2781         (org-infile-export-plist): Parse for new keywords.
2782         (org-get-current-options): Add new keywords
2783         (org-export-as-html): Publish description and keywords.
2785         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2786         option.
2787         (org-agenda-add-entry-text): Honor
2788         `org-agenda-add-entry-text-descriptive-links'.
2790         * org-export-latex.el (org-export-latex-preprocess): Make all
2791         external preprocess functions use a PARAMETER arg.
2793         * org-exp.el (org-export-preprocess-string)
2794         (org-export-select-backend-specific-text)
2795         (org-export-format-source-code-or-example)
2796         (org-format-org-table-html): Support docbook export.
2797         (org-export-preprocess-string): Make all external preprocess
2798         functions use a PARAMETER arg.
2800 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2802         * org-exp.el (org-export-html-style-include-scripts): New option.
2803         (org-export-plist-vars): Add new option
2804         `org-export-html-style-include-scripts'.
2805         (org-export-as-html): Honor new option
2806         `org-export-html-style-include-scripts'.
2807         (org-export-html-scripts, org-export-html-style-default): Fix
2808         xml issues with the Safari browser.
2810 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2812         * org-publish.el (org-publish-attachment): Only copy file when the
2813         directories differ.
2815 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2817         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2818         for clocktable steps.
2820         * org.el (org-additional-option-like-keywords): Add two more
2821         keywords.
2823 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2825         * org-exp.el (org-export-format-source-code-or-example): Mark
2826         temporary buffer unmodified, so that it will be killed even if
2827         mode like message mode has decided to assign a file name.
2829         * org.el (org-scan-tags): Improve tag inheritance.
2830         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2831         case-sensitive.
2832         (org-scan-tags): Use the internal tags list instead of creating it
2833         from scratch.
2834         (org-trust-scanner-tags, org-scanner-tags): New variables.
2835         (org-scan-tags): Set `org-scanner-tags'.
2836         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2837         (org-map-entries): Document the possible speedup using scanner
2838         tags.
2840 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2842         * org.el (org-add-planning-info): Fix bug with looking for keyword
2843         only at column 0.
2845         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2846         option for tags filter preset.
2847         (org-prepare-agenda): Store filter preset as a property on the
2848         filter variable.
2849         (org-finalize-agenda): Call the filter, if there is a preset.
2850         (org-agenda-filter-by-tag): Filter again after clearing the
2851         filter, when there still is a preset.
2852         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2853         Include the preset filter.
2854         (org-agenda-redo): Apply the filter again, also the preset filter.
2856         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2858         * org.el (org-uuidgen-p): New funtion.
2860         * org-agenda.el (org-agenda-fontify-priorities): New default value
2861         `cookies'.
2862         (org-agenda-fontify-priorities): Renamed from
2863         org-fontify-priorities.
2865         * org.el (org-set-font-lock-defaults): Call
2866         `org-font-lock-add-priority-faces'.
2867         (org-font-lock-add-priority-faces): New function.
2869         * org-faces.el: (org-set-tag-faces): New option.
2870         (org-priority-faces): New variable.
2872         * org-exp.el (org-export-as-html): Add a "content" div around the
2873         entire content of the body tag.
2874         (org-export-html-get-bibliography): New function.
2875         (org-export-html-validation-link): New variable.
2876         (org-export-as-html): Add validation link to exported page.
2878         * org.el (org-match-sparse-tree): Renamed from
2879         `org-tags-sparse-tree'.
2880         (org-tags-sparse-tree): New alias.
2882 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2884         * org.el (org-get-valid-level): Catch the case where the level
2885         change is nil.
2887         * org-clock.el (org-clock-find-position): Better indentation of
2888         new clock drawers.
2890 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2892         * org-agenda.el (org-agenda-quit): Delete window only when the
2893         frame-setup was not `current-window'.
2895         * org.el (org-tag-persistent-alist): New option.
2896         (org-startup-options): Add keyword `noptag'.
2897         (org-fast-todo-selection): Handle :newline correctly.
2898         (org-set-tags): Handle :newline correctly.
2899         (org-fast-tag-selection): Handle :newline correctly.
2901 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2903         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2904         outputting it.
2905         (org-export-ascii-push-links): Fix bug with pussing links into the
2906         export buffer.
2908 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2910         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2911         pasting at top level.
2913         * org-bbdb.el: Improve documentation.
2915 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2917         * org-list.el (org-insert-item): Only consider insert empty lines
2918         is `org-empty-line-terminates-plain-lists' is not nil.
2920         * org.el (org-blank-before-new-entry): Mention the dependence on
2921         `org-empty-line-terminates-plain-lists' in the docstring.
2923         * org-publish.el (org-publish-get-project-from-filename): New
2924         optional argument UP.  Only find the top project if UP is set.
2925         (org-publish-current-project): Find the top encloding project.
2927         * org-agenda.el (org-agenda-before-write-hook)
2928         (org-agenda-add-entry-text-maxlines): New options.
2929         (org-write-agenda): Run the new hook in the temporary buffer.
2930         (org-agenda-add-entry-text): New function.
2931         (org-write-agenda): Implement PDF export, using ps2pdf.
2933         * org.el (org-global-properties-fixed, org-global-properties):
2934         Improve documentation string.
2936         * org-exp.el (org-export-ascii-links-to-notes): New option.
2937         (org-export-as-ascii): Handle links better.
2938         (org-export-ascii-wrap, org-export-ascii-push-links): New
2939         functions.
2941 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
2943         * org-agenda.el (org-agenda): Make prefix arg optional.
2944         (org-agenda-search-headline-for-time): New option.
2945         (org-format-agenda-item): Honor
2946         `org-agenda-search-headline-for-time'.
2948         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2949         characters.
2951         * org.el (org-self-insert-cluster-for-undo): New option.
2952         (org-self-insert-command): Cluster undo for 20 characters.
2953         (org-self-insert-command-undo-counter): New variable.
2955 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
2957         * org-exp.el (org-export-as-html): Fix problem with closing colone
2958         example.
2960 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
2962         * org-export-latex.el (org-export-as-latex)
2963         (org-export-latex-first-lines): Avoid modification flag when
2964         adding or removing text properties.
2965         (org-export-latex-fontify): Catch error when org-emph-alist has
2966         entries that are not defined for LaTeX export.
2968         * org.el (orgstruct++-mode): New function.
2969         (turn-on-orgstruct++): Call `orgstruct++-mode'.
2970         (org-context-p): Allow detecting item context after the first line
2971         of an item.
2972         (orgstruct-make-binding): Detect if item-body context should be
2973         seen.
2974         (orgstruct-is-++): New variable.
2975         (org-add-planning-info): Catch the case when there is no planning
2976         info yet and the call does not want to add anything, only maybe
2977         tries to remove something.
2978         (org-special-ctrl-a/e): All value to be a cons cell with separate
2979         settings for `C-a. and `C-e'.
2980         (org-beginning-of-line, org-end-of-line): Honor separate values
2981         for `C-a' and `C-e'.
2983 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
2985         * org.el (org-reload): New command.
2987 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
2989         * org-exp.el (org-export-htm-get-tag-class-name)
2990         (org-export-htm-get-todo-kwd-class-name): New functions.
2991         (org-export-html-tag-class-prefix)
2992         (org-export-html-todo-kwd-class-prefix): New options.
2993         (org-export-as-html): Call
2994         `org-export-html-get-todo-kwd-class-name'.
2995         (org-html-level-start): Wrap tags into classes.
2996         (org-export-html-get-tag-class-name)
2997         (org-export-html-get-todo-kwd-class-name): New functions.
2999         * org-export-latex.el (org-export-latex-collect-header-macros):
3000         Remove fields that are used anyway.
3001         (org-export-latex-make-header): Insert the options earlier.
3003         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3004         matching.
3006         * org-list.el (org-indent-item): Allow point to be at the end of
3007         the region.
3009         * org.el (org-metaleft, org-metaright): Be more accurate about
3010         detecting a region where commands apply.
3012         * org-compat.el (org-cursor-to-region-beginning): New function.
3014         * org.el (org-priority): Also find invisible heading.
3016         * org-colview-xemacs.el (org-columns-edit-value): No special
3017         treatment for `org-todo' prefix.
3019         * org-colview.el (org-columns-edit-value): No special treatment
3020         for `org-todo' prefix.
3022         * org-remember.el (org-remember-apply-template): Use
3023         `org-completing-read-no-ido'.
3025         * org.el (org-completing-read-no-ido): New function.
3026         (org-make-tags-matcher, org-set-property): Use
3027         `org-completing-read-no-ido'.
3029         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3030         New option.
3031         (org-export-as-latex): Import in-buffer settings as TeX macros.
3032         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3033         (org-export-latex-collect-header-macros): New function.
3035         * org.el (org-refile-get-location): Turn off
3036         `partial-completion-mode'.
3038 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3040         * org.el (org-block-todo-from-checkboxes): Announce that
3041         checkboxes are the culprit.
3042         (org-block-todo-from-children-or-siblings): Call
3043         `org-up-heading-all instead' of `outline-up-heading'.
3045         * org-agenda.el (org-agenda-show-1): Renamed from
3046         `org-agenda-show'.
3047         (org-agenda-show): Re-install the old version for now.
3048         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3049         variable into the blokker hook, so that the checkbox checker can
3050         anounce that it caused the blocking.
3052         * org.el (org-track-ordered-property-with-tag): New option.
3053         (org-toggle-ordered-property): Honor
3054         `org-track-ordered-property-with-tag'.
3055         (org-tag-alist): Add newline options.
3056         (org-set-regexps-and-options): Separate option lines imply a
3057         newline.
3058         (org-set-regexps-and-options, org-assign-fast-keys)
3059         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3060         option.
3061         (org-indent-line-function): Make sure this works even if there is
3062         not `org-drawer-regexp' defined.  This can happen when
3063         orgstruct-mode is used in a non-org buffer.
3065         * org-list.el (org-checkbox-blocked-p): New function.
3066         (org-toggle-checkbox): Check for blocking.
3068         * org.el (org-modules): Add an entry for org-R.el.
3070         * org-agenda.el (org-agenda-todo-ignore-with-date)
3071         (org-agenda-todo-ignore-scheduled)
3072         (org-agenda-todo-ignore-deadlines): Mention the variable
3073         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3075         * org.el (org-get-wdays): Find the warning period also if it is in
3076         the wrong place.
3077         (org-ido-completing-read): Provide the correct arguments to
3078         ido-completing-read and bind `ido-enter-matching-directory' to
3079         nil.
3081 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3083         * org.el (org-olpath-completing-read): Never use ido for this
3084         one.
3086         * org-exp.el (org-export-normalize-links): Use new macro.
3088         * org-macs.el (org-if-unprotected-at): New macro.
3090         * org-agenda.el (org-agenda-show): Allow numerical prefix
3091         arguments to specify how much context should be shown.
3092         (org-agenda-cycle-show): New command, could be bound to SPC in
3093         org-agenda-mode-map.
3095         * org-exp.el (org-html-level-start): Space after section number.
3097 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3099         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3100         property, for sorting.
3101         (org-cmp-todo-state): Get the applicable TODO keywords directly
3102         from the buffer.
3103         (org-run-agenda-series, org-agenda-list, org-search-view)
3104         (org-todo-list, org-tags-view): Only fit agenda window when the
3105         whole series is done.
3107         * org.el (org-scan-tags): Add todo state as property, for sorting.
3109         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3110         `org-agenda-overriding-header' as an option.
3111         (org-agenda-list): Honor org-agenda-overriding-header'.
3113 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3115         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3116         after removing a checkbox.
3118         * org.el (org-show-entry): Make this work correctly also if it is
3119         the last entry in the file.
3120         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3121         falling back to normal, default command.
3122         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3123         item, call the checkbox toggler to get a box.
3125         * org-list.el (org-toggle-checkbox): Make double prefix set the
3126         checkbox to "[-]".
3127         (org-fix-bullet-type): Only replace bullet if it is changed.
3128         (org-renumber-ordered-list): Handle case when first item does not
3129         have a number.
3131         * org.el (org-add-log-setup): Fix positioning when
3132         `org-log-states-order-reversed' is nil.
3134         * org-clock.el (org-clock-in): Fix positioning when
3135         `org-log-states-order-reversed' is nil.
3136         (org-clock-find-position): Fix positioning when
3137         `org-log-states-order-reversed' is nil.
3139 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3141         * org-clock.el (org-clock-into-drawer): Take default from
3142         `org-log-into-drawer'.
3143         (org-clock-find-position): Look for the correct drawer.
3145         * org.el (org-log-into-drawer): Renamed from
3146         `org-log-state-notes-into-drawer'.
3147         (org-log-state-notes-into-drawer): New variable alias.
3148         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3149         CLOCK.
3150         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3152 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3154         * org-agenda.el (org-agenda): Fix docstring.
3156         * org.el ("org-plot"): Help loading org-plot.
3157         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3158         (org-metadown-hook, org-shiftmetaleft-hook)
3159         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3160         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3161         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3162         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3163         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3165         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3166         for selecting files with any (and even without) extension.
3168         * org.el (org-save-all-org-buffers): Also save id locations.
3169         (org-revert-all-org-buffers): Also load id locations.
3171 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3172         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3173         (org-log-state-notes-into-drawer): New option.
3174         (org-add-log-setup): Place the sate note marker into the drawer,
3175         create drawer when necessary.
3176         (org-refile-targets): Document special interpretation of LEVEL
3177         when odd-levels are used.
3179 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3181         * org.el (org-store-log-note): Fix note indentation when adding
3182         notes to end of list.
3184         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3185         class, so that each keyword can get special colors through CSS.
3187         * org-clock.el (org-clock-out): Add another nil for the previous
3188         state into the call to `org-add-log-setup'.
3190         * org.el (org-log-note-previous-state): New variable.
3191         (org-log-note-headings): New %S escape for old state.
3192         (org-todo): Call the note setup with the old state as an
3193         argument.
3194         (org-add-note): Add another nil for the previous state into the
3195         call to `org-add-log-setup'.
3196         (org-add-log-setup): New argument PREV-STATE.
3197         (org-add-log-note): Handle new %S escape.
3198         (org-store-log-note): Handle new %S escape.
3200 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3202         * org-clock.el (org-clock-find-position): Do not swallow an item
3203         less indented than the CLOCK line itself.
3204         (org-clock-in): Push markers to lin after the clock line.
3205         (org-clock-find-position): Handle values of
3206         `org-clock-into-drawer' smaller than 2.
3208         * org-exp.el (org-html-level-start): Add a CSS class to section
3209         numbers.
3210         (org-export-html-toplevel-hlevel): Better documentation of the
3211         influence of this variables on H levels and css classes in
3212         export.
3214 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3216         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3217         timestamp and nottimestamp to the chooe menu.
3219         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3220         (org-revert-all-org-buffers): New command.
3222 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3224         * org.el (org-return): Implement `org-return-follows-link' in the
3225         function org-return.  This is more robust than using the mouse
3226         map, I think.
3227         (org-set-regexps-and-options): Match more general #+TODO lines.
3228         (org-make-options-regexp): New optional argument EXTRA, for an
3229         extra regexp.
3230         (org-tab-follows-link): Mark as deprecated.
3232 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3234         * org-exp.el (org-export-preprocess-string): Remove clock lines
3235         earlier, so that they cannot cotribute to verbatim snippets.
3237 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3239         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3240         for finding drawers.
3241         (org-export-as-ascii, org-export-as-html): Count levels relative
3242         to the subtree header.
3243         (org-get-min-level): New optional argument OFFSET.
3244         (org-export): Make sure point is restored after popping up that
3245         window.
3247         * org.el (org-do-sort): Also take an inactive timestamp if no
3248         active one is found.
3250         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3251         deleting duplicates.
3253         * org-colview.el (org-columns-capture-view): Copy before
3254         deleting duplicates.
3256         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3257         text before first headline.
3259         * org.el (org-format-latex): Do not convert LaTeX fragments in
3260         protected examples.
3262 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3264         * org-exp.el (org-export-html-style-default): Use color values
3265         instead of names for XHTML validation.
3267         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3268         functions.
3269         (org-return-follows-link): Revert making this the default untile
3270         issues are resolved.
3272         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3273         nottimestamp.
3275 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3277         * org.el (org-mode): Make dependence stuff work more reliably.
3278         (org-update-parent-todo-statistics): Fix bug with updating
3279         statistics cookie.
3281         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3282         ~ as verbatim delimiters.
3284         * org-exp.el (org-export-html-format-image): New argument
3285         PAR-OPEN.
3286         (org-export-as-html): Pass par-open to
3287         `org-export-html-format-image'.
3289 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3291         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3292         (org-use-fast-todo-selection, org-tags-column): New default
3293         setting for variables, based on a poll what typical uses use.
3295         * org-agenda.el (org-agenda-sorting-strategy)
3296         (org-agenda-tags-column): New default setting for variables, based
3297         on a poll what typical uses use.
3299 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3301         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3302         blocked entries from setting the blocked tag.
3304         * org-exp.el (org-export-html-footnotes-section): Use a more
3305         consistent id for footnotes.
3307         * org-export-latex.el (org-export-latex-classes): Remove the
3308         a4paper option from the default styles.
3310 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3312         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3313         (org-block-todo-from-checkboxes): New function.
3314         (org-todo): Make tripple prefix arg circumvent blocking.
3316         * org-timer.el (org-timer): Provide the timer feature.
3318         * org.el (org-require-autoloaded-modules): Add a few more files to
3319         the list of autoloaded modules.
3321         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3323 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3325         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3326         drawers that are unprotected.
3327         (org-export-html-format-image): Make sure inlined LaTeX fragment
3328         images remain inlined.
3330         * org.el (org-toggle-ordered-property): New function.
3331         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3332         (org-org-menu): Add menu entries for TODO dependencies.
3334 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3336         * org.el (org-default-properties): Add ORDERED to the default
3337         properties, to get completion support for it.
3339         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3341         * org.el (org-update-parent-todo-statistics): Update more than one
3342         cookie.
3344         * org-agenda.el (org-agenda-get-todos): Start search from correct
3345         position.
3347         * org.el (org-fast-todo-selection): Make sure TODO selection does
3348         not change buffer position.
3350         * org-list.el (org-toggle-checkbox): Implement adding or removing
3351         checkboxes from line or region when called with a prefix
3352         argument.
3354         * org-rmail.el (org-rmail-store-link): Protect the call to
3355         `rmail-narrow-to-non-pruned-header'.
3357         * org-clock.el (org-clock-special-range): Fix week display in
3358         clock tables.
3360         * org-exp.el (org-get-current-options): Fix bug when in indirect
3361         buffer.
3363 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3365         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3366         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3367         (org-agenda-dim-blocked-tasks): New function.
3369         * org.el (org-enforce-todo-dependencies): New option.
3370         (org-block-todo-from-children-or-siblings): New function.
3372         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3374         * org.el (org-todo): Return correct state type even if the blocker
3375         throws an error.
3376         (org-modifier-cursor-error): Renamed from
3377         `org-shiftcursor-error'.
3378         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3379         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3381         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3382         to get real errors from the blocker hook.
3384         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3385         functions.
3386         (org-set-visibility-according-to-property): Turn off the setting
3387         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3388         property.
3390 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3392         * org.el (org-support-shift-select): New option.
3393         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3394         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3395         selection outside contexts.
3397         * org-list.el (org-at-item-bullet-p): New function.
3399         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3400         variables.
3402         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3403         variable.
3404         (org-insert-footnote-reference-near-definition): Remove
3405         unnecessary let form.
3407         * org-export-latex.el (org-export-latex-first-lines): Add
3408         OPT-PLIST parameter.
3409         (org-export-as-latex): Call `org-export-latex-first-lines' with
3410         opt-plits parameter.
3411         (org-export-latex-preprocess): Remove unnecessary variables.
3413         * org-exp.el (org-infile-export-plist)
3414         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3415         (org-export-remove-headline-metadata)
3416         (org-export-get-title-from-subtree, org-get-min-level)
3417         (org-html-do-expand): Remove innecessary let form.
3419         * org-colview-xemacs.el (org-columns-display-here): Remove
3420         unnecessary variables.
3422         * org-colview.el (org-columns-display-here): Remove unnecessary
3423         variables.
3425         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3426         variables.
3428         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3429         unnecessary variables.
3431         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3432         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3433         variables.
3435         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3436         (org-compact-display-after-subtree-move): Remove unnecessary
3437         variables.
3438         (org-edit-fixed-width-region): Remove unnecessary variables.
3439         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3440         (org-olpath-completing-read): Remove unnecessary variable.
3441         (org-auto-repeat-maybe): Remove unnecessary variable.
3442         (org-map-entries): Remove unnecessary variable.
3443         (org-buffer-property-keys, org-imenu-get-tree)
3444         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3446 -----------------------------------------------------------------
3448 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3449         * org-exp.el (org-export-remove-timestamps): Never remove
3450         timestamps from tables.
3452         * org-export-latex.el (org-export-latex-first-lines): Add more
3453         options to the preprocessing of the text before the first
3454         headline.
3456 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3458         * org-faces.el (org-clock-overlay): Make face compatible with
3459         XEmacs.
3461         * org.el (org-yank): Add property for delete-selection mode.
3463         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3465         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3466         variable.
3468         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3469         to `backward-char'.
3471         * org-exp.el (org-export-as-html): Remove the initial space from
3472         colon examples.
3474         * org.el (org-scan-tags): Call
3475         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3477         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3478         customization groups.
3479         (org-agenda-tags-todo-honor-ignore-options): New option.
3480         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3481         New function.
3482         (org-agenda-get-todos): Use
3483         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3485 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org-exp.el (org-export-format-source-code-or-example): Escape
3488         HTML characters also in examples that anre not treated with
3489         htmlize.  Also, just switch to EXAMPLE processing if we do not
3490         have a good version of htmlize.
3492         * org-rmail.el: Fix copyright notice.
3494         * org.el (org-activate-footnote-links): Improve footnote link
3495         highlighting.
3497         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3498         a footnote definition at the end of the file.
3500         * org-table.el (org-table-get-specials): Add an imagined hline at
3501         the end of the table.  This can be useful for references that want
3502         to go to the end of the table.  Also fix bug when computing last
3503         row constants, in tables that do not start right at the right
3504         margin.
3505         (org-table-eval-formula): Match and replace remove references.
3506         (org-table-formula-substitute-names): Make sure that names inside
3507         a "remote" call are left alone, the will be replaced later when
3508         the remote call is handled.
3509         (org-table-convert-refs-to-rc): Do not convert things that might
3510         look like a reference, but are really part of an ID or namei n a
3511         remote reference.
3512         (org-table-get-remote-range): New function.
3514 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3516         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3518         * org-clock.el (org-clock-put-overlay): Use new face instead of
3519         `secondary-selection'.
3521         * org-faces.el (org-clock-overlay): New face.
3523 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3525         * org-exp.el (org-get-current-options): Include the option for
3526         publishing time stamps.
3528         * org.el (org-toggle-heading): Renamed from
3529         `org-toggel-region-headings'.
3530         No longer needs a region defined, but will use it if there is one.
3531         (org-ctrl-c-star): Simplified, relying more on the internal
3532         workings of `org-toggle-heading'.
3533         (org-toggle-item): Renamed from `org-toggle-region-items'.
3534         No longer needs a region defined, but will use it if there is one.
3535         (org-ctrl-c-minus): Simplified, relying more on the inernal
3536         workings of `org-toggle-item'.
3538         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3539         environment detection.  Also, do real changes only in unprotected
3540         places.
3542 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3544         * org-export-latex.el (org-export-latex-quotation-marks): Use
3545         `org-if-unprotected-1'.
3546         (org-export-latex-set-initial-vars): Check for class definition in
3547         property.
3549         * org-macs.el (org-if-unprotected-1): New macro.
3551 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3553         * org-compat.el (org-count-lines): New function.
3555         * org-exp.el (org-export-format-source-code-or-example): Handle
3556         switches related to text areas.
3558         * org.el (org-activate-footnote-links): Don't allow match inside a
3559         link.
3561         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3563         * org-export-latex.el (org-export-latex-links): Keep a relative
3564         path relative also after export.
3566         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3568         * org.el (org-make-tags-matcher): Never use IDO for completing the
3569         tags matcher match string.
3570         (org-completing-read): Also remove the special biding for "?".
3572         * org-attach.el (org-attach-allow-inheritance): New option.
3573         (org-attach-inherited): New variable.
3574         (org-attach-dir): Handle properties related to the attachment
3575         directory.
3576         (org-attach-check-absolute-path): New function.
3577         (org-attach-set-directory, org-attach-set-inherit): New commands.
3578         (org-attach): Accommodate the new commands in the dispatcher.
3580 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3582         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3583         `window-full-width-p'.
3585         * org-exp.el (org-export-as-html): Only check for images files
3586         that really can be inlined
3588         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3589         list of extensions to be a parameter.
3591         * org-exp.el (org-export-html-inline-image-extensions): New
3592         variable.
3594         * org-agenda.el (org-prepare-agenda): Use
3595         `org-agenda-block-separator'.
3596         (org-agenda-block-separator): New option.
3598 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3600         * org-export-latex.el (org-export-latex-tables): Call
3601         `org-table-clean-before-export' with the new optional argument.
3603         * org-exp.el (org-table-clean-before-export): New optional
3604         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3605         first column.
3607 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3609         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3610         histograms.
3612         * org-colview.el (org-colview-construct-allowed-dates): Better
3613         error catching when a date/time property does not have allowed
3614         values defined.
3616         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3617         Better error catching when a date/time property does not have
3618         allowed values defined.
3620 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3622         * org.el (org-map-entries): Restore point and restriction after
3623         `org-map-entries'.
3625 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3627         * org.el (org-time=, org-time<, org-time<=, org-time>)
3628         (org-time>=, org-time<>): Make sure both values are dates.
3630 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3632         * org-archive.el (org-extract-archive-heading): Allow %s for file
3633         name also in achive location heading.
3635 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3637         * org-archive.el (org-add-archive-files): Uniquify the list before
3638         returning it.
3640 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3642         * org-compat.el (org-fit-window-to-buffer): Use
3643         `window-full-width-p'.
3645         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3646         space after the colon in short examples.
3648         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3649         enforce a space after the colon.  However, we also allow lines
3650         that are *only* a colon.
3651         (org-export-as-html): Enforce the space after the colon in short
3652         examples.
3653         (org-export-preprocess-string): Do the colon example protection
3654         earlier.
3655         (org-export-remove-timestamps): Do not check for protection at the
3656         end of the line.
3658 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
3660         * org.el (org-format-latex-options): Add new matcher for single
3661         letters between dollars.
3662         (org-get-header): Function removed.
3663         (org-heading-components): New function.
3665         * org-exp.el (org-export-define-heading-targets): Record ID's also
3666         as alternative targets.
3667         (org-export-as-html): Interpret "id:" links to other files by
3668         preserving the relative path.
3670         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3671         is nil.
3673         * org-exp.el (org-export-normalize-links): Protect the main link,
3674         to avoid special character processing.
3676         * org-export-latex.el (org-export-latex-special-keyword-regexp):
3677         New variable.
3678         (org-export-latex-special-string-regexps): Variable removed.
3679         (org-export-latex-keywords): Use the new regexp.
3681         * org-exp.el (org-export-handle-include-files): Fetch switches and
3682         put them into the BEGIN statement.
3684         * org-timer.el (org-timer-mode-line-string): New variable.
3686         * org-clock.el (org-clock-mode-line-map): Renamed from
3687         `org-clock-mode-map'.
3688         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3689         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3690         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3691         (org-clock-remove-overlays): Renamed from
3692         `org-remove-clock-overlays'.
3694         * org-timer.el (org-timer-pause-or-continue): Implement stopping
3695         and mode line display.
3696         (org-timer-stop): New command.
3697         (org-timer-seconds): Return correct time when timer is paused.
3698         (org-timer-mode-line-timer): New variable.
3699         (org-timer-set-mode-line, org-timer-update-mode-line): New
3700         functions.
3702         * org.el (org-insert-heading):  Handle new value `auto' for
3703         `org-blank-before-new-entry'.
3704         (org-org-menu): Add new items for timer functions.
3706         * org-list.el (org-insert-item): Handle new value `auto' for
3707         `org-blank-before-new-entry'.
3709         * org.el (org-blank-before-new-entry): New value `auto', made
3710         default.
3712 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
3714         * org-exp.el (org-export-normalize-links): If the link is also
3715         used as the description, protect the description.
3717 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org.el (org-closest-date): Fix bug with yearly repeats, in
3720         combination with preference of the past as it is used for deadline
3721         and scheduling search.
3723         * org-exp.el (org-html-handle-time-stamps): No longer check for
3724         the `org-export-with-timestamps' option, because the preprocesser
3725         has taken care of this already.
3727         * org.el (org-entry-properties): Catch the case when this is
3728         called in a non-org-mode file.
3730         * org-export-latex.el (org-export-latex-remove-from-headlines):
3731         Variable made obsolete, also LaTeX export now uses the standard
3732         variables.
3733         (org-export-as-latex): Add the timestamps parameter to the
3734         preprocessor parameter list.
3735         (org-export-latex-content): Export the remaining keywords without
3736         considering to remove them.
3737         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3738         Use bold font instead of tt font for the keywords.
3739         (org-export-latex-fontify-headline): Format headlines, assuming
3740         that all keywords still present should be published.
3741         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3742         publish what ever remains of the time stamps.
3743         (org-export-latex-list-parameters): New option.
3744         (org-export-latex-lists): Pass additional parameters to the list
3745         converter.
3747         * org-exp.el (org-export-preprocess-string): Remove clock lines
3748         and timestamps already in the preprocesor.
3749         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3750         functions.
3751         (org-export-as-ascii, org-export-as-html): Add the timestamps
3752         parameter to the preprocessor parameter list.
3754         * org-list.el (org-list-parse-list): Parse for checkboxes.
3755         (org-list-to-generic): Introduce and handle new parameters :cbon
3756         and :cboff.
3757         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3758         optional parameter PARAMS.
3760         * org-export-latex.el (org-export-latex-special-chars): Fix
3761         problems with interpreting dollar signs.
3762         (org-inside-latex-math-p): New function.
3763         (org-export-latex-preprocess): Protect all the math fragments.
3765         * org.el (org-latex-regexps): Allow a dash after a dollar.
3767         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3768         mark after copying.
3770         * org-agenda.el (org-run-agenda-series): Have series options set
3771         when finalizing the agenda.
3773         * org-exp.el (org-export-format-source-code-or-example): Protect
3774         the converted examples.
3776         * org.el (org-set-regexps-and-options): Fix the regexp
3777         `org-complex-heading-regexp'.
3779 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3781         * org.el (org-edit-src-get-label-format): New function.
3782         (org-coderef-label-format): New option.
3783         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3784         a label format specification and make sure it is used in the edit
3785         buffer.
3786         (org-edit-src-get-label-format): New function.
3787         (org-store-link): Handle new coderef formats.
3788         (org-link-search): Handle new coderef formats.
3790         * org-footnote.el (org-footnote-create-definition)
3791         (org-footnote-goto-local-insertion-point): Make footnote insertion
3792         work correctly when the "Footnotes" headline is the last line in
3793         the buffer.
3795         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3796         the location.
3798 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3800         * org-w3m.el (org-w3m): New customization group.
3801         (org-w3m-deactivate-mark): New option.
3802         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3803         option say not to.
3805 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3807         * org.el (org-set-font-lock-defaults): Trigger footnote
3808         fontification.
3809         (org-activate-footnote-links): New function.
3810         (org-activate-links): New entry `footnote'.
3812         * org-faces.el (org-footnote): New face.
3814 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3816         * org-macs.el (org-re): Handle the [:word:] class.
3818         * org-exp.el (org-export-preprocess-string): Call
3819         `org-export-protect-colon-examples'.
3820         (org-export-protect-colon-examples): Renamed from
3821         `org-export-protect-examples', and scope limited to lines starting
3822         with a colon.
3824 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3826         * org-exp.el (org-export-preprocess-string): Move the preprocess
3827         hook to after turning on Org-mode.
3828         (org-export-preprocess-after-include-files-hook)
3829         (org-export-preprocess-after-tree-selection-hook)
3830         (org-export-preprocess-before-backend-specifics-hook)
3831         (org-export-preprocess-final-hook): New hooks.
3832         (org-export-preprocess-string): Run the new hooks.
3834         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3836         * org-footnote.el: New file.
3838         * org.el (org-footnote): Require footnote code.
3839         (org-startup-options): Add new footnote options.
3840         (org-mode-map): New keybindig for footnotes.
3841         (org-ctrl-c-ctrl-c): Add function at footnotes.
3842         (org-org-menu): New menu entries for footnotes.
3844         * org-export-latex.el (org-export-as-latex): Pass footnote
3845         variable to preprocessor.
3846         (org-export-latex-preprocess): Treat multiple references to a
3847         footnote.
3849         * org-exp.el (org-export-preprocess-string): Call
3850         `org-footnote-normalize'.
3851         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3852         to preprocessor.
3853         (org-export-as-html): Treat multiple references to a footnote.
3855 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3857         * org-export-latex.el (org-export-latex-links): Handle coderef
3858         links.
3860         * org.el (org-bracket-link-analytic-regexp++): New variable.
3861         (org-make-link-regexps): Initialize
3862         `org-bracket-link-analytic-regexp++'.
3863         (org-store-link): Implement special case in edit-src buffer.
3864         (org-insert-link): No use of ide to insert stored links.
3865         (org-link-search): Implement special case for coderefs.
3867         * org-exp.el (org-export-html-scripts): New constant.
3868         (org-export-html-style-default): Add a new style for highlighted
3869         code.
3870         (org-export-code-refs): New variable.
3871         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3872         Call `org-export-replace-src-segments-and-examples'
3873         No longer call `org-export-protect-examples'.
3874         (org-export-target-internal-links): Take care of coderef targets.
3875         (org-export-last-code-line-counter-value): New variable.
3876         (org-export-replace-src-segments-and-examples): Renamed from
3877         `org-export-replace-src-segments', and modified.
3878         (org-export-format-source-code-or-example): Renamed from
3879         `org-export-format-source-code'.
3880         (org-export-number-lines): New function.
3881         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3883 --------------------------------------------------------------------------
3885 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3887         * org-remember.el (org-remember-handler): Safer way to get a new
3888         buffer accessing the target file.
3890         * org.el (org-refile-get-location): Handle case of current buffer
3891         not having a file associated with it.
3893 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3895         * org-table.el (org-table-get-formula): Only ask to overwrite
3896         field formula if there really is one.
3898         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3899         number, by converting these to a string.
3901         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3902         located in a different file.
3904         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3905         org-colview.el.
3907 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3909         * org.el (org-completion-use-ido): Enhance docstring of
3910         `org-completion-use-ido'.
3912         * org-export-latex.el (org-export-latex-make-header): Double the %
3913         in the time stamp format.
3914         (org-export-latex-special-chars): Handle case where there is no
3915         match group 3.
3917 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3919         * org.el (org-get-refile-targets, org-refile-get-location): Use
3920         expanded file name to improve comparison.
3922 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
3924         * org.el (org-scan-tags): Rescan for tags, to get the correct
3925         upcase/downcase stuff.  This slows things down for now, but it
3926         works.
3927         (org-mode): Make sure the tag-faces regexp is initialized.
3929         * org-export-latex.el (org-export-latex-links): Fix bug with
3930         undefined label.
3932         * org-table.el (org-table-get-specials): Set
3933         `org-table-current-last-data-line'.
3934         (org-table-current-last-data-line): New variable.
3935         (org-table-insert-column, org-table-delete-column)
3936         (org-table-move-column, org-table-fix-formulas): Call
3937         `org-table-fix-formulas' a second time to fix the $LR references.
3938         (org-table-get-specials): Add the $LR references to the tables.
3939         (org-table-get-formula): Do not offer last-row names as LHS of
3940         formulas.
3942         * org.el (org-store-link): Capture link description from
3943         `org-id-store-link'.
3945         * org-exp.el (org-export-html-format-image): Add the / to the end
3946         of the <img> tag.
3947         (org-export-format-source-code): Surround example by empty lines,
3948         to make sure it will not be inside a paragraph.
3950         * org.el (org-ido-switchb): New function.
3952 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-agenda.el (org-agenda-show): New prefix argument
3955         FULL-ENTRY.
3957         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3958         argument.
3960         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3961         `org-agenda-change-all-lines'.
3962         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3963         tags are now retrieved locally.
3965 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
3967         * org.el (org-get-outline-path): Fix bug if level is not given.
3968         (org-org-menu): Do not quote function in menu vector.
3970         * org-agenda.el (org-finalize-agenda): Fix typo with variable
3971         name.
3973 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3975         * org.el (org-refile): Avoid refiling to within the region to be
3976         refiled.
3978         * org-export-latex.el (org-export-latex-special-chars): Replace
3979         special characters also in tables.
3981         * org-agenda.el (org-agenda-change-all-lines): New argument
3982         FORCE-TAGS.
3983         (org-agenda-set-tags): Cet the new tags and pass them to
3984         `org-format-agenda-item'.
3986 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
3988         * org-export-latex.el (org-export-latex-classes): Add longable as
3989         a default package to all classes.
3990         (org-export-latex-tables): Handle the longtable attribute and the
3991         align attribute.
3993         * org-table.el (orgtbl-to-generic): Handle tables that start with
3994         a hline.
3996         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3997         \verb for colde-like snippets.
3998         (org-export-as-latex): Fix issues with region export.
4000         * org.el (org-up-heading-safe): Speed up function by using a
4001         direct regexp search.
4002         (org-olpa): New variable.
4003         (org-get-outline-path): Speed-up path constructions in cases where
4004         this is possible because the entire hierarchy is scanned anyway.
4005         (org-refile-get-location): Don't compare the truenames of files,
4006         this is too slow.
4007         (org-goto-max-level): New option.
4008         (org-goto): Use `org-goto-max-level'.
4010 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4012         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4013         Strip angle brackets from message-ids in the former and don't do
4014         it in the latter.
4015         (org-gnus-follow-link): Open summary reliable, even if the last
4016         messages were deleted, and handle empty groups, too.
4018 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4020         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4021         instead of \texttt for the =...= and ~===~ emphasis environments.
4022         (org-export-as-latex): Remove any old :org-license-to-kill text
4023         properties.
4024         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4025         (org-export-latex-make-header): Add some hard space after the
4026         table of contents.
4027         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4028         exported text so that it will be excuded in further steps.
4030         * org-table.el (org-table-get-specials): Make @0 reference the
4031         last line in a table.
4032         (org-table-recalculate): Improve docstring.
4034 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4036         * org.el (org-log-done): Fix docstring.
4038 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4040         * org-exp.el (org-export-html-format-image): Fix bugs.
4042         * org-export-latex.el (org-export-latex-tables)
4043         (org-export-latex-links): Implement attribute, label, and caption
4044         handling.
4046         * org-exp.el (org-export-html-style-default): Add style
4047         definitions for the figure div.
4048         (org-export-preprocess-string, org-export-as-html): Implement
4049         attribute, label, and caption handling.
4050         (org-export-attach-captions-and-attributes): New function.
4051         (org-export-html-format-image): New function.
4052         (org-format-org-table-html): Implement attribute, label, and
4053         caption handling.
4055         * org.el (org-find-text-property-in-string): New function.
4056         (org-extract-attributes): Use the property org-attr instead of
4057         org-attrobutes, because this property is now set with the #+ATTR
4058         lines.
4060 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4062         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4063         the case that FROM is nil.
4065         * org.el (org-before-first-heading-p): New function.
4067 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4069         * org-exp.el (org-export-as-html): Do not add a space before
4070         enforces line breaks.
4071         (org-export-as-html): Close paragraph before blockquote and verse
4072         tags.
4074 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4076         * org-id.el (org-id-locations-file): Wrap file name with
4077         `convert-standard-filename'.
4078         (org-id-files): New variable.
4079         (org-id-use-hash): New option.
4080         (org-id-update-id-locations): Also search in all files current
4081         listed in `org-id-files'.  Convert the resulting alist to a hash
4082         if the user customation says so.
4083         (org-id-locations-save): Handle he case if `org-id-locations' is a
4084         hash.
4085         (org-id-locations-load): Convert the alist to a hash.
4086         (org-id-add-location): Handle the hast case.
4087         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4088         exited.
4089         (org-id-hash-to-alist, org-id-alist-to-hash)
4090         (org-id-paste-tracker): New functions.
4092 -------------------------------------------------------------------------
4094 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4096         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4097         bindings of calendar variables.
4099         * org-table.el (org-table-find-row-type): Renamed from
4100         `org-find-row-type'.
4101         (org-table-rewrite-old-row-references): Renamed from
4102         `org-rewrite-old-row-references'.
4103         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4104         (org-table-cleanup-narrow-column-properties): Renamed from
4105         `org-cleanup-narrow-column-properties'.
4107 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4109         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4110         for better error messages.
4111         (org-table-get-descriptor-line): Supply the new arguments to
4112         `org-find-row-type'.
4113         (org-table-error-on-row-ref-crossing-hline): New option.
4115         * org.el (org-target-link-regexp): Make buffer-local.
4116         (org-move-subtree-down): Fix bug with trees at beginning of
4117         buffer.
4119 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4121         * org-faces.el (org-set-tag-faces): New function.
4122         (org-tags-special-faces-re): New variable.
4124         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4126         * org-faces.el (org-tag-faces): New option.
4127         (org-tag): Mention `org-tag-faces' in the docstring.
4129 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4131         * org-exp.el (org-export-html-style-default): Implement new
4132         quoting.
4134         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4136         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4137         command to the `w3m-minor-mode-map'.
4139         * org-archive.el (org-archive-to-archive-sibling): Protect
4140         `this-command' to avoid appending kills during archiving.
4142         * org-exp.el (org-export-with-priority): New variable.
4143         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4144         instead of internal list of strings and properties.
4145         (org-print-icalendar-entries): Retrieve the location property with
4146         inheritance.
4148 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4150         * org-exp.el (org-export-with-todo-keywords): New option.
4151         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4152         line.
4153         (org-default-export-plist, org-export-add-options-to-plist)
4154         (org-export-as-ascii, org-export-as-html): Use the new structure
4155         of `org-export-plist-vars'.
4157         * org.el (org-map-entries): Return all values.
4159 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4161         * org.el (org-matcher-time): Recognize more special values.
4163         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4165 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4167         * org.el (org-tags-exclude-from-inheritance): New option.
4168         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4169         `org-tags-exclude-from-inheritance'.
4171         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4172         (org-format-agenda-item): Add inherited tags to the agenda line
4173         string, and make sure that properties are kept when downcasing the
4174         tags list.
4175         (org-agenda-add-inherited-tags): New function.
4176         (org-downcase-keep-props): New function.
4178         * org.el (org-scan-tags): Mark inherited tags with a text
4179         property.
4180         (org-get-tags-at): Mark inherited tags with a text property.
4181         (org-add-prop-inherited): New function.
4183         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4184         (org-agenda-show-inherited-tags): New option.
4186 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4188         * org.el (org-modules): Add org-w3m to the default modules.
4190         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4191         orgtbl-mode.
4192         (orgtabl-create-or-convert-from-region): New command.
4194         * org-exp.el (org-export-as-ascii): Remove the handling of
4195         targets.
4196         (org-export-ascii-preprocess): Handle targets already in this
4197         function.
4199 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4201         * org-timer.el (org-timer-start-time): Define this variable.
4202         (org-timer-item): Make argument optional.
4204         * org-list.el (org-insert-item): Automatically insert a timer item
4205         if the current list is a timer list.
4207         * org-timer.el: New file.
4209         * org-publish.el (org-publish-org-index): Only exclude the index
4210         file in the main directory from being added to the site-map.
4211         (org-publish-get-project-from-filename): If the current project is
4212         a component, start publishing from the parent project.
4214 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4216         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4218         * org-publish.el (org-publish-org-index): Improve removal of
4219         temporary buffers.
4221         * org-agenda.el (org-get-closed): Re-apply changes
4222         accidentially overwritten by last commit to Emacs.
4224         * org.el (org-outline-path-complete-in-steps): New option.
4225         (org-refile-get-location): Honor
4226         `org-outline-path-complete-in-steps'.
4227         (org-agenda-change-all-lines, org-tags-sparse-tree)
4228         (org-time-string-to-absolute, org-small-year-to-year)
4229         (org-link-escape): Re-apply changes accidentially overwritten
4230         by last commit to Emacs.
4232 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4234         * org-clock.el (org-dblock-write:clocktable): Make sure the
4235         clocktable sees the first line.
4236         (org-clock-in): Warn if the clock cannot be resumed.
4238 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4240         * org.el (org-open-at-point): Fix mixup about interactive and
4241         non-interactive elisp links.
4243 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4245         * org-exp.el (org-export-preprocess-string): Allow one comment
4246         line before the first headline to always be included.  This is
4247         to not miss a commented target.
4249         * org-mouse.el (org-mouse-insert-item): Call
4250         `org-indent-to-column' instead of `indent-to', for XEmacs
4251         compatibility.
4253         * org.el (org-refile-targets): Fix customize definition so
4254         that it works also in XEmacs.
4255         (org-fixup-indentation): Call `org-indent-to-column' instead
4256         of `indent-to', for XEmacs compatibility.
4258 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4260         * org-mew.el (org-mew-store-link): Get the correct case folder
4261         for refiled messages.
4263 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4265         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4266         line break indicators.
4268         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4269         ido-completion propts.
4271 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4273         * org-remember.el (org-remember-apply-template): Use
4274         `org-substring-no-properties'.
4276         * org-compat.el (org-substring-no-properties): New function.
4278         * org-remember.el (org-remember-apply-template): Use
4279         `org-substring-no-properties' for compatibility.
4281         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4282         option.
4283         (org-fix-bullet-type): respect
4284         `org-list-two-spaces-after-bullet-regexp'.
4286         * org-clock.el (org-clock-load): Clean up the code.
4288         * org.el (org-adaptive-fill-function): Allow two spaces after
4289         "1." as a list bullet.
4291 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4293         * org-clock.el (org-clock-save, org-clock-load): Check for
4294         live buffers, existing files, and buffer file names to ensure
4295         consistent information.
4296         (org-clock-persist): Make `clock' a special value of this
4297         variable, and improve docstring.
4299         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4300         (org-get-string-indentation): Adapt indentation when the bullet
4301         width changes.
4303 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4305         * org-remember.el (org-remember-finalize): Make interactive.
4306         (org-remember-kill): New command.
4307         (org-remember-finish-immediately): Call `org-remember-finalize'
4308         directly.
4309         (org-remember-finalize): Make `org-remember-finalize' an interactive
4310         function.
4312 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4314         * org-remember.el (org-remember-apply-template): No ido completion
4315         for free prompts in remember templates.
4316         (org-remember-before-finalize-hook): New hook.
4317         (org-remember-mode): New minor mode.
4318         (org-remember-apply-template): Turn on `org-remember-mode'.
4320         * org-id.el (org-id-add-location): Avoid error when no file is
4321         given.
4323         * org-remember.el (org-remember-apply-template): Fix the way how
4324         the list of allowed properties is retrieved from the target file.
4326         * org.el (org-insert-link): Improve file link matching.
4328 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4330         * org-colview.el (org-columns-display-here): New argument
4331         DATELINE, to trigger using the new face.
4332         (org-agenda-colview-summarize): Call `org-columns-display-here'
4333         with the new argument.
4335         * org-faces.el (org-agenda-column-dateline): New face.
4337         * org-publish.el (org-publish-org-index): Use index-title at page
4338         title, not as section.
4340         * org-exp.el (org-export-html-format-desc): Respect the
4341         org-protect property.
4342         (org-export-as-html): Protect image specifiers that are in the
4343         description part of a link.
4345         * org.el (org-sort-entries-or-items, org-completing-read)
4346         (org-refile-get-location, org-olpath-completing-read, org-todo)
4347         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4348         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4349         (org-set-property, org-delete-property)
4350         (org-delete-property-globally): Use `org-ido-completing-read'.
4352         * org-remember.el (org-remember-apply-template): Use
4353         `org-ido-completing-read'.
4355         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4357         * org-colview.el (org-columns-edit-value, org-columns-new)
4358         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4360         * org-colview-xemacs.el (org-columns-edit-value)
4361         (org-columns-new, org-insert-columns-dblock): Use
4362         `org-ido-completing-read'.
4364         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4365         `org-ido-completing-read'.
4367         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4368         `org-ido-completing-read'.
4370         * org.el (org-time-today): New function.
4371         (org-matcher-time): Use `org-time-today'.  Add special treatment
4372         for "<tomorrow>" and "<yesterday>".
4373         (org-ido-completing-read): New function.
4374         (org-completion-use-ido): New option.
4376         * org-exp.el (org-export-format-source-code): Fix bug in require
4377         htmlize code.
4378         (org-export-target-internal-links): Fix bug in search for text
4379         property.
4381 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4383         * org-export-latex.el (org-export-latex-subcontent): Interprete
4384         target aliases as additonal labels.
4386         * org-exp.el (org-export-target-aliases): New variable.
4387         (org-export-preprocess-string)
4388         (org-export-handle-invisible-targets): Fill the alias alist.
4389         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4390         assign an id.
4391         (org-html-level-start): Insert the target aliases as additonal
4392         anchors.
4394         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4395         picture area.
4397 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4399         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4400         when following a link with the mouse from the agenda.
4402         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4403         headlines are created.
4405 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4407         * org-exp.el (org-export-preprocess-string): Reorder so that we
4408         can still see ID properties when we collect targets.
4409         (org-export-target-internal-links): Also store targets for ID's.
4411         * org.el (org-link-translation-function): New option.
4412         (org-open-at-point): Call `org-link-translation-function' if
4413         non-nil.
4414         (org-translate-link): New function.
4415         (org-translate-link-from-planner): New function.
4416         (org-open-at-point): Allow interactive commands in elisp links.
4418         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4419         iCalendar quoting.  The new one seems to caus problems with
4420         applications.
4422         * org.el (org-yank): Set `this-command' to `yank', so that
4423         `yank-pop' will work.
4425 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4427         * org-id.el (org-id-search-archives): New option.
4429         * org.el (org-link-to-org-use-id): New option.
4430         (org-store-link): Use `org-link-to-org-use-id'.
4431         (org-id): Make org-id.el a standard component.
4433 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4435         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4436         hexified version of the tag.
4438         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4439         compliance as far as quoting is concerned.
4441         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4443         * org.el (org-up-heading-safe, org-forward-same-level): Always
4444         call `org-back-to-heading' instead of `outline-back-to-heading'.
4445         (org-back-to-heading): New wrapper around outline-back-to-heading,
4446         with a useful error message telling where the error happened.
4448         * org-list.el (org-update-checkbox-count): Always call
4449         `org-back-to-heading' instead of `outline-back-to-heading'.
4451         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4452         has an `alt' attribute, to ensure XHTML validation.
4454 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4456         * org-publish.el (org-publish-attachment): Allow publishing to
4457         overwrite attachment files.
4459         * org-agenda.el (org-agenda-timerange-leaders): New option.
4460         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4462         * org.el (org-edit-src-exit): Untabify ASCII image before
4463         returning.
4476 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4478         * org.el (org-yank): Make any prefix force normal yanking.
4479         Suppress folding if text would be swallowed into a folded
4480         subtree.
4481         (org-yank-folded-subtrees, org-yank): Docstring updates.
4483         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4484         defined as 0.
4486         * org-exp.el (org-export-language-setup): Add Catalan and
4487         Esperanto language entries.
4489 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4491         * org.el (org-refile): Allow refiling of entire regions.
4493         * org-clock.el (org-clock-time%): New function.
4495         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4496         retrieve property values.
4498 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4500         * org-agenda.el (org-agenda-list): Handle the value `only' of
4501         org-agenda-show-log'.
4502         (org-agenda-log-mode): Interpret a double prefix arg.
4504 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4506         * org-exp.el (org-export-html-footnotes-section): New variable.
4507         (org-export-as-html): Use `org-export-html-footnotes-section' to
4508         insert the footnotes.
4509         (org-export-language-setup): Add "Footnotes" to language words.
4511 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4513         * org.el (org-yank): Fix bug when not inserting a subtree.
4515 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4517         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4518         instead of `vm-beginning-of-message'.
4520         * org.el (org-make-link-regexps): Make sure that links to gnus can
4521         contain brackets.
4523 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4525         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4526         code.
4528         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4529         shell output.
4531         * org.el (org-link-abbrev-alist): Improve customization type.
4533         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4534         functions.
4536         * org-agenda.el (org-agenda-get-progress): Renamed from
4537         `org-get-closed'.  Implement searching for state changes as well.
4538         (org-agenda-log-mode-items): New option.
4539         (org-agenda-log-mode): New option prefix argument, interpreted as
4540         request to show all possible progress info.
4541         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4542         `org-get-closed'.
4543         (org-agenda-set-mode-name): Handle the more complex log mode
4544         settings.
4545         (org-get-closed): New alias, pointing to `org-get-progress'.
4547 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4549         * org.el (org-file-apps-defaults-gnu)
4550         (org-file-apps-defaults-macosx)
4551         (org-file-apps-defaults-windowsnt): Add an entry defining the
4552         system command.
4553         (org-file-apps): Allow `system' as key and value.
4554         (org-open-at-point): Explain the effect of a double prefix arg.
4555         (org-open-file): If the argument `in-emacs' is (16),
4556         i.e. corresponding to a double prefix argument, try to open the
4557         file externally.
4559 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4561         * org.el (org-insert-link): Abbreviate absolute files names in
4562         links.  Also, fix a bug in which the double C-u prefix would not
4563         be honored.
4565 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4567         * org.el (org-insert-heading): If buffer does not end with a
4568         newline, add one if necessary to insert headline correctly.
4570         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4571         paragraphs, not inside.
4573         * org.el (org-todo): Quote
4574         `org-agenda-headline-snapshot-before-repeat'.
4576         * org-exp.el (org-export-as-html): Fully process link descriptions.
4577         (org-export-html-format-desc): New function.
4578         (org-export-as-html): Collect footnotes into the correct basket.
4579         (org-html-protect): No longer protect quotations marks here, this
4580         goes wrong.
4582         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4583         BEG.
4585         * org-compat.el (org-fit-window-to-buffer): New function (not
4586         really, a preliminary and incomplete version was present earlier,
4587         but not used).
4589         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4590         `org-fit-window-to-buffer'.
4592         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4594         * org-agenda.el (org-agenda-get-restriction-and-command)
4595         (org-fit-agenda-window, org-agenda-convert-date): Use
4596         `org-fit-window-to-buffer'.
4598         * org-exp.el (org-export-as-html): Process href links through
4599         `org-export-html-format-href'.
4600         (org-export-html-format-href): New function.
4602         * org-agenda.el (org-agenda-todo): Update only the current
4603         headline if this is a repeated TODO, marked done for today.
4604         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4605         only the current line.
4607         * org.el (org-todo): Take a snapshot of the headline if the
4608         repeater might change it.
4610 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4612         * org-publish.el (org-publish-find-title): Remove buffers visited
4613         only for extracting the title.
4615         * org-exp.el (org-export-html-style)
4616         (org-export-html-style-default): Mark style definitions as
4617         unparsed CDATA.
4619         * org-publish.el (org-publish-validate-link): Function
4620         re-introduced.
4622 2008-11-02  Charles Sebold  <csebold@gmail.com>
4624         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4625         property.
4626         (org-plot-quote-timestamp-field): New function.
4627         (org-plot-quote-tsv-field): Call timestamp field function when
4628         necessary rather than just quoting as a string.
4629         (org-plot/gnuplot-to-data): Pass in timefmt property.
4630         (org-plot/gnuplot-script): Supports timefmt property.
4631         (org-plot/gnuplot): Checks for timestamp column before checking
4632         for text index column.
4634 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4636         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4638         * org-publish.el (org-publish-org-index): Create a section in the
4639         index file.
4640         (org-publish-org-index): Stop linking to directories.
4642         * org.el (org-emphasis-alist): Use span instead of <u> to
4643         underline text.
4645         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4646         <pre> sections.
4648 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
4650         * org-jsinfo.el (org-infojs-template): Remove language attribute
4651         from script tag.
4653 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
4655         * org-agenda.el (org-agenda-remove-marked-text): New function.
4656         (org-agenda-mark-filtered-text)
4657         (org-agenda-unmark-filtered-text): New functions.
4658         (org-write-agenda): Remove fltered text.
4660         * org.el (org-make-tags-matcher): Give access to TODO "property"
4661         without speed penalty.
4663 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
4665         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4666         option.
4667         (org-store-link-props): Make sure adding to the plist works
4668         correctly.
4670         * org-gnus.el (org-gnus-no-new-news): New function.
4671         (org-gnus-follow-link): Allow the article ID to be a message-id,
4672         in addition to allowing article numbers.  Message IDs make much
4673         more roubust links.
4674         (org-gnus-store-link): Use message-id to create link.
4676 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
4678         * org.el (org-emphasize): Reverse the selection array.
4679         (org-emphasis-alist): Set <code> tags for the verbatim
4680         environment.
4682         * org-remember.el (org-remember-handler): Fix bug with
4683         prefix-related changing of the note storage target.
4685         * org-exp.el (org-print-icalendar-entries): Make the exported
4686         priorities compatible with RFC 2445.
4688         * org-clock.el (org-clock-save): Insert time stamp without
4689         dependence on time-stamp.el.
4691 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
4693         * org.el ("saveplace"): If saveplace puts point into an invisible
4694         location, make it visible.
4695         (org-make-tags-matcher): Allow inactive time stamps in time
4696         comparisons.
4697         (org-yank-adjusted-subtrees): New option.
4698         (org-yank): Incorporate adjusting trees.
4699         (org-paste-subtree): New argument FOR-YANK which will cause
4700         insertion at point without backing up over white lines, and leave
4701         point at the end of the inserted text.  Also if the cursor is
4702         at the beginning of a headline, use the same level or the inserted
4703         tree.
4705         * org-publish.el (org-publish-get-base-files-1): Deal correctly
4706         with broken symlinks
4708 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
4710         * org-exp.el (org-export-select-tags, org-get-current-options):
4711         Fix typo.
4713 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
4715         * org-agenda.el (org-format-agenda-item)
4716         (org-agenda-filter-make-matcher): Make sure tags are stored and
4717         compared donwcased.
4719 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
4721         * org.el (org-insert-todo-heading): Fix bug with force-heading
4722         argument.
4724 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
4726         * org-clock.el (org-clock-in-resume): Add a custom option to
4727         toggle starting the clock from an open clock line.
4728         (org-clock-in): When clocking in to an entry, if
4729         `org-clock-in-resume' is set, check if the first clock line is
4730         open and if so, start the clock from the time in the clock line.
4731         (org-clock-persist): Add a custom option to toggle clock
4732         persistence.
4733         (org-clock-persist-query-save): Add a custom option to toggle
4734         asking the user if they want to save the running clock when
4735         exiting.
4736         (org-clock-persist-query-resume): Add a custom option to toggle
4737         asking the user if they want to resume the saved clock when Emacs
4738         is restarted.
4739         (org-clock-save): Add a function to save clock data.
4740         This includes the contents of `org-clock-history' and the buffer
4741         and position of the currently clocked task, if any.
4742         (org-clock-load): Add a function to load clock data.
4743         This populates `org-clock-history', and resumes the saved clocked
4744         task if there is one.
4745         (org-clock-persistence-insinuate): Add a method to set up the
4746         hooks for clock persistence.
4748 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4750         * org-exp.el (org-export-as-ascii): Handle the case that we are
4751         publishing from an indirect buffer.
4753         * org-table.el (org-table-copy-down): Fix bug with time stamp
4754         increment.
4756         * org-mouse.el (org-mouse-features): New option.
4757         (org-mode-hook): Turn on features depending on
4758         `org-mouse-features'.
4760         * org.el (org-insert-heading-respect-content): Force heading
4761         creation.
4762         (org-insert-heading): keep the folding state of the heading before
4763         the inserted one.
4765 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4767         * org-archive.el (org-archive-to-archive-sibling): Handle top
4768         level headlines better.
4770 2008-10-21  Bastien Guerry  <bzg@altern.org>
4772         * org-export-latex.el (org-export-latex-classes): Added
4773         \usepackage{graphicx} to the default list of packages.
4775 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4777         * org-agenda.el (org-agenda-filter): Renamed from
4778         `org-agenda-filter-tags'.
4780 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4782         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4783         is not defined as a property in this entry.
4784         (org-add-log-note): Mask prefix argument when immediately storing
4785         the note.
4787         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4788         option.
4790 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4792         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4793         after drawers was skipping ahead one line too many, so notes were
4794         inserted after the first note instead of before it.
4796 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4798         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4799         New variables.
4800         (org-prepare-agenda): Reset the filter tags.
4801         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4802         Show filter tags in mode line.
4804         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4805         formatter.
4807         * org-export-latex.el (org-latex-entities-regexp): New constant.
4808         (org-export-as-pdf): Use two calls to `shell-command'.
4810 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4812         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4813         Honor the {} value of the subsuperscript setting.  Make sure that
4814         longer subsuperscripts are typeset in a roman font.
4816         * org.el (org-clock-update-time-maybe): Compute negative clock
4817         intervals correctly.
4819 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4821         * org.el (org-add-log-setup): Respect
4822         `org-log-state-notes-insert-after-drawers'.
4823         (org-log-state-notes-insert-after-drawers): New option.
4824         (org-todo-trigger-tag-changes): New function.
4825         (org-todo): Call `org-todo-trigger-tag-changes'.
4827 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4829         * org.el (org-add-log-setup): Only skip drawers if the are
4830         immediately after the scheduling keywords.
4832         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4833         function
4834         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4835         call it with the current todo state to get the state to switch to
4836         when clocking in.
4837         (org-clock-in): Use org-indent-line-function to indent clock lines.
4838         (org-clock-find-position): Fix indentation of empty clock drawers.
4840 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4842         * org-publish.el (org-publish-org-to): Handle case when
4843         org-export-to-pdf does return a file name, not a buffer.
4844         (org-publish-org-to-pdf): New function.
4846         * org-export-latex.el (org-export-as-pdf)
4847         (org-export-as-pdf-and-open): New commands.
4849         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4850         forms as ranges.
4852         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4853         things in protexted regions.
4855 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4857         * org-export-latex.el (org-export-latex-preprocess): Improve
4858         quoting of LaTeX environments.
4860 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4862         * org.el (org-edit-fixed-width-region): Exclude final newline from
4863         picture area.
4865         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4866         sections, to make internal links work.
4867         (org-export-latex-fontify-headline): Do not remove all text
4868         properties, to make sure that target properties survive this
4869         process.
4871         * org-exp.el (org-export-preprocess-string): Change sequence of
4872         modifications, to make sure links are prepared before the LaTeX
4873         conversions do happen.
4875 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4877         * org-attach.el (org-attach-delete-all): Renamed from
4878         `org-attch-delete'.  Add a security query before deleting the
4879         entire directory.  New optional argument FORCE can overrule the
4880         security query.
4881         (org-attach-delete-one): New command.
4883 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4885         * org-attach.el (org-attach-file-list): Fix bug with directory.
4887 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4889         * org.el (org-apps-regexp-alist): New function.
4890         (org-file-apps): Add auto-mode to the default value.
4891         (org-open-file): Use the new structure of org-file-apps.
4893         * org-attach.el (org-attach): Support the new keys.
4894         (org-attach-method): New option.
4896 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4898         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4899         March.
4901         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4902         of the list value o `org-use-tag-inheritance'.
4904         * org-attach.el (org-attach-auto-tag): New option.
4905         (org-attach-tag, org-attach-untag): New functions.
4906         (org-attach-attach, org-attach-new, org-attach-sync): Call
4907         `org-attach-tag'.
4908         (org-attach-delete): Call `org-attach-untag'.
4910 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4912         * org-table.el (orgtbl-self-insert-command): Make this work for
4913         the keypad as well.
4915 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4917         * org.el (org-add-log-setup): Limit searc for drawers to entry
4918         text, not to subtree.
4920         * org-clock.el (org-clock-heading-for-remember): New variable.
4921         (org-clock-in): Set `org-clock-heading-for-remember'.
4923 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
4925         * org-remember.el (org-remember-apply-template): Add new
4926         expansions: %k, %K for currently clocked task and a link to the
4927         currently clocked task, and %< to file notes in the currently
4928         clocked task.
4930 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
4932         * org-export-latex.el (org-export-latex-make-header): Also insert
4933         the content of the property :latex-header-extra.
4935         * org-exp.el (org-infile-export-plist): Put the content of
4936         #+LATEX_HEADER: into the property :latex-header-extra.
4938         * org-colview.el (org-columns-get-format-and-top-level): Remove
4939         resetting the marker.
4941         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4942         Remove resetting the marker.
4944         * org.el (org-entry-property-inherited-from): Improve docstring.
4945         (org-entry-get-with-inheritance): Reset marker before starting the
4946         search.
4948         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4950 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
4952         * org.el (org-entry-get-multivalued-property)
4953         (org-entry-protect-space, org-entry-restore-space): New
4954         functions.
4955         (org-file-apps-defaults-macosx): Let postscript files be opened by
4956         preview.
4957         (org-time-stamp-inactive): Call `org-time-stamp'.
4958         (org-time-stamp): New argument `inactive'.  Also edit inacive
4959         stamps. Convert time stamp type.
4960         (org-open-file): Interpret the `default' value for the `command'
4961         in `org-file-apps'.
4963         * org-id.el (org-id-int-to-b36-one-digit)
4964         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4965         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4966         b36.
4968 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
4970         * org-id.el (org-id-reverse-string): New function.
4971         (org-id-new): Use `org-id-reverse-string' to make sure the
4972         beginning chars of the ID are mutating fast.  This allows to use a
4973         directory structure to spread things better.
4974         (org-id-prefix): Changed default to nil.
4976         * org-list.el (org-move-item-down, org-move-item-up): Remember and
4977         restore the column of the cursor position.
4979         * org-remember.el (org-remember-apply-template): Remove properties
4980         from `initial'.
4982 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
4984         * org-wl.el (org-wl-open): Remove useless call to
4985         `wl-thread-open-all'.
4987         * org-remember.el (org-remember-handler): Fix bug with `bottom'
4988         location.
4990 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
4992         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4993         `org-bbdb-anniversaries'.
4995         * org.el (org-get-next-sibling, org-forward-same-level): New
4996         functions, similar to the outline versions, but invisible headings
4997         are OK.
4999 2008-09-25  Bastien Guerry  <bzg@altern.org>
5001         * org.el (org-auto-repeat-maybe): Insert a space between
5002         the timestamp's type and the timestamp itself.
5004 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5006         * org-table.el (org-table-sum): Do not format the result with %g,
5007         it does rounding when there are too many digits.
5009         * org.el (org-map-entries): Protect the keyword-selecting variables.
5011 2008-09-23  Bastien Guerry  <bzg@altern.org>
5013         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5014         against all agenda files.
5016 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5018         * org-list.el: New file, aggregating list functions from org.el
5019         and org-export-latex.el.
5021         * org.el (org-edit-src-region-extra): New option.
5023 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5025         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5026         time before 1am.
5028 2008-09-22  Bastien Guerry  <bzg@altern.org>
5030         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5032 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5034         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5035         hline work correctly.
5036         (org-plot/gnuplot-script): Put commas at the end of each script
5037         line.
5039 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5041         * org.el (org-get-refile-targets): Replace links with their
5042         descriptions
5043         (org-imenu-get-tree): Replace links with their descriptions.
5045         * org-remember.el (org-remember-apply-template): Add a new
5046         expansion for adding properties to remember items.
5048         * org.el (org-add-log-setup): Skip over drawers (properties,
5049         clocks etc) when adding notes.
5051         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5052         items as well as the start and end times.
5054         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5055         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5057         * org-remember.el (org-get-x-clipboard): Use the compat
5058         function to get clipboard values when x-selection-value is
5059         unavailable. Use substring-no-properties instead of
5060         set-text-properties to remove text properties from the clipboard
5061         value.
5063         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5064         modeline clock string, and display the full todo value in the
5065         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5066         the currently clocked task.
5067         (org-clock-string-limit): Add a custom value for the maximum
5068         length of the clock string in the modeline.
5069         (org-clock-mode-map): Add a keymap for the modeline string
5071 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5073         * org-compat.el (org-propertize): New function.
5075 2008-09-20  Bastien Guerry  <bzg@altern.org>
5077         * org-export-latex.el (org-export-latex-tables): protect exported
5078         tables from further special chars conversion.
5079         (org-export-latex-preprocess): Preserve LaTeX environments.
5080         (org-list-parse-list): Parse descriptive lists.
5081         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5082         (org-list-to-texinfo): Export descriptive lists.
5083         (org-quote-chars): Remove.
5084         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5085         (org-export-latex-list-beginning-re): Rename to
5086         `org-list-beginning-re'
5087         (org-list-item-begin): Rename to `org-list-item-beginning'
5089 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5091         * org.el (org-refile): Allow refiling to the last entry in the
5092         buffer.
5093         (org-get-tags-at): Fix bug when inheritance is turned off.
5095 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5097         * org.el (org-indent-line-function): No longer check for src
5098         regions, this is too much overhead.
5100         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5101         matching.
5103         * org.el (org-scan-tags): Make sure that tags matching is not case
5104         sensitive.  TODO keyword matching is case sensitive, however, to
5105         avoid confusion with similar words that are not meant to be
5106         keywords.
5108 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5110         * org.el (org-get-local-tags-at): New function.
5111         (org-get-local-tags): New function.
5113         * org-exp.el (org-export-get-categories): New function.
5115         * org-agenda.el (org-sorting-choice)
5116         (org-agenda-sorting-strategy, org-agenda-get-todos)
5117         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5118         (org-agenda-get-scheduled, org-agenda-get-blocks)
5119         (org-entries-lessp): Implement sorting by TODO state.
5120         (org-cmp-todo-state): New defsubst.
5122         * org-colview.el (org-colview-construct-allowed-dates): New
5123         function.
5124         (org-columns-next-allowed-value): Use
5125         `org-colview-construct-allowed-dates'.
5127         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5128         function.
5129         (org-columns-next-allowed-value): Use
5130         `org-colview-construct-allowed-dates'.
5132 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5134         * org.el (org-protect-slash): New function.
5135         (org-get-refile-targets): Use `org-protect-slash'.
5137         * org-agenda.el (org-global-tags-completion-table): New variable.
5139         * org-exp.el (org-export-handle-export-tags): New function.
5140         (org-export-preprocess-string): Call
5141         `org-export-handle-export-tags'.
5143         * org-plot.el: New file.
5145         * org-publish.el (org-publish-expand-components): Function removed.
5146         (org-publish-expand-projects): Allow components to have components.
5148 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5150         * org.el (org-indent-line-function): Do not indent in regions that
5151         are external source code.
5152         (org-yank-and-fold-if-subtree): New function.
5154         * org-agenda.el (org-agenda-todayp): New function.
5155         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5156         `org-agenda-todayp'.
5158         * org.el (org-insert-heading-respect-content)
5159         (org-insert-todo-heading-respect-content): New commands.
5160         (org-insert-heading-respect-content): New option.
5161         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5163         * org-clock.el (org-clock-find-position): Make sure the note after
5164         the clock line gets moved into the new clock drawer.
5166 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5168         * org-id.el (org-id-new): New option.
5170 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5172         * org-table.el (org-table-copy-down): Avoid overflow during
5173         increment.  Use prefix argument 0 to temporarily disable the
5174         increment.
5176 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5178         * org-exp.el (org-export-as-html): Do not turn on the major mode
5179         if the buffer will be killed anyway.
5180         (org-get-current-options): Exclude the #+TEXT field.
5181         (org-export-as-html): Make sure text before the first headline is
5182         a paragraph.
5184         * org-publish.el (org-publish-org-to): Tell the exporter that this
5185         buffer will be killed, so it is not necessary to do major mode
5186         initialization.
5188         * org-archive.el (org-archive-to-archive-sibling): Show empty
5189         lines after folding the archive sibling.
5191         * org.el (org-log-note-extra): New variable.
5193 2008-09-05  Bastien Guerry  <bzg@altern.org>
5195         * org.el (org-additional-option-like-keywords): Added keywords for
5196         the _QUOTE, _VERSE and _SRC environments.
5198         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5199         exporting _QUOTE and _VERSE environments.
5201 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5203         * org-agenda.el (org-agenda-filter-by-tag): New command.
5205         * org-exp.el (org-get-current-options): Remove angular brackets
5206         from the date entry.
5208         * org.el (org-edit-fixed-width-region): New function.
5209         (org-edit-fixed-width-region): Also try
5210         `org-edit-fixed-width-region'.
5211         (org-edit-fixed-width-region-mode): New option.
5212         (org-activate-code): Only interprete lines starting with colon
5213         plus a space as example lines.
5215         * org-remember.el (org-remember-templates): Add nil instead of
5216         empty strings to fix the length of remember templates.
5218         * org-table.el (org-calc-default-modes): Fix the time format for
5219         calc, from 12 hour to 24 hour clock.
5221 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5223         * org-agenda.el (org-agenda-get-deadlines)
5224         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5225         entries that are pre-warnings of deadlines or reminders.
5227         * org.el (org-sort-entries-or-items): Make numeric and alpha
5228         comparisons ignore any TODO keyword and priority cookie.
5230         * org-remember.el (org-remember-handler): Reinterpretation of the
5231         prefix argument.
5233 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5235         * org-agenda.el (org-agenda-get-scheduled): Use new
5236         `org-scheduled' face.
5238         * org-faces.el (org-scheduled): New face.
5240         * org-wl.el (org-wl-open): Remove incorrect declaration.
5242         * org-gnus.el (org-gnus-store-link): Support for :to information
5243         in gnus links.
5245         * org-exp.el (org-export-as-html): Fixed typo in creator
5246         information.
5247         (org-export-protect-examples): New parameter indent.  Insert extra
5248         spaces only when this parameter is specified.
5249         (org-export-preprocess-string): Call `org-export-protect-examples'
5250         with an indentation parameter when exporting to ASCII.
5252         * org-remember.el (org-remember-templates)
5253         (org-remember-apply-template): Allow the file component to be a
5254         function.
5256         * org.el (org-goto-local-search-headings): Renamed from
5257         `org-goto-local-search-forward-headings'.  Added the possibility
5258         to search backwards.
5260 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5262         * org-export-latex.el (org-export-latex): New customization
5263         group.
5265         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5267 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5269         * org-exp.el (org-html-do-expand): Allow {} to terminate
5270         tex macro
5272 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5274         * org.el (org-buffer-list): Select buffers based on major mode,
5275         not on file name.
5277 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5279         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5280         face property.
5282         * org-colview.el (org-columns-display-here): Use
5283         `org-columns-modify-value-for-display-function'.
5285         * org-colview-xemacs.el (org-columns-display-here): Use
5286         `org-columns-modify-value-for-display-function'.
5288 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5290         * org.el (org-columns-modify-value-for-display-function): New option.
5302         * org-publish.el (org-publish-file): Make sure the directory match
5303         for the publishing directory works correctly.
5305         * org-agenda.el (org-agenda-execute-calendar-command)
5306         (org-agenda-diary-entry): Additional optional argument.
5308 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5310         * org-exp.el (org-export-as-html): Add attributes also in mailto
5311         and ftp links.
5313         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5322 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5324         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5325         sure that calls from `org-export-region-as-html' do not do the
5326         special check for a subtree.
5328 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5330         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5332 2008-07-20  Juri Linkov  <juri@jurta.org>
5334         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5335         new keymap `narrow-map' instead of binding "\C-xns".
5337 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5339         * org.el (org-open-file): Use
5340         `org-open-directory-means-index-dot-org'.
5341         (org-open-directory-means-index-dot-org): New option.
5343 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5345         * org.el (org-make-link-string): Remove link attributes from
5346         description.
5347         (org-open-at-point): Remove link attributes bevore using the path.
5349         * org-exp.el (org-export-as-html): Handle link attributes.
5351         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5353         * org-table.el (org-table-to-lisp): New function.
5355         * org.el (org-narrow-to-subtree): Do not include the final newline
5356         into the narrowed region.
5358         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5359         bug with user-define skipping condition.
5361 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5363         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5365 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5367         * org-exp.el (org-export-html-style-default): Automatic overflow
5368         handling for pre fields.
5369         (org-export-as-ascii, org-export-as-html): Change default format
5370         for time stamp.
5372         * org-table.el (org-table-export): Offer completion for translator
5373         functions, and do not require a heading above the table.
5375         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5376         Cater for the case of a list starting in the first line of the
5377         buffer.
5379 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5381         * org-publish.el (org-publish-find-title): Bug fix.
5382         (org-publish-org-index): Implement new :index-style option.
5384 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5386         * org-publish.el (org-publish-timestamp-filename): Use
5387         SHA1-encoded file names in the timestamp directory.
5389 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5391         * org-publish.el (org-publish-needed-p): Be verbose about files
5392         published and files skipped.
5394         * org-exp.el (org-export-preprocess-string): Swap link
5395         normalization and inernal link targeting.
5397         * org-publish.el (org-publish-needed-p): Create timestamp
5398         directory when it does not exist.
5400 2008-07-04  Bastien Guerry  <bzg@altern.org>
5402         * org-clock.el (org-clock-out-when-done): Doc fix.
5404         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5406         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5407         Ignore case when searching for the COMMENT cookie at export time.
5409 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5411         * org-exp.el (org-get-file-contents)
5412         (org-get-and-remove-property): New functions.
5413         (org-export-handle-include-files): Handle the new prefix options.
5414         (org-export-as-html): Fix the verse environment.
5416 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5418         * org.el (org-time=, org-time<, org-time<=, org-time>)
5419         (org-time>=, org-time<>, org-2ft): New functions.
5420         (org-op-to-function): Also provide for the time testing fucntions.
5422 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5424         * org-exp.el (org-export-html-style-default): New constant.
5426 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5428         * org-exp.el (org-export-html-style-extra): New variable.
5429         (org-export-splice-style): New function.
5431 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5433         * org-exp.el (org-export-plist-vars, org-export-as-html):
5434         Implement `org-export-creator-info'.
5435         (org-export-creator-info): New option.
5437 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5439         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5440         (org-property-drawer-re, org-clock-drawer-re): New constants.
5442 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5444         * org-exp.el (org-icalendar-use-deadline)
5445         (org-icalendar-use-scheduled): New options.
5446         (org-icalendar-include-todo): Default changed to t.
5447         (org-print-icalendar-entries): Implement better utilization of
5448         scheduling and deadline time stamps.
5449         (org-export-target-internal-links, org-export-as-html): Allow file
5450         lines without the "file:" prefix if the file path is an absolute
5451         path or starts with ".".
5453         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5454         lastweek etc.
5455         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5457 2008-06-18  Glenn Morris  <rgm@gnu.org>
5458         * org.el (org-map-entries): Let-bind `file'.
5460 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5462         * org.el (org-agenda-skip-archived-trees): Docstring now
5463         discourages using this.
5464         (org-scan-tags): Check for org-agenda-archives-mode.
5465         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5466         (org-agenda-files): Functionality of second arg changed.
5468         * org-agenda.el (org-agenda-archives-mode): New variable
5469         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5470         (org-search-view, org-todo-list, org-tags-view)
5471         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5472         `ifmode' argument.
5473         (org-agenda-quit): Reset the archives mode.
5474         (org-agenda-archives-mode): New command.
5475         (org-agenda-set-mode-name): Include archives info.
5477 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5479         * org.el (org-paste-subtree): Make sure the yanked headline is
5480         visible if it was yanked at a visible point.
5481         (org-move-item-up): Fix the bug with moving white space at the end
5482         of the item.
5483         (org-show-empty-lines-in-parent): New function.
5485 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5487         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5489         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5491         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5492         agenda prefix as well.
5494         * org-publish.el (org-publish-org-index): Make a properly indented
5495         list.
5497         * org.el (org-calendar-agenda-action-key): New option.
5498         (org-get-cursor-date): New function.
5499         (org-mark-entry-for-agenda-action): New command.
5500         (org-overriding-default-time): New variable.
5501         (org-read-date): Respect `org-overriding-default-time'.
5503         * org-remember.el (org-remember-apply-template): Respect the
5504         ovverriding default time.
5506         * org-agenda.el (org-agenda-action-marker): New variable.
5507         (org-agenda-action): New command.
5508         (org-agenda-do-action): New function.
5510 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5512         * org.el (org-schedule, org-deadline): Protect scheduled and
5513         deadline tasks against changes that accidently remove the
5514         repeater.  Also show a message with the new date when done.
5516 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5518         * org.el (org-beginning-of-line): Cater for the case when there
5519         are tags but no headline text.
5520         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5521         it set.
5523 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5525         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5526         the return value is nil instead of "nil" when there is no match.
5528         * org-exp.el (org-insert-centered): Use fill-column instead of
5529         80.
5530         (org-export-as-ascii): Use string-width to measure the width of
5531         the heading.
5533         * org.el (org-diary-to-ical-string): No longer kill buffer
5534         FROMBUF, this is now done by the caller.
5536         * org-exp.el (org-print-icalendar-entries): Move the call to
5537         `org-diary-to-ical-string' out of the loop, and kill the buffer
5538         afterwords.
5540         * org-remember.el (org-remember-visit-immediately): Position
5541         cursor after moving to the note.
5542         (org-remember-apply-template): Use a text property to record the
5543         cursor position.
5544         (org-remember-handler): Align tags after pasting the note.
5546 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5548         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5550         * org-agenda.el (org-agenda-open-link): If there is an
5551         org-bbdb-name property in the current line, jump to that bbdb
5552         entry.
5554         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5555         text property, so that the agenda knows where this entry comes
5556         from.
5558         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5559         interaction between clocking-in from the agenda, and  automatic
5560         task state switching.
5562         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5564         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5565         zmacs-region stays after this command in XEmacs.
5567 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5569         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5571         * org-remember.el (org-remember-templates): Fix bug in
5572         customization type definition.
5574         * org.el (org-map-entries): New function.
5576 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5578         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5579         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5581 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5583         * org-remember.el (org-jump-to-target-location): New variable.
5584         (org-remember-apply-template): Set
5585         `org-remember-apply-template' if requested by template.
5586         (org-remember-handler): Start an idle timer to jump to
5587         remember location.
5589         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5591         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5592         file tags.
5593         (org-get-tags-at): Add the content of `org-file-tags'.
5595         * org-exp.el (org-export-handle-comments): Fix bug with several
5596         comment lines after each other.
5597         (org-number-to-roman, org-number-to-counter): New functions.
5598         (org-export-section-number-format): New option.
5600 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5602         * org-exp.el (org-export-protect-examples): Catch the case of a
5603         missing end_example line.
5605         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5606         `org-file-tags' to nil.
5608         * org-colview.el (org-columns-next-allowed-value): Handle next
5609         argument NTH to directly select a value.
5611         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5612         argument NTH to directly select a value.
5614 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5616         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5618 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5620         * org.el (org-columns-ellipses): New option.
5622 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5624         * org-colview.el (org-columns-add-ellipses): New function.
5625         (org-columns-compact-links): New function.
5626         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5627         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5628         when in agenda.
5629         (org-columns-edit-value): Fixed bug with editing values from
5630         agenda column view.
5631         (org-columns-redo): Also redo the agenda itself.
5633 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5635         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5636         option.
5638         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5640         * org-exp.el (org-export-ascii-preprocess): Renamed from
5641         `org-export-ascii-clean-string'.
5642         (org-export-kill-licensed-text)
5643         (org-export-define-heading-targets)
5644         (org-export-handle-invisible-targets)
5645         (org-export-target-internal-links)
5646         (org-export-remove-or-extract-drawers)
5647         (org-export-remove-archived-trees)
5648         (org-export-protect-quoted-subtrees)
5649         (org-export-protect-verbatim, org-export-protect-examples)
5650         (org-export-select-backend-specific-text)
5651         (org-export-mark-blockquote-and-verse)
5652         (org-export-remove-comment-blocks-and-subtrees)
5653         (org-export-handle-comments, org-export-mark-radio-links)
5654         (org-export-remove-special-table-lines)
5655         (org-export-normalize-links)
5656         (org-export-concatenate-multiline-links)
5657         (org-export-concatenate-multiline-emphasis): New functions,
5658         obtained from spliiting the export preprocessor.
5660         * org-table.el (org-table-recalculate): Improve error message if
5661         the row number is invalid.
5663 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
5665         * org-archive.el (org-archive-save-context-info): Fix bugs in
5666         customization setup and docstring.
5668         * org-exp.el (org-export-html-style): Changed the size of in the
5669         <pre> element to 90%.
5671 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
5673         * org.el (org-find-src-example-start): Function removed.
5674         (org-edit-src-find-region-and-lang): New function.
5676 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
5678         * org.el (org-edit-src-exit): New function.
5679         (org-exit-edit-mode): New minor mode.
5681         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5682         comment-like lines from protected examples.
5684         * org.el (org-edit-src-example, org-find-src-example-start)
5685         (org-protect-source-example, org-edit-special): New functions.
5687 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
5689         * org-publish.el (org-publish-project-alist): Fix typo in
5690         docstring.
5691         (org-publish-project-alist): Handle :index-title property.
5693 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
5695         * org-export-latex.el (org-export-as-latex): Make sure region
5696         bounds are correct.  Parse subtree properties relating to export.
5698         * org-exp.el (org-export-add-options-to-plist): New function.
5699         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5701 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
5703         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5704         EXPORT_TITLE.
5706         * org-exp.el (org-export-get-title-from-subtree)
5707         (org-export-as-ascii, org-export-as-html): Make sure the original
5708         region-beginning and region-end are used, even after moving
5709         point.
5710         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5711         property.
5713         * org-remember.el (org-remember-last-stored-marker): New variable.
5714         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5715         (org-remember-handler): Also use marker to remember
5716         last-stored position.
5718         * org.el (org-goto-marker-or-bmk): New function.
5720 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
5722         * org.el (org-file-properties): Renamed from `org-local-properties'.
5723         (org-scan-tags): Take file tags into account.
5724         (org-tags-match-list-sublevels): Default changed to t.
5726         * org-exp.el (org-export-as-html): Close paragraph after a
5727         footnote.
5729         * org.el (org-update-parent-todo-statistics): New function.
5731         * org-exp.el (org-icalendar-store-UID): New option.
5732         (org-icalendar-force-UID): Option removed.
5733         (org-print-icalendar-entries): IMplement UIDs.
5735 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5737         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5739 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5741         * org-faces.el (org-column): Document how this face is being used
5742         and why sometimes the background faces shine through.
5744         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5746         * org-publish.el (org-publish-attachment): Create publishing
5747         directory if it does not yet exist.
5749         * org-table.el (org-calc-default-modes): Change default number
5750         format to (float 8).
5752         * org.el (org-olpath-completing-read): New function.
5753         (org-time-clocksum-format): New option.
5754         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5756         * org-clock.el (org-clock-display, org-clock-out)
5757         (org-update-mode-line): Use `org-time-clocksum-format'.
5759         * org-colview-xemacs.el (org-columns-number-to-string): Use
5760         `org-time-clocksum-format'.
5762         * org-colview.el (org-columns-number-to-string): Use
5763         `org-time-clocksum-format'.
5765 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5767         * org-id.el: New file, move from contrib to core.
5769         * org-exp.el (org-icalendar-force-UID): New option.
5771 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5773         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5774         shifted by one day if theere is a date range without an end
5775         time.
5777         * org.el (org-try-structure-completion): New function.
5779 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5781         * org.el (org-set-font-lock-defaults): Improve fontification of
5782         description lists.
5783         (org-insert-item): Handle description lists.
5784         (org-adaptive-fill-function): Improve auto indentation in
5785         description lists.
5787         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5788         Implement VERSE environment.
5789         (org-export-preprocess-string): Implement the COMMENT
5790         environment.
5792         * org-export-latex.el (org-export-latex-preprocess): Implement
5793         VERSE environment.
5795 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5797         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5798         option.
5800 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5802         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5804         * org.el (org-quote-csv-field): New functions.
5806         * org-table.el (org-table-export-default-format): Remove :splice
5807         from default format, we get the same effect by not specifying
5808         :tstart and :tend.
5809         (org-table-export): Improve setup, distinguish better between
5810         interactive and non-interactive use, allow specifying the format
5811         on the fly, better protection against wrong file names.
5812         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5813         and :tend when :splice is omitted.
5815 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5817         * org-clock.el (org-clock-select-task): Make sure the selection
5818         letters are 1-9 and A-Z, no special characters.
5820 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5822         * org-exp.el (org-export-htmlize): New group.
5823         (org-export-htmlize-output-type)
5824         (org-export-htmlize-css-font-prefix): New options.
5825         (org-export-htmlize-region-for-paste): New function.
5826         (org-export-htmlize-generate-css): New command.
5828 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5830         * org/org.el (org-modules, org-format-latex-options):
5831         * org/org-archive.el (org-archive-stamp-time)
5832         (org-archive-save-context-info):
5833         * org/org-faces.el (org-hide):
5834         * org/org-irc.el (org-irc-parse-link):
5835         * org/org-macs.el (org-call-with-arg, org-autoload):
5836         * org/org-mew.el (org-mew-store-link):
5837         * org/org-remember.el (org-remember-store-without-prompt)
5838         (org-remember-templates): Fix typos in docstrings.
5840         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5842         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5843         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5844         (org-bbdb-anniv-split): Fix typos in docstrings.
5846         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5847         (org-publish-use-timestamps-flag): Reflow docstring.
5848         (org-publish-files-alist): Fix typos in docstring.
5850 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5852         * org.el (org-set-visibility-according-to-property): New function.
5853         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5854         and compute the regular expressions, and update font-lock.
5855         (org-property-re): Allow a dash in property names.
5857         * org-archive.el (org-extract-archive-file): Insert the file name
5858         without the path into the format, to allow the location format to
5859         contain a subdirectory.
5861         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5862         of buffer, and the `org-agenda-type' property undefined, use the
5863         value from the character before.
5865         * org.el (org-add-planning-info): Don't let indentation for
5866         would-be timestamp become extra whitespace at the end of headline.
5868 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5870         * org.el (org-remove-double-quotes, org-file-contents): New
5871         functions.
5873         * org-exp.el (org-infile-export-plist): Also parse the
5874         contents of #+SETUPFILE files, recursively.
5876         * org.el (org-set-regexps-and-options): Also parse the
5877         contents of #+SETUPFILE files, recursively.
5879         * org-exp.el (org-export-handle-include-files): New function.
5880         (org-export-preprocess-string): Call
5881         `org-export-handle-include-files'.
5883         * org.el (org-delete-property-globally)
5884         (org-delete-property, org-set-property): Ignore case during
5885         completion.
5886         (org-set-property): Use `org-completing-read' instead of
5887         `completing-read'.
5889         * org.el (org-complete-expand-structure-template): New,
5890         experimental function.
5891         (org-structure-template-alist): New, experimental option.
5892         (org-complete): Call `org-complete-expand-structure-template'.
5894 2008-05-06  Bastien Guerry  <bzg@altern.org>
5896         * org-export-latex.el (org-export-latex-preprocess): Added
5897         support for blockquotes.
5899 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5901         * org.el (org-read-date-analyze): Catch the case where only a
5902         weekday is given.
5904 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5906         * org.el (org-set-font-lock-defaults): Make the description
5907         tag bold.
5909         * org-exp.el (org-export-as-html, org-close-li): Implement
5910         description lists.
5912 2008-05-04  Jason Riedy  <jason@acm.org>
5914         * org-table.el (*orgtbl-default-fmt*): New variable.
5915         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5916         when there is no other fmt available.
5918         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5919         :tend to suppress the appropriate string.
5921         (orgtbl-to-orgtbl): New function for translating to another orgtbl
5922         table.
5924 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
5926         * org.el (org-read-date-analyze): "." as an alias for "+0" in
5927         read date.
5929         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5930         New function.
5932         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5933         New function.
5935 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
5937         * org-clock.el (org-clock-find-position): Don't include notes
5938         into clock drawer.
5940         * org-archive.el (org-archive-subtree): No longer remove an
5941         extra line after cutting the subtree.  `org-cut-subtree' already
5942         takes care of this.
5944         * org-remember.el (org-remember-handler): Only kill the target
5945         buffer if it does not contain the running clock.
5947         * org.el (org-markers-to-move): New variable.
5948         (org-save-markers-in-region, org-check-and-save-marker)
5949         (org-reinstall-markers-in-region): New function.
5950         (org-move-subtree-down, org-copy-subtree): Remember relative
5951         marker positions before cutting.
5952         (org-move-subtree-down, org-paste-subtree): Restore relative
5953         marker positions after pasting.
5955         * org-remember.el (org-remember-clock-out-on-exit): New option.
5956         (org-remember-finalize): Clock out only if the setting in
5957         `org-remember-clock-out-on-exit' requires it.
5958         (org-remember-handler): Do the cleanup in the buffer, to make sure
5959         that the clock marker remains in tact.
5961 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
5963         * org-clock.el (org-clock-goto): Widen buffer if necessary.
5964         (org-clock-in): Make sure that also tasks outside the narrowed
5965         region will be clocked in correctly.
5966         (org-clock-insert-selection-line): Widen the buffer so that we can
5967         find the correct task heading.
5969         * org.el (org-base-buffer): New function.
5971         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5972         and ";" are escaped.
5973         (org-print-icalendar-entries): Also apply
5974         `org-icalendar-cleanup-string' to the headline, not only to the
5975         summary property.
5977 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
5979         * org-exp.el (org-export-preprocess-hook): New hook.
5980         (org-export-preprocess-string): Call
5981         `org-export-preprocess-hook'.
5983         * org.el (org-font-lock-hook): New variable.
5984         (org-font-lock-hook): New function.
5985         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5987 ;; Local Variables:
5988 ;; coding: utf-8
5989 ;; add-log-time-zone-rule: t
5990 ;; End:
5992     Copyright (C) 2008  Free Software Foundation, Inc.
5994   This file is part of GNU Emacs.
5996   GNU Emacs is free software: you can redistribute it and/or modify
5997   it under the terms of the GNU General Public License as published by
5998   the Free Software Foundation, either version 3 of the License, or
5999   (at your option) any later version.
6001   GNU Emacs is distributed in the hope that it will be useful,
6002   but WITHOUT ANY WARRANTY; without even the implied warranty of
6003   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6004   GNU General Public License for more details.
6006   You should have received a copy of the GNU General Public License
6007   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6009 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c