Fix bugs in the agenda bulk action menu
[org-mode.git] / lisp / ChangeLog
blob0cf7d21b9aedd2d937def7c70b2b3af792cb3b8b
1 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
4         menu.
6         * org-exp.el (org-export-remove-special-table-lines): Remove bad
7         slow regexp match.
9 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
11         * org-latex.el (org-export-latex-preprocess): Do not protect in
12         the LaTeX header.
14         * org-src.el (org-edit-src-save): Save window setup while saving.
15         (org-edit-src-code): Use new buffer name construction scheme.
17 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
19         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
20         variable.
21         (org-agenda-entry-text-cleanup-hook): New hook.
22         (org-agenda-get-some-entry-text): Remove matches of
23         `org-agenda-entry-text-exclude-regexps' and run the hook
24         `org-agenda-entry-text-cleanup-hook'.
26         * org.el (org-offer-links-in-entry): New argument ZERO to
27         implement a link with index zero.
28         (org-cycle-show-empty-lines): Not keep empty line under header
29         hidden.
30         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
31         to nil for special completion.
32         (org-store-link): Don't error before the first heading.
34         * org-agenda.el (org-agenda-open-link): Pass the prefix to
35         `org-offer-links-in-entry'.
37 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
39         * org-agenda.el (org-agenda-quit): Provide the window argument for
40         `window-dedicated-p', Emacs 22 needs it.
41         (org-format-agenda-item): If the category is a link, arrange for
42         invisible text to replaced with spaces.
43         (org-compile-prefix-format): Add the extra space.
44         (org-prefix-category-length): New variable.
46         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
47         references from TOC lines.
49         * org.el (org-selected-window): New variable.
51         * org-table.el (org-table-edit-formulas): Remember the selected
52         window.
53         (org-table-fedit-finish, org-table-fedit-abort): Select the window
54         that was originally selected.
56         * org-exp.el (org-export-preprocess-apply-macros): Scan the
57         expansion of a macro for more macro definitions.
59         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
60         invisibility overlay starts on the newline.
62 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
64         * org-protocol.el (org-protocol-store-link)
65         (org-protocol-remember, org-protocol-open-source): Add autoloads.
67         * org-compat.el (org-float-time): New function.
69         * org.el (org-clock-update-time-maybe)
70         (org-sort-entries-or-items, org-do-sort)
71         (org-evaluate-time-range, org-time-string-to-seconds)
72         (org-closed-in-range): Use `org-float-time'.
74         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
75         (org-timer-seconds):  Use `org-float-time'.
77         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
78         (org-clock-sum, org-dblock-write:clocktable)
79         (org-clocktable-steps):  Use `org-float-time'.
81         * org-agenda.el (org-agenda-last-marker-time)
82         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
84         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
85         function.
87         * org-exp.el (org-get-file-contents): Only protect lines that
88         really need it.
90         * org-html.el (require): Require cl for compilation.
92         * org.el:  Avoid using `default-major-mode'.
94         * org-plot.el (require): Require CL only at compile time.
96         * org-exp.el (require): Require CL only at compile time.
98         * org-agenda.el (org-agenda-quit): When the agenda window is
99         dedicated, remove other windows before exiting, so that the frame
100         really will be killed.
102         * org-exp.el (org-export-handle-include-files): Reset START and
103         END for each loop cycle.
105 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
107         * org.el (org-eval-in-calendar): Use
108         `org-select-frame-set-input-focus'.
110         * org-compat.el (org-select-frame-set-input-focus): New function.
112         * org.el (org-update-statistics-cookies): New function.
113         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
115 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
118         after the local variables are set.
120         * org-latex.el (org-export-latex-protect-amp): New function.
121         (org-export-latex-links): Protect link ampersands in tables.
123         * org-exp.el (org-export-select-backend-specific-text): Match in
124         two steps, to avoid regexp problems.
126         * org.el (org-offer-links-in-entry): Improve working with many and
127         duplicate links.
129         * org-agenda.el (org-agenda-show-1): Make more consistent with
130         normal cycling.
131         (org-agenda-cycle-show): Make more consistent with normal cycling.
133         * org-gnus.el (org-gnus-store-link): Restore the linking to a
134         website.
136 2009-08-30  Bastien Guerry  <bzg@altern.org>
138         * org-latex.el (org-export-latex-first-lines): Bugfix.
140 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
142         * org-clock.el (org-clock-modify-effort-estimate): Emit message
143         about new effort.
145         * org.el (org-set-effort): New function.
146         (org-mode-map): New key for effort setting command.
148         * org-agenda.el (org-agenda): Keep window setup when calling
149         agenda from within agenda window.
150         (org-agenda-mode-map): New keys for effort setting commands.
151         (org-agenda-menu): Add effort setting commands to menu.
152         (org-agenda-set-property, org-agenda-set-effort): New functions.
154         * org-latex.el (org-export-latex-tables): Fix
155         `org-table-last-alignment' and `org-table-last-column-widths' if
156         the first column has been removed.
158 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
160         * org.el (org-remove-timestamp-with-keyword): Only remove in
161         entry, not in subtree.
163         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
164         emacs lisp.
166         * org.el (org-open-at-point): When on headline, offer all strings
167         in entry.
169         * org-remember.el (org-remember-templates): Documentation fix.
171         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
172         `org-get-last-sibling' instead of the outline versions of these
173         functions.
174         (org-get-last-sibling): New function.
175         (org-refile): Use `org-get-next-sibling' instead of the outline
176         version of this function.
177         (org-clean-visibility-after-subtree-move): Use
178         `org-get-next-sibling' and `org-get-last-sibling' instead of the
179         outline versions of these functions.
181 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
183         * org-agenda.el (org-prepare-agenda): When creating a new frame
184         for the agenda, make the window dedicated.
186         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
188         * org-table.el (org-table-align): Change the order of reinsertion
189         and deletion, to avoid problems with overlays following the table.
191         * org.el (org-parse-time-string): Better error message.
192         (org-show-subtree): Use org-end-of-subtree.
194         * org-macs.el (org-goto-line): New defsubst.
196         * org.el (org-open-file, org-change-tag-in-region)
197         (org-fast-tag-show-exit): Don't use `goto-line'.
199         * org-table.el (org-table-align, org-table-insert-column)
200         (org-table-delete-column, org-table-move-column)
201         (org-table-sort-lines, org-table-copy-region)
202         (org-table-paste-rectangle, org-table-wrap-region)
203         (org-table-get-specials, org-table-rotate-recalc-marks)
204         (org-table-get-range, org-table-recalculate)
205         (org-table-edit-formulas, org-table-fedit-convert-buffer)
206         (org-table-show-reference, org-table-highlight-rectangle): Don't
207         use `goto-line'.
209         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
210         (org-edit-src-exit): Don't use `goto-line'.
212         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
214         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
215         Don't use `goto-line'.
217         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
219         * org-colview.el (org-columns, org-columns-redo)
220         (org-agenda-columns): Don't use `goto-line'.
222         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
223         use `goto-line'.
225         * org-agenda.el (org-agenda-mode): Force visual line motion off.
226         (org-agenda-add-entry-text-maxlines): Improve docstring.
227         (org-agenda-start-with-entry-text-mode): New option.
228         (org-agenda-entry-text-maxlines): New option.
229         (org-agenda-entry-text-mode): New variable.
230         (org-agenda-mode): Set initial value of
231         `org-agenda-entry-text-mode'.
232         (org-agenda-mode-map): Add the `E' key.
233         (org-agenda-menu): Add entry text mode to the menu.
234         (org-agenda-get-some-entry-text): Fix line count bug.
235         (org-finalize-agenda): Apply entry text mode if appropriate.
236         (org-agenda-entry-text-show-here): New function.
237         (org-agenda-entry-text-show): New function.
238         (org-agenda-entry-text-hide): New function.
239         (org-agenda-view-mode-dispatch): Add entry text mode to the view
240         key menu.
241         (org-agenda-entry-text-mode): New command.
242         (org-agenda-set-mode-name): Add entry text mode to the mode line
243         string.
244         (org-agenda-undo, org-agenda-get-restriction-and-command)
245         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
246         `goto-line'.
248 2009-08-26  Bernt Hansen  <bernt@norang.ca>
250         * org-clock.el (org-notify): Bugfix.
252 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
254         * org-agenda.el (org-agenda-open-link): Handle multiple links and
255         check for after-string.
257         * org-gnus.el (org-gnus-store-link): Simplify.
259         * org.el (org-latex-regexps): Don't add extra empty lines for
260         display formulas.
262 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
264         * org-agenda.el (org-agenda-get-some-entry-text): New function.
265         (org-agenda-add-entry-text): Use
266         `org-agenda-get-some-entry-text'.
268         * org.el (org-cycle-separator-lines): Update docstring.
269         (org-cycle-show-empty-lines): Handle negative values for
270         `org-cycle-show-empty-lines'.
272         * org-exp.el (org-export-protect-sub-super): New function.
273         (org-export-normalize-links): Protect the url of plain links from
274         supscript and superscript processing.
276         * org-remember.el (org-remember-escaped-%): New function.
277         (org-remember-apply-template): Use `org-remember-escaped-%' to
278         detect escaped % signs.
280 2009-08-23  Bastien Guerry  <bzg@altern.org>
282         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
283         sound when showing the notification.
285         * org-clock.el (org-notify): New function.
286         (org-clock-notify-once-if-expired): Use `org-notify'.
288         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
289         and `gnus-article-mode' separately.
290         (gnus-summary-article-header): Fix the declare-function.
292 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
294         * org-exp.el (org-export-format-source-code-or-example): Translate
295         language.
297         * org-src.el (org-src-lang-modes): New variable
298         (org-edit-src-code): Translate language.
300         * org-exp.el (org-export-format-source-code-or-example): Deal wit
301         the new structure of the `org-export-latex-listings-langs'
302         variable.
304         * org-latex.el (org-export-latex-listings-langs): Change structure
305         of the variable from plist to alist.
307 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org.el (org-in-commented-line): New function.
311 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
313         * org.el (org-hide-block-toggle): Make folded blocks searchable.
315 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
317         * org.el (org-flag-drawer): More useful error.
319 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
321         * org-remember.el (org-remember-apply-template): Use
322         org-icompleting-read.
324         * org-publish.el (org-publish): Use org-icompleting-read.
326         * org-colview.el (org-columns-edit-value, org-columns-new)
327         (org-insert-columns-dblock): Use org-icompleting-read.
329         * org-colview-xemacs.el (org-columns-edit-value)
330         (org-columns-new, org-insert-columns-dblock): Use
331         org-icompleting-read.
333         * org-attach.el (org-attach-delete-one, org-attach-open): Use
334         org-icompleting-read.
336 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
338         * org.el (org-hierarchical-todo-statistics): Improve docstring.
339         (org-version): Return the version text.
340         (org-org-menu): Add a menu entry for the new bug reporter.
341         (org-submit-bug-report): New command.
343         * org-list.el (org-hierarchical-checkbox-statistics): Improve
344         docstring.
346         * org.el (org-emphasis-regexp-components): Add "`" to set of
347         pre-emphasis characters.
349         * org-latex.el (org-export-latex-classes): Always include the soul
350         package.
351         (org-export-latex-emphasis-alist): Use \st for strikethough.
353         * org-exp-blocks.el (org-export-blocks-preprocess): Use
354         `indent-code-rigidly' to indent.
356         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
357         properties only if MATCH really is a string.
359 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
361         * org-latex.el (org-export-latex-packages-alist): Fix
362         customization type.
364         * org.el (org-create-formula-image): Also use
365         `org-export-latex-packages-alist'.
367         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
368         (org-export-as-html): Format footnotes correctly.
370 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
372         * org.el (org-fast-tag-selection): Avoid text properties on tags
373         in the alist.
375         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
376         text properties on the match element.
378 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
380         * org.el (org-set-regexps-and-options): Make sure the list of done
381         keywords is not invalid.
383         * org-exp.el (org-export-interpolate-newlines): New function.
385 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
387         * org.el (org-format-latex): Avoid nested overlays.
389         * org-latex.el (org-export-latex-listings-langs): Add a few more
390         languages.
392         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
393         ignore newlines and space before the first macro argument.
395         * org-latex.el (org-export-latex-tables): Remove save-excursion
396         around `org-table-align'.
398 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
400         * org.el (org-export-html-special-string-regexps): Definition
401         moved into org.el
403         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
404         in macro calls.
406 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
408         * org-latex.el (org-export-latex-listings)
409         (org-export-latex-listings-langs): New options.
411         * org-exp.el (org-export-format-source-code-or-example): Use
412         listing package if requested by the user.
414 2009-08-08  Bastien Guerry  <bzg@altern.org>
416         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
417         command before actually switching to a buffer.
419 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
421         * org-exp.el (org-get-file-contents): Only quote org lines when
422         the markup is src or example.
424         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
425         New option
426         (org-agenda-get-day-entries): Remember deadline results and pass
427         them on into the function getting the scheduling information.
428         (org-agenda-get-scheduled): Accept deadline results as parameters
429         and maybe skip some entries.
430         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
432         * org.el (org-insert-heading): When respecting content, do not
433         convert current line to headline.
435         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
436         cheeeeeck the hd marker
437         (org-clock-in): Also set the hd marker.
438         (org-clock-out): Also set the hd marker.
439         (org-clock-cancel): Reset markers.
441         * org.el (org-clock-hd-marker): New marker.
443         * org-faces.el (org-agenda-clocking): New face.
445         * org-agenda.el (org-agenda-mark-clocking-task): New function.
446         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
448         * org.el (org-modules): Add org-track.el.
450         * org-agenda.el (org-agenda-bulk-marked-p): New function.
451         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
452         `org-agenda-bulk-marked-p'.
453         (org-agenda-bulk-toggle): New command.
455 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
457         * org.el (org-move-subtree-down): Hide subtree if it was folded,
458         not just the body.
460         * org-remember.el (org-remember-finalize): Avoid buffer-modified
461         messages.
479 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
481         * org-latex.el (org-export-latex-first-lines): Fix bug with
482         finding the end of the first lines.
484         * org.el (org-create-formula-image): Remove the -E option for
485         dvipng.
487         * org-exp.el (org-default-export-plist): Respect #+BIND.
488         (org-export-confirm-letbind): New function.
490         * org.el (org-paste-subtree): Test the kill ring entry if it is
491         going to be used.
492         (org-copy-subtree): Use `org-forward-same-level'.
493         (org-forward-same-level): Respect the `invisibe-ok' arg for
494         back-to-heading.
496 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
498         * org.el (org-table-map-tables): Make sure cursor is back at table
499         beginning after funcall.
501         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
502         handled before children, and do not error if an entry is not
503         found, probably because it hase been remove when the parent was
504         archived or refiled.
506         * org.el (org-ido-completing-read): Accept straight lists for
507         completion as well as alists.
509         * org-html.el (org-export-as-html): Fix parenthesis error in
510         footnore code.
512         * org-timer.el (org-timer-cancel-timers): Renamed from
513         `org-timer-cancel-timers'.
515         * org.el (org-cycle-internal-local): Fix problem with finding next
516         invisible line.
518 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
520         * org-list.el (org-list-send-list): Call
521         `org-list-goto-true-beginning' instead of
522         `org-list-find-true-beginning', which does not exist.
524         * org-timer.el (org-timer-reset-timers): Use `mapc'.
525         (org-timer-set-timer): Do not assign to heading.
527         * org-id.el (org-id-open): Quote function name.
529         * org-macs.el (org-unmodified): Turn off recording undo
530         information while running inside the macro.
532         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
533         variable.
534         (org-indent-mode): Remember and restore value of
535         org-hide-leading-stars before `org-indent-mode'.
537         * org-table.el (org-table-export): Also work in file-less
538         buffers.
540         * org.el (org-startup-indented): New option.
541         (org-startup-options): Add new options indent and noindent.
542         (org-unfontify-region): Remove line-prefix and wrap-prefix
543         properties.
544         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
545         hooks.
546         (org-promote, org-demote): Run the new hooks.
548         * org-table.el (org-table-align): Replace leading \n as well.
550         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
551         and `line-wrap' text properties.
553         * org-compat.el (org-kill-new): New function.
555         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
556         `line-wrap' text properties.
558         * org-indent.el: New file.
560 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
562         * org.el (org-provide-todo-statistics): Tweak docstring.
564         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
566 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
568         * org-exp.el (org-export-as-org): Insert the "-source" string
569         before the extension.
571         * org.el (org-read-date): Make sure the calendar is in the current
572         frame.
573         (org-set-emph-re): Remove the ? from the post-match.
574         (org-emphasis-regexp-components): Add backslash to the
575         postmatch class.
576         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
577         optional so that also lines at the end of the buffers will still
578         be matched as headlines.
580         * org-table.el (org-table-error-on-row-ref-crossing-hline):
581         Variable made obsolete.
582         (org-table-relative-ref-may-cross-hline): New option.
583         (org-table-find-row-type): Honow the new option
584         `org-table-relative-ref-may-cross-hline'.
586 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
588         * org-table.el (org-table-cut-region, org-table-copy-region): Work
589         on single field if no active region.
591 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
593         * org-latex.el (org-export-latex-make-header): Only insert title
594         if one is defined.
596         * org.el (org-make-options-regexp): Allow empty values.
598         * org-html.el (org-export-as-html): Move hrule detection to after
599         plain list handling.
601 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
603         * org-html.el (org-format-org-table-html): Fix colgroup tags.
605 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
607         * org.el (org-cycle-internal-local): Improved version of finding
608         next visible line.
609         (org-cycle-hide-drawers): Only hide drawers if this is really
610         necessary.
611         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
612         org-version of this function in Org-mode.  We use advice to
613         implement this change, so that future changes to this function in
614         outline.el wil be handled properly.
615         (org-forward-same-level, org-backward-same-level): New commands.
617 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
619         * org.el (org-remove-empty-overlays-at)
620         (org-clean-visibility-after-subtree-move): New functons.
621         (org-move-subtree-down): Simplify cleanup of display.
623 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
625         * org-mac-message.el (org-mac-message-get-links): Improve
626         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
627         "s".  Fix the return value.
628         (org-mac-message-insert-flagged): Simplify.
630         * org.el (org-refile-get-location): Tamper with refile history o
631         that history contains compete matches instead of the entered
632         string.
634 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
636         * org.el (org-store-link): Never store a link to an inline task.
638         * org-inlinetask.el (org-inlinetask-insert-task): New command.
640         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
641         inline tasks when positioning footnotes.
643         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
644         function.
646         * org.el (org-refile): Remove the END line when archiving an
647         inline task that does have an END line.
649         * org-archive.el (org-archive-subtree): Remove the END line when
650         archiving an inline task that does have an END line.
652         * org-macs.el (org-with-limited-levels): New macro.
653         (org-get-limited-outline-regexp): New function.
655         * org-exp.el (org-export-format-source-code-or-example): Fix bug
656         that did not enumerate first line.
657         (org-export-mark-radio-links): Skip matches in links.
659 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
661         * org.el (org-activate-plain-links): Make single-match.
662         (org-adapt-indentation): Fix docstring.
664         * org-macs.el (org-unmodified): Turn of modification hooks while
665         running this macro.
667 2009-08-02  Bastien Guerry  <bzg@altern.org>
669         * org.el (org-adapt-indentation): Slightly improve the docstring.
670         (org-occur): Sends an error when the user inputs an empty string.
671         (org-priority): Bugfix: the tag alignement should happen within
672         save-excursion.
674 2009-07-31  Bastien Guerry  <bzg@altern.org>
676         * org.el (org-make-link-regexps): Don't exclude parentheses from
677         `org-plain-link-re'
678         (org-cycle-internal-local): When locally cycling, switch directly
679         from CHILDREN to FOLDED if there is no subtree
680         (org-cycle): Update the docstring to document the new behavior of
681         `org-cycle-internal-local'.
683 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
685         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
686         an abbreviated format for days.
688 2009-07-27  Bastien Guerry  <bzg@altern.org>
690         * org-protocol.el (org-protocol-default-template-key): New
691         option.
693         * org.el (org-refile): Bugfix: save-excursion before reading the
694         refile target, otherwise cursor moves might confuse `org-refile'.
696         * org-html.el (org-export-as-html): Bugfix: correctly convert the
697         footnote reference before the footnote itself.
699         * org.el (org-toggle-heading): Bugfix: correctly convert list
700         items before the first headline.
702         * org-html.el (org-export-html-footnote-format): New option for
703         formatting the footnote reference.
704         (org-export-as-html): Use the new option.
706         * org.el (org-provide-todo-statistics): Allow a list of TODO
707         keywords to compute statistics against headlines containing a
708         keyword from this list.
709         (org-update-parent-todo-statistics): Possibly use the new allowed
710         value of `org-provide-todo-statistics'.
712 2009-07-26  Bastien Guerry  <bzg@altern.org>
714         * org-timer.el: Add autoload cookie.
716         * org.el (org-occur-link-in-agenda-files): New function.
718         * org-timer.el (org-timer-last-timer): New variable.
720         * org-agenda.el (org-agenda-mode-map): New key for
721         org-timer-set-timer called from the agenda.
723         * org.el (org-mode-map): New key for org-timer-set-timer.
725         * org-timer.el (org-timer-reset-timers)
726         (org-timer-show-remaining-time, org-timer-set-timer): New
727         functions.
729         * org-clock.el (org-show-notification): Update the docstring.
731         * org.el (org-provide-todo-statistics): Allow new value
732         'all-headlines for this option, which includes entries with no
733         TODO keywords in the todo statistics.
734         (org-update-parent-todo-statistics): Possibly use the new
735         'all-headline value from `org-provide-todo-statistics'.
737 2009-07-25  Bastien Guerry  <bzg@altern.org>
739         * org-clock.el (org-dblock-write:clocktable): Add a new option
740         :timestamp which allows display of timestamps in clock reports.
742         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
743         list to a subtree, preserving the structure of the list.
744         (org-set-emph-re): Make the last element optional in the regexp.
745         This regexp now matches an emphasized string at the end of a line.
747         * org-list.el (org-list-goto-true-beginning)
748         (org-list-make-subtree, org-list-make-subtrees): New functions.
750         * org.el (org-eval-in-calendar): Select the right frame.
751         (org-save-frame-excursion): Remove this macro.
753 2009-07-24  Bastien Guerry  <bzg@altern.org>
755         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
756         trying to find the beginning of a list.
758         * org-exp.el (org-get-file-contents): Use a new argument: markup.
759         When present, tell org-get-file-contents not to protect org-like
760         lines.
762         * org-id.el (org-id-uuid-program): New option to set the name of
763         the uuidgen program.
764         (org-id-method): Use `org-id-uuid-program'.
765         (org-id-new): Use `org-id-uuid-program'.
767 2009-07-23  Bastien Guerry  <bzg@altern.org>
769         * org-exp.el (org-export-number-lines): Allow whitespace in code
770         references.  Allow the -r switch to remove the references in the
771         source code even when the lines are not numbered: the labels can
772         be explicit enough.
774         * org.el (org-fontify-whole-heading-line): New option.
775         (org-set-font-lock-defaults): Use the new option.
777         * org-clock.el (org-show-notification-handler): New option.
778         (org-show-notification): Use the new option.
780 2009-07-21  Bastien Guerry  <bzg@altern.org>
782         * org.el (org-eval-in-calendar): Fix a bug about calendar
783         navigation when `calendar-setup' value is 'calendar-only.
785 2009-07-19  Bastien Guerry  <bzg@altern.org>
787         * org.el (orgstruct++-mode): Fix typo in docstring.
788         (org-insert-link): Clean up: (or (...)) => (...)
789         (org-insert-link): Use TAB for stored links completion.
791 2009-07-18  Bastien Guerry  <bzg@altern.org>
793         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
794         building the list of targets.
796         * org-remember.el (org-remember-delete-empty-lines-at-end): New
797         option.
798         (org-remember-handler): Use the new option.
800 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
802         * org.el (org-tags-sort-function): New option for sorting tags.
803         (org-set-tags): Use the new option to sort tags.
805         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
806         premature deletion of the data when using org-plot in a script.
808 2009-07-17  Bastien Guerry  <bzg@altern.org>
810         * org-clock.el (org-clock-in-prepare-hook): New hook.
811         (org-clock-in): Use this new hook.
813 2009-07-16  Bastien Guerry  <bzg@altern.org>
815         * org.el (org-special-ctrl-a/e): Explicitely bind the value
816         'reversed for this option to the "true line boundary first"
817         behavior.
818         (org-tags-match-list-sublevels): Document the 'indented value for
819         this variable.
821         * org-latex.el (org-export-latex-first-lines): Fix problem with
822         publishing the region.
824         * org-exp.el (org-export-format-source-code-or-example): Fix
825         bad line numbering when exporting examples in HTML.
827 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
829         * org-colview.el (org-format-time-period): Formats a time in
830         fractional days as days, hours, mins, seconds.
831         (org-columns-display-here): Add special handling for SINCE and
832         SINCE_IA to format for display.
834         * org.el (org-time-since): Add a function to get the time since an
835         org timestamp.
836         (org-entry-properties): Add two new special properties: SINCE and
837         SINCE_IA. These give the time since any active or inactive
838         timestamp in an entry.
839         (org-special-properties): Add SINCE, SINCE_IA.
840         (org-tags-sort-function): Add custom declaration for tags
841         sorting function.
842         (org-set-tags): Sort tags if org-tags-sort-function is set
844 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org-clock.el (org-clock-goto): Find hidden headlines as well.
848         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
850         * org-plot.el (org-plot/add-options-to-plist): Add timeind
851         option.
853 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
855         * org-publish.el (org-publish-remove-all-timestamps): New function.
856         (org-publish-all): Remove all timestamp files if `org-publish-all'
857         is called with a prefix argument.
859         * org-list.el (org-indent-item): Fix typo.
860         (org-item-indent-positions): Normalize ordered bullet.
862         * org-html.el (org-export-html-home/up-format): New option.
863         (org-export-as-html): Insert the up and HOME links.
865 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
867         * org-html.el (org-export-as-html): Insert the title into the
868         option plist.
869         (org-export-html-insert-plist-item): New function.
870         (org-export-as-html): Call `org-export-html-insert-plist-item'.
872         * org-macs.el (org-set-local): Make a local variable, do not make
873         the variable buffer-local!
875         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
877         * org-html.el (org-export-as-html): Call `org-install-letbind'.
879         * org-docbook.el (org-export-as-docbook): Call
880         `org-install-letbind'.
882         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
884         * org-exp.el (org-infile-export-plist): Read BIND lines.
885         (org-install-letbind): New function.
886         (org-export-as-org, org-export-preprocess-string): Call
887         `org-install-letbind'.
889         * org-src.el (org-edit-src-exit): Untabify the example before
890         returning to Org.
892         * org-list.el (org-list-demote-modify-bullet): New option.
893         (org-first-list-item-p): Save point.
894         (org-fix-bullet-type): New optional argument FORCE-BULLET.
895         (org-indent-item): Honor `org-list-demote-modify-bullet'.
896         (org-item-indent-positions): Return bullet types along with
897         indentation.
899 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
901         * org.el (org-show-entry): Hide drawers.
903 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-footnote.el (org-footnote-auto-adjust): New option.
906         (org-footnote-auto-adjust-maybe): New function.
907         (org-footnote-new, org-footnote-delete): Call
908         `org-footnote-auto-adjust-maybe'.
910         * org.el (org-startup-options): Add new footnote-related
911         keywords.
913         * org-publish.el (org-publish-timestamp-filename): Additional
914         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
915         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
916         TRUE-PUB-DIR.  Pass them through to
917         `org-publish-timestamp-filename'.
918         (org-publish-update-timestamp): Additional arguments PUB-DIR and
919         PUB-FUNC, which are included in the hash.
920         (org-publish-file): Delay timestamp test until the publishing
921         function is known.
923 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
925         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
926         setting the deadline.
928         * org.el (org-read-date-final-answer): New variable.
929         (org-read-date): Store the final answer string, including the date
930         from the calendar, for reuse by agenda bulk commands.
932         * org-publish.el (org-publish-attachment): Fix publishing of
933         attachments.
935         * org-latex.el (org-export-latex-quotation-marks): Fix export of
936         quotation makrs in parenthesis.
937         (org-remove-initial-hash): New function.
938         (org-export-latex-preprocess): Fix bug with infinite loop if
939         environment is not properly closed.
941         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
942         when indented.
944         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
945         highlight also when indented.
947 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
949         * org-footnote.el (org-footnote-renumber-fn:N): New command.
950         (org-footnote-action): Offer renumbering.
952         * org.el (org-cycle): Honor the `integrate' value of
953         org-cycle-include-plain-lists'.
955         * org-list.el (org-cycle-include-plain-lists): New allowed value
956         `internal'.  Improve the docstring.
958         * org.el (org-set-autofill-regexps): Improve the paragraph-start
959         regexp to work better with LaTeX commands.
961 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
963         * org-feed.el (org-feed-update): fix problem with non-existing
964         buffer.
965         (org-feed-skip-http-headers): New function.
966         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
967         (org-feed-get-feed): Fix command line arguments for curl.
969 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
971         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
972         and eps extensions.
974 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
976         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
977         loaded.
979         * org.el (org-map-entries): No longer force
980         `org-tags-match-list-sublevels' to t during a todo-only tags
981         search.
983 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
985         * org-latex.el (org-export-latex-low-levels): Allow user-defined
986         environment.
987         (org-export-latex-subcontent): Handle user-defined environment.
989         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
990         the View dispatcher.
992         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
993         `make-overlay'.
995         * org-latex.el (org-export-as-pdf): Protect match data during call
996         to shell-quote-argument.
998         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
999         (org-agenda-view-mode-dispatch): New function.
1001 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1003         * org-agenda.el (org-agenda-mode): Reset list of marks.
1004         (org-agenda-mode-map): Define new keys for refile and bulk action.
1005         (org-agenda-menu): Add menu itesm for refile and bulk action.
1006         (org-agenda-refile): New function.
1007         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1008         (org-agenda-marked-entries): New variable.
1009         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1010         (org-agenda-remove-all-bulk-action-marks)
1011         (org-agenda-bulk-action): New functions/commands.
1013 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1015         * org-exp.el (org-get-file-contents): Protect org-like lines in
1016         included files.
1017         (org-export-format-source-code-or-example): Remove newlines.
1019         * org-latex.el (org-export-latex-links): Check for no-description
1020         marking.
1022         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1023         argument separator back to comma.
1024         (org-export-normalize-links): Mark links without description.
1026 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1028         * org-exp.el (org-infile-export-plist): Fix bug in macro
1029         processing.
1031         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1032         out.
1033         (org-agenda-highlight-todo): Fix bug with highlighting.
1035 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1037         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1038         new alignment strings.
1040         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1041         command list.
1042         (org-table-align): Check for forced align type.
1044         * org.el (org-self-insert-command): Add yas/expand to command
1045         list.
1047         * org-clock.el (org-clock-in-hook): New hook.
1048         (org-clock-in): Run `org-clock-in-hook.
1049         (org-clock-out-hook): New hook.
1050         (org-clock-out): Run `org-clock-out-hook.
1051         (org-clock-cancel-hook): New hook.
1052         (org-clock-cancel): Run `org-clock-cancel-hook.
1053         (org-clock-goto-hook): New hook.
1054         (org-clock-goto): Run `org-clock-goto-hook.
1056 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1058         * org.el (org-store-link): Better default description for link to
1059         Org-mode headline.
1061         * org-exp.el (org-export-generic): Autoload the generic exporter
1062         function.
1063         (org-export): Implement the `g' key for the generic exporter.
1065 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1067         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1068         and for zbacktab'.
1070         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1072         * org-exp.el (org-infile-export-plist): Get macros also from
1073         #+SETUPFILE.
1075 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1077         * org-colview.el (org-columns-capture-view): Protect vertical bars
1078         in column values.
1079         (org-columns-capture-view): Exclude comment and archived trees.
1081         * org-colview-xemacs.el (org-columns-capture-view): Protect
1082         vertical bars in column values.
1083         (org-columns-capture-view): Exclude comment and archived trees.
1085         * org.el (org-quote-vert): New function.
1087         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1089         * org-exp.el (org-export-format-source-code-or-example): Use
1090         `org-export-latex-verbatim-wrap'.
1092         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1093         time stamps.
1095         * org-html.el (org-export-table-row-tags): New option.
1096         (org-format-org-table-html): Rename `nlines' to `nline', use new
1097         option.
1100 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1102         * org-exp-blocks.el: Declare functions and variables.
1104         * org-remember.el (org-remember-templates): Allow the headline
1105         element to be a function.
1106         (org-remember-apply-template): If the headline is a function, call
1107         it to get the true function.
1109         * org-clock.el (org-clock-menu): New function.
1110         (org-clock-update-mode-line): Update help string.
1111         (org-clock-modify-effort-estimate): New function.
1112         (org-clock-mark-default-task): New function.
1114         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1115         minutes as input.
1116         (org-org-menu): Add new clocking stuff.
1117         (org-clock-is-active): New function.
1119 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1121         * org.el (org-open-non-existing-files): Improve docstring.
1123 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
1125         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1126         option.
1127         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1129         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1131         * org-list.el (org-get-checkbox-statistics-face): Use the new
1132         faces.
1134         * org-faces.el (org-checkbox-statistics-todo)
1135         (org-checkbox-statistics-done): New faces.
1137 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
1139         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1140         (org-edit-src-exit): Better cursor positioning when returning from
1141         editing.
1143         * org-latex.el (org-export-latex-use-verb): New variable.
1144         (org-export-latex-emph-format): Prefer \texttt over \verb when
1145         org-export-latex-use-verb is set.
1147 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
1149         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1150         at normal indentation.
1152         * org-html.el (org-export-html-close-lists-maybe): Also look at
1153         normal indentation.
1155         * org-remember.el (org-remember-handler): Abort remember if the
1156         buffer is empty.
1158         * org-src.el (org-edit-src-content-indentation): New option.
1159         (org-edit-src-exit): Apply extra indentation.
1161         * org-exp.el (org-export-format-source-code-or-example): Run
1162         `org-src-mode-hook'.
1164         * org-src.el (org-src-mode-hook): New variable.
1165         (org-edit-src-code): Run `org-src-mode-hook'.
1167 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1169         * org.el (org-indent-line-function): Fix indentation of +#end lines.
1171         * org-src.el (org-edit-src-get-indentation): New function.
1172         (org-edit-src-code): Base indentation on the begin line.
1174 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
1176         * org-gnus.el (org-gnus-store-link): Require message.el in
1177         org-gnus-store-link.
1179 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1181         * org-src.el: New file, split out of org.el
1183         * org-docbook.el (org-export-as-docbook): Better indentation
1184         treatment.
1186         * org-macs.el (org-replace-match-keep-properties): New function.
1188         * org-exp.el (org-export-mark-blockquote-verse-center): Better
1189         preprocessing of center and quote and verse blocks.
1191         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1192         (org-export-as-docbook): Close lists when original indentation
1193         mandates it.
1195         * org-html.el (org-export-html-close-lists-maybe): New function.
1196         (org-export-as-html): Close lists when original indentation
1197         mandates it.
1199         * org-list.el (org-list-end): Respect the stored "original"
1200         indentation when determining the end of the list.
1202         * org-exp.el (org-export-replace-src-segments-and-examples):
1203         Remember indentation correctly.
1205 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1207         * org-clock.el (org-clock-update-mode-line): Apply face
1208         org-mode-line-clock.
1210         * org-faces.el (org-mode-line-clock): New face.
1212 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1214         * org-gnus.el (org-gnus-store-link): Fix bug where
1215         `org-gnus-store-link' used wrong subject when called in an article
1216         buffer.  Patch provided by fengli AT gmail DOT com.
1218 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1220         * org-exp.el (org-export-format-source-code-or-example): Remember
1221         the original indentation of source code snippets and examples.
1223         * org-latex.el (org-export-as-latex): Relocate the table of
1224         contents.
1226         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1228         * org-agenda.el (org-run-agenda-series): Scope global options also
1229         when creating the agenda buffer.
1231 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1233         * org.el (org-adapt-indentation): Improve documentation.
1234         (org-insert-property-drawer): Respect org-adapt-indentation when
1235         inserting the drawer.
1236         (org-remove-flyspell-overlays-in): New function.
1237         (org-do-emphasis-faces, org-activate-plain-links)
1238         (org-activate-code, org-fontify-meta-lines-and-blocks)
1239         (org-activate-angle-links, org-activate-footnote-links)
1240         (org-activate-bracket-links, org-activate-dates)
1241         (org-activate-target-links, org-activate-tags): Remove flyspell
1242         overlays.
1244 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1246         * org.el (org-edit-src-save): New function.
1248         * org-clock.el (org-clock-out-switch-to-state): New option.
1249         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1251         * org-compat.el (org-compatible-face): Improve macro.
1253         * org.el (org-global-properties-fixed): Add default for
1254         CLOCK_MODELINE_TOTAL.
1256         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1257         andd tend.
1258         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1259         org-clock-sum.
1260         (org-clock-get-sum-start): New function.
1262         * org.el (org-startup-options): New keywords blockhide and
1263         blockshow.
1264         (org-mode): Add new invisibility spec.
1265         (org-set-startup-visibility): Hide block on startup if so
1266         desired.
1267         (org-hide-block-startup): New option.
1268         (org-block-regexp): New constant.
1269         (org-hide-block-overlays): New variable.
1270         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1271         (org-show-block-all, org-hide-block-toggle-maybe)
1272         (org-hide-block-toggle): New functions.
1273         (org-edit-src-exit): Do not quote lines starting with # and no +
1274         behind it.
1275         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1276         entry.
1278 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1280         * org.el (org-buffer-property-keys): Add Effort property for
1281         completion.
1283 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1285         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1286         when retrieving total clocked time in the subtree.
1288         * org.el (org-quoting-blocks): New variable.
1290 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1292         * org-table.el (org-table-store-formulas)
1293         (org-table-get-stored-formulas, org-table-fix-formulas)
1294         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1295         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1297         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1298         indented #+TBLFM line.
1300         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1301         indented #+TBLFM line.
1303         * org-colview.el (org-dblock-write:columnview): Allow indented
1304         #+TBLFM line.
1306         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1307         indented #+TBLFM line.
1309         * org-clock.el (org-dblock-write:clocktable): Allow indented
1310         #+TBLFM line.
1312 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1314         * org-exp.el (org-export-format-source-code-or-example): Make
1315         editing indented blocks work correctly.
1317         * org.el (org-edit-src-nindent): New variable.
1318         (org-edit-src-code, org-edit-fixed-width-region)
1319         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1320         editing indented blocks work correctly.
1322 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1324         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1325         indented blocks.
1326         (org-export-format-source-code-or-example): Fix indentation of
1327         blocks.
1328         (org-export-remove-indentation): New function.
1329         (org-export-select-backend-specific-text): Allow backend-specific
1330         code to be indented.
1331         (org-export-mark-blockquote-verse-center): Allow markers to be
1332         indented.
1334         * org.el (org-fontify-meta-lines): New function.
1335         (org-set-font-lock-defaults): Call the new fontification
1336         function.
1338         * org-faces.el (org-meta-line): New face
1339         (org-block):  New face.
1341 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1343         * org.el (org-treat-insert-todo-heading-as-state-change)
1344         (org-treat-S-cursor-todo-selection-as-state-change): New
1345         variables.
1346         (org-insert-todo-heading): Honor
1347         `org-treat-insert-todo-heading-as-state-change'.
1348         (org-shiftright, org-shiftleft): Honor
1349         `org-treat-S-cursor-todo-selection-as-state-change'.
1350         (org-inhibit-logging): New variable.
1352 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1354         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1355         range for marker position checking.
1357         * org-latex.el (org-export-latex-first-lines): Fix bug when
1358         exporting a region.
1360 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1362         * org-exp.el (org-export-push-to-kill-ring): Protect using
1363         x-set-selection, because that does not always work.
1365         * org-agenda.el (org-agenda-list): Apply the new face
1366         `org-agenda-date-today'.
1368         * org-faces.el (org-agenda-date-today): New face.
1370 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1372         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1373         creating appointments.
1375         * org-latex.el (org-export-latex-low-levels): Fix customization
1376         type.
1378         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1379         priority commands.
1381         * org-agenda.el (org-agenda-priority): Disable priority commands.
1383         * org.el (org-enable-priority-commands): New option.
1385         * org-colview-xemacs.el (org-columns-compute)
1386         (org-columns-number-to-string): Fix problems with empty fields.
1388         * org-colview.el (org-columns-compute)
1389         (org-columns-number-to-string): Fix problems with empty fields.
1391         * org-exp.el (org-export-push-to-kill-ring): New function.
1392         (org-export-copy-to-kill-ring): New option.
1394         * org-latex.el (org-export-as-latex): Call
1395         `org-export-push-to-kill-ring'.
1397         * org-html.el (org-export-as-html): Call
1398         `org-export-push-to-kill-ring'.
1400         * org-docbook.el (org-export-as-docbook): Call
1401         `org-export-push-to-kill-ring'.
1403         * org-ascii.el (org-export-as-ascii): Call
1404         `org-export-push-to-kill-ring'.
1406         * org-exp.el (org-export-show-temporary-export-buffer): New
1407         option.
1409         * org-latex.el (org-export-as-latex): Use
1410         `org-export-show-temporary-export-buffer'.
1412         * org-html.el (org-export-as-html): Use
1413         `org-export-show-temporary-export-buffer'.
1415         * org-docbook.el (org-export-as-docbook): Use
1416         `org-export-show-temporary-export-buffer'.
1418         * org-ascii.el (org-export-as-ascii-to-buffer): Use
1419         `org-export-show-temporary-export-buffer'.
1421         * org-exp.el (org-export-show-temporary-export-buffer): New
1422         option.
1423         (org-export-push-to-kill-ring): New function.
1425         * org-colview.el (org-columns-compile-map): New variable.
1426         (org-columns-new, org-columns-compute)
1427         (org-columns-number-to-string, org-columns-uncompile-format)
1428         (org-columns-compile-format): Implement new operators.
1430 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
1432         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1434         * org-html.el (org-export-html-xml-declaration): New option.
1435         (org-export-as-html): Use `org-export-html-xml-declaration'.
1437         * org-list.el (org-update-checkbox-count): Make property
1438         dependent.
1440         * org.el (org-hierarchical-todo-statistics): New option.
1441         (org-update-parent-todo-statistics): Modified to handle recursive
1442         statistics.
1444 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
1446         * org-publish.el (org-publish): Make this function behave
1447         correctly in interactive use when called with a prefix argument.
1449         * org.el (org-todo-statistics-hook): New hook.
1450         (org-update-parent-todo-statistics): Use new hook.
1451         (org-log-into-drawer): New function.
1452         (org-add-log-setup): Use the new `org-log-into-drawer' function to
1453         determine if we should be logging into a drawer.
1454         (org-log-into-drawer): Update docstring.
1455         (org-default-properties): Add LOG_INTO_DRAWER as a property.
1457         * org-list.el (org-checkbox-statistics-hook): New hook.
1458         (org-update-checkbox-count-maybe): Use new hook.
1460         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1461         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1462         to kill ring.
1464 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
1466         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1467         a line.
1469 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
1471         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1472         better bufer-generating mechanism.
1473         (org-edit-src-find-buffer): New function.
1475         * org-icalendar.el (org-print-icalendar-entries): Don't check for
1476         archive tag, this is already done by `org-agenda-skip'.
1477         data while constructing lost of tags.
1479 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
1481         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1482         as argument separator in macros.
1484         * org-html.el (org-export-as-html): Add xml declaration.
1486 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
1488         * org.el (org-after-sorting-entries-or-items-hook): New hook.
1489         (org-sort-entries-or-items): Run the new hook.
1490         (org-after-refile-insert-hook): New hook.
1491         (org-refile): Run `org-after-refile-insert-hook'.
1493         * org-agenda.el (org-agenda-get-progress): Never take time of day
1494         from headline when displaying progress.
1496         * org-latex.el (org-export-latex-complex-heading-re): New variable.
1497         (org-export-as-latex): Force the correct regexp in the
1498         preprocessor buffer.
1499         (org-export-latex-set-initial-vars): Set
1500         `org-export-latex-complex-heading-re'.
1502         * org-agenda.el (org-agenda-start-with-log-mode): New option.
1503         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1505 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
1507         * org-latex.el (org-export-latex-tables-centered): New option.
1508         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1510         * org-exp.el (org-export-as-org): New command.
1511         (org-export-as-org): New command.
1513         * org-publish.el (org-publish-org-to-org): New function.
1515 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
1517         * org.el (org-yank): Just call `org-yank-generic'.
1518         (org-yank-generic): New function, containing the formaer
1519         functionality of `org-yank'.
1521         * org-latex.el (org-export-latex-not-done-keywords)
1522         (org-export-latex-done-keywords): New variables.
1523         (org-export-latex-todo-keyword-markup): New option.
1524         (org-export-latex-set-initial-vars): Remember the TODO keywords.
1525         (org-export-latex-keywords-maybe): Apply the TODO markup.
1527 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
1529         * org-exp.el (org-infile-export-plist): Add more default macros.
1530         (org-export-preprocess-apply-macros): Process macro arguments.
1532 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
1534         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1535         `unblocked'.
1536         (org-print-icalendar-entries): Respect the new value of
1537         `org-icalendar-include-todo'.
1539         * org.el (org-link-try-special-completion)
1540         (org-file-complete-link): New functions.
1541         (org-insert-link): Add special completion support for some link
1542         types.
1544         * org-bbdb.el (org-bbdb-complete-link): New function.
1546 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1548         * org-list.el (org-update-checkbox-count): Allow recursive
1549         statistics.
1550         (org-hierarchical-checkbox-statistics): New option.
1552         * org.el (org-cycle): Remove erraneous space character.
1554         * org-icalendar.el (org-icalendar-timezone): Initialize from
1555         environment.
1557         * org-html.el (org-format-org-table-html): Specify the scope.
1558         (org-format-table-table-html): Specify the scope.
1559         (org-export-table-header-tags): Prepare the scope parameter.
1561 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1563         * org-html.el
1564         (org-export-html-table-use-header-tags-for-first-column): New
1565         option.
1567         * org.el (org-autoload): Fix autoloading of ascii export
1568         functions.
1569         (org-modules): Add org-special-blocks.
1571 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1573         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1574         (org-ical-timezone): New option.
1576         * org-exp.el (org-export-get-coderef-format): Use the description
1577         is present.
1579         * org.el (org-sort-entries-or-items): Improve docstring, and make
1580         better implementation for time sorting.
1582 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1584         * org.el (org-edit-src-persistent-message): New option.
1585         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1586         option.
1588         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1589         patch.
1591         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1592         separate buffer instead of indirect buffer to edit source code.
1593         (org-edit-src-exit): Make this function work with the new setup.
1595         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1596         are properly fontified before shown in the selection menu.
1598         * org.el (org-fontify-like-in-org-mode): New function.
1600         * org-latex.el (org-export-latex-links): Use the property list to
1601         retrieve the default image attributes.
1603         * org-exp.el (org-export-plist-vars): Add a new option.
1605 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1607         * org-exp.el (org-export, org-export-visible): Support ASCII
1608         export to buffer
1609         (org-export-normalize-links): Do not protect the description if it
1610         is explicitly given.
1612         * org-ascii.el (org-export-as-ascii-to-buffer)
1613         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1614         commands.
1615         (org-export-as-ascii): Add all the same parameters that are also
1616         supported by the other export functions.
1618         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1619         org-checklist.el.
1620         (org-reset-checkbox-state-subtree): Call
1621         `org-reset-checkbox-state-subtree'.
1623         * org-remember.el (org-select-remember-template): For the
1624         selection of a valid template.
1626         * org-latex.el (org-export-region-as-latex): Supply the
1627         force-no-subtree argument.
1628         (org-export-as-latex): Provide better limits when exporting the
1629         first line.  When exporting to string, we still want the first
1630         lines.
1631         (org-export-latex-first-lines): New argument END, to force the end
1632         of the region.
1633         (org-export-region-as-latex): Use the property list.
1634         (org-export-as-latex):
1636         * org-colview-xemacs.el (org-columns-remove-overlays)
1637         (org-columns): Fix call to `local-variable-p'.
1639 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1641         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1642         (org-export-as-html): Run the new hook.
1644         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1645         (org-export-latex-preprocess): Run the new hook.
1647         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1648         (org-export-preprocess-string): Run the new hook.
1650 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1652         * org-macs.el (org-check-external-command): New defsubst.
1654         * org.el (org-mode-map): New key for reload.
1655         (org-format-latex): Better error message when external programs
1656         are not available.
1658         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1660         * org.el (org-sort-entries-or-items): Explicit sorting function
1661         for priorities, needed for XEmacs compatibility.
1663         * org-remember.el (org-remember-apply-template): Improve auto-save
1664         behavior.
1666 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1668         * org-latex.el (org-export-latex-preprocess): Also protect
1669         environments ending in a star.
1671         * org-list.el (org-at-item-p): Fix regular expression.
1673 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1675         * org.el (org-end-of-subtree): Improve speed.
1677         * org-agenda.el (org-agenda-get-timestamps)
1678         (org-agenda-get-progress, org-agenda-get-deadlines)
1679         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1680         in particular, wait as long as possible to collect the tags.
1681         (org-stuck-projects): Improve docstring.
1683         * org.el (org-store-link): No errors when getting custom id before
1684         first headline.
1685         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1687 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1689         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1691         * org-protocol.el: Remove dependency on url.el.
1692         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1693         dependency on url.el.
1695         * org-latex.el (org-export-as-pdf): Use
1696         `org-latex-to-pdf-process'.
1698 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1700         * org-latex.el (org-latex-to-pdf-process): New option.
1702         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1703         New option.
1704         (org-agenda-get-timestamps): Honor
1705         `org-agenda-skip-additional-timestamps-same-entry'.
1707         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1708         (org-clock-goto): Find recent task only if
1709         `org-clock-goto-may-find-recent-task' allows it.
1711         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1712         drawers, and drawers that are missing the :END: line.
1714 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1716         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1717         clock is running.
1719 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1721         * org.el (org-update-parent-todo-statistics): Check for
1722         STATISTICS_FROM property.
1724         * org-list.el (org-update-checkbox-count): Check for
1725         STATISTICS_FROM property.
1727         * org.el (org-tab-first-hook)
1728         (org-tab-after-check-for-table-hook)
1729         (org-tab-after-check-for-cycling-hook): New hooks.
1730         (org-cycle-internal-global, org-cycle-internal-local): New
1731         functions, split out from `org-cycle'.
1732         (org-cycle): Call the new hooks.
1734 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1736         * org-exp.el (org-export-preprocess-string): Reset the list of
1737         preferred targets for each run of the preprocessor.
1739         * org.el (org-refile-target-verify-function): Improve
1740         documentation.
1741         (org-get-refile-targets): Respect point being moved by the
1742         verification function.
1744         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1745         option.
1746         (org-export-latex-keywords): Use new option.
1748         * org.el (org-rear-nonsticky-at): New defsubst.
1749         (org-activate-plain-links, org-activate-angle-links)
1750         (org-activate-footnote-links, org-activate-bracket-links)
1751         (org-activate-dates, org-activate-target-links)
1752         (org-activate-tags): Place the rear-nonsticky properties at the
1753         correct location.
1755 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1757         * org-protocol.el (server-edit): Declare `server-edit'.
1758         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1759         functions.
1760         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1762         * org.el (org-default-properties): New default properteis for
1763         completion.
1765         * org-exp.el (org-export-add-subtree-options): Add new properties
1766         for subtree export.
1768         * org-docbook.el (org-export-docbook-keywords-markup)
1769         (org-export-docbook-timestamp-markup): New options.
1770         (org-export-docbook-protect-tags): New function.
1772 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1774         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1775         org-refile-target-verify-function for the duration of the command.
1777         * org.el (org-link-to-org-use-id): New possible value
1778         `create-if-interactive-and-no-custom-id'.
1779         (org-store-link): Use custom IDs.
1780         (org-link-search): Find custom ID properties from #link.
1781         (org-default-properties): Add CUSTOM_ID for property completion.
1782         (org-refile-target-verify-function): New option.
1783         (org-goto): Turn off org-refile-target-verify-function
1784         for the duration of the command.
1786 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1788         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1790         * org-exp.el (org-export-preferred-target-alist): New variable.
1791         (org-export-define-heading-targets): Find the new CUSTOM_ID
1792         property.
1793         (org-export-target-internal-links): Target the custom ids when
1794         possible.
1796         * org-latex.el (org-export-latex-preprocess): Better regexp for
1797         matching latex macros with arguments.
1799 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1801         * org-remember.el (org-remember-handler): Allow filing to non-org
1802         files.
1804 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1806         * org-feed.el (org-feed-alist): New keyword options.
1807         (org-feed-update): Use the new options.
1808         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1809         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1810         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1811         functions.
1813         * org-table.el (org-table-fix-formulas): Do not change references
1814         to remote tables.
1815         (org-table-get-remote-range): Convert standard coordinates to RC
1816         format.
1818         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1820 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1822         * org-compat.el (org-sha1-string): Function removed.
1824         * org.el (org-refile-allow-creating-parent-nodes): New option.
1825         (org-refile-get-location): New argument NEW-NODES.
1826         (org-refile): Call `org-refile-get-location' with the new
1827         argument.
1828         (org-refile-get-location): Arrange for adding a new child.
1829         (org-refile-new-child): New function.
1831         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1832         an additional span element.
1834         * org-clock.el: Fix a number of docstrings.
1835         (org-clock-find-position): New argument
1836         FIND-UNCLOSED to make the function find an unclosed clock in the
1837         entry.
1838         (org-clock-in): Call `org-clock-find-position' with the new
1839         argument if we might be resuming a clock.
1841 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1843         * org-latex.el (org-export-latex-display-custom-times): New variable.
1844         (org-export-latex-timestamp-markup): New option.
1845         (org-export-latex-set-initial-vars): Remember the local value of
1846         `org-display-custom-times'.
1847         (org-export-latex-content): Process time stamps.
1848         (org-export-latex-time-stamps): New function.
1850         * org-macs.el (org-maybe-intangible): Add intangible property
1851         again to invisible text.
1853 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1855         * org-exp.el (org-default-export-plist): Handle undefined
1856         variables.
1858 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1860         * org.el (org-sort-entries-or-items): Match TODO keywrds
1861         case-sensitively, when sorting.
1862         (org-priority): Do not match TODO keywords with wrong case.
1864 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1866         * org-feed.el (org-feed-update): Bind the variable
1867         `new-formatted'.
1869         * org-html.el (org-export-as-html): Start paragraphs after literal
1870         examples.
1872         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1873         literal examples.
1875 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org.el (org-todo): Honor the NOBLOCKING property.
1879         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1880         NOBLOCKING property.
1882         * org.el (org-scan-tags): Fix bug in tag scanner
1884 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1886         * org.el (org-modules): Mark obsolete packages.
1888         * org-html.el: New file, split out from org-exp.el.
1890         * org-icalendar.el: New file, split out from org-exp.el.
1892         * org-xoxo.el: New file, split out from org-exp.el.
1894         * org-ascii.el: New file, split out from org-exp.el.
1896 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1898         * org-compat.el (org-find-library-name): New function.
1900         * org.el (org-pre-cycle-hook): New hook.
1901         (org-cycle): Call the new hook in appropriate places.
1902         (org-reload): Only reload files that have been loaded before.
1904 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1906         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1907         after todo keyword.
1908         (org-todo): When changing TODO state, do matching
1909         case-sensitively.
1910         (org-map-continue-from): New variable.
1911         (org-scan-tags): Respect values in `org-map-continue-from'.
1912         (org-reload): Make XEmacs compatible.
1914 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
1916         * org-protocol.el (org-protocol-flatten-greedy): New function.
1917         (org-protocol-flatten): New function.
1919         * org.el (org-open-link-from-string): Pass reference buffer to
1920         `org-open-at-point'.
1921         (org-open-at-point): New optional argument `reference-buffer'.
1923 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
1925         * org.el (org-scan-tags): Make tag scan find headline in first
1926         line, 2nd attempt.
1927         (org-get-refile-targets): Add the naked file name.
1928         (org-refile): Store as top-level entry when only file name was
1929         given.
1931         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1933         * org.el (org-block-todo-from-children-or-siblings-or-parent):
1934         Renamed from org-block-todo-from-children-or-siblings, and
1935         enhanced to look for the parent's status as well.
1937         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1938         (org-agenda-get-progress): Add first notes line to log entry if so
1939         desired.
1941 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
1943         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1944         (org-agenda-cleanup-fancy-diary): Call the new hook.
1946         * org-remember.el (org-remember-apply-template): Take the default
1947         for the annotation from the :annotation property.
1949         * org-mac-message.el (org-mac-message-get-link): Remove the
1950         quotes.
1951         (org-mac-message-get-link): Return the result.
1953 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
1955         * org.el (org-refile-get-location): Add file name only if not
1956         already included in outline path.
1958         * org-faces.el (org-n-level-faces): Fix customization type from
1959         number to integer.
1961         * org-exp.el (org-export-headline-levels): Fix customization type
1962         from number to integer.
1964         * org-agenda.el (org-agenda-confirm-kill)
1965         (org-agenda-custom-commands-local-options)
1966         (org-timeline-show-empty-dates, org-agenda-ndays)
1967         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1968         customization type from number to integer.
1970 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
1972         * org-protocol.el: Declare some functions.
1974         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1975         postion before inserting modified headline.
1977         * org-agenda.el (org-agenda-compare-effort): Honor
1978         `org-sort-agenda-noeffort-is-high'.
1979         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1980         (org-agenda-compare-effort): Implement the "?" operator for
1981         finding entries without effort setting.
1983         * org.el (org-extract-attributes-from-string): New function.
1985         * org-exp.el (org-export-splice-attributes): New function.
1987 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-mouse.el: XEmacs compatibility fixes
1991         * org-docbook.el (org-export-as-docbook): Process footnotes like
1992         normal text.
1994         * org.el (org-modules): Add org-inlinetasks.el
1995         (org-cycle): Implement limiting level on cycling.
1996         (org-move-subtree-down): Fix bug with swapping subtrees at end of
1997         buffer.
1999         * org-inlinetask.el: New file.
2001         * org.el (org-emphasis-regexp-components): Allow braces in
2002         emphasis pre and post match.
2004         * org-footnote.el (org-footnote-normalize): When only dorting, do
2005         not insert inline notes at the end.
2007         * org-docbook.el (org-id-find-id-file): Add function declaration.
2009         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2011         * org-docbook.el: New file.
2013 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2015         * org.el (org-reftex-citation): New command.
2017 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2019         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2020         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2021         sorting options.
2022         (org-entries-lessp): Apply the new sorting option.
2024         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2025         blocker code, when an older sibling has children.
2027         * org-mac-message.el (org-mac-message-get-link): Improve getting
2028         links from multiple selected messages.
2030 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2032         * org-remember.el (org-remember-finalize): Do not set buffer file
2033         name to nil.
2034         (org-remember-handler): Mark buffer as unmodified.
2035         (org-remember-handler): Delete backup file and show message about
2036         remaining backup files.
2037         (org-remember-auto-remove-backup-files): New option.
2039         * org.el (org-store-link): Use buffer name as link description in
2040         w3-mode buffers.
2041         (org-ido-switchb): Fix argument bug for completion.
2043         * org-remember.el (org-remember-apply-template): Set local
2044         variable `auto-save-visited-file-name' instead of global one.
2046 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2048         * org-feed.el: Re-write.
2050         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2051         (org-agenda-get-todos): Mark file tags as inherited.
2052         (org-agenda-list): Always search diary lines for a time.
2054 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2056         * org-feed.el (org-feed-assume-stable): New option.
2057         (org-feed-before-adding-hook): New hook.
2059         * org-exp.el (org-export-as-html): Close local lists depending on
2060         indentation, also when starting a table.
2062         * org-remember.el (org-remember-backup-directory)
2063         (org-remember-backup-name): New internal variable.
2065 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2067         * org-clock.el (org-clock-out-if-current): Make buffer detection
2068         work in indirect buffers as well.
2070         * org.el (org-emphasis-regexp-components): Add the exxclamation
2071         mark to the post-emphasis characters.
2073 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2075         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2076         (org-read-date): Run the new hook.
2078         * org-mac-message.el (org-mac-flagged-mail): New group.
2079         (org-mac-mail-account): New variable.
2080         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2081         commands.
2083         * org-remember.el (org-remember-backup-directory): New variable.
2084         (org-remember-apply-template): Write file to backup directory.
2086 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2088         * org-mouse.el (org-mouse-todo-menu): New function.
2089         (org-mouse-todo-keywords): Function removed.
2090         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2092         * org-table.el (org-table-beginning-of-field)
2093         (org-table-end-of-field): New commands
2094         (org-table-previous-field, org-table-beginning-of-field): Better
2095         error messages.
2096         (orgtbl-setup): Include `M-a' and `M-e'.
2098         * org.el (org-backward-sentence, org-forward-sentence): New
2099         commands.
2101         * org-colview.el (org-colview-initial-truncate-line-value): New
2102         variable.
2103         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2104         (org-columns): Remember the value of `truncate-lines'.
2106         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2107         New variable.
2108         (org-columns-remove-overlays): Restore the value of
2109         `truncate-lines'.
2110         (org-columns): Remember the value of `truncate-lines'.
2112         * org.el (org-columns-skip-arrchived-trees): New option.
2114         * org-agenda.el (org-agenda-export-html-style): Define color for
2115         org-agenda-done face.
2116         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2117         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2119         * org.el (org-scan-tags): Use the new face.
2121         * org-faces.el (org-agenda-done): New face.
2123         * org.el (org-scan-tags): Test the value org
2124         `org-tags-match-list-sublevels'.
2125         (org-tags-match-list-sublevels): New allowed value: indented.
2127         * org-export-latex.el (org-export-latex-make-header): Apply macros
2128         in header.
2130         * org-exp.el (org-export-apply-macros-in-string): New function.
2132         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2133         with the definition of a checked box.
2135         * org-clock.el (org-clock-find-position): Fix drawer indentations.
2137         * org-export-latex.el (org-export-latex-low-levels): More options
2138         for how to process lower levels in LaTeX.
2139         (org-export-latex-subcontent): Better treatment for lists as a
2140         means of publishing lower levels.
2142 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
2144         * org.el (org-set-font-lock-defaults): Use new checkbox face.
2146         * org-faces.el (org-checkbox): New face.
2148         * org-exp.el (org-export-html-preprocess): Only create LaTeX
2149         fragement images if there is an export file.
2151 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
2153         * org-agenda.el (org-stuck-projects): Document that the subtree of
2154         projects that are not stuck will now be searched for stuck
2155         sub-projects.
2156         (org-agenda-skip-entry-when-regexp-matches)
2157         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2158         (org-agenda-list-stuck-projects): Use
2159         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2161         * org-export-latex.el (org-export-latex-preprocess): Improve
2162         export of verses.
2164         * org-exp.el (org-export-as-html): Implement centering as a div
2165         rather than a paragraph.  Do a better job with line-end in verse
2166         environments.
2168 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
2170         * org.el (org-open-at-point): Fix tags searches by mouse click.
2172 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
2174         * org-export-latex.el (org-export-latex-preprocess): Implement the
2175         centering markup.
2177         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2178         from `org-export-mark-blockquote-and-verse'.
2179         (org-export-as-html): Implement the centering markup.
2181         * org-export-latex.el (org-export-latex-tables): Fix vertical
2182         lines in tables.
2184 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
2186         * org.el (org-read-date-history): New variable.
2187         (org-read-date): Use new history variable.
2188         (org-toggle-heading): Fix bug when used before first headline.
2189         (org-store-log-note): Remove drawer if empty while note is
2190         aborted.
2191         (org-remove-empty-drawer-at): New function.
2192         (org-check-after-date): New command.
2193         (org-sparse-tree): New sparse tree command "a".
2195         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2197 2009-03-14  Bastien Guerry  <bzg@altern.org>
2199         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2200         column and a space, not only a column.
2202 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
2204         * org-export-latex.el (org-export-latex-emphasis-alist): Better
2205         defaults for verbose emphasis.
2206         (org-export-latex-emph-format): New function.
2207         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2209         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2210         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2211         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2212         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2213         commands.
2215         * org.el (org-timestamp-change): Move end-time along with start
2216         time.
2218 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2220         * org-exp.el (org-export-target-internal-links)
2221         (org-export-as-html): Protect links specified as #name.
2223 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2225         * org.el (org-clone-subtree-with-time-shift): New command.
2227         * org-export-latex.el (org-export-latex-special-chars)
2228         (org-export-latex-treat-sub-super-char): Fix subscript export.
2230         * org-exp.el (org-create-multibrace-regexp): Do not add
2231         backslashes to the class.
2233 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2235         * org-colview.el (org-columns-map): Better functions for moving up
2236         and down a row, even if `truncate-line' is nil.
2238         * org.el (org-insert-todo-heading): Make sure the keyword is
2239         inserted at the correct position.
2241         * org-publish.el (org-publish-project-alist)
2242         (org-publish-projects, org-publish-org-index): Change default anme
2243         for the index of file names to "sitemap.org".
2245         * org-export-latex.el (org-export-latex-tables): Use
2246         `org-split-string', for Emacs 21 compatibility.
2248 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2250         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2252 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2254         * org-exp.el (org-export-page-description)
2255         (org-export-page-keywords): New variables.
2256         (org-export-plist-vars): Add entries for :keywords and
2257         :description.
2258         (org-infile-export-plist): Parse for new keywords.
2259         (org-get-current-options): Add new keywords
2260         (org-export-as-html): Publish description and keywords.
2262         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2263         option.
2264         (org-agenda-add-entry-text): Honor
2265         `org-agenda-add-entry-text-descriptive-links'.
2267         * org-export-latex.el (org-export-latex-preprocess): Make all
2268         external preprocess functions use a PARAMETER arg.
2270         * org-exp.el (org-export-preprocess-string)
2271         (org-export-select-backend-specific-text)
2272         (org-export-format-source-code-or-example)
2273         (org-format-org-table-html): Support docbook export.
2274         (org-export-preprocess-string): Make all external preprocess
2275         functions use a PARAMETER arg.
2277 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2279         * org-exp.el (org-export-html-style-include-scripts): New option.
2280         (org-export-plist-vars): Add new option
2281         `org-export-html-style-include-scripts'.
2282         (org-export-as-html): Honor new option
2283         `org-export-html-style-include-scripts'.
2284         (org-export-html-scripts, org-export-html-style-default): Fix
2285         xml issues with the Safari browser.
2287 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2289         * org-publish.el (org-publish-attachment): Only copy file when the
2290         directories differ.
2292 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2294         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2295         for clocktable steps.
2297         * org.el (org-additional-option-like-keywords): Add two more
2298         keywords.
2300 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2302         * org-exp.el (org-export-format-source-code-or-example): Mark
2303         temporary buffer unmodified, so that it will be killed even if
2304         mode like message mode has decided to assign a file name.
2306         * org.el (org-scan-tags): Improve tag inheritance.
2307         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2308         case-sensitive.
2309         (org-scan-tags): Use the internal tags list instead of creating it
2310         from scratch.
2311         (org-trust-scanner-tags, org-scanner-tags): New variables.
2312         (org-scan-tags): Set `org-scanner-tags'.
2313         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2314         (org-map-entries): Document the possible speedup using scanner
2315         tags.
2317 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2319         * org.el (org-add-planning-info): Fix bug with looking for keyword
2320         only at column 0.
2322         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2323         option for tags filter preset.
2324         (org-prepare-agenda): Store filter preset as a property on the
2325         filter variable.
2326         (org-finalize-agenda): Call the filter, if there is a preset.
2327         (org-agenda-filter-by-tag): Filter again after clearing the
2328         filter, when there still is a preset.
2329         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2330         Include the preset filter.
2331         (org-agenda-redo): Apply the filter again, also the preset filter.
2333         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2335         * org.el (org-uuidgen-p): New funtion.
2337         * org-agenda.el (org-agenda-fontify-priorities): New default value
2338         `cookies'.
2339         (org-agenda-fontify-priorities): Renamed from
2340         org-fontify-priorities.
2342         * org.el (org-set-font-lock-defaults): Call
2343         `org-font-lock-add-priority-faces'.
2344         (org-font-lock-add-priority-faces): New function.
2346         * org-faces.el: (org-set-tag-faces): New option.
2347         (org-priority-faces): New variable.
2349         * org-exp.el (org-export-as-html): Add a "content" div around the
2350         entire content of the body tag.
2351         (org-export-html-get-bibliography): New function.
2352         (org-export-html-validation-link): New variable.
2353         (org-export-as-html): Add validation link to exported page.
2355         * org.el (org-match-sparse-tree): Renamed from
2356         `org-tags-sparse-tree'.
2357         (org-tags-sparse-tree): New alias.
2359 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2361         * org.el (org-get-valid-level): Catch the case where the level
2362         change is nil.
2364         * org-clock.el (org-clock-find-position): Better indentation of
2365         new clock drawers.
2367 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2369         * org-agenda.el (org-agenda-quit): Delete window only when the
2370         frame-setup was not `current-window'.
2372         * org.el (org-tag-persistent-alist): New option.
2373         (org-startup-options): Add keyword `noptag'.
2374         (org-fast-todo-selection): Handle :newline correctly.
2375         (org-set-tags): Handle :newline correctly.
2376         (org-fast-tag-selection): Handle :newline correctly.
2378 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2380         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2381         outputting it.
2382         (org-export-ascii-push-links): Fix bug with pussing links into the
2383         export buffer.
2385 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2387         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2388         pasting at top level.
2390         * org-bbdb.el: Improve documentation.
2392 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2394         * org-list.el (org-insert-item): Only consider insert empty lines
2395         is `org-empty-line-terminates-plain-lists' is not nil.
2397         * org.el (org-blank-before-new-entry): Mention the dependence on
2398         `org-empty-line-terminates-plain-lists' in the docstring.
2400         * org-publish.el (org-publish-get-project-from-filename): New
2401         optional argument UP.  Only find the top project if UP is set.
2402         (org-publish-current-project): Find the top encloding project.
2404         * org-agenda.el (org-agenda-before-write-hook)
2405         (org-agenda-add-entry-text-maxlines): New options.
2406         (org-write-agenda): Run the new hook in the temporary buffer.
2407         (org-agenda-add-entry-text): New function.
2408         (org-write-agenda): Implement PDF export, using ps2pdf.
2410         * org.el (org-global-properties-fixed, org-global-properties):
2411         Improve documentation string.
2413         * org-exp.el (org-export-ascii-links-to-notes): New option.
2414         (org-export-as-ascii): Handle links better.
2415         (org-export-ascii-wrap, org-export-ascii-push-links): New
2416         functions.
2418 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
2420         * org-agenda.el (org-agenda): Make prefix arg optional.
2421         (org-agenda-search-headline-for-time): New option.
2422         (org-format-agenda-item): Honor
2423         `org-agenda-search-headline-for-time'.
2425         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2426         characters.
2428         * org.el (org-self-insert-cluster-for-undo): New option.
2429         (org-self-insert-command): Cluster undo for 20 characters.
2430         (org-self-insert-command-undo-counter): New variable.
2432 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
2434         * org-exp.el (org-export-as-html): Fix problem with closing colone
2435         example.
2437 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
2439         * org-export-latex.el (org-export-as-latex)
2440         (org-export-latex-first-lines): Avoid modification flag when
2441         adding or removing text properties.
2442         (org-export-latex-fontify): Catch error when org-emph-alist has
2443         entries that are not defined for LaTeX export.
2445         * org.el (orgstruct++-mode): New function.
2446         (turn-on-orgstruct++): Call `orgstruct++-mode'.
2447         (org-context-p): Allow detecting item context after the first line
2448         of an item.
2449         (orgstruct-make-binding): Detect if item-body context should be
2450         seen.
2451         (orgstruct-is-++): New variable.
2452         (org-add-planning-info): Catch the case when there is no planning
2453         info yet and the call does not want to add anything, only maybe
2454         tries to remove something.
2455         (org-special-ctrl-a/e): All value to be a cons cell with separate
2456         settings for `C-a. and `C-e'.
2457         (org-beginning-of-line, org-end-of-line): Honor separate values
2458         for `C-a' and `C-e'.
2460 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
2462         * org.el (org-reload): New command.
2464 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
2466         * org-exp.el (org-export-htm-get-tag-class-name)
2467         (org-export-htm-get-todo-kwd-class-name): New functions.
2468         (org-export-html-tag-class-prefix)
2469         (org-export-html-todo-kwd-class-prefix): New options.
2470         (org-export-as-html): Call
2471         `org-export-html-get-todo-kwd-class-name'.
2472         (org-html-level-start): Wrap tags into classes.
2473         (org-export-html-get-tag-class-name)
2474         (org-export-html-get-todo-kwd-class-name): New functions.
2476         * org-export-latex.el (org-export-latex-collect-header-macros):
2477         Remove fields that are used anyway.
2478         (org-export-latex-make-header): Insert the options earlier.
2480         * org-agenda.el (org-agenda-get-progress): Fix bug with state
2481         matching.
2483         * org-list.el (org-indent-item): Allow point to be at the end of
2484         the region.
2486         * org.el (org-metaleft, org-metaright): Be more accurate about
2487         detecting a region where commands apply.
2489         * org-compat.el (org-cursor-to-region-beginning): New function.
2491         * org.el (org-priority): Also find invisible heading.
2493         * org-colview-xemacs.el (org-columns-edit-value): No special
2494         treatment for `org-todo' prefix.
2496         * org-colview.el (org-columns-edit-value): No special treatment
2497         for `org-todo' prefix.
2499         * org-remember.el (org-remember-apply-template): Use
2500         `org-completing-read-no-ido'.
2502         * org.el (org-completing-read-no-ido): New function.
2503         (org-make-tags-matcher, org-set-property): Use
2504         `org-completing-read-no-ido'.
2506         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2507         New option.
2508         (org-export-as-latex): Import in-buffer settings as TeX macros.
2509         (org-export-latex-make-header): Additional parameter OPT-DEFS.
2510         (org-export-latex-collect-header-macros): New function.
2512         * org.el (org-refile-get-location): Turn off
2513         `partial-completion-mode'.
2515 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
2517         * org.el (org-block-todo-from-checkboxes): Announce that
2518         checkboxes are the culprit.
2519         (org-block-todo-from-children-or-siblings): Call
2520         `org-up-heading-all instead' of `outline-up-heading'.
2522         * org-agenda.el (org-agenda-show-1): Renamed from
2523         `org-agenda-show'.
2524         (org-agenda-show): Re-install the old version for now.
2525         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
2526         variable into the blokker hook, so that the checkbox checker can
2527         anounce that it caused the blocking.
2529         * org.el (org-track-ordered-property-with-tag): New option.
2530         (org-toggle-ordered-property): Honor
2531         `org-track-ordered-property-with-tag'.
2532         (org-tag-alist): Add newline options.
2533         (org-set-regexps-and-options): Separate option lines imply a
2534         newline.
2535         (org-set-regexps-and-options, org-assign-fast-keys)
2536         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2537         option.
2538         (org-indent-line-function): Make sure this works even if there is
2539         not `org-drawer-regexp' defined.  This can happen when
2540         orgstruct-mode is used in a non-org buffer.
2542         * org-list.el (org-checkbox-blocked-p): New function.
2543         (org-toggle-checkbox): Check for blocking.
2545         * org.el (org-modules): Add an entry for org-R.el.
2547         * org-agenda.el (org-agenda-todo-ignore-with-date)
2548         (org-agenda-todo-ignore-scheduled)
2549         (org-agenda-todo-ignore-deadlines): Mention the variable
2550         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2552         * org.el (org-get-wdays): Find the warning period also if it is in
2553         the wrong place.
2554         (org-ido-completing-read): Provide the correct arguments to
2555         ido-completing-read and bind `ido-enter-matching-directory' to
2556         nil.
2558 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org.el (org-olpath-completing-read): Never use ido for this
2561         one.
2563         * org-exp.el (org-export-normalize-links): Use new macro.
2565         * org-macs.el (org-if-unprotected-at): New macro.
2567         * org-agenda.el (org-agenda-show): Allow numerical prefix
2568         arguments to specify how much context should be shown.
2569         (org-agenda-cycle-show): New command, could be bound to SPC in
2570         org-agenda-mode-map.
2572         * org-exp.el (org-html-level-start): Space after section number.
2574 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2576         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2577         property, for sorting.
2578         (org-cmp-todo-state): Get the applicable TODO keywords directly
2579         from the buffer.
2580         (org-run-agenda-series, org-agenda-list, org-search-view)
2581         (org-todo-list, org-tags-view): Only fit agenda window when the
2582         whole series is done.
2584         * org.el (org-scan-tags): Add todo state as property, for sorting.
2586         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2587         `org-agenda-overriding-header' as an option.
2588         (org-agenda-list): Honor org-agenda-overriding-header'.
2590 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2592         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2593         after removing a checkbox.
2595         * org.el (org-show-entry): Make this work correctly also if it is
2596         the last entry in the file.
2597         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2598         falling back to normal, default command.
2599         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2600         item, call the checkbox toggler to get a box.
2602         * org-list.el (org-toggle-checkbox): Make double prefix set the
2603         checkbox to "[-]".
2604         (org-fix-bullet-type): Only replace bullet if it is changed.
2605         (org-renumber-ordered-list): Handle case when first item does not
2606         have a number.
2608         * org.el (org-add-log-setup): Fix positioning when
2609         `org-log-states-order-reversed' is nil.
2611         * org-clock.el (org-clock-in): Fix positioning when
2612         `org-log-states-order-reversed' is nil.
2613         (org-clock-find-position): Fix positioning when
2614         `org-log-states-order-reversed' is nil.
2616 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2618         * org-clock.el (org-clock-into-drawer): Take default from
2619         `org-log-into-drawer'.
2620         (org-clock-find-position): Look for the correct drawer.
2622         * org.el (org-log-into-drawer): Renamed from
2623         `org-log-state-notes-into-drawer'.
2624         (org-log-state-notes-into-drawer): New variable alias.
2625         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2626         CLOCK.
2627         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2629 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2631         * org-agenda.el (org-agenda): Fix docstring.
2633         * org.el ("org-plot"): Help loading org-plot.
2634         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2635         (org-metadown-hook, org-shiftmetaleft-hook)
2636         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2637         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2638         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2639         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2640         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2642         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2643         for selecting files with any (and even without) extension.
2645         * org.el (org-save-all-org-buffers): Also save id locations.
2646         (org-revert-all-org-buffers): Also load id locations.
2648 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2649         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2650         (org-log-state-notes-into-drawer): New option.
2651         (org-add-log-setup): Place the sate note marker into the drawer,
2652         create drawer when necessary.
2653         (org-refile-targets): Document special interpretation of LEVEL
2654         when odd-levels are used.
2656 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2658         * org.el (org-store-log-note): Fix note indentation when adding
2659         notes to end of list.
2661         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2662         class, so that each keyword can get special colors through CSS.
2664         * org-clock.el (org-clock-out): Add another nil for the previous
2665         state into the call to `org-add-log-setup'.
2667         * org.el (org-log-note-previous-state): New variable.
2668         (org-log-note-headings): New %S escape for old state.
2669         (org-todo): Call the note setup with the old state as an
2670         argument.
2671         (org-add-note): Add another nil for the previous state into the
2672         call to `org-add-log-setup'.
2673         (org-add-log-setup): New argument PREV-STATE.
2674         (org-add-log-note): Handle new %S escape.
2675         (org-store-log-note): Handle new %S escape.
2677 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2679         * org-clock.el (org-clock-find-position): Do not swallow an item
2680         less indented than the CLOCK line itself.
2681         (org-clock-in): Push markers to lin after the clock line.
2682         (org-clock-find-position): Handle values of
2683         `org-clock-into-drawer' smaller than 2.
2685         * org-exp.el (org-html-level-start): Add a CSS class to section
2686         numbers.
2687         (org-export-html-toplevel-hlevel): Better documentation of the
2688         influence of this variables on H levels and css classes in
2689         export.
2691 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2694         timestamp and nottimestamp to the chooe menu.
2696         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2697         (org-revert-all-org-buffers): New command.
2699 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2701         * org.el (org-return): Implement `org-return-follows-link' in the
2702         function org-return.  This is more robust than using the mouse
2703         map, I think.
2704         (org-set-regexps-and-options): Match more general #+TODO lines.
2705         (org-make-options-regexp): New optional argument EXTRA, for an
2706         extra regexp.
2707         (org-tab-follows-link): Mark as deprecated.
2709 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2711         * org-exp.el (org-export-preprocess-string): Remove clock lines
2712         earlier, so that they cannot cotribute to verbatim snippets.
2714 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2716         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2717         for finding drawers.
2718         (org-export-as-ascii, org-export-as-html): Count levels relative
2719         to the subtree header.
2720         (org-get-min-level): New optional argument OFFSET.
2721         (org-export): Make sure point is restored after popping up that
2722         window.
2724         * org.el (org-do-sort): Also take an inactive timestamp if no
2725         active one is found.
2727         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2728         deleting duplicates.
2730         * org-colview.el (org-columns-capture-view): Copy before
2731         deleting duplicates.
2733         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2734         text before first headline.
2736         * org.el (org-format-latex): Do not convert LaTeX fragments in
2737         protected examples.
2739 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2741         * org-exp.el (org-export-html-style-default): Use color values
2742         instead of names for XHTML validation.
2744         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2745         functions.
2746         (org-return-follows-link): Revert making this the default untile
2747         issues are resolved.
2749         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2750         nottimestamp.
2752 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org.el (org-mode): Make dependence stuff work more reliably.
2755         (org-update-parent-todo-statistics): Fix bug with updating
2756         statistics cookie.
2758         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2759         ~ as verbatim delimiters.
2761         * org-exp.el (org-export-html-format-image): New argument
2762         PAR-OPEN.
2763         (org-export-as-html): Pass par-open to
2764         `org-export-html-format-image'.
2766 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2768         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2769         (org-use-fast-todo-selection, org-tags-column): New default
2770         setting for variables, based on a poll what typical uses use.
2772         * org-agenda.el (org-agenda-sorting-strategy)
2773         (org-agenda-tags-column): New default setting for variables, based
2774         on a poll what typical uses use.
2776 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2778         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2779         blocked entries from setting the blocked tag.
2781         * org-exp.el (org-export-html-footnotes-section): Use a more
2782         consistent id for footnotes.
2784         * org-export-latex.el (org-export-latex-classes): Remove the
2785         a4paper option from the default styles.
2787 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2789         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2790         (org-block-todo-from-checkboxes): New function.
2791         (org-todo): Make tripple prefix arg circumvent blocking.
2793         * org-timer.el (org-timer): Provide the timer feature.
2795         * org.el (org-require-autoloaded-modules): Add a few more files to
2796         the list of autoloaded modules.
2798         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2800 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2802         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2803         drawers that are unprotected.
2804         (org-export-html-format-image): Make sure inlined LaTeX fragment
2805         images remain inlined.
2807         * org.el (org-toggle-ordered-property): New function.
2808         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2809         (org-org-menu): Add menu entries for TODO dependencies.
2811 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2813         * org.el (org-default-properties): Add ORDERED to the default
2814         properties, to get completion support for it.
2816         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2818         * org.el (org-update-parent-todo-statistics): Update more than one
2819         cookie.
2821         * org-agenda.el (org-agenda-get-todos): Start search from correct
2822         position.
2824         * org.el (org-fast-todo-selection): Make sure TODO selection does
2825         not change buffer position.
2827         * org-list.el (org-toggle-checkbox): Implement adding or removing
2828         checkboxes from line or region when called with a prefix
2829         argument.
2831         * org-rmail.el (org-rmail-store-link): Protect the call to
2832         `rmail-narrow-to-non-pruned-header'.
2834         * org-clock.el (org-clock-special-range): Fix week display in
2835         clock tables.
2837         * org-exp.el (org-get-current-options): Fix bug when in indirect
2838         buffer.
2840 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2842         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2843         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2844         (org-agenda-dim-blocked-tasks): New function.
2846         * org.el (org-enforce-todo-dependencies): New option.
2847         (org-block-todo-from-children-or-siblings): New function.
2849         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2851         * org.el (org-todo): Return correct state type even if the blocker
2852         throws an error.
2853         (org-modifier-cursor-error): Renamed from
2854         `org-shiftcursor-error'.
2855         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2856         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2858         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2859         to get real errors from the blocker hook.
2861         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2862         functions.
2863         (org-set-visibility-according-to-property): Turn off the setting
2864         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2865         property.
2867 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2869         * org.el (org-support-shift-select): New option.
2870         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2871         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2872         selection outside contexts.
2874         * org-list.el (org-at-item-bullet-p): New function.
2876         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2877         variables.
2879         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2880         variable.
2881         (org-insert-footnote-reference-near-definition): Remove
2882         unnecessary let form.
2884         * org-export-latex.el (org-export-latex-first-lines): Add
2885         OPT-PLIST parameter.
2886         (org-export-as-latex): Call `org-export-latex-first-lines' with
2887         opt-plits parameter.
2888         (org-export-latex-preprocess): Remove unnecessary variables.
2890         * org-exp.el (org-infile-export-plist)
2891         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2892         (org-export-remove-headline-metadata)
2893         (org-export-get-title-from-subtree, org-get-min-level)
2894         (org-html-do-expand): Remove innecessary let form.
2896         * org-colview-xemacs.el (org-columns-display-here): Remove
2897         unnecessary variables.
2899         * org-colview.el (org-columns-display-here): Remove unnecessary
2900         variables.
2902         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2903         variables.
2905         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2906         unnecessary variables.
2908         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2909         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2910         variables.
2912         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2913         (org-compact-display-after-subtree-move): Remove unnecessary
2914         variables.
2915         (org-edit-fixed-width-region): Remove unnecessary variables.
2916         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2917         (org-olpath-completing-read): Remove unnecessary variable.
2918         (org-auto-repeat-maybe): Remove unnecessary variable.
2919         (org-map-entries): Remove unnecessary variable.
2920         (org-buffer-property-keys, org-imenu-get-tree)
2921         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2923 -----------------------------------------------------------------
2925 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2926         * org-exp.el (org-export-remove-timestamps): Never remove
2927         timestamps from tables.
2929         * org-export-latex.el (org-export-latex-first-lines): Add more
2930         options to the preprocessing of the text before the first
2931         headline.
2933 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
2935         * org-faces.el (org-clock-overlay): Make face compatible with
2936         XEmacs.
2938         * org.el (org-yank): Add property for delete-selection mode.
2940         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2942         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2943         variable.
2945         * org-table.el (org-table-insert-hline): Fix typo in fuction call
2946         to `backward-char'.
2948         * org-exp.el (org-export-as-html): Remove the initial space from
2949         colon examples.
2951         * org.el (org-scan-tags): Call
2952         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2954         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2955         customization groups.
2956         (org-agenda-tags-todo-honor-ignore-options): New option.
2957         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2958         New function.
2959         (org-agenda-get-todos): Use
2960         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2962 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
2964         * org-exp.el (org-export-format-source-code-or-example): Escape
2965         HTML characters also in examples that anre not treated with
2966         htmlize.  Also, just switch to EXAMPLE processing if we do not
2967         have a good version of htmlize.
2969         * org-rmail.el: Fix copyright notice.
2971         * org.el (org-activate-footnote-links): Improve footnote link
2972         highlighting.
2974         * org-footnote.el (org-footnote-normalize): Fix finding the end of
2975         a footnote definition at the end of the file.
2977         * org-table.el (org-table-get-specials): Add an imagined hline at
2978         the end of the table.  This can be useful for references that want
2979         to go to the end of the table.  Also fix bug when computing last
2980         row constants, in tables that do not start right at the right
2981         margin.
2982         (org-table-eval-formula): Match and replace remove references.
2983         (org-table-formula-substitute-names): Make sure that names inside
2984         a "remote" call are left alone, the will be replaced later when
2985         the remote call is handled.
2986         (org-table-convert-refs-to-rc): Do not convert things that might
2987         look like a reference, but are really part of an ID or namei n a
2988         remote reference.
2989         (org-table-get-remote-range): New function.
2991 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
2993         * org-faces.el (org-clock-overlay): Fix bug in face definition.
2995         * org-clock.el (org-clock-put-overlay): Use new face instead of
2996         `secondary-selection'.
2998         * org-faces.el (org-clock-overlay): New face.
3000 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3002         * org-exp.el (org-get-current-options): Include the option for
3003         publishing time stamps.
3005         * org.el (org-toggle-heading): Renamed from
3006         `org-toggel-region-headings'.
3007         No longer needs a region defined, but will use it if there is one.
3008         (org-ctrl-c-star): Simplified, relying more on the internal
3009         workings of `org-toggle-heading'.
3010         (org-toggle-item): Renamed from `org-toggle-region-items'.
3011         No longer needs a region defined, but will use it if there is one.
3012         (org-ctrl-c-minus): Simplified, relying more on the inernal
3013         workings of `org-toggle-item'.
3015         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3016         environment detection.  Also, do real changes only in unprotected
3017         places.
3019 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3021         * org-export-latex.el (org-export-latex-quotation-marks): Use
3022         `org-if-unprotected-1'.
3023         (org-export-latex-set-initial-vars): Check for class definition in
3024         property.
3026         * org-macs.el (org-if-unprotected-1): New macro.
3028 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3030         * org-compat.el (org-count-lines): New function.
3032         * org-exp.el (org-export-format-source-code-or-example): Handle
3033         switches related to text areas.
3035         * org.el (org-activate-footnote-links): Don't allow match inside a
3036         link.
3038         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3040         * org-export-latex.el (org-export-latex-links): Keep a relative
3041         path relative also after export.
3043         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3045         * org.el (org-make-tags-matcher): Never use IDO for completing the
3046         tags matcher match string.
3047         (org-completing-read): Also remove the special biding for "?".
3049         * org-attach.el (org-attach-allow-inheritance): New option.
3050         (org-attach-inherited): New variable.
3051         (org-attach-dir): Handle properties related to the attachment
3052         directory.
3053         (org-attach-check-absolute-path): New function.
3054         (org-attach-set-directory, org-attach-set-inherit): New commands.
3055         (org-attach): Accommodate the new commands in the dispatcher.
3057 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3059         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3060         `window-full-width-p'.
3062         * org-exp.el (org-export-as-html): Only check for images files
3063         that really can be inlined
3065         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3066         list of extensions to be a parameter.
3068         * org-exp.el (org-export-html-inline-image-extensions): New
3069         variable.
3071         * org-agenda.el (org-prepare-agenda): Use
3072         `org-agenda-block-separator'.
3073         (org-agenda-block-separator): New option.
3075 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3077         * org-export-latex.el (org-export-latex-tables): Call
3078         `org-table-clean-before-export' with the new optional argument.
3080         * org-exp.el (org-table-clean-before-export): New optional
3081         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3082         first column.
3084 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3086         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3087         histograms.
3089         * org-colview.el (org-colview-construct-allowed-dates): Better
3090         error catching when a date/time property does not have allowed
3091         values defined.
3093         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3094         Better error catching when a date/time property does not have
3095         allowed values defined.
3097 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3099         * org.el (org-map-entries): Restore point and restriction after
3100         `org-map-entries'.
3102 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3104         * org.el (org-time=, org-time<, org-time<=, org-time>)
3105         (org-time>=, org-time<>): Make sure both values are dates.
3107 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3109         * org-archive.el (org-extract-archive-heading): Allow %s for file
3110         name also in achive location heading.
3112 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3114         * org-archive.el (org-add-archive-files): Uniquify the list before
3115         returning it.
3117 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3119         * org-compat.el (org-fit-window-to-buffer): Use
3120         `window-full-width-p'.
3122         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3123         space after the colon in short examples.
3125         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3126         enforce a space after the colon.  However, we also allow lines
3127         that are *only* a colon.
3128         (org-export-as-html): Enforce the space after the colon in short
3129         examples.
3130         (org-export-preprocess-string): Do the colon example protection
3131         earlier.
3132         (org-export-remove-timestamps): Do not check for protection at the
3133         end of the line.
3135 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
3137         * org.el (org-format-latex-options): Add new matcher for single
3138         letters between dollars.
3139         (org-get-header): Function removed.
3140         (org-heading-components): New function.
3142         * org-exp.el (org-export-define-heading-targets): Record ID's also
3143         as alternative targets.
3144         (org-export-as-html): Interpret "id:" links to other files by
3145         preserving the relative path.
3147         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3148         is nil.
3150         * org-exp.el (org-export-normalize-links): Protect the main link,
3151         to avoid special character processing.
3153         * org-export-latex.el (org-export-latex-special-keyword-regexp):
3154         New variable.
3155         (org-export-latex-special-string-regexps): Variable removed.
3156         (org-export-latex-keywords): Use the new regexp.
3158         * org-exp.el (org-export-handle-include-files): Fetch switches and
3159         put them into the BEGIN statement.
3161         * org-timer.el (org-timer-mode-line-string): New variable.
3163         * org-clock.el (org-clock-mode-line-map): Renamed from
3164         `org-clock-mode-map'.
3165         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3166         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3167         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3168         (org-clock-remove-overlays): Renamed from
3169         `org-remove-clock-overlays'.
3171         * org-timer.el (org-timer-pause-or-continue): Implement stopping
3172         and mode line display.
3173         (org-timer-stop): New command.
3174         (org-timer-seconds): Return correct time when timer is paused.
3175         (org-timer-mode-line-timer): New variable.
3176         (org-timer-set-mode-line, org-timer-update-mode-line): New
3177         functions.
3179         * org.el (org-insert-heading):  Handle new value `auto' for
3180         `org-blank-before-new-entry'.
3181         (org-org-menu): Add new items for timer functions.
3183         * org-list.el (org-insert-item): Handle new value `auto' for
3184         `org-blank-before-new-entry'.
3186         * org.el (org-blank-before-new-entry): New value `auto', made
3187         default.
3189 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
3191         * org-exp.el (org-export-normalize-links): If the link is also
3192         used as the description, protect the description.
3194 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org.el (org-closest-date): Fix bug with yearly repeats, in
3197         combination with preference of the past as it is used for deadline
3198         and scheduling search.
3200         * org-exp.el (org-html-handle-time-stamps): No longer check for
3201         the `org-export-with-timestamps' option, because the preprocesser
3202         has taken care of this already.
3204         * org.el (org-entry-properties): Catch the case when this is
3205         called in a non-org-mode file.
3207         * org-export-latex.el (org-export-latex-remove-from-headlines):
3208         Variable made obsolete, also LaTeX export now uses the standard
3209         variables.
3210         (org-export-as-latex): Add the timestamps parameter to the
3211         preprocessor parameter list.
3212         (org-export-latex-content): Export the remaining keywords without
3213         considering to remove them.
3214         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3215         Use bold font instead of tt font for the keywords.
3216         (org-export-latex-fontify-headline): Format headlines, assuming
3217         that all keywords still present should be published.
3218         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3219         publish what ever remains of the time stamps.
3220         (org-export-latex-list-parameters): New option.
3221         (org-export-latex-lists): Pass additional parameters to the list
3222         converter.
3224         * org-exp.el (org-export-preprocess-string): Remove clock lines
3225         and timestamps already in the preprocesor.
3226         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3227         functions.
3228         (org-export-as-ascii, org-export-as-html): Add the timestamps
3229         parameter to the preprocessor parameter list.
3231         * org-list.el (org-list-parse-list): Parse for checkboxes.
3232         (org-list-to-generic): Introduce and handle new parameters :cbon
3233         and :cboff.
3234         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3235         optional parameter PARAMS.
3237         * org-export-latex.el (org-export-latex-special-chars): Fix
3238         problems with interpreting dollar signs.
3239         (org-inside-latex-math-p): New function.
3240         (org-export-latex-preprocess): Protect all the math fragments.
3242         * org.el (org-latex-regexps): Allow a dash after a dollar.
3244         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3245         mark after copying.
3247         * org-agenda.el (org-run-agenda-series): Have series options set
3248         when finalizing the agenda.
3250         * org-exp.el (org-export-format-source-code-or-example): Protect
3251         the converted examples.
3253         * org.el (org-set-regexps-and-options): Fix the regexp
3254         `org-complex-heading-regexp'.
3256 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3258         * org.el (org-edit-src-get-label-format): New function.
3259         (org-coderef-label-format): New option.
3260         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3261         a label format specification and make sure it is used in the edit
3262         buffer.
3263         (org-edit-src-get-label-format): New function.
3264         (org-store-link): Handle new coderef formats.
3265         (org-link-search): Handle new coderef formats.
3267         * org-footnote.el (org-footnote-create-definition)
3268         (org-footnote-goto-local-insertion-point): Make footnote insertion
3269         work correctly when the "Footnotes" headline is the last line in
3270         the buffer.
3272         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3273         the location.
3275 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3277         * org-w3m.el (org-w3m): New customization group.
3278         (org-w3m-deactivate-mark): New option.
3279         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3280         option say not to.
3282 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3284         * org.el (org-set-font-lock-defaults): Trigger footnote
3285         fontification.
3286         (org-activate-footnote-links): New function.
3287         (org-activate-links): New entry `footnote'.
3289         * org-faces.el (org-footnote): New face.
3291 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3293         * org-macs.el (org-re): Handle the [:word:] class.
3295         * org-exp.el (org-export-preprocess-string): Call
3296         `org-export-protect-colon-examples'.
3297         (org-export-protect-colon-examples): Renamed from
3298         `org-export-protect-examples', and scope limited to lines starting
3299         with a colon.
3301 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3303         * org-exp.el (org-export-preprocess-string): Move the preprocess
3304         hook to after turning on Org-mode.
3305         (org-export-preprocess-after-include-files-hook)
3306         (org-export-preprocess-after-tree-selection-hook)
3307         (org-export-preprocess-before-backend-specifics-hook)
3308         (org-export-preprocess-final-hook): New hooks.
3309         (org-export-preprocess-string): Run the new hooks.
3311         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3313         * org-footnote.el: New file.
3315         * org.el (org-footnote): Require footnote code.
3316         (org-startup-options): Add new footnote options.
3317         (org-mode-map): New keybindig for footnotes.
3318         (org-ctrl-c-ctrl-c): Add function at footnotes.
3319         (org-org-menu): New menu entries for footnotes.
3321         * org-export-latex.el (org-export-as-latex): Pass footnote
3322         variable to preprocessor.
3323         (org-export-latex-preprocess): Treat multiple references to a
3324         footnote.
3326         * org-exp.el (org-export-preprocess-string): Call
3327         `org-footnote-normalize'.
3328         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3329         to preprocessor.
3330         (org-export-as-html): Treat multiple references to a footnote.
3332 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3334         * org-export-latex.el (org-export-latex-links): Handle coderef
3335         links.
3337         * org.el (org-bracket-link-analytic-regexp++): New variable.
3338         (org-make-link-regexps): Initialize
3339         `org-bracket-link-analytic-regexp++'.
3340         (org-store-link): Implement special case in edit-src buffer.
3341         (org-insert-link): No use of ide to insert stored links.
3342         (org-link-search): Implement special case for coderefs.
3344         * org-exp.el (org-export-html-scripts): New constant.
3345         (org-export-html-style-default): Add a new style for highlighted
3346         code.
3347         (org-export-code-refs): New variable.
3348         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3349         Call `org-export-replace-src-segments-and-examples'
3350         No longer call `org-export-protect-examples'.
3351         (org-export-target-internal-links): Take care of coderef targets.
3352         (org-export-last-code-line-counter-value): New variable.
3353         (org-export-replace-src-segments-and-examples): Renamed from
3354         `org-export-replace-src-segments', and modified.
3355         (org-export-format-source-code-or-example): Renamed from
3356         `org-export-format-source-code'.
3357         (org-export-number-lines): New function.
3358         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3360 --------------------------------------------------------------------------
3362 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3364         * org-remember.el (org-remember-handler): Safer way to get a new
3365         buffer accessing the target file.
3367         * org.el (org-refile-get-location): Handle case of current buffer
3368         not having a file associated with it.
3370 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3372         * org-table.el (org-table-get-formula): Only ask to overwrite
3373         field formula if there really is one.
3375         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3376         number, by converting these to a string.
3378         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3379         located in a different file.
3381         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3382         org-colview.el.
3384 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org.el (org-completion-use-ido): Enhance docstring of
3387         `org-completion-use-ido'.
3389         * org-export-latex.el (org-export-latex-make-header): Double the %
3390         in the time stamp format.
3391         (org-export-latex-special-chars): Handle case where there is no
3392         match group 3.
3394 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3396         * org.el (org-get-refile-targets, org-refile-get-location): Use
3397         expanded file name to improve comparison.
3399 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org.el (org-scan-tags): Rescan for tags, to get the correct
3402         upcase/downcase stuff.  This slows things down for now, but it
3403         works.
3404         (org-mode): Make sure the tag-faces regexp is initialized.
3406         * org-export-latex.el (org-export-latex-links): Fix bug with
3407         undefined label.
3409         * org-table.el (org-table-get-specials): Set
3410         `org-table-current-last-data-line'.
3411         (org-table-current-last-data-line): New variable.
3412         (org-table-insert-column, org-table-delete-column)
3413         (org-table-move-column, org-table-fix-formulas): Call
3414         `org-table-fix-formulas' a second time to fix the $LR references.
3415         (org-table-get-specials): Add the $LR references to the tables.
3416         (org-table-get-formula): Do not offer last-row names as LHS of
3417         formulas.
3419         * org.el (org-store-link): Capture link description from
3420         `org-id-store-link'.
3422         * org-exp.el (org-export-html-format-image): Add the / to the end
3423         of the <img> tag.
3424         (org-export-format-source-code): Surround example by empty lines,
3425         to make sure it will not be inside a paragraph.
3427         * org.el (org-ido-switchb): New function.
3429 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
3431         * org-agenda.el (org-agenda-show): New prefix argument
3432         FULL-ENTRY.
3434         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3435         argument.
3437         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3438         `org-agenda-change-all-lines'.
3439         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3440         tags are now retrieved locally.
3442 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
3444         * org.el (org-get-outline-path): Fix bug if level is not given.
3445         (org-org-menu): Do not quote function in menu vector.
3447         * org-agenda.el (org-finalize-agenda): Fix typo with variable
3448         name.
3450 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org.el (org-refile): Avoid refiling to within the region to be
3453         refiled.
3455         * org-export-latex.el (org-export-latex-special-chars): Replace
3456         special characters also in tables.
3458         * org-agenda.el (org-agenda-change-all-lines): New argument
3459         FORCE-TAGS.
3460         (org-agenda-set-tags): Cet the new tags and pass them to
3461         `org-format-agenda-item'.
3463 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org-export-latex.el (org-export-latex-classes): Add longable as
3466         a default package to all classes.
3467         (org-export-latex-tables): Handle the longtable attribute and the
3468         align attribute.
3470         * org-table.el (orgtbl-to-generic): Handle tables that start with
3471         a hline.
3473         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3474         \verb for colde-like snippets.
3475         (org-export-as-latex): Fix issues with region export.
3477         * org.el (org-up-heading-safe): Speed up function by using a
3478         direct regexp search.
3479         (org-olpa): New variable.
3480         (org-get-outline-path): Speed-up path constructions in cases where
3481         this is possible because the entire hierarchy is scanned anyway.
3482         (org-refile-get-location): Don't compare the truenames of files,
3483         this is too slow.
3484         (org-goto-max-level): New option.
3485         (org-goto): Use `org-goto-max-level'.
3487 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
3489         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3490         Strip angle brackets from message-ids in the former and don't do
3491         it in the latter.
3492         (org-gnus-follow-link): Open summary reliable, even if the last
3493         messages were deleted, and handle empty groups, too.
3495 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
3497         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3498         instead of \texttt for the =...= and ~===~ emphasis environments.
3499         (org-export-as-latex): Remove any old :org-license-to-kill text
3500         properties.
3501         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3502         (org-export-latex-make-header): Add some hard space after the
3503         table of contents.
3504         (org-export-latex-first-lines): Accept RBEG argument.  Mark
3505         exported text so that it will be excuded in further steps.
3507         * org-table.el (org-table-get-specials): Make @0 reference the
3508         last line in a table.
3509         (org-table-recalculate): Improve docstring.
3511 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
3513         * org.el (org-log-done): Fix docstring.
3515 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
3517         * org-exp.el (org-export-html-format-image): Fix bugs.
3519         * org-export-latex.el (org-export-latex-tables)
3520         (org-export-latex-links): Implement attribute, label, and caption
3521         handling.
3523         * org-exp.el (org-export-html-style-default): Add style
3524         definitions for the figure div.
3525         (org-export-preprocess-string, org-export-as-html): Implement
3526         attribute, label, and caption handling.
3527         (org-export-attach-captions-and-attributes): New function.
3528         (org-export-html-format-image): New function.
3529         (org-format-org-table-html): Implement attribute, label, and
3530         caption handling.
3532         * org.el (org-find-text-property-in-string): New function.
3533         (org-extract-attributes): Use the property org-attr instead of
3534         org-attrobutes, because this property is now set with the #+ATTR
3535         lines.
3537 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
3539         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3540         the case that FROM is nil.
3542         * org.el (org-before-first-heading-p): New function.
3544 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3546         * org-exp.el (org-export-as-html): Do not add a space before
3547         enforces line breaks.
3548         (org-export-as-html): Close paragraph before blockquote and verse
3549         tags.
3551 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3553         * org-id.el (org-id-locations-file): Wrap file name with
3554         `convert-standard-filename'.
3555         (org-id-files): New variable.
3556         (org-id-use-hash): New option.
3557         (org-id-update-id-locations): Also search in all files current
3558         listed in `org-id-files'.  Convert the resulting alist to a hash
3559         if the user customation says so.
3560         (org-id-locations-save): Handle he case if `org-id-locations' is a
3561         hash.
3562         (org-id-locations-load): Convert the alist to a hash.
3563         (org-id-add-location): Handle the hast case.
3564         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3565         exited.
3566         (org-id-hash-to-alist, org-id-alist-to-hash)
3567         (org-id-paste-tracker): New functions.
3569 -------------------------------------------------------------------------
3571 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3573         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3574         bindings of calendar variables.
3576         * org-table.el (org-table-find-row-type): Renamed from
3577         `org-find-row-type'.
3578         (org-table-rewrite-old-row-references): Renamed from
3579         `org-rewrite-old-row-references'.
3580         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3581         (org-table-cleanup-narrow-column-properties): Renamed from
3582         `org-cleanup-narrow-column-properties'.
3584 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3586         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3587         for better error messages.
3588         (org-table-get-descriptor-line): Supply the new arguments to
3589         `org-find-row-type'.
3590         (org-table-error-on-row-ref-crossing-hline): New option.
3592         * org.el (org-target-link-regexp): Make buffer-local.
3593         (org-move-subtree-down): Fix bug with trees at beginning of
3594         buffer.
3596 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3598         * org-faces.el (org-set-tag-faces): New function.
3599         (org-tags-special-faces-re): New variable.
3601         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3603         * org-faces.el (org-tag-faces): New option.
3604         (org-tag): Mention `org-tag-faces' in the docstring.
3606 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3608         * org-exp.el (org-export-html-style-default): Implement new
3609         quoting.
3611         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3613         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3614         command to the `w3m-minor-mode-map'.
3616         * org-archive.el (org-archive-to-archive-sibling): Protect
3617         `this-command' to avoid appending kills during archiving.
3619         * org-exp.el (org-export-with-priority): New variable.
3620         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3621         instead of internal list of strings and properties.
3622         (org-print-icalendar-entries): Retrieve the location property with
3623         inheritance.
3625 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3627         * org-exp.el (org-export-with-todo-keywords): New option.
3628         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3629         line.
3630         (org-default-export-plist, org-export-add-options-to-plist)
3631         (org-export-as-ascii, org-export-as-html): Use the new structure
3632         of `org-export-plist-vars'.
3634         * org.el (org-map-entries): Return all values.
3636 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3638         * org.el (org-matcher-time): Recognize more special values.
3640         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3642 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3644         * org.el (org-tags-exclude-from-inheritance): New option.
3645         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3646         `org-tags-exclude-from-inheritance'.
3648         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3649         (org-format-agenda-item): Add inherited tags to the agenda line
3650         string, and make sure that properties are kept when downcasing the
3651         tags list.
3652         (org-agenda-add-inherited-tags): New function.
3653         (org-downcase-keep-props): New function.
3655         * org.el (org-scan-tags): Mark inherited tags with a text
3656         property.
3657         (org-get-tags-at): Mark inherited tags with a text property.
3658         (org-add-prop-inherited): New function.
3660         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3661         (org-agenda-show-inherited-tags): New option.
3663 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3665         * org.el (org-modules): Add org-w3m to the default modules.
3667         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3668         orgtbl-mode.
3669         (orgtabl-create-or-convert-from-region): New command.
3671         * org-exp.el (org-export-as-ascii): Remove the handling of
3672         targets.
3673         (org-export-ascii-preprocess): Handle targets already in this
3674         function.
3676 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3678         * org-timer.el (org-timer-start-time): Define this variable.
3679         (org-timer-item): Make argument optional.
3681         * org-list.el (org-insert-item): Automatically insert a timer item
3682         if the current list is a timer list.
3684         * org-timer.el: New file.
3686         * org-publish.el (org-publish-org-index): Only exclude the index
3687         file in the main directory from being added to the site-map.
3688         (org-publish-get-project-from-filename): If the current project is
3689         a component, start publishing from the parent project.
3691 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3693         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3695         * org-publish.el (org-publish-org-index): Improve removal of
3696         temporary buffers.
3698         * org-agenda.el (org-get-closed): Re-apply changes
3699         accidentially overwritten by last commit to Emacs.
3701         * org.el (org-outline-path-complete-in-steps): New option.
3702         (org-refile-get-location): Honor
3703         `org-outline-path-complete-in-steps'.
3704         (org-agenda-change-all-lines, org-tags-sparse-tree)
3705         (org-time-string-to-absolute, org-small-year-to-year)
3706         (org-link-escape): Re-apply changes accidentially overwritten
3707         by last commit to Emacs.
3709 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3711         * org-clock.el (org-dblock-write:clocktable): Make sure the
3712         clocktable sees the first line.
3713         (org-clock-in): Warn if the clock cannot be resumed.
3715 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3717         * org.el (org-open-at-point): Fix mixup about interactive and
3718         non-interactive elisp links.
3720 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3722         * org-exp.el (org-export-preprocess-string): Allow one comment
3723         line before the first headline to always be included.  This is
3724         to not miss a commented target.
3726         * org-mouse.el (org-mouse-insert-item): Call
3727         `org-indent-to-column' instead of `indent-to', for XEmacs
3728         compatibility.
3730         * org.el (org-refile-targets): Fix customize definition so
3731         that it works also in XEmacs.
3732         (org-fixup-indentation): Call `org-indent-to-column' instead
3733         of `indent-to', for XEmacs compatibility.
3735 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3737         * org-mew.el (org-mew-store-link): Get the correct case folder
3738         for refiled messages.
3740 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3742         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3743         line break indicators.
3745         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3746         ido-completion propts.
3748 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3750         * org-remember.el (org-remember-apply-template): Use
3751         `org-substring-no-properties'.
3753         * org-compat.el (org-substring-no-properties): New function.
3755         * org-remember.el (org-remember-apply-template): Use
3756         `org-substring-no-properties' for compatibility.
3758         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3759         option.
3760         (org-fix-bullet-type): respect
3761         `org-list-two-spaces-after-bullet-regexp'.
3763         * org-clock.el (org-clock-load): Clean up the code.
3765         * org.el (org-adaptive-fill-function): Allow two spaces after
3766         "1." as a list bullet.
3768 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3770         * org-clock.el (org-clock-save, org-clock-load): Check for
3771         live buffers, existing files, and buffer file names to ensure
3772         consistent information.
3773         (org-clock-persist): Make `clock' a special value of this
3774         variable, and improve docstring.
3776         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3777         (org-get-string-indentation): Adapt indentation when the bullet
3778         width changes.
3780 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3782         * org-remember.el (org-remember-finalize): Make interactive.
3783         (org-remember-kill): New command.
3784         (org-remember-finish-immediately): Call `org-remember-finalize'
3785         directly.
3786         (org-remember-finalize): Make `org-remember-finalize' an interactive
3787         function.
3789 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3791         * org-remember.el (org-remember-apply-template): No ido completion
3792         for free prompts in remember templates.
3793         (org-remember-before-finalize-hook): New hook.
3794         (org-remember-mode): New minor mode.
3795         (org-remember-apply-template): Turn on `org-remember-mode'.
3797         * org-id.el (org-id-add-location): Avoid error when no file is
3798         given.
3800         * org-remember.el (org-remember-apply-template): Fix the way how
3801         the list of allowed properties is retrieved from the target file.
3803         * org.el (org-insert-link): Improve file link matching.
3805 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3807         * org-colview.el (org-columns-display-here): New argument
3808         DATELINE, to trigger using the new face.
3809         (org-agenda-colview-summarize): Call `org-columns-display-here'
3810         with the new argument.
3812         * org-faces.el (org-agenda-column-dateline): New face.
3814         * org-publish.el (org-publish-org-index): Use index-title at page
3815         title, not as section.
3817         * org-exp.el (org-export-html-format-desc): Respect the
3818         org-protect property.
3819         (org-export-as-html): Protect image specifiers that are in the
3820         description part of a link.
3822         * org.el (org-sort-entries-or-items, org-completing-read)
3823         (org-refile-get-location, org-olpath-completing-read, org-todo)
3824         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3825         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3826         (org-set-property, org-delete-property)
3827         (org-delete-property-globally): Use `org-ido-completing-read'.
3829         * org-remember.el (org-remember-apply-template): Use
3830         `org-ido-completing-read'.
3832         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3834         * org-colview.el (org-columns-edit-value, org-columns-new)
3835         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3837         * org-colview-xemacs.el (org-columns-edit-value)
3838         (org-columns-new, org-insert-columns-dblock): Use
3839         `org-ido-completing-read'.
3841         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3842         `org-ido-completing-read'.
3844         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3845         `org-ido-completing-read'.
3847         * org.el (org-time-today): New function.
3848         (org-matcher-time): Use `org-time-today'.  Add special treatment
3849         for "<tomorrow>" and "<yesterday>".
3850         (org-ido-completing-read): New function.
3851         (org-completion-use-ido): New option.
3853         * org-exp.el (org-export-format-source-code): Fix bug in require
3854         htmlize code.
3855         (org-export-target-internal-links): Fix bug in search for text
3856         property.
3858 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3860         * org-export-latex.el (org-export-latex-subcontent): Interprete
3861         target aliases as additonal labels.
3863         * org-exp.el (org-export-target-aliases): New variable.
3864         (org-export-preprocess-string)
3865         (org-export-handle-invisible-targets): Fill the alias alist.
3866         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3867         assign an id.
3868         (org-html-level-start): Insert the target aliases as additonal
3869         anchors.
3871         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3872         picture area.
3874 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3876         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3877         when following a link with the mouse from the agenda.
3879         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3880         headlines are created.
3882 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3884         * org-exp.el (org-export-preprocess-string): Reorder so that we
3885         can still see ID properties when we collect targets.
3886         (org-export-target-internal-links): Also store targets for ID's.
3888         * org.el (org-link-translation-function): New option.
3889         (org-open-at-point): Call `org-link-translation-function' if
3890         non-nil.
3891         (org-translate-link): New function.
3892         (org-translate-link-from-planner): New function.
3893         (org-open-at-point): Allow interactive commands in elisp links.
3895         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3896         iCalendar quoting.  The new one seems to caus problems with
3897         applications.
3899         * org.el (org-yank): Set `this-command' to `yank', so that
3900         `yank-pop' will work.
3902 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3904         * org-id.el (org-id-search-archives): New option.
3906         * org.el (org-link-to-org-use-id): New option.
3907         (org-store-link): Use `org-link-to-org-use-id'.
3908         (org-id): Make org-id.el a standard component.
3910 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3912         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3913         hexified version of the tag.
3915         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3916         compliance as far as quoting is concerned.
3918         * org-vm.el (org-vm-follow-link): Require `vm-search'.
3920         * org.el (org-up-heading-safe, org-forward-same-level): Always
3921         call `org-back-to-heading' instead of `outline-back-to-heading'.
3922         (org-back-to-heading): New wrapper around outline-back-to-heading,
3923         with a useful error message telling where the error happened.
3925         * org-list.el (org-update-checkbox-count): Always call
3926         `org-back-to-heading' instead of `outline-back-to-heading'.
3928         * org-exp.el (org-export-as-html): Make sure that each <img> tag
3929         has an `alt' attribute, to ensure XHTML validation.
3931 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3933         * org-publish.el (org-publish-attachment): Allow publishing to
3934         overwrite attachment files.
3936         * org-agenda.el (org-agenda-timerange-leaders): New option.
3937         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3939         * org.el (org-edit-src-exit): Untabify ASCII image before
3940         returning.
3953 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
3955         * org.el (org-yank): Make any prefix force normal yanking.
3956         Suppress folding if text would be swallowed into a folded
3957         subtree.
3958         (org-yank-folded-subtrees, org-yank): Docstring updates.
3960         * org-agenda.el (org-agenda-compare-effort): Treat no effort
3961         defined as 0.
3963         * org-exp.el (org-export-language-setup): Add Catalan and
3964         Esperanto language entries.
3966 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
3968         * org.el (org-refile): Allow refiling of entire regions.
3970         * org-clock.el (org-clock-time%): New function.
3972         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3973         retrieve property values.
3975 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3977         * org-agenda.el (org-agenda-list): Handle the value `only' of
3978         org-agenda-show-log'.
3979         (org-agenda-log-mode): Interpret a double prefix arg.
3981 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
3983         * org-exp.el (org-export-html-footnotes-section): New variable.
3984         (org-export-as-html): Use `org-export-html-footnotes-section' to
3985         insert the footnotes.
3986         (org-export-language-setup): Add "Footnotes" to language words.
3988 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
3990         * org.el (org-yank): Fix bug when not inserting a subtree.
3992 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
3994         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3995         instead of `vm-beginning-of-message'.
3997         * org.el (org-make-link-regexps): Make sure that links to gnus can
3998         contain brackets.
4000 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4002         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4003         code.
4005         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4006         shell output.
4008         * org.el (org-link-abbrev-alist): Improve customization type.
4010         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4011         functions.
4013         * org-agenda.el (org-agenda-get-progress): Renamed from
4014         `org-get-closed'.  Implement searching for state changes as well.
4015         (org-agenda-log-mode-items): New option.
4016         (org-agenda-log-mode): New option prefix argument, interpreted as
4017         request to show all possible progress info.
4018         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4019         `org-get-closed'.
4020         (org-agenda-set-mode-name): Handle the more complex log mode
4021         settings.
4022         (org-get-closed): New alias, pointing to `org-get-progress'.
4024 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4026         * org.el (org-file-apps-defaults-gnu)
4027         (org-file-apps-defaults-macosx)
4028         (org-file-apps-defaults-windowsnt): Add an entry defining the
4029         system command.
4030         (org-file-apps): Allow `system' as key and value.
4031         (org-open-at-point): Explain the effect of a double prefix arg.
4032         (org-open-file): If the argument `in-emacs' is (16),
4033         i.e. corresponding to a double prefix argument, try to open the
4034         file externally.
4036 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4038         * org.el (org-insert-link): Abbreviate absolute files names in
4039         links.  Also, fix a bug in which the double C-u prefix would not
4040         be honored.
4042 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4044         * org.el (org-insert-heading): If buffer does not end with a
4045         newline, add one if necessary to insert headline correctly.
4047         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4048         paragraphs, not inside.
4050         * org.el (org-todo): Quote
4051         `org-agenda-headline-snapshot-before-repeat'.
4053         * org-exp.el (org-export-as-html): Fully process link descriptions.
4054         (org-export-html-format-desc): New function.
4055         (org-export-as-html): Collect footnotes into the correct basket.
4056         (org-html-protect): No longer protect quotations marks here, this
4057         goes wrong.
4059         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4060         BEG.
4062         * org-compat.el (org-fit-window-to-buffer): New function (not
4063         really, a preliminary and incomplete version was present earlier,
4064         but not used).
4066         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4067         `org-fit-window-to-buffer'.
4069         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4071         * org-agenda.el (org-agenda-get-restriction-and-command)
4072         (org-fit-agenda-window, org-agenda-convert-date): Use
4073         `org-fit-window-to-buffer'.
4075         * org-exp.el (org-export-as-html): Process href links through
4076         `org-export-html-format-href'.
4077         (org-export-html-format-href): New function.
4079         * org-agenda.el (org-agenda-todo): Update only the current
4080         headline if this is a repeated TODO, marked done for today.
4081         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4082         only the current line.
4084         * org.el (org-todo): Take a snapshot of the headline if the
4085         repeater might change it.
4087 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4089         * org-publish.el (org-publish-find-title): Remove buffers visited
4090         only for extracting the title.
4092         * org-exp.el (org-export-html-style)
4093         (org-export-html-style-default): Mark style definitions as
4094         unparsed CDATA.
4096         * org-publish.el (org-publish-validate-link): Function
4097         re-introduced.
4099 2008-11-02  Charles Sebold  <csebold@gmail.com>
4101         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4102         property.
4103         (org-plot-quote-timestamp-field): New function.
4104         (org-plot-quote-tsv-field): Call timestamp field function when
4105         necessary rather than just quoting as a string.
4106         (org-plot/gnuplot-to-data): Pass in timefmt property.
4107         (org-plot/gnuplot-script): Supports timefmt property.
4108         (org-plot/gnuplot): Checks for timestamp column before checking
4109         for text index column.
4111 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4113         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4115         * org-publish.el (org-publish-org-index): Create a section in the
4116         index file.
4117         (org-publish-org-index): Stop linking to directories.
4119         * org.el (org-emphasis-alist): Use span instead of <u> to
4120         underline text.
4122         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4123         <pre> sections.
4125 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
4127         * org-jsinfo.el (org-infojs-template): Remove language attribute
4128         from script tag.
4130 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
4132         * org-agenda.el (org-agenda-remove-marked-text): New function.
4133         (org-agenda-mark-filtered-text)
4134         (org-agenda-unmark-filtered-text): New functions.
4135         (org-write-agenda): Remove fltered text.
4137         * org.el (org-make-tags-matcher): Give access to TODO "property"
4138         without speed penalty.
4140 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
4142         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4143         option.
4144         (org-store-link-props): Make sure adding to the plist works
4145         correctly.
4147         * org-gnus.el (org-gnus-no-new-news): New function.
4148         (org-gnus-follow-link): Allow the article ID to be a message-id,
4149         in addition to allowing article numbers.  Message IDs make much
4150         more roubust links.
4151         (org-gnus-store-link): Use message-id to create link.
4153 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
4155         * org.el (org-emphasize): Reverse the selection array.
4156         (org-emphasis-alist): Set <code> tags for the verbatim
4157         environment.
4159         * org-remember.el (org-remember-handler): Fix bug with
4160         prefix-related changing of the note storage target.
4162         * org-exp.el (org-print-icalendar-entries): Make the exported
4163         priorities compatible with RFC 2445.
4165         * org-clock.el (org-clock-save): Insert time stamp without
4166         dependence on time-stamp.el.
4168 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
4170         * org.el ("saveplace"): If saveplace puts point into an invisible
4171         location, make it visible.
4172         (org-make-tags-matcher): Allow inactive time stamps in time
4173         comparisons.
4174         (org-yank-adjusted-subtrees): New option.
4175         (org-yank): Incorporate adjusting trees.
4176         (org-paste-subtree): New argument FOR-YANK which will cause
4177         insertion at point without backing up over white lines, and leave
4178         point at the end of the inserted text.  Also if the cursor is
4179         at the beginning of a headline, use the same level or the inserted
4180         tree.
4182         * org-publish.el (org-publish-get-base-files-1): Deal correctly
4183         with broken symlinks
4185 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
4187         * org-exp.el (org-export-select-tags, org-get-current-options):
4188         Fix typo.
4190 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
4192         * org-agenda.el (org-format-agenda-item)
4193         (org-agenda-filter-make-matcher): Make sure tags are stored and
4194         compared donwcased.
4196 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
4198         * org.el (org-insert-todo-heading): Fix bug with force-heading
4199         argument.
4201 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
4203         * org-clock.el (org-clock-in-resume): Add a custom option to
4204         toggle starting the clock from an open clock line.
4205         (org-clock-in): When clocking in to an entry, if
4206         `org-clock-in-resume' is set, check if the first clock line is
4207         open and if so, start the clock from the time in the clock line.
4208         (org-clock-persist): Add a custom option to toggle clock
4209         persistence.
4210         (org-clock-persist-query-save): Add a custom option to toggle
4211         asking the user if they want to save the running clock when
4212         exiting.
4213         (org-clock-persist-query-resume): Add a custom option to toggle
4214         asking the user if they want to resume the saved clock when Emacs
4215         is restarted.
4216         (org-clock-save): Add a function to save clock data.
4217         This includes the contents of `org-clock-history' and the buffer
4218         and position of the currently clocked task, if any.
4219         (org-clock-load): Add a function to load clock data.
4220         This populates `org-clock-history', and resumes the saved clocked
4221         task if there is one.
4222         (org-clock-persistence-insinuate): Add a method to set up the
4223         hooks for clock persistence.
4225 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4227         * org-exp.el (org-export-as-ascii): Handle the case that we are
4228         publishing from an indirect buffer.
4230         * org-table.el (org-table-copy-down): Fix bug with time stamp
4231         increment.
4233         * org-mouse.el (org-mouse-features): New option.
4234         (org-mode-hook): Turn on features depending on
4235         `org-mouse-features'.
4237         * org.el (org-insert-heading-respect-content): Force heading
4238         creation.
4239         (org-insert-heading): keep the folding state of the heading before
4240         the inserted one.
4242 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4244         * org-archive.el (org-archive-to-archive-sibling): Handle top
4245         level headlines better.
4247 2008-10-21  Bastien Guerry  <bzg@altern.org>
4249         * org-export-latex.el (org-export-latex-classes): Added
4250         \usepackage{graphicx} to the default list of packages.
4252 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4254         * org-agenda.el (org-agenda-filter): Renamed from
4255         `org-agenda-filter-tags'.
4257 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4259         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4260         is not defined as a property in this entry.
4261         (org-add-log-note): Mask prefix argument when immediately storing
4262         the note.
4264         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4265         option.
4267 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4269         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4270         after drawers was skipping ahead one line too many, so notes were
4271         inserted after the first note instead of before it.
4273 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4275         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4276         New variables.
4277         (org-prepare-agenda): Reset the filter tags.
4278         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4279         Show filter tags in mode line.
4281         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4282         formatter.
4284         * org-export-latex.el (org-latex-entities-regexp): New constant.
4285         (org-export-as-pdf): Use two calls to `shell-command'.
4287 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4289         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4290         Honor the {} value of the subsuperscript setting.  Make sure that
4291         longer subsuperscripts are typeset in a roman font.
4293         * org.el (org-clock-update-time-maybe): Compute negative clock
4294         intervals correctly.
4296 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4298         * org.el (org-add-log-setup): Respect
4299         `org-log-state-notes-insert-after-drawers'.
4300         (org-log-state-notes-insert-after-drawers): New option.
4301         (org-todo-trigger-tag-changes): New function.
4302         (org-todo): Call `org-todo-trigger-tag-changes'.
4304 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4306         * org.el (org-add-log-setup): Only skip drawers if the are
4307         immediately after the scheduling keywords.
4309         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4310         function
4311         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4312         call it with the current todo state to get the state to switch to
4313         when clocking in.
4314         (org-clock-in): Use org-indent-line-function to indent clock lines.
4315         (org-clock-find-position): Fix indentation of empty clock drawers.
4317 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4319         * org-publish.el (org-publish-org-to): Handle case when
4320         org-export-to-pdf does return a file name, not a buffer.
4321         (org-publish-org-to-pdf): New function.
4323         * org-export-latex.el (org-export-as-pdf)
4324         (org-export-as-pdf-and-open): New commands.
4326         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4327         forms as ranges.
4329         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4330         things in protexted regions.
4332 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4334         * org-export-latex.el (org-export-latex-preprocess): Improve
4335         quoting of LaTeX environments.
4337 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4339         * org.el (org-edit-fixed-width-region): Exclude final newline from
4340         picture area.
4342         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4343         sections, to make internal links work.
4344         (org-export-latex-fontify-headline): Do not remove all text
4345         properties, to make sure that target properties survive this
4346         process.
4348         * org-exp.el (org-export-preprocess-string): Change sequence of
4349         modifications, to make sure links are prepared before the LaTeX
4350         conversions do happen.
4352 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4354         * org-attach.el (org-attach-delete-all): Renamed from
4355         `org-attch-delete'.  Add a security query before deleting the
4356         entire directory.  New optional argument FORCE can overrule the
4357         security query.
4358         (org-attach-delete-one): New command.
4360 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4362         * org-attach.el (org-attach-file-list): Fix bug with directory.
4364 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4366         * org.el (org-apps-regexp-alist): New function.
4367         (org-file-apps): Add auto-mode to the default value.
4368         (org-open-file): Use the new structure of org-file-apps.
4370         * org-attach.el (org-attach): Support the new keys.
4371         (org-attach-method): New option.
4373 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4375         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4376         March.
4378         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4379         of the list value o `org-use-tag-inheritance'.
4381         * org-attach.el (org-attach-auto-tag): New option.
4382         (org-attach-tag, org-attach-untag): New functions.
4383         (org-attach-attach, org-attach-new, org-attach-sync): Call
4384         `org-attach-tag'.
4385         (org-attach-delete): Call `org-attach-untag'.
4387 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4389         * org-table.el (orgtbl-self-insert-command): Make this work for
4390         the keypad as well.
4392 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4394         * org.el (org-add-log-setup): Limit searc for drawers to entry
4395         text, not to subtree.
4397         * org-clock.el (org-clock-heading-for-remember): New variable.
4398         (org-clock-in): Set `org-clock-heading-for-remember'.
4400 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
4402         * org-remember.el (org-remember-apply-template): Add new
4403         expansions: %k, %K for currently clocked task and a link to the
4404         currently clocked task, and %< to file notes in the currently
4405         clocked task.
4407 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
4409         * org-export-latex.el (org-export-latex-make-header): Also insert
4410         the content of the property :latex-header-extra.
4412         * org-exp.el (org-infile-export-plist): Put the content of
4413         #+LATEX_HEADER: into the property :latex-header-extra.
4415         * org-colview.el (org-columns-get-format-and-top-level): Remove
4416         resetting the marker.
4418         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4419         Remove resetting the marker.
4421         * org.el (org-entry-property-inherited-from): Improve docstring.
4422         (org-entry-get-with-inheritance): Reset marker before starting the
4423         search.
4425         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4427 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
4429         * org.el (org-entry-get-multivalued-property)
4430         (org-entry-protect-space, org-entry-restore-space): New
4431         functions.
4432         (org-file-apps-defaults-macosx): Let postscript files be opened by
4433         preview.
4434         (org-time-stamp-inactive): Call `org-time-stamp'.
4435         (org-time-stamp): New argument `inactive'.  Also edit inacive
4436         stamps. Convert time stamp type.
4437         (org-open-file): Interpret the `default' value for the `command'
4438         in `org-file-apps'.
4440         * org-id.el (org-id-int-to-b36-one-digit)
4441         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4442         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4443         b36.
4445 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
4447         * org-id.el (org-id-reverse-string): New function.
4448         (org-id-new): Use `org-id-reverse-string' to make sure the
4449         beginning chars of the ID are mutating fast.  This allows to use a
4450         directory structure to spread things better.
4451         (org-id-prefix): Changed default to nil.
4453         * org-list.el (org-move-item-down, org-move-item-up): Remember and
4454         restore the column of the cursor position.
4456         * org-remember.el (org-remember-apply-template): Remove properties
4457         from `initial'.
4459 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
4461         * org-wl.el (org-wl-open): Remove useless call to
4462         `wl-thread-open-all'.
4464         * org-remember.el (org-remember-handler): Fix bug with `bottom'
4465         location.
4467 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
4469         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4470         `org-bbdb-anniversaries'.
4472         * org.el (org-get-next-sibling, org-forward-same-level): New
4473         functions, similar to the outline versions, but invisible headings
4474         are OK.
4476 2008-09-25  Bastien Guerry  <bzg@altern.org>
4478         * org.el (org-auto-repeat-maybe): Insert a space between
4479         the timestamp's type and the timestamp itself.
4481 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
4483         * org-table.el (org-table-sum): Do not format the result with %g,
4484         it does rounding when there are too many digits.
4486         * org.el (org-map-entries): Protect the keyword-selecting variables.
4488 2008-09-23  Bastien Guerry  <bzg@altern.org>
4490         * org-agenda.el (org-agenda-to-appt): Make sure the function check
4491         against all agenda files.
4493 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
4495         * org-list.el: New file, aggregating list functions from org.el
4496         and org-export-latex.el.
4498         * org.el (org-edit-src-region-extra): New option.
4500 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
4502         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4503         time before 1am.
4505 2008-09-22  Bastien Guerry  <bzg@altern.org>
4507         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4509 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
4511         * org-plot.el (org-plot/gnuplot): Make tables starting with a
4512         hline work correctly.
4513         (org-plot/gnuplot-script): Put commas at the end of each script
4514         line.
4516 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
4518         * org.el (org-get-refile-targets): Replace links with their
4519         descriptions
4520         (org-imenu-get-tree): Replace links with their descriptions.
4522         * org-remember.el (org-remember-apply-template): Add a new
4523         expansion for adding properties to remember items.
4525         * org.el (org-add-log-setup): Skip over drawers (properties,
4526         clocks etc) when adding notes.
4528         * org-agenda.el (org-agenda-get-closed): show durations of clocked
4529         items as well as the start and end times.
4531         * org-compat.el (org-get-x-clipboard-compat): Add a compat
4532         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4534         * org-remember.el (org-get-x-clipboard): Use the compat
4535         function to get clipboard values when x-selection-value is
4536         unavailable. Use substring-no-properties instead of
4537         set-text-properties to remove text properties from the clipboard
4538         value.
4540         * lisp/org-clock.el (org-update-mode-line): Support limiting the
4541         modeline clock string, and display the full todo value in the
4542         tooltip. Set a local keymap so mouse-3 on the clock string goes to
4543         the currently clocked task.
4544         (org-clock-string-limit): Add a custom value for the maximum
4545         length of the clock string in the modeline.
4546         (org-clock-mode-map): Add a keymap for the modeline string
4548 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4550         * org-compat.el (org-propertize): New function.
4552 2008-09-20  Bastien Guerry  <bzg@altern.org>
4554         * org-export-latex.el (org-export-latex-tables): protect exported
4555         tables from further special chars conversion.
4556         (org-export-latex-preprocess): Preserve LaTeX environments.
4557         (org-list-parse-list): Parse descriptive lists.
4558         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4559         (org-list-to-texinfo): Export descriptive lists.
4560         (org-quote-chars): Remove.
4561         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4562         (org-export-latex-list-beginning-re): Rename to
4563         `org-list-beginning-re'
4564         (org-list-item-begin): Rename to `org-list-item-beginning'
4566 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4568         * org.el (org-refile): Allow refiling to the last entry in the
4569         buffer.
4570         (org-get-tags-at): Fix bug when inheritance is turned off.
4572 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4574         * org.el (org-indent-line-function): No longer check for src
4575         regions, this is too much overhead.
4577         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4578         matching.
4580         * org.el (org-scan-tags): Make sure that tags matching is not case
4581         sensitive.  TODO keyword matching is case sensitive, however, to
4582         avoid confusion with similar words that are not meant to be
4583         keywords.
4585 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4587         * org.el (org-get-local-tags-at): New function.
4588         (org-get-local-tags): New function.
4590         * org-exp.el (org-export-get-categories): New function.
4592         * org-agenda.el (org-sorting-choice)
4593         (org-agenda-sorting-strategy, org-agenda-get-todos)
4594         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4595         (org-agenda-get-scheduled, org-agenda-get-blocks)
4596         (org-entries-lessp): Implement sorting by TODO state.
4597         (org-cmp-todo-state): New defsubst.
4599         * org-colview.el (org-colview-construct-allowed-dates): New
4600         function.
4601         (org-columns-next-allowed-value): Use
4602         `org-colview-construct-allowed-dates'.
4604         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4605         function.
4606         (org-columns-next-allowed-value): Use
4607         `org-colview-construct-allowed-dates'.
4609 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4611         * org.el (org-protect-slash): New function.
4612         (org-get-refile-targets): Use `org-protect-slash'.
4614         * org-agenda.el (org-global-tags-completion-table): New variable.
4616         * org-exp.el (org-export-handle-export-tags): New function.
4617         (org-export-preprocess-string): Call
4618         `org-export-handle-export-tags'.
4620         * org-plot.el: New file.
4622         * org-publish.el (org-publish-expand-components): Function removed.
4623         (org-publish-expand-projects): Allow components to have components.
4625 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4627         * org.el (org-indent-line-function): Do not indent in regions that
4628         are external source code.
4629         (org-yank-and-fold-if-subtree): New function.
4631         * org-agenda.el (org-agenda-todayp): New function.
4632         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4633         `org-agenda-todayp'.
4635         * org.el (org-insert-heading-respect-content)
4636         (org-insert-todo-heading-respect-content): New commands.
4637         (org-insert-heading-respect-content): New option.
4638         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4640         * org-clock.el (org-clock-find-position): Make sure the note after
4641         the clock line gets moved into the new clock drawer.
4643 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4645         * org-id.el (org-id-new): New option.
4647 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4649         * org-table.el (org-table-copy-down): Avoid overflow during
4650         increment.  Use prefix argument 0 to temporarily disable the
4651         increment.
4653 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4655         * org-exp.el (org-export-as-html): Do not turn on the major mode
4656         if the buffer will be killed anyway.
4657         (org-get-current-options): Exclude the #+TEXT field.
4658         (org-export-as-html): Make sure text before the first headline is
4659         a paragraph.
4661         * org-publish.el (org-publish-org-to): Tell the exporter that this
4662         buffer will be killed, so it is not necessary to do major mode
4663         initialization.
4665         * org-archive.el (org-archive-to-archive-sibling): Show empty
4666         lines after folding the archive sibling.
4668         * org.el (org-log-note-extra): New variable.
4670 2008-09-05  Bastien Guerry  <bzg@altern.org>
4672         * org.el (org-additional-option-like-keywords): Added keywords for
4673         the _QUOTE, _VERSE and _SRC environments.
4675         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4676         exporting _QUOTE and _VERSE environments.
4678 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4680         * org-agenda.el (org-agenda-filter-by-tag): New command.
4682         * org-exp.el (org-get-current-options): Remove angular brackets
4683         from the date entry.
4685         * org.el (org-edit-fixed-width-region): New function.
4686         (org-edit-fixed-width-region): Also try
4687         `org-edit-fixed-width-region'.
4688         (org-edit-fixed-width-region-mode): New option.
4689         (org-activate-code): Only interprete lines starting with colon
4690         plus a space as example lines.
4692         * org-remember.el (org-remember-templates): Add nil instead of
4693         empty strings to fix the length of remember templates.
4695         * org-table.el (org-calc-default-modes): Fix the time format for
4696         calc, from 12 hour to 24 hour clock.
4698 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4700         * org-agenda.el (org-agenda-get-deadlines)
4701         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4702         entries that are pre-warnings of deadlines or reminders.
4704         * org.el (org-sort-entries-or-items): Make numeric and alpha
4705         comparisons ignore any TODO keyword and priority cookie.
4707         * org-remember.el (org-remember-handler): Reinterpretation of the
4708         prefix argument.
4710 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4712         * org-agenda.el (org-agenda-get-scheduled): Use new
4713         `org-scheduled' face.
4715         * org-faces.el (org-scheduled): New face.
4717         * org-wl.el (org-wl-open): Remove incorrect declaration.
4719         * org-gnus.el (org-gnus-store-link): Support for :to information
4720         in gnus links.
4722         * org-exp.el (org-export-as-html): Fixed typo in creator
4723         information.
4724         (org-export-protect-examples): New parameter indent.  Insert extra
4725         spaces only when this parameter is specified.
4726         (org-export-preprocess-string): Call `org-export-protect-examples'
4727         with an indentation parameter when exporting to ASCII.
4729         * org-remember.el (org-remember-templates)
4730         (org-remember-apply-template): Allow the file component to be a
4731         function.
4733         * org.el (org-goto-local-search-headings): Renamed from
4734         `org-goto-local-search-forward-headings'.  Added the possibility
4735         to search backwards.
4737 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4739         * org-export-latex.el (org-export-latex): New customization
4740         group.
4742         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4744 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4746         * org-exp.el (org-html-do-expand): Allow {} to terminate
4747         tex macro
4749 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4751         * org.el (org-buffer-list): Select buffers based on major mode,
4752         not on file name.
4754 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4756         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4757         face property.
4759         * org-colview.el (org-columns-display-here): Use
4760         `org-columns-modify-value-for-display-function'.
4762         * org-colview-xemacs.el (org-columns-display-here): Use
4763         `org-columns-modify-value-for-display-function'.
4765 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4767         * org.el (org-columns-modify-value-for-display-function): New option.
4779         * org-publish.el (org-publish-file): Make sure the directory match
4780         for the publishing directory works correctly.
4782         * org-agenda.el (org-agenda-execute-calendar-command)
4783         (org-agenda-diary-entry): Additional optional argument.
4785 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4787         * org-exp.el (org-export-as-html): Add attributes also in mailto
4788         and ftp links.
4790         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4799 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4801         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4802         sure that calls from `org-export-region-as-html' do not do the
4803         special check for a subtree.
4805 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4807         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4809 2008-07-20  Juri Linkov  <juri@jurta.org>
4811         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4812         new keymap `narrow-map' instead of binding "\C-xns".
4814 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4816         * org.el (org-open-file): Use
4817         `org-open-directory-means-index-dot-org'.
4818         (org-open-directory-means-index-dot-org): New option.
4820 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4822         * org.el (org-make-link-string): Remove link attributes from
4823         description.
4824         (org-open-at-point): Remove link attributes bevore using the path.
4826         * org-exp.el (org-export-as-html): Handle link attributes.
4828         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4830         * org-table.el (org-table-to-lisp): New function.
4832         * org.el (org-narrow-to-subtree): Do not include the final newline
4833         into the narrowed region.
4835         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4836         bug with user-define skipping condition.
4838 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4840         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4842 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4844         * org-exp.el (org-export-html-style-default): Automatic overflow
4845         handling for pre fields.
4846         (org-export-as-ascii, org-export-as-html): Change default format
4847         for time stamp.
4849         * org-table.el (org-table-export): Offer completion for translator
4850         functions, and do not require a heading above the table.
4852         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4853         Cater for the case of a list starting in the first line of the
4854         buffer.
4856 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4858         * org-publish.el (org-publish-find-title): Bug fix.
4859         (org-publish-org-index): Implement new :index-style option.
4861 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4863         * org-publish.el (org-publish-timestamp-filename): Use
4864         SHA1-encoded file names in the timestamp directory.
4866 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4868         * org-publish.el (org-publish-needed-p): Be verbose about files
4869         published and files skipped.
4871         * org-exp.el (org-export-preprocess-string): Swap link
4872         normalization and inernal link targeting.
4874         * org-publish.el (org-publish-needed-p): Create timestamp
4875         directory when it does not exist.
4877 2008-07-04  Bastien Guerry  <bzg@altern.org>
4879         * org-clock.el (org-clock-out-when-done): Doc fix.
4881         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4883         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4884         Ignore case when searching for the COMMENT cookie at export time.
4886 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4888         * org-exp.el (org-get-file-contents)
4889         (org-get-and-remove-property): New functions.
4890         (org-export-handle-include-files): Handle the new prefix options.
4891         (org-export-as-html): Fix the verse environment.
4893 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4895         * org.el (org-time=, org-time<, org-time<=, org-time>)
4896         (org-time>=, org-time<>, org-2ft): New functions.
4897         (org-op-to-function): Also provide for the time testing fucntions.
4899 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4901         * org-exp.el (org-export-html-style-default): New constant.
4903 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4905         * org-exp.el (org-export-html-style-extra): New variable.
4906         (org-export-splice-style): New function.
4908 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4910         * org-exp.el (org-export-plist-vars, org-export-as-html):
4911         Implement `org-export-creator-info'.
4912         (org-export-creator-info): New option.
4914 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
4916         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4917         (org-property-drawer-re, org-clock-drawer-re): New constants.
4919 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
4921         * org-exp.el (org-icalendar-use-deadline)
4922         (org-icalendar-use-scheduled): New options.
4923         (org-icalendar-include-todo): Default changed to t.
4924         (org-print-icalendar-entries): Implement better utilization of
4925         scheduling and deadline time stamps.
4926         (org-export-target-internal-links, org-export-as-html): Allow file
4927         lines without the "file:" prefix if the file path is an absolute
4928         path or starts with ".".
4930         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4931         lastweek etc.
4932         (org-clock-special-range): Also undertand yesterday, lastweek etc.
4934 2008-06-18  Glenn Morris  <rgm@gnu.org>
4935         * org.el (org-map-entries): Let-bind `file'.
4937 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
4939         * org.el (org-agenda-skip-archived-trees): Docstring now
4940         discourages using this.
4941         (org-scan-tags): Check for org-agenda-archives-mode.
4942         (org-map-entries): Make sure org-agenda-archives-mode is nil.
4943         (org-agenda-files): Functionality of second arg changed.
4945         * org-agenda.el (org-agenda-archives-mode): New variable
4946         (org-write-agenda, org-prepare-agenda, org-agenda-list)
4947         (org-search-view, org-todo-list, org-tags-view)
4948         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4949         `ifmode' argument.
4950         (org-agenda-quit): Reset the archives mode.
4951         (org-agenda-archives-mode): New command.
4952         (org-agenda-set-mode-name): Include archives info.
4954 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
4956         * org.el (org-paste-subtree): Make sure the yanked headline is
4957         visible if it was yanked at a visible point.
4958         (org-move-item-up): Fix the bug with moving white space at the end
4959         of the item.
4960         (org-show-empty-lines-in-parent): New function.
4962 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
4964         * org-colview.el (org-columns-next-allowed-value): Bug fix.
4966         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4968         * org-agenda.el (org-agenda-get-closed): Get the end time into the
4969         agenda prefix as well.
4971         * org-publish.el (org-publish-org-index): Make a properly indented
4972         list.
4974         * org.el (org-calendar-agenda-action-key): New option.
4975         (org-get-cursor-date): New function.
4976         (org-mark-entry-for-agenda-action): New command.
4977         (org-overriding-default-time): New variable.
4978         (org-read-date): Respect `org-overriding-default-time'.
4980         * org-remember.el (org-remember-apply-template): Respect the
4981         ovverriding default time.
4983         * org-agenda.el (org-agenda-action-marker): New variable.
4984         (org-agenda-action): New command.
4985         (org-agenda-do-action): New function.
4987 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4989         * org.el (org-schedule, org-deadline): Protect scheduled and
4990         deadline tasks against changes that accidently remove the
4991         repeater.  Also show a message with the new date when done.
4993 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4995         * org.el (org-beginning-of-line): Cater for the case when there
4996         are tags but no headline text.
4997         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4998         it set.
5000 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5002         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5003         the return value is nil instead of "nil" when there is no match.
5005         * org-exp.el (org-insert-centered): Use fill-column instead of
5006         80.
5007         (org-export-as-ascii): Use string-width to measure the width of
5008         the heading.
5010         * org.el (org-diary-to-ical-string): No longer kill buffer
5011         FROMBUF, this is now done by the caller.
5013         * org-exp.el (org-print-icalendar-entries): Move the call to
5014         `org-diary-to-ical-string' out of the loop, and kill the buffer
5015         afterwords.
5017         * org-remember.el (org-remember-visit-immediately): Position
5018         cursor after moving to the note.
5019         (org-remember-apply-template): Use a text property to record the
5020         cursor position.
5021         (org-remember-handler): Align tags after pasting the note.
5023 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5025         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5027         * org-agenda.el (org-agenda-open-link): If there is an
5028         org-bbdb-name property in the current line, jump to that bbdb
5029         entry.
5031         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5032         text property, so that the agenda knows where this entry comes
5033         from.
5035         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5036         interaction between clocking-in from the agenda, and  automatic
5037         task state switching.
5039         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5041         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5042         zmacs-region stays after this command in XEmacs.
5044 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5046         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5048         * org-remember.el (org-remember-templates): Fix bug in
5049         customization type definition.
5051         * org.el (org-map-entries): New function.
5053 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5055         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5056         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5058 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5060         * org-remember.el (org-jump-to-target-location): New variable.
5061         (org-remember-apply-template): Set
5062         `org-remember-apply-template' if requested by template.
5063         (org-remember-handler): Start an idle timer to jump to
5064         remember location.
5066         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5068         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5069         file tags.
5070         (org-get-tags-at): Add the content of `org-file-tags'.
5072         * org-exp.el (org-export-handle-comments): Fix bug with several
5073         comment lines after each other.
5074         (org-number-to-roman, org-number-to-counter): New functions.
5075         (org-export-section-number-format): New option.
5077 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5079         * org-exp.el (org-export-protect-examples): Catch the case of a
5080         missing end_example line.
5082         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5083         `org-file-tags' to nil.
5085         * org-colview.el (org-columns-next-allowed-value): Handle next
5086         argument NTH to directly select a value.
5088         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5089         argument NTH to directly select a value.
5091 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5093         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5095 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5097         * org.el (org-columns-ellipses): New option.
5099 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5101         * org-colview.el (org-columns-add-ellipses): New function.
5102         (org-columns-compact-links): New function.
5103         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5104         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5105         when in agenda.
5106         (org-columns-edit-value): Fixed bug with editing values from
5107         agenda column view.
5108         (org-columns-redo): Also redo the agenda itself.
5110 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5112         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5113         option.
5115         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5117         * org-exp.el (org-export-ascii-preprocess): Renamed from
5118         `org-export-ascii-clean-string'.
5119         (org-export-kill-licensed-text)
5120         (org-export-define-heading-targets)
5121         (org-export-handle-invisible-targets)
5122         (org-export-target-internal-links)
5123         (org-export-remove-or-extract-drawers)
5124         (org-export-remove-archived-trees)
5125         (org-export-protect-quoted-subtrees)
5126         (org-export-protect-verbatim, org-export-protect-examples)
5127         (org-export-select-backend-specific-text)
5128         (org-export-mark-blockquote-and-verse)
5129         (org-export-remove-comment-blocks-and-subtrees)
5130         (org-export-handle-comments, org-export-mark-radio-links)
5131         (org-export-remove-special-table-lines)
5132         (org-export-normalize-links)
5133         (org-export-concatenate-multiline-links)
5134         (org-export-concatenate-multiline-emphasis): New functions,
5135         obtained from spliiting the export preprocessor.
5137         * org-table.el (org-table-recalculate): Improve error message if
5138         the row number is invalid.
5140 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
5142         * org-archive.el (org-archive-save-context-info): Fix bugs in
5143         customization setup and docstring.
5145         * org-exp.el (org-export-html-style): Changed the size of in the
5146         <pre> element to 90%.
5148 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
5150         * org.el (org-find-src-example-start): Function removed.
5151         (org-edit-src-find-region-and-lang): New function.
5153 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
5155         * org.el (org-edit-src-exit): New function.
5156         (org-exit-edit-mode): New minor mode.
5158         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5159         comment-like lines from protected examples.
5161         * org.el (org-edit-src-example, org-find-src-example-start)
5162         (org-protect-source-example, org-edit-special): New functions.
5164 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
5166         * org-publish.el (org-publish-project-alist): Fix typo in
5167         docstring.
5168         (org-publish-project-alist): Handle :index-title property.
5170 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
5172         * org-export-latex.el (org-export-as-latex): Make sure region
5173         bounds are correct.  Parse subtree properties relating to export.
5175         * org-exp.el (org-export-add-options-to-plist): New function.
5176         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5178 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
5180         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5181         EXPORT_TITLE.
5183         * org-exp.el (org-export-get-title-from-subtree)
5184         (org-export-as-ascii, org-export-as-html): Make sure the original
5185         region-beginning and region-end are used, even after moving
5186         point.
5187         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5188         property.
5190         * org-remember.el (org-remember-last-stored-marker): New variable.
5191         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5192         (org-remember-handler): Also use marker to remember
5193         last-stored position.
5195         * org.el (org-goto-marker-or-bmk): New function.
5197 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
5199         * org.el (org-file-properties): Renamed from `org-local-properties'.
5200         (org-scan-tags): Take file tags into account.
5201         (org-tags-match-list-sublevels): Default changed to t.
5203         * org-exp.el (org-export-as-html): Close paragraph after a
5204         footnote.
5206         * org.el (org-update-parent-todo-statistics): New function.
5208         * org-exp.el (org-icalendar-store-UID): New option.
5209         (org-icalendar-force-UID): Option removed.
5210         (org-print-icalendar-entries): IMplement UIDs.
5212 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5214         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5216 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5218         * org-faces.el (org-column): Document how this face is being used
5219         and why sometimes the background faces shine through.
5221         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5223         * org-publish.el (org-publish-attachment): Create publishing
5224         directory if it does not yet exist.
5226         * org-table.el (org-calc-default-modes): Change default number
5227         format to (float 8).
5229         * org.el (org-olpath-completing-read): New function.
5230         (org-time-clocksum-format): New option.
5231         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5233         * org-clock.el (org-clock-display, org-clock-out)
5234         (org-update-mode-line): Use `org-time-clocksum-format'.
5236         * org-colview-xemacs.el (org-columns-number-to-string): Use
5237         `org-time-clocksum-format'.
5239         * org-colview.el (org-columns-number-to-string): Use
5240         `org-time-clocksum-format'.
5242 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5244         * org-id.el: New file, move from contrib to core.
5246         * org-exp.el (org-icalendar-force-UID): New option.
5248 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5250         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5251         shifted by one day if theere is a date range without an end
5252         time.
5254         * org.el (org-try-structure-completion): New function.
5256 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5258         * org.el (org-set-font-lock-defaults): Improve fontification of
5259         description lists.
5260         (org-insert-item): Handle description lists.
5261         (org-adaptive-fill-function): Improve auto indentation in
5262         description lists.
5264         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5265         Implement VERSE environment.
5266         (org-export-preprocess-string): Implement the COMMENT
5267         environment.
5269         * org-export-latex.el (org-export-latex-preprocess): Implement
5270         VERSE environment.
5272 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5274         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5275         option.
5277 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5279         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5281         * org.el (org-quote-csv-field): New functions.
5283         * org-table.el (org-table-export-default-format): Remove :splice
5284         from default format, we get the same effect by not specifying
5285         :tstart and :tend.
5286         (org-table-export): Improve setup, distinguish better between
5287         interactive and non-interactive use, allow specifying the format
5288         on the fly, better protection against wrong file names.
5289         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5290         and :tend when :splice is omitted.
5292 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5294         * org-clock.el (org-clock-select-task): Make sure the selection
5295         letters are 1-9 and A-Z, no special characters.
5297 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5299         * org-exp.el (org-export-htmlize): New group.
5300         (org-export-htmlize-output-type)
5301         (org-export-htmlize-css-font-prefix): New options.
5302         (org-export-htmlize-region-for-paste): New function.
5303         (org-export-htmlize-generate-css): New command.
5305 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5307         * org/org.el (org-modules, org-format-latex-options):
5308         * org/org-archive.el (org-archive-stamp-time)
5309         (org-archive-save-context-info):
5310         * org/org-faces.el (org-hide):
5311         * org/org-irc.el (org-irc-parse-link):
5312         * org/org-macs.el (org-call-with-arg, org-autoload):
5313         * org/org-mew.el (org-mew-store-link):
5314         * org/org-remember.el (org-remember-store-without-prompt)
5315         (org-remember-templates): Fix typos in docstrings.
5317         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5319         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5320         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5321         (org-bbdb-anniv-split): Fix typos in docstrings.
5323         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5324         (org-publish-use-timestamps-flag): Reflow docstring.
5325         (org-publish-files-alist): Fix typos in docstring.
5327 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5329         * org.el (org-set-visibility-according-to-property): New function.
5330         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5331         and compute the regular expressions, and update font-lock.
5332         (org-property-re): Allow a dash in property names.
5334         * org-archive.el (org-extract-archive-file): Insert the file name
5335         without the path into the format, to allow the location format to
5336         contain a subdirectory.
5338         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5339         of buffer, and the `org-agenda-type' property undefined, use the
5340         value from the character before.
5342         * org.el (org-add-planning-info): Don't let indentation for
5343         would-be timestamp become extra whitespace at the end of headline.
5345 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5347         * org.el (org-remove-double-quotes, org-file-contents): New
5348         functions.
5350         * org-exp.el (org-infile-export-plist): Also parse the
5351         contents of #+SETUPFILE files, recursively.
5353         * org.el (org-set-regexps-and-options): Also parse the
5354         contents of #+SETUPFILE files, recursively.
5356         * org-exp.el (org-export-handle-include-files): New function.
5357         (org-export-preprocess-string): Call
5358         `org-export-handle-include-files'.
5360         * org.el (org-delete-property-globally)
5361         (org-delete-property, org-set-property): Ignore case during
5362         completion.
5363         (org-set-property): Use `org-completing-read' instead of
5364         `completing-read'.
5366         * org.el (org-complete-expand-structure-template): New,
5367         experimental function.
5368         (org-structure-template-alist): New, experimental option.
5369         (org-complete): Call `org-complete-expand-structure-template'.
5371 2008-05-06  Bastien Guerry  <bzg@altern.org>
5373         * org-export-latex.el (org-export-latex-preprocess): Added
5374         support for blockquotes.
5376 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5378         * org.el (org-read-date-analyze): Catch the case where only a
5379         weekday is given.
5381 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5383         * org.el (org-set-font-lock-defaults): Make the description
5384         tag bold.
5386         * org-exp.el (org-export-as-html, org-close-li): Implement
5387         description lists.
5389 2008-05-04  Jason Riedy  <jason@acm.org>
5391         * org-table.el (*orgtbl-default-fmt*): New variable.
5392         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5393         when there is no other fmt available.
5395         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5396         :tend to suppress the appropriate string.
5398         (orgtbl-to-orgtbl): New function for translating to another orgtbl
5399         table.
5401 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
5403         * org.el (org-read-date-analyze): "." as an alias for "+0" in
5404         read date.
5406         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5407         New function.
5409         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5410         New function.
5412 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
5414         * org-clock.el (org-clock-find-position): Don't include notes
5415         into clock drawer.
5417         * org-archive.el (org-archive-subtree): No longer remove an
5418         extra line after cutting the subtree.  `org-cut-subtree' already
5419         takes care of this.
5421         * org-remember.el (org-remember-handler): Only kill the target
5422         buffer if it does not contain the running clock.
5424         * org.el (org-markers-to-move): New variable.
5425         (org-save-markers-in-region, org-check-and-save-marker)
5426         (org-reinstall-markers-in-region): New function.
5427         (org-move-subtree-down, org-copy-subtree): Remember relative
5428         marker positions before cutting.
5429         (org-move-subtree-down, org-paste-subtree): Restore relative
5430         marker positions after pasting.
5432         * org-remember.el (org-remember-clock-out-on-exit): New option.
5433         (org-remember-finalize): Clock out only if the setting in
5434         `org-remember-clock-out-on-exit' requires it.
5435         (org-remember-handler): Do the cleanup in the buffer, to make sure
5436         that the clock marker remains in tact.
5438 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
5440         * org-clock.el (org-clock-goto): Widen buffer if necessary.
5441         (org-clock-in): Make sure that also tasks outside the narrowed
5442         region will be clocked in correctly.
5443         (org-clock-insert-selection-line): Widen the buffer so that we can
5444         find the correct task heading.
5446         * org.el (org-base-buffer): New function.
5448         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5449         and ";" are escaped.
5450         (org-print-icalendar-entries): Also apply
5451         `org-icalendar-cleanup-string' to the headline, not only to the
5452         summary property.
5454 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
5456         * org-exp.el (org-export-preprocess-hook): New hook.
5457         (org-export-preprocess-string): Call
5458         `org-export-preprocess-hook'.
5460         * org.el (org-font-lock-hook): New variable.
5461         (org-font-lock-hook): New function.
5462         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5464 ;; Local Variables:
5465 ;; coding: utf-8
5466 ;; add-log-time-zone-rule: t
5467 ;; End:
5469     Copyright (C) 2008  Free Software Foundation, Inc.
5471   This file is part of GNU Emacs.
5473   GNU Emacs is free software: you can redistribute it and/or modify
5474   it under the terms of the GNU General Public License as published by
5475   the Free Software Foundation, either version 3 of the License, or
5476   (at your option) any later version.
5478   GNU Emacs is distributed in the hope that it will be useful,
5479   but WITHOUT ANY WARRANTY; without even the implied warranty of
5480   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5481   GNU General Public License for more details.
5483   You should have received a copy of the GNU General Public License
5484   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
5486 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c