Fix some bugs in MobileOrg support
[org-mode.git] / lisp / ChangeLog
blob289682cf9b66bf796273d10bef075300f62190cf
1 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-mobile.el (org-mobile-create-index-file): Fix link to
4         capture file.
5         (org-mobile-copy-agenda-files): Create the capture file if it does
6         not exist.
8         * org-clock.el (org-clock-clocktable-default-properties): New
9         option.
10         (org-clock-report): Use
11         `org-clock-clocktable-default-properties'.
13 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
15         * org.el (org-iswitchb-completing-read): Fix typo.
17         * org-crypt.el: New file.
19         * org.el: Add an entry for org-crypt.
21 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
23         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
24         consistency.
25         (org-batch-store-agenda-views): New function.
26         (org-mobile-force-id-on-agenda-items): Mention variable.
27         (org-agenda-title-append): Define variable.
28         (org-write-agenda): New export to Org files.
29         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
30         (org-agenda): Allow to keep the restricted file list if a special
31         variable is bound to t.
32         (org-agenda): Define a special agenda view for working on flagged
33         entries.
34         (org-agenda-get-restriction-and-command): List the new agenda
35         view.
36         (org-agenda-show-the-flagging-note): New command.
37         (org-agenda-mode-map): New key `?' for looking at the flagging
38         note.
40         * org.el (org-autoload): Autoload org-mobile.el.
41         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
43         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
45 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
47         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
48         statements.
49         (org-table-get-remote-range): Match indented #+TBLNAME
50         statements.
52         * org.el (org-convert-to-odd-levels)
53         (org-convert-to-oddeven-levels): Work also correctly if the file
54         is in outline-mode.
56 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
58         * org.el (org-store-link): When in agenda buffer, link to
59         referenced entry.
60         (org-add-planning-info): Remove spaces at eol.
62         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
63         property.
65 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
67         * org-latex.el (org-export-latex-first-lines): Fix problem with
68         LaTeX export of first line and selected subtree.
70         * org.el (org-shifttab): Interpret arg differently when using only
71         odd levels.
73 2009-09-09  Bastien Guerry  <bzg@altern.org>
75         * org.el (org-check-agenda-file): Use a more explicit message
77 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
79         * org-exp.el (org-export-remove-special-table-lines): Don't remove
80         normal lines.
82 2009-09-08  Bastien Guerry  <bzg@altern.org>
84         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
85         prompt in the temporary window.
87         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
88         prefix for marked entries in the agenda view.
90 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
92         * org.el (outline-end-of-subtree): Bugfix: advise this function in
93         a way that prevents any trailing character from being displayed.
95 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
97         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
98         menu.
100         * org-exp.el (org-export-remove-special-table-lines): Remove bad
101         slow regexp match.
103 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
105         * org-latex.el (org-export-latex-preprocess): Do not protect in
106         the LaTeX header.
108         * org-src.el (org-edit-src-save): Save window setup while saving.
109         (org-edit-src-code): Use new buffer name construction scheme.
111 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
113         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
114         variable.
115         (org-agenda-entry-text-cleanup-hook): New hook.
116         (org-agenda-get-some-entry-text): Remove matches of
117         `org-agenda-entry-text-exclude-regexps' and run the hook
118         `org-agenda-entry-text-cleanup-hook'.
120         * org.el (org-offer-links-in-entry): New argument ZERO to
121         implement a link with index zero.
122         (org-cycle-show-empty-lines): Not keep empty line under header
123         hidden.
124         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
125         to nil for special completion.
126         (org-store-link): Don't error before the first heading.
128         * org-agenda.el (org-agenda-open-link): Pass the prefix to
129         `org-offer-links-in-entry'.
131 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
133         * org-agenda.el (org-agenda-quit): Provide the window argument for
134         `window-dedicated-p', Emacs 22 needs it.
135         (org-format-agenda-item): If the category is a link, arrange for
136         invisible text to replaced with spaces.
137         (org-compile-prefix-format): Add the extra space.
138         (org-prefix-category-length): New variable.
140         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
141         references from TOC lines.
143         * org.el (org-selected-window): New variable.
145         * org-table.el (org-table-edit-formulas): Remember the selected
146         window.
147         (org-table-fedit-finish, org-table-fedit-abort): Select the window
148         that was originally selected.
150         * org-exp.el (org-export-preprocess-apply-macros): Scan the
151         expansion of a macro for more macro definitions.
153         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
154         invisibility overlay starts on the newline.
156 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
158         * org-protocol.el (org-protocol-store-link)
159         (org-protocol-remember, org-protocol-open-source): Add autoloads.
161         * org-compat.el (org-float-time): New function.
163         * org.el (org-clock-update-time-maybe)
164         (org-sort-entries-or-items, org-do-sort)
165         (org-evaluate-time-range, org-time-string-to-seconds)
166         (org-closed-in-range): Use `org-float-time'.
168         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
169         (org-timer-seconds):  Use `org-float-time'.
171         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
172         (org-clock-sum, org-dblock-write:clocktable)
173         (org-clocktable-steps):  Use `org-float-time'.
175         * org-agenda.el (org-agenda-last-marker-time)
176         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
178         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
179         function.
181         * org-exp.el (org-get-file-contents): Only protect lines that
182         really need it.
184         * org-html.el (require): Require cl for compilation.
186         * org.el:  Avoid using `default-major-mode'.
188         * org-plot.el (require): Require CL only at compile time.
190         * org-exp.el (require): Require CL only at compile time.
192         * org-agenda.el (org-agenda-quit): When the agenda window is
193         dedicated, remove other windows before exiting, so that the frame
194         really will be killed.
196         * org-exp.el (org-export-handle-include-files): Reset START and
197         END for each loop cycle.
199 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
201         * org.el (org-eval-in-calendar): Use
202         `org-select-frame-set-input-focus'.
204         * org-compat.el (org-select-frame-set-input-focus): New function.
206         * org.el (org-update-statistics-cookies): New function.
207         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
209 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
211         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
212         after the local variables are set.
214         * org-latex.el (org-export-latex-protect-amp): New function.
215         (org-export-latex-links): Protect link ampersands in tables.
217         * org-exp.el (org-export-select-backend-specific-text): Match in
218         two steps, to avoid regexp problems.
220         * org.el (org-offer-links-in-entry): Improve working with many and
221         duplicate links.
223         * org-agenda.el (org-agenda-show-1): Make more consistent with
224         normal cycling.
225         (org-agenda-cycle-show): Make more consistent with normal cycling.
227         * org-gnus.el (org-gnus-store-link): Restore the linking to a
228         website.
230 2009-08-30  Bastien Guerry  <bzg@altern.org>
232         * org-latex.el (org-export-latex-first-lines): Bugfix.
234 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
236         * org-clock.el (org-clock-modify-effort-estimate): Emit message
237         about new effort.
239         * org.el (org-set-effort): New function.
240         (org-mode-map): New key for effort setting command.
242         * org-agenda.el (org-agenda): Keep window setup when calling
243         agenda from within agenda window.
244         (org-agenda-mode-map): New keys for effort setting commands.
245         (org-agenda-menu): Add effort setting commands to menu.
246         (org-agenda-set-property, org-agenda-set-effort): New functions.
248         * org-latex.el (org-export-latex-tables): Fix
249         `org-table-last-alignment' and `org-table-last-column-widths' if
250         the first column has been removed.
252 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
254         * org.el (org-remove-timestamp-with-keyword): Only remove in
255         entry, not in subtree.
257         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
258         emacs lisp.
260         * org.el (org-open-at-point): When on headline, offer all strings
261         in entry.
263         * org-remember.el (org-remember-templates): Documentation fix.
265         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
266         `org-get-last-sibling' instead of the outline versions of these
267         functions.
268         (org-get-last-sibling): New function.
269         (org-refile): Use `org-get-next-sibling' instead of the outline
270         version of this function.
271         (org-clean-visibility-after-subtree-move): Use
272         `org-get-next-sibling' and `org-get-last-sibling' instead of the
273         outline versions of these functions.
275 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
277         * org-agenda.el (org-prepare-agenda): When creating a new frame
278         for the agenda, make the window dedicated.
280         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
282         * org-table.el (org-table-align): Change the order of reinsertion
283         and deletion, to avoid problems with overlays following the table.
285         * org.el (org-parse-time-string): Better error message.
286         (org-show-subtree): Use org-end-of-subtree.
288         * org-macs.el (org-goto-line): New defsubst.
290         * org.el (org-open-file, org-change-tag-in-region)
291         (org-fast-tag-show-exit): Don't use `goto-line'.
293         * org-table.el (org-table-align, org-table-insert-column)
294         (org-table-delete-column, org-table-move-column)
295         (org-table-sort-lines, org-table-copy-region)
296         (org-table-paste-rectangle, org-table-wrap-region)
297         (org-table-get-specials, org-table-rotate-recalc-marks)
298         (org-table-get-range, org-table-recalculate)
299         (org-table-edit-formulas, org-table-fedit-convert-buffer)
300         (org-table-show-reference, org-table-highlight-rectangle): Don't
301         use `goto-line'.
303         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
304         (org-edit-src-exit): Don't use `goto-line'.
306         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
308         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
309         Don't use `goto-line'.
311         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
313         * org-colview.el (org-columns, org-columns-redo)
314         (org-agenda-columns): Don't use `goto-line'.
316         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
317         use `goto-line'.
319         * org-agenda.el (org-agenda-mode): Force visual line motion off.
320         (org-agenda-add-entry-text-maxlines): Improve docstring.
321         (org-agenda-start-with-entry-text-mode): New option.
322         (org-agenda-entry-text-maxlines): New option.
323         (org-agenda-entry-text-mode): New variable.
324         (org-agenda-mode): Set initial value of
325         `org-agenda-entry-text-mode'.
326         (org-agenda-mode-map): Add the `E' key.
327         (org-agenda-menu): Add entry text mode to the menu.
328         (org-agenda-get-some-entry-text): Fix line count bug.
329         (org-finalize-agenda): Apply entry text mode if appropriate.
330         (org-agenda-entry-text-show-here): New function.
331         (org-agenda-entry-text-show): New function.
332         (org-agenda-entry-text-hide): New function.
333         (org-agenda-view-mode-dispatch): Add entry text mode to the view
334         key menu.
335         (org-agenda-entry-text-mode): New command.
336         (org-agenda-set-mode-name): Add entry text mode to the mode line
337         string.
338         (org-agenda-undo, org-agenda-get-restriction-and-command)
339         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
340         `goto-line'.
342 2009-08-26  Bernt Hansen  <bernt@norang.ca>
344         * org-clock.el (org-notify): Bugfix.
346 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
348         * org-agenda.el (org-agenda-open-link): Handle multiple links and
349         check for after-string.
351         * org-gnus.el (org-gnus-store-link): Simplify.
353         * org.el (org-latex-regexps): Don't add extra empty lines for
354         display formulas.
356 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
358         * org-agenda.el (org-agenda-get-some-entry-text): New function.
359         (org-agenda-add-entry-text): Use
360         `org-agenda-get-some-entry-text'.
362         * org.el (org-cycle-separator-lines): Update docstring.
363         (org-cycle-show-empty-lines): Handle negative values for
364         `org-cycle-show-empty-lines'.
366         * org-exp.el (org-export-protect-sub-super): New function.
367         (org-export-normalize-links): Protect the url of plain links from
368         supscript and superscript processing.
370         * org-remember.el (org-remember-escaped-%): New function.
371         (org-remember-apply-template): Use `org-remember-escaped-%' to
372         detect escaped % signs.
374 2009-08-23  Bastien Guerry  <bzg@altern.org>
376         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
377         sound when showing the notification.
379         * org-clock.el (org-notify): New function.
380         (org-clock-notify-once-if-expired): Use `org-notify'.
382         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
383         and `gnus-article-mode' separately.
384         (gnus-summary-article-header): Fix the declare-function.
386 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
388         * org-exp.el (org-export-format-source-code-or-example): Translate
389         language.
391         * org-src.el (org-src-lang-modes): New variable
392         (org-edit-src-code): Translate language.
394         * org-exp.el (org-export-format-source-code-or-example): Deal wit
395         the new structure of the `org-export-latex-listings-langs'
396         variable.
398         * org-latex.el (org-export-latex-listings-langs): Change structure
399         of the variable from plist to alist.
401 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
403         * org.el (org-in-commented-line): New function.
405 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
407         * org.el (org-hide-block-toggle): Make folded blocks searchable.
409 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
411         * org.el (org-flag-drawer): More useful error.
413 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
415         * org-remember.el (org-remember-apply-template): Use
416         org-icompleting-read.
418         * org-publish.el (org-publish): Use org-icompleting-read.
420         * org-colview.el (org-columns-edit-value, org-columns-new)
421         (org-insert-columns-dblock): Use org-icompleting-read.
423         * org-colview-xemacs.el (org-columns-edit-value)
424         (org-columns-new, org-insert-columns-dblock): Use
425         org-icompleting-read.
427         * org-attach.el (org-attach-delete-one, org-attach-open): Use
428         org-icompleting-read.
430 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
432         * org.el (org-hierarchical-todo-statistics): Improve docstring.
433         (org-version): Return the version text.
434         (org-org-menu): Add a menu entry for the new bug reporter.
435         (org-submit-bug-report): New command.
437         * org-list.el (org-hierarchical-checkbox-statistics): Improve
438         docstring.
440         * org.el (org-emphasis-regexp-components): Add "`" to set of
441         pre-emphasis characters.
443         * org-latex.el (org-export-latex-classes): Always include the soul
444         package.
445         (org-export-latex-emphasis-alist): Use \st for strikethough.
447         * org-exp-blocks.el (org-export-blocks-preprocess): Use
448         `indent-code-rigidly' to indent.
450         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
451         properties only if MATCH really is a string.
453 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org-latex.el (org-export-latex-packages-alist): Fix
456         customization type.
458         * org.el (org-create-formula-image): Also use
459         `org-export-latex-packages-alist'.
461         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
462         (org-export-as-html): Format footnotes correctly.
464 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
466         * org.el (org-fast-tag-selection): Avoid text properties on tags
467         in the alist.
469         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
470         text properties on the match element.
472 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
474         * org.el (org-set-regexps-and-options): Make sure the list of done
475         keywords is not invalid.
477         * org-exp.el (org-export-interpolate-newlines): New function.
479 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
481         * org.el (org-format-latex): Avoid nested overlays.
483         * org-latex.el (org-export-latex-listings-langs): Add a few more
484         languages.
486         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
487         ignore newlines and space before the first macro argument.
489         * org-latex.el (org-export-latex-tables): Remove save-excursion
490         around `org-table-align'.
492 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
494         * org.el (org-export-html-special-string-regexps): Definition
495         moved into org.el
497         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
498         in macro calls.
500 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
502         * org-latex.el (org-export-latex-listings)
503         (org-export-latex-listings-langs): New options.
505         * org-exp.el (org-export-format-source-code-or-example): Use
506         listing package if requested by the user.
508 2009-08-08  Bastien Guerry  <bzg@altern.org>
510         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
511         command before actually switching to a buffer.
513 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
515         * org-exp.el (org-get-file-contents): Only quote org lines when
516         the markup is src or example.
518         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
519         New option
520         (org-agenda-get-day-entries): Remember deadline results and pass
521         them on into the function getting the scheduling information.
522         (org-agenda-get-scheduled): Accept deadline results as parameters
523         and maybe skip some entries.
524         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
526         * org.el (org-insert-heading): When respecting content, do not
527         convert current line to headline.
529         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
530         cheeeeeck the hd marker
531         (org-clock-in): Also set the hd marker.
532         (org-clock-out): Also set the hd marker.
533         (org-clock-cancel): Reset markers.
535         * org.el (org-clock-hd-marker): New marker.
537         * org-faces.el (org-agenda-clocking): New face.
539         * org-agenda.el (org-agenda-mark-clocking-task): New function.
540         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
542         * org.el (org-modules): Add org-track.el.
544         * org-agenda.el (org-agenda-bulk-marked-p): New function.
545         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
546         `org-agenda-bulk-marked-p'.
547         (org-agenda-bulk-toggle): New command.
549 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
551         * org.el (org-move-subtree-down): Hide subtree if it was folded,
552         not just the body.
554         * org-remember.el (org-remember-finalize): Avoid buffer-modified
555         messages.
573 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
575         * org-latex.el (org-export-latex-first-lines): Fix bug with
576         finding the end of the first lines.
578         * org.el (org-create-formula-image): Remove the -E option for
579         dvipng.
581         * org-exp.el (org-default-export-plist): Respect #+BIND.
582         (org-export-confirm-letbind): New function.
584         * org.el (org-paste-subtree): Test the kill ring entry if it is
585         going to be used.
586         (org-copy-subtree): Use `org-forward-same-level'.
587         (org-forward-same-level): Respect the `invisibe-ok' arg for
588         back-to-heading.
590 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
592         * org.el (org-table-map-tables): Make sure cursor is back at table
593         beginning after funcall.
595         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
596         handled before children, and do not error if an entry is not
597         found, probably because it hase been remove when the parent was
598         archived or refiled.
600         * org.el (org-ido-completing-read): Accept straight lists for
601         completion as well as alists.
603         * org-html.el (org-export-as-html): Fix parenthesis error in
604         footnore code.
606         * org-timer.el (org-timer-cancel-timers): Renamed from
607         `org-timer-cancel-timers'.
609         * org.el (org-cycle-internal-local): Fix problem with finding next
610         invisible line.
612 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
614         * org-list.el (org-list-send-list): Call
615         `org-list-goto-true-beginning' instead of
616         `org-list-find-true-beginning', which does not exist.
618         * org-timer.el (org-timer-reset-timers): Use `mapc'.
619         (org-timer-set-timer): Do not assign to heading.
621         * org-id.el (org-id-open): Quote function name.
623         * org-macs.el (org-unmodified): Turn off recording undo
624         information while running inside the macro.
626         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
627         variable.
628         (org-indent-mode): Remember and restore value of
629         org-hide-leading-stars before `org-indent-mode'.
631         * org-table.el (org-table-export): Also work in file-less
632         buffers.
634         * org.el (org-startup-indented): New option.
635         (org-startup-options): Add new options indent and noindent.
636         (org-unfontify-region): Remove line-prefix and wrap-prefix
637         properties.
638         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
639         hooks.
640         (org-promote, org-demote): Run the new hooks.
642         * org-table.el (org-table-align): Replace leading \n as well.
644         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
645         and `line-wrap' text properties.
647         * org-compat.el (org-kill-new): New function.
649         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
650         `line-wrap' text properties.
652         * org-indent.el: New file.
654 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
656         * org.el (org-provide-todo-statistics): Tweak docstring.
658         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
660 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
662         * org-exp.el (org-export-as-org): Insert the "-source" string
663         before the extension.
665         * org.el (org-read-date): Make sure the calendar is in the current
666         frame.
667         (org-set-emph-re): Remove the ? from the post-match.
668         (org-emphasis-regexp-components): Add backslash to the
669         postmatch class.
670         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
671         optional so that also lines at the end of the buffers will still
672         be matched as headlines.
674         * org-table.el (org-table-error-on-row-ref-crossing-hline):
675         Variable made obsolete.
676         (org-table-relative-ref-may-cross-hline): New option.
677         (org-table-find-row-type): Honow the new option
678         `org-table-relative-ref-may-cross-hline'.
680 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
682         * org-table.el (org-table-cut-region, org-table-copy-region): Work
683         on single field if no active region.
685 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
687         * org-latex.el (org-export-latex-make-header): Only insert title
688         if one is defined.
690         * org.el (org-make-options-regexp): Allow empty values.
692         * org-html.el (org-export-as-html): Move hrule detection to after
693         plain list handling.
695 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
697         * org-html.el (org-format-org-table-html): Fix colgroup tags.
699 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
701         * org.el (org-cycle-internal-local): Improved version of finding
702         next visible line.
703         (org-cycle-hide-drawers): Only hide drawers if this is really
704         necessary.
705         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
706         org-version of this function in Org-mode.  We use advice to
707         implement this change, so that future changes to this function in
708         outline.el wil be handled properly.
709         (org-forward-same-level, org-backward-same-level): New commands.
711 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
713         * org.el (org-remove-empty-overlays-at)
714         (org-clean-visibility-after-subtree-move): New functons.
715         (org-move-subtree-down): Simplify cleanup of display.
717 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org-mac-message.el (org-mac-message-get-links): Improve
720         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
721         "s".  Fix the return value.
722         (org-mac-message-insert-flagged): Simplify.
724         * org.el (org-refile-get-location): Tamper with refile history o
725         that history contains compete matches instead of the entered
726         string.
728 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org.el (org-store-link): Never store a link to an inline task.
732         * org-inlinetask.el (org-inlinetask-insert-task): New command.
734         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
735         inline tasks when positioning footnotes.
737         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
738         function.
740         * org.el (org-refile): Remove the END line when archiving an
741         inline task that does have an END line.
743         * org-archive.el (org-archive-subtree): Remove the END line when
744         archiving an inline task that does have an END line.
746         * org-macs.el (org-with-limited-levels): New macro.
747         (org-get-limited-outline-regexp): New function.
749         * org-exp.el (org-export-format-source-code-or-example): Fix bug
750         that did not enumerate first line.
751         (org-export-mark-radio-links): Skip matches in links.
753 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
755         * org.el (org-activate-plain-links): Make single-match.
756         (org-adapt-indentation): Fix docstring.
758         * org-macs.el (org-unmodified): Turn of modification hooks while
759         running this macro.
761 2009-08-02  Bastien Guerry  <bzg@altern.org>
763         * org.el (org-adapt-indentation): Slightly improve the docstring.
764         (org-occur): Sends an error when the user inputs an empty string.
765         (org-priority): Bugfix: the tag alignement should happen within
766         save-excursion.
768 2009-07-31  Bastien Guerry  <bzg@altern.org>
770         * org.el (org-make-link-regexps): Don't exclude parentheses from
771         `org-plain-link-re'
772         (org-cycle-internal-local): When locally cycling, switch directly
773         from CHILDREN to FOLDED if there is no subtree
774         (org-cycle): Update the docstring to document the new behavior of
775         `org-cycle-internal-local'.
777 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
779         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
780         an abbreviated format for days.
782 2009-07-27  Bastien Guerry  <bzg@altern.org>
784         * org-protocol.el (org-protocol-default-template-key): New
785         option.
787         * org.el (org-refile): Bugfix: save-excursion before reading the
788         refile target, otherwise cursor moves might confuse `org-refile'.
790         * org-html.el (org-export-as-html): Bugfix: correctly convert the
791         footnote reference before the footnote itself.
793         * org.el (org-toggle-heading): Bugfix: correctly convert list
794         items before the first headline.
796         * org-html.el (org-export-html-footnote-format): New option for
797         formatting the footnote reference.
798         (org-export-as-html): Use the new option.
800         * org.el (org-provide-todo-statistics): Allow a list of TODO
801         keywords to compute statistics against headlines containing a
802         keyword from this list.
803         (org-update-parent-todo-statistics): Possibly use the new allowed
804         value of `org-provide-todo-statistics'.
806 2009-07-26  Bastien Guerry  <bzg@altern.org>
808         * org-timer.el: Add autoload cookie.
810         * org.el (org-occur-link-in-agenda-files): New function.
812         * org-timer.el (org-timer-last-timer): New variable.
814         * org-agenda.el (org-agenda-mode-map): New key for
815         org-timer-set-timer called from the agenda.
817         * org.el (org-mode-map): New key for org-timer-set-timer.
819         * org-timer.el (org-timer-reset-timers)
820         (org-timer-show-remaining-time, org-timer-set-timer): New
821         functions.
823         * org-clock.el (org-show-notification): Update the docstring.
825         * org.el (org-provide-todo-statistics): Allow new value
826         'all-headlines for this option, which includes entries with no
827         TODO keywords in the todo statistics.
828         (org-update-parent-todo-statistics): Possibly use the new
829         'all-headline value from `org-provide-todo-statistics'.
831 2009-07-25  Bastien Guerry  <bzg@altern.org>
833         * org-clock.el (org-dblock-write:clocktable): Add a new option
834         :timestamp which allows display of timestamps in clock reports.
836         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
837         list to a subtree, preserving the structure of the list.
838         (org-set-emph-re): Make the last element optional in the regexp.
839         This regexp now matches an emphasized string at the end of a line.
841         * org-list.el (org-list-goto-true-beginning)
842         (org-list-make-subtree, org-list-make-subtrees): New functions.
844         * org.el (org-eval-in-calendar): Select the right frame.
845         (org-save-frame-excursion): Remove this macro.
847 2009-07-24  Bastien Guerry  <bzg@altern.org>
849         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
850         trying to find the beginning of a list.
852         * org-exp.el (org-get-file-contents): Use a new argument: markup.
853         When present, tell org-get-file-contents not to protect org-like
854         lines.
856         * org-id.el (org-id-uuid-program): New option to set the name of
857         the uuidgen program.
858         (org-id-method): Use `org-id-uuid-program'.
859         (org-id-new): Use `org-id-uuid-program'.
861 2009-07-23  Bastien Guerry  <bzg@altern.org>
863         * org-exp.el (org-export-number-lines): Allow whitespace in code
864         references.  Allow the -r switch to remove the references in the
865         source code even when the lines are not numbered: the labels can
866         be explicit enough.
868         * org.el (org-fontify-whole-heading-line): New option.
869         (org-set-font-lock-defaults): Use the new option.
871         * org-clock.el (org-show-notification-handler): New option.
872         (org-show-notification): Use the new option.
874 2009-07-21  Bastien Guerry  <bzg@altern.org>
876         * org.el (org-eval-in-calendar): Fix a bug about calendar
877         navigation when `calendar-setup' value is 'calendar-only.
879 2009-07-19  Bastien Guerry  <bzg@altern.org>
881         * org.el (orgstruct++-mode): Fix typo in docstring.
882         (org-insert-link): Clean up: (or (...)) => (...)
883         (org-insert-link): Use TAB for stored links completion.
885 2009-07-18  Bastien Guerry  <bzg@altern.org>
887         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
888         building the list of targets.
890         * org-remember.el (org-remember-delete-empty-lines-at-end): New
891         option.
892         (org-remember-handler): Use the new option.
894 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
896         * org.el (org-tags-sort-function): New option for sorting tags.
897         (org-set-tags): Use the new option to sort tags.
899         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
900         premature deletion of the data when using org-plot in a script.
902 2009-07-17  Bastien Guerry  <bzg@altern.org>
904         * org-clock.el (org-clock-in-prepare-hook): New hook.
905         (org-clock-in): Use this new hook.
907 2009-07-16  Bastien Guerry  <bzg@altern.org>
909         * org.el (org-special-ctrl-a/e): Explicitely bind the value
910         'reversed for this option to the "true line boundary first"
911         behavior.
912         (org-tags-match-list-sublevels): Document the 'indented value for
913         this variable.
915         * org-latex.el (org-export-latex-first-lines): Fix problem with
916         publishing the region.
918         * org-exp.el (org-export-format-source-code-or-example): Fix
919         bad line numbering when exporting examples in HTML.
921 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
923         * org-colview.el (org-format-time-period): Formats a time in
924         fractional days as days, hours, mins, seconds.
925         (org-columns-display-here): Add special handling for SINCE and
926         SINCE_IA to format for display.
928         * org.el (org-time-since): Add a function to get the time since an
929         org timestamp.
930         (org-entry-properties): Add two new special properties: SINCE and
931         SINCE_IA. These give the time since any active or inactive
932         timestamp in an entry.
933         (org-special-properties): Add SINCE, SINCE_IA.
934         (org-tags-sort-function): Add custom declaration for tags
935         sorting function.
936         (org-set-tags): Sort tags if org-tags-sort-function is set
938 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
940         * org-clock.el (org-clock-goto): Find hidden headlines as well.
942         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
944         * org-plot.el (org-plot/add-options-to-plist): Add timeind
945         option.
947 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
949         * org-publish.el (org-publish-remove-all-timestamps): New function.
950         (org-publish-all): Remove all timestamp files if `org-publish-all'
951         is called with a prefix argument.
953         * org-list.el (org-indent-item): Fix typo.
954         (org-item-indent-positions): Normalize ordered bullet.
956         * org-html.el (org-export-html-home/up-format): New option.
957         (org-export-as-html): Insert the up and HOME links.
959 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
961         * org-html.el (org-export-as-html): Insert the title into the
962         option plist.
963         (org-export-html-insert-plist-item): New function.
964         (org-export-as-html): Call `org-export-html-insert-plist-item'.
966         * org-macs.el (org-set-local): Make a local variable, do not make
967         the variable buffer-local!
969         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
971         * org-html.el (org-export-as-html): Call `org-install-letbind'.
973         * org-docbook.el (org-export-as-docbook): Call
974         `org-install-letbind'.
976         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
978         * org-exp.el (org-infile-export-plist): Read BIND lines.
979         (org-install-letbind): New function.
980         (org-export-as-org, org-export-preprocess-string): Call
981         `org-install-letbind'.
983         * org-src.el (org-edit-src-exit): Untabify the example before
984         returning to Org.
986         * org-list.el (org-list-demote-modify-bullet): New option.
987         (org-first-list-item-p): Save point.
988         (org-fix-bullet-type): New optional argument FORCE-BULLET.
989         (org-indent-item): Honor `org-list-demote-modify-bullet'.
990         (org-item-indent-positions): Return bullet types along with
991         indentation.
993 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
995         * org.el (org-show-entry): Hide drawers.
997 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
999         * org-footnote.el (org-footnote-auto-adjust): New option.
1000         (org-footnote-auto-adjust-maybe): New function.
1001         (org-footnote-new, org-footnote-delete): Call
1002         `org-footnote-auto-adjust-maybe'.
1004         * org.el (org-startup-options): Add new footnote-related
1005         keywords.
1007         * org-publish.el (org-publish-timestamp-filename): Additional
1008         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1009         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1010         TRUE-PUB-DIR.  Pass them through to
1011         `org-publish-timestamp-filename'.
1012         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1013         PUB-FUNC, which are included in the hash.
1014         (org-publish-file): Delay timestamp test until the publishing
1015         function is known.
1017 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1019         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1020         setting the deadline.
1022         * org.el (org-read-date-final-answer): New variable.
1023         (org-read-date): Store the final answer string, including the date
1024         from the calendar, for reuse by agenda bulk commands.
1026         * org-publish.el (org-publish-attachment): Fix publishing of
1027         attachments.
1029         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1030         quotation makrs in parenthesis.
1031         (org-remove-initial-hash): New function.
1032         (org-export-latex-preprocess): Fix bug with infinite loop if
1033         environment is not properly closed.
1035         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1036         when indented.
1038         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1039         highlight also when indented.
1041 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1043         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1044         (org-footnote-action): Offer renumbering.
1046         * org.el (org-cycle): Honor the `integrate' value of
1047         org-cycle-include-plain-lists'.
1049         * org-list.el (org-cycle-include-plain-lists): New allowed value
1050         `internal'.  Improve the docstring.
1052         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1053         regexp to work better with LaTeX commands.
1055 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1057         * org-feed.el (org-feed-update): fix problem with non-existing
1058         buffer.
1059         (org-feed-skip-http-headers): New function.
1060         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1061         (org-feed-get-feed): Fix command line arguments for curl.
1063 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1065         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1066         and eps extensions.
1068 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1070         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1071         loaded.
1073         * org.el (org-map-entries): No longer force
1074         `org-tags-match-list-sublevels' to t during a todo-only tags
1075         search.
1077 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1079         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1080         environment.
1081         (org-export-latex-subcontent): Handle user-defined environment.
1083         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1084         the View dispatcher.
1086         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1087         `make-overlay'.
1089         * org-latex.el (org-export-as-pdf): Protect match data during call
1090         to shell-quote-argument.
1092         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1093         (org-agenda-view-mode-dispatch): New function.
1095 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1097         * org-agenda.el (org-agenda-mode): Reset list of marks.
1098         (org-agenda-mode-map): Define new keys for refile and bulk action.
1099         (org-agenda-menu): Add menu itesm for refile and bulk action.
1100         (org-agenda-refile): New function.
1101         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1102         (org-agenda-marked-entries): New variable.
1103         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1104         (org-agenda-remove-all-bulk-action-marks)
1105         (org-agenda-bulk-action): New functions/commands.
1107 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1109         * org-exp.el (org-get-file-contents): Protect org-like lines in
1110         included files.
1111         (org-export-format-source-code-or-example): Remove newlines.
1113         * org-latex.el (org-export-latex-links): Check for no-description
1114         marking.
1116         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1117         argument separator back to comma.
1118         (org-export-normalize-links): Mark links without description.
1120 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1122         * org-exp.el (org-infile-export-plist): Fix bug in macro
1123         processing.
1125         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1126         out.
1127         (org-agenda-highlight-todo): Fix bug with highlighting.
1129 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1131         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1132         new alignment strings.
1134         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1135         command list.
1136         (org-table-align): Check for forced align type.
1138         * org.el (org-self-insert-command): Add yas/expand to command
1139         list.
1141         * org-clock.el (org-clock-in-hook): New hook.
1142         (org-clock-in): Run `org-clock-in-hook.
1143         (org-clock-out-hook): New hook.
1144         (org-clock-out): Run `org-clock-out-hook.
1145         (org-clock-cancel-hook): New hook.
1146         (org-clock-cancel): Run `org-clock-cancel-hook.
1147         (org-clock-goto-hook): New hook.
1148         (org-clock-goto): Run `org-clock-goto-hook.
1150 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1152         * org.el (org-store-link): Better default description for link to
1153         Org-mode headline.
1155         * org-exp.el (org-export-generic): Autoload the generic exporter
1156         function.
1157         (org-export): Implement the `g' key for the generic exporter.
1159 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1161         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1162         and for zbacktab'.
1164         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1166         * org-exp.el (org-infile-export-plist): Get macros also from
1167         #+SETUPFILE.
1169 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1171         * org-colview.el (org-columns-capture-view): Protect vertical bars
1172         in column values.
1173         (org-columns-capture-view): Exclude comment and archived trees.
1175         * org-colview-xemacs.el (org-columns-capture-view): Protect
1176         vertical bars in column values.
1177         (org-columns-capture-view): Exclude comment and archived trees.
1179         * org.el (org-quote-vert): New function.
1181         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1183         * org-exp.el (org-export-format-source-code-or-example): Use
1184         `org-export-latex-verbatim-wrap'.
1186         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1187         time stamps.
1189         * org-html.el (org-export-table-row-tags): New option.
1190         (org-format-org-table-html): Rename `nlines' to `nline', use new
1191         option.
1194 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1196         * org-exp-blocks.el: Declare functions and variables.
1198         * org-remember.el (org-remember-templates): Allow the headline
1199         element to be a function.
1200         (org-remember-apply-template): If the headline is a function, call
1201         it to get the true function.
1203         * org-clock.el (org-clock-menu): New function.
1204         (org-clock-update-mode-line): Update help string.
1205         (org-clock-modify-effort-estimate): New function.
1206         (org-clock-mark-default-task): New function.
1208         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1209         minutes as input.
1210         (org-org-menu): Add new clocking stuff.
1211         (org-clock-is-active): New function.
1213 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1215         * org.el (org-open-non-existing-files): Improve docstring.
1217 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
1219         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1220         option.
1221         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1223         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1225         * org-list.el (org-get-checkbox-statistics-face): Use the new
1226         faces.
1228         * org-faces.el (org-checkbox-statistics-todo)
1229         (org-checkbox-statistics-done): New faces.
1231 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
1233         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1234         (org-edit-src-exit): Better cursor positioning when returning from
1235         editing.
1237         * org-latex.el (org-export-latex-use-verb): New variable.
1238         (org-export-latex-emph-format): Prefer \texttt over \verb when
1239         org-export-latex-use-verb is set.
1241 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
1243         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1244         at normal indentation.
1246         * org-html.el (org-export-html-close-lists-maybe): Also look at
1247         normal indentation.
1249         * org-remember.el (org-remember-handler): Abort remember if the
1250         buffer is empty.
1252         * org-src.el (org-edit-src-content-indentation): New option.
1253         (org-edit-src-exit): Apply extra indentation.
1255         * org-exp.el (org-export-format-source-code-or-example): Run
1256         `org-src-mode-hook'.
1258         * org-src.el (org-src-mode-hook): New variable.
1259         (org-edit-src-code): Run `org-src-mode-hook'.
1261 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1263         * org.el (org-indent-line-function): Fix indentation of +#end lines.
1265         * org-src.el (org-edit-src-get-indentation): New function.
1266         (org-edit-src-code): Base indentation on the begin line.
1268 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
1270         * org-gnus.el (org-gnus-store-link): Require message.el in
1271         org-gnus-store-link.
1273 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1275         * org-src.el: New file, split out of org.el
1277         * org-docbook.el (org-export-as-docbook): Better indentation
1278         treatment.
1280         * org-macs.el (org-replace-match-keep-properties): New function.
1282         * org-exp.el (org-export-mark-blockquote-verse-center): Better
1283         preprocessing of center and quote and verse blocks.
1285         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1286         (org-export-as-docbook): Close lists when original indentation
1287         mandates it.
1289         * org-html.el (org-export-html-close-lists-maybe): New function.
1290         (org-export-as-html): Close lists when original indentation
1291         mandates it.
1293         * org-list.el (org-list-end): Respect the stored "original"
1294         indentation when determining the end of the list.
1296         * org-exp.el (org-export-replace-src-segments-and-examples):
1297         Remember indentation correctly.
1299 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-clock.el (org-clock-update-mode-line): Apply face
1302         org-mode-line-clock.
1304         * org-faces.el (org-mode-line-clock): New face.
1306 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1308         * org-gnus.el (org-gnus-store-link): Fix bug where
1309         `org-gnus-store-link' used wrong subject when called in an article
1310         buffer.  Patch provided by fengli AT gmail DOT com.
1312 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1314         * org-exp.el (org-export-format-source-code-or-example): Remember
1315         the original indentation of source code snippets and examples.
1317         * org-latex.el (org-export-as-latex): Relocate the table of
1318         contents.
1320         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1322         * org-agenda.el (org-run-agenda-series): Scope global options also
1323         when creating the agenda buffer.
1325 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1327         * org.el (org-adapt-indentation): Improve documentation.
1328         (org-insert-property-drawer): Respect org-adapt-indentation when
1329         inserting the drawer.
1330         (org-remove-flyspell-overlays-in): New function.
1331         (org-do-emphasis-faces, org-activate-plain-links)
1332         (org-activate-code, org-fontify-meta-lines-and-blocks)
1333         (org-activate-angle-links, org-activate-footnote-links)
1334         (org-activate-bracket-links, org-activate-dates)
1335         (org-activate-target-links, org-activate-tags): Remove flyspell
1336         overlays.
1338 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1340         * org.el (org-edit-src-save): New function.
1342         * org-clock.el (org-clock-out-switch-to-state): New option.
1343         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1345         * org-compat.el (org-compatible-face): Improve macro.
1347         * org.el (org-global-properties-fixed): Add default for
1348         CLOCK_MODELINE_TOTAL.
1350         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1351         andd tend.
1352         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1353         org-clock-sum.
1354         (org-clock-get-sum-start): New function.
1356         * org.el (org-startup-options): New keywords blockhide and
1357         blockshow.
1358         (org-mode): Add new invisibility spec.
1359         (org-set-startup-visibility): Hide block on startup if so
1360         desired.
1361         (org-hide-block-startup): New option.
1362         (org-block-regexp): New constant.
1363         (org-hide-block-overlays): New variable.
1364         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1365         (org-show-block-all, org-hide-block-toggle-maybe)
1366         (org-hide-block-toggle): New functions.
1367         (org-edit-src-exit): Do not quote lines starting with # and no +
1368         behind it.
1369         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1370         entry.
1372 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1374         * org.el (org-buffer-property-keys): Add Effort property for
1375         completion.
1377 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1379         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1380         when retrieving total clocked time in the subtree.
1382         * org.el (org-quoting-blocks): New variable.
1384 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1386         * org-table.el (org-table-store-formulas)
1387         (org-table-get-stored-formulas, org-table-fix-formulas)
1388         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1389         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1391         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1392         indented #+TBLFM line.
1394         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1395         indented #+TBLFM line.
1397         * org-colview.el (org-dblock-write:columnview): Allow indented
1398         #+TBLFM line.
1400         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1401         indented #+TBLFM line.
1403         * org-clock.el (org-dblock-write:clocktable): Allow indented
1404         #+TBLFM line.
1406 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1408         * org-exp.el (org-export-format-source-code-or-example): Make
1409         editing indented blocks work correctly.
1411         * org.el (org-edit-src-nindent): New variable.
1412         (org-edit-src-code, org-edit-fixed-width-region)
1413         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1414         editing indented blocks work correctly.
1416 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1419         indented blocks.
1420         (org-export-format-source-code-or-example): Fix indentation of
1421         blocks.
1422         (org-export-remove-indentation): New function.
1423         (org-export-select-backend-specific-text): Allow backend-specific
1424         code to be indented.
1425         (org-export-mark-blockquote-verse-center): Allow markers to be
1426         indented.
1428         * org.el (org-fontify-meta-lines): New function.
1429         (org-set-font-lock-defaults): Call the new fontification
1430         function.
1432         * org-faces.el (org-meta-line): New face
1433         (org-block):  New face.
1435 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1437         * org.el (org-treat-insert-todo-heading-as-state-change)
1438         (org-treat-S-cursor-todo-selection-as-state-change): New
1439         variables.
1440         (org-insert-todo-heading): Honor
1441         `org-treat-insert-todo-heading-as-state-change'.
1442         (org-shiftright, org-shiftleft): Honor
1443         `org-treat-S-cursor-todo-selection-as-state-change'.
1444         (org-inhibit-logging): New variable.
1446 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1448         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1449         range for marker position checking.
1451         * org-latex.el (org-export-latex-first-lines): Fix bug when
1452         exporting a region.
1454 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1456         * org-exp.el (org-export-push-to-kill-ring): Protect using
1457         x-set-selection, because that does not always work.
1459         * org-agenda.el (org-agenda-list): Apply the new face
1460         `org-agenda-date-today'.
1462         * org-faces.el (org-agenda-date-today): New face.
1464 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1466         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1467         creating appointments.
1469         * org-latex.el (org-export-latex-low-levels): Fix customization
1470         type.
1472         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1473         priority commands.
1475         * org-agenda.el (org-agenda-priority): Disable priority commands.
1477         * org.el (org-enable-priority-commands): New option.
1479         * org-colview-xemacs.el (org-columns-compute)
1480         (org-columns-number-to-string): Fix problems with empty fields.
1482         * org-colview.el (org-columns-compute)
1483         (org-columns-number-to-string): Fix problems with empty fields.
1485         * org-exp.el (org-export-push-to-kill-ring): New function.
1486         (org-export-copy-to-kill-ring): New option.
1488         * org-latex.el (org-export-as-latex): Call
1489         `org-export-push-to-kill-ring'.
1491         * org-html.el (org-export-as-html): Call
1492         `org-export-push-to-kill-ring'.
1494         * org-docbook.el (org-export-as-docbook): Call
1495         `org-export-push-to-kill-ring'.
1497         * org-ascii.el (org-export-as-ascii): Call
1498         `org-export-push-to-kill-ring'.
1500         * org-exp.el (org-export-show-temporary-export-buffer): New
1501         option.
1503         * org-latex.el (org-export-as-latex): Use
1504         `org-export-show-temporary-export-buffer'.
1506         * org-html.el (org-export-as-html): Use
1507         `org-export-show-temporary-export-buffer'.
1509         * org-docbook.el (org-export-as-docbook): Use
1510         `org-export-show-temporary-export-buffer'.
1512         * org-ascii.el (org-export-as-ascii-to-buffer): Use
1513         `org-export-show-temporary-export-buffer'.
1515         * org-exp.el (org-export-show-temporary-export-buffer): New
1516         option.
1517         (org-export-push-to-kill-ring): New function.
1519         * org-colview.el (org-columns-compile-map): New variable.
1520         (org-columns-new, org-columns-compute)
1521         (org-columns-number-to-string, org-columns-uncompile-format)
1522         (org-columns-compile-format): Implement new operators.
1524 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1528         * org-html.el (org-export-html-xml-declaration): New option.
1529         (org-export-as-html): Use `org-export-html-xml-declaration'.
1531         * org-list.el (org-update-checkbox-count): Make property
1532         dependent.
1534         * org.el (org-hierarchical-todo-statistics): New option.
1535         (org-update-parent-todo-statistics): Modified to handle recursive
1536         statistics.
1538 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
1540         * org-publish.el (org-publish): Make this function behave
1541         correctly in interactive use when called with a prefix argument.
1543         * org.el (org-todo-statistics-hook): New hook.
1544         (org-update-parent-todo-statistics): Use new hook.
1545         (org-log-into-drawer): New function.
1546         (org-add-log-setup): Use the new `org-log-into-drawer' function to
1547         determine if we should be logging into a drawer.
1548         (org-log-into-drawer): Update docstring.
1549         (org-default-properties): Add LOG_INTO_DRAWER as a property.
1551         * org-list.el (org-checkbox-statistics-hook): New hook.
1552         (org-update-checkbox-count-maybe): Use new hook.
1554         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1555         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1556         to kill ring.
1558 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1561         a line.
1563 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
1565         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1566         better bufer-generating mechanism.
1567         (org-edit-src-find-buffer): New function.
1569         * org-icalendar.el (org-print-icalendar-entries): Don't check for
1570         archive tag, this is already done by `org-agenda-skip'.
1571         data while constructing lost of tags.
1573 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
1575         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1576         as argument separator in macros.
1578         * org-html.el (org-export-as-html): Add xml declaration.
1580 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
1582         * org.el (org-after-sorting-entries-or-items-hook): New hook.
1583         (org-sort-entries-or-items): Run the new hook.
1584         (org-after-refile-insert-hook): New hook.
1585         (org-refile): Run `org-after-refile-insert-hook'.
1587         * org-agenda.el (org-agenda-get-progress): Never take time of day
1588         from headline when displaying progress.
1590         * org-latex.el (org-export-latex-complex-heading-re): New variable.
1591         (org-export-as-latex): Force the correct regexp in the
1592         preprocessor buffer.
1593         (org-export-latex-set-initial-vars): Set
1594         `org-export-latex-complex-heading-re'.
1596         * org-agenda.el (org-agenda-start-with-log-mode): New option.
1597         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1599 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
1601         * org-latex.el (org-export-latex-tables-centered): New option.
1602         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1604         * org-exp.el (org-export-as-org): New command.
1605         (org-export-as-org): New command.
1607         * org-publish.el (org-publish-org-to-org): New function.
1609 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
1611         * org.el (org-yank): Just call `org-yank-generic'.
1612         (org-yank-generic): New function, containing the formaer
1613         functionality of `org-yank'.
1615         * org-latex.el (org-export-latex-not-done-keywords)
1616         (org-export-latex-done-keywords): New variables.
1617         (org-export-latex-todo-keyword-markup): New option.
1618         (org-export-latex-set-initial-vars): Remember the TODO keywords.
1619         (org-export-latex-keywords-maybe): Apply the TODO markup.
1621 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
1623         * org-exp.el (org-infile-export-plist): Add more default macros.
1624         (org-export-preprocess-apply-macros): Process macro arguments.
1626 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
1628         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1629         `unblocked'.
1630         (org-print-icalendar-entries): Respect the new value of
1631         `org-icalendar-include-todo'.
1633         * org.el (org-link-try-special-completion)
1634         (org-file-complete-link): New functions.
1635         (org-insert-link): Add special completion support for some link
1636         types.
1638         * org-bbdb.el (org-bbdb-complete-link): New function.
1640 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1642         * org-list.el (org-update-checkbox-count): Allow recursive
1643         statistics.
1644         (org-hierarchical-checkbox-statistics): New option.
1646         * org.el (org-cycle): Remove erraneous space character.
1648         * org-icalendar.el (org-icalendar-timezone): Initialize from
1649         environment.
1651         * org-html.el (org-format-org-table-html): Specify the scope.
1652         (org-format-table-table-html): Specify the scope.
1653         (org-export-table-header-tags): Prepare the scope parameter.
1655 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1657         * org-html.el
1658         (org-export-html-table-use-header-tags-for-first-column): New
1659         option.
1661         * org.el (org-autoload): Fix autoloading of ascii export
1662         functions.
1663         (org-modules): Add org-special-blocks.
1665 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1668         (org-ical-timezone): New option.
1670         * org-exp.el (org-export-get-coderef-format): Use the description
1671         is present.
1673         * org.el (org-sort-entries-or-items): Improve docstring, and make
1674         better implementation for time sorting.
1676 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1678         * org.el (org-edit-src-persistent-message): New option.
1679         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1680         option.
1682         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1683         patch.
1685         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1686         separate buffer instead of indirect buffer to edit source code.
1687         (org-edit-src-exit): Make this function work with the new setup.
1689         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1690         are properly fontified before shown in the selection menu.
1692         * org.el (org-fontify-like-in-org-mode): New function.
1694         * org-latex.el (org-export-latex-links): Use the property list to
1695         retrieve the default image attributes.
1697         * org-exp.el (org-export-plist-vars): Add a new option.
1699 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1701         * org-exp.el (org-export, org-export-visible): Support ASCII
1702         export to buffer
1703         (org-export-normalize-links): Do not protect the description if it
1704         is explicitly given.
1706         * org-ascii.el (org-export-as-ascii-to-buffer)
1707         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1708         commands.
1709         (org-export-as-ascii): Add all the same parameters that are also
1710         supported by the other export functions.
1712         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1713         org-checklist.el.
1714         (org-reset-checkbox-state-subtree): Call
1715         `org-reset-checkbox-state-subtree'.
1717         * org-remember.el (org-select-remember-template): For the
1718         selection of a valid template.
1720         * org-latex.el (org-export-region-as-latex): Supply the
1721         force-no-subtree argument.
1722         (org-export-as-latex): Provide better limits when exporting the
1723         first line.  When exporting to string, we still want the first
1724         lines.
1725         (org-export-latex-first-lines): New argument END, to force the end
1726         of the region.
1727         (org-export-region-as-latex): Use the property list.
1728         (org-export-as-latex):
1730         * org-colview-xemacs.el (org-columns-remove-overlays)
1731         (org-columns): Fix call to `local-variable-p'.
1733 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1735         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1736         (org-export-as-html): Run the new hook.
1738         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1739         (org-export-latex-preprocess): Run the new hook.
1741         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1742         (org-export-preprocess-string): Run the new hook.
1744 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1746         * org-macs.el (org-check-external-command): New defsubst.
1748         * org.el (org-mode-map): New key for reload.
1749         (org-format-latex): Better error message when external programs
1750         are not available.
1752         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1754         * org.el (org-sort-entries-or-items): Explicit sorting function
1755         for priorities, needed for XEmacs compatibility.
1757         * org-remember.el (org-remember-apply-template): Improve auto-save
1758         behavior.
1760 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1762         * org-latex.el (org-export-latex-preprocess): Also protect
1763         environments ending in a star.
1765         * org-list.el (org-at-item-p): Fix regular expression.
1767 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1769         * org.el (org-end-of-subtree): Improve speed.
1771         * org-agenda.el (org-agenda-get-timestamps)
1772         (org-agenda-get-progress, org-agenda-get-deadlines)
1773         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1774         in particular, wait as long as possible to collect the tags.
1775         (org-stuck-projects): Improve docstring.
1777         * org.el (org-store-link): No errors when getting custom id before
1778         first headline.
1779         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1781 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1783         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1785         * org-protocol.el: Remove dependency on url.el.
1786         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1787         dependency on url.el.
1789         * org-latex.el (org-export-as-pdf): Use
1790         `org-latex-to-pdf-process'.
1792 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1794         * org-latex.el (org-latex-to-pdf-process): New option.
1796         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1797         New option.
1798         (org-agenda-get-timestamps): Honor
1799         `org-agenda-skip-additional-timestamps-same-entry'.
1801         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1802         (org-clock-goto): Find recent task only if
1803         `org-clock-goto-may-find-recent-task' allows it.
1805         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1806         drawers, and drawers that are missing the :END: line.
1808 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1811         clock is running.
1813 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1815         * org.el (org-update-parent-todo-statistics): Check for
1816         STATISTICS_FROM property.
1818         * org-list.el (org-update-checkbox-count): Check for
1819         STATISTICS_FROM property.
1821         * org.el (org-tab-first-hook)
1822         (org-tab-after-check-for-table-hook)
1823         (org-tab-after-check-for-cycling-hook): New hooks.
1824         (org-cycle-internal-global, org-cycle-internal-local): New
1825         functions, split out from `org-cycle'.
1826         (org-cycle): Call the new hooks.
1828 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1830         * org-exp.el (org-export-preprocess-string): Reset the list of
1831         preferred targets for each run of the preprocessor.
1833         * org.el (org-refile-target-verify-function): Improve
1834         documentation.
1835         (org-get-refile-targets): Respect point being moved by the
1836         verification function.
1838         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1839         option.
1840         (org-export-latex-keywords): Use new option.
1842         * org.el (org-rear-nonsticky-at): New defsubst.
1843         (org-activate-plain-links, org-activate-angle-links)
1844         (org-activate-footnote-links, org-activate-bracket-links)
1845         (org-activate-dates, org-activate-target-links)
1846         (org-activate-tags): Place the rear-nonsticky properties at the
1847         correct location.
1849 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1851         * org-protocol.el (server-edit): Declare `server-edit'.
1852         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1853         functions.
1854         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1856         * org.el (org-default-properties): New default properteis for
1857         completion.
1859         * org-exp.el (org-export-add-subtree-options): Add new properties
1860         for subtree export.
1862         * org-docbook.el (org-export-docbook-keywords-markup)
1863         (org-export-docbook-timestamp-markup): New options.
1864         (org-export-docbook-protect-tags): New function.
1866 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1868         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1869         org-refile-target-verify-function for the duration of the command.
1871         * org.el (org-link-to-org-use-id): New possible value
1872         `create-if-interactive-and-no-custom-id'.
1873         (org-store-link): Use custom IDs.
1874         (org-link-search): Find custom ID properties from #link.
1875         (org-default-properties): Add CUSTOM_ID for property completion.
1876         (org-refile-target-verify-function): New option.
1877         (org-goto): Turn off org-refile-target-verify-function
1878         for the duration of the command.
1880 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1882         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1884         * org-exp.el (org-export-preferred-target-alist): New variable.
1885         (org-export-define-heading-targets): Find the new CUSTOM_ID
1886         property.
1887         (org-export-target-internal-links): Target the custom ids when
1888         possible.
1890         * org-latex.el (org-export-latex-preprocess): Better regexp for
1891         matching latex macros with arguments.
1893 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1895         * org-remember.el (org-remember-handler): Allow filing to non-org
1896         files.
1898 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1900         * org-feed.el (org-feed-alist): New keyword options.
1901         (org-feed-update): Use the new options.
1902         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1903         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1904         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1905         functions.
1907         * org-table.el (org-table-fix-formulas): Do not change references
1908         to remote tables.
1909         (org-table-get-remote-range): Convert standard coordinates to RC
1910         format.
1912         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1914 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1916         * org-compat.el (org-sha1-string): Function removed.
1918         * org.el (org-refile-allow-creating-parent-nodes): New option.
1919         (org-refile-get-location): New argument NEW-NODES.
1920         (org-refile): Call `org-refile-get-location' with the new
1921         argument.
1922         (org-refile-get-location): Arrange for adding a new child.
1923         (org-refile-new-child): New function.
1925         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1926         an additional span element.
1928         * org-clock.el: Fix a number of docstrings.
1929         (org-clock-find-position): New argument
1930         FIND-UNCLOSED to make the function find an unclosed clock in the
1931         entry.
1932         (org-clock-in): Call `org-clock-find-position' with the new
1933         argument if we might be resuming a clock.
1935 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1937         * org-latex.el (org-export-latex-display-custom-times): New variable.
1938         (org-export-latex-timestamp-markup): New option.
1939         (org-export-latex-set-initial-vars): Remember the local value of
1940         `org-display-custom-times'.
1941         (org-export-latex-content): Process time stamps.
1942         (org-export-latex-time-stamps): New function.
1944         * org-macs.el (org-maybe-intangible): Add intangible property
1945         again to invisible text.
1947 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1949         * org-exp.el (org-default-export-plist): Handle undefined
1950         variables.
1952 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1954         * org.el (org-sort-entries-or-items): Match TODO keywrds
1955         case-sensitively, when sorting.
1956         (org-priority): Do not match TODO keywords with wrong case.
1958 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1960         * org-feed.el (org-feed-update): Bind the variable
1961         `new-formatted'.
1963         * org-html.el (org-export-as-html): Start paragraphs after literal
1964         examples.
1966         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1967         literal examples.
1969 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1971         * org.el (org-todo): Honor the NOBLOCKING property.
1973         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1974         NOBLOCKING property.
1976         * org.el (org-scan-tags): Fix bug in tag scanner
1978 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1980         * org.el (org-modules): Mark obsolete packages.
1982         * org-html.el: New file, split out from org-exp.el.
1984         * org-icalendar.el: New file, split out from org-exp.el.
1986         * org-xoxo.el: New file, split out from org-exp.el.
1988         * org-ascii.el: New file, split out from org-exp.el.
1990 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1992         * org-compat.el (org-find-library-name): New function.
1994         * org.el (org-pre-cycle-hook): New hook.
1995         (org-cycle): Call the new hook in appropriate places.
1996         (org-reload): Only reload files that have been loaded before.
1998 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2000         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2001         after todo keyword.
2002         (org-todo): When changing TODO state, do matching
2003         case-sensitively.
2004         (org-map-continue-from): New variable.
2005         (org-scan-tags): Respect values in `org-map-continue-from'.
2006         (org-reload): Make XEmacs compatible.
2008 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2010         * org-protocol.el (org-protocol-flatten-greedy): New function.
2011         (org-protocol-flatten): New function.
2013         * org.el (org-open-link-from-string): Pass reference buffer to
2014         `org-open-at-point'.
2015         (org-open-at-point): New optional argument `reference-buffer'.
2017 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2019         * org.el (org-scan-tags): Make tag scan find headline in first
2020         line, 2nd attempt.
2021         (org-get-refile-targets): Add the naked file name.
2022         (org-refile): Store as top-level entry when only file name was
2023         given.
2025         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2027         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2028         Renamed from org-block-todo-from-children-or-siblings, and
2029         enhanced to look for the parent's status as well.
2031         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2032         (org-agenda-get-progress): Add first notes line to log entry if so
2033         desired.
2035 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2037         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2038         (org-agenda-cleanup-fancy-diary): Call the new hook.
2040         * org-remember.el (org-remember-apply-template): Take the default
2041         for the annotation from the :annotation property.
2043         * org-mac-message.el (org-mac-message-get-link): Remove the
2044         quotes.
2045         (org-mac-message-get-link): Return the result.
2047 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2049         * org.el (org-refile-get-location): Add file name only if not
2050         already included in outline path.
2052         * org-faces.el (org-n-level-faces): Fix customization type from
2053         number to integer.
2055         * org-exp.el (org-export-headline-levels): Fix customization type
2056         from number to integer.
2058         * org-agenda.el (org-agenda-confirm-kill)
2059         (org-agenda-custom-commands-local-options)
2060         (org-timeline-show-empty-dates, org-agenda-ndays)
2061         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2062         customization type from number to integer.
2064 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2066         * org-protocol.el: Declare some functions.
2068         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2069         postion before inserting modified headline.
2071         * org-agenda.el (org-agenda-compare-effort): Honor
2072         `org-sort-agenda-noeffort-is-high'.
2073         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2074         (org-agenda-compare-effort): Implement the "?" operator for
2075         finding entries without effort setting.
2077         * org.el (org-extract-attributes-from-string): New function.
2079         * org-exp.el (org-export-splice-attributes): New function.
2081 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2083         * org-mouse.el: XEmacs compatibility fixes
2085         * org-docbook.el (org-export-as-docbook): Process footnotes like
2086         normal text.
2088         * org.el (org-modules): Add org-inlinetasks.el
2089         (org-cycle): Implement limiting level on cycling.
2090         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2091         buffer.
2093         * org-inlinetask.el: New file.
2095         * org.el (org-emphasis-regexp-components): Allow braces in
2096         emphasis pre and post match.
2098         * org-footnote.el (org-footnote-normalize): When only dorting, do
2099         not insert inline notes at the end.
2101         * org-docbook.el (org-id-find-id-file): Add function declaration.
2103         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2105         * org-docbook.el: New file.
2107 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2109         * org.el (org-reftex-citation): New command.
2111 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2113         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2114         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2115         sorting options.
2116         (org-entries-lessp): Apply the new sorting option.
2118         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2119         blocker code, when an older sibling has children.
2121         * org-mac-message.el (org-mac-message-get-link): Improve getting
2122         links from multiple selected messages.
2124 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2126         * org-remember.el (org-remember-finalize): Do not set buffer file
2127         name to nil.
2128         (org-remember-handler): Mark buffer as unmodified.
2129         (org-remember-handler): Delete backup file and show message about
2130         remaining backup files.
2131         (org-remember-auto-remove-backup-files): New option.
2133         * org.el (org-store-link): Use buffer name as link description in
2134         w3-mode buffers.
2135         (org-ido-switchb): Fix argument bug for completion.
2137         * org-remember.el (org-remember-apply-template): Set local
2138         variable `auto-save-visited-file-name' instead of global one.
2140 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2142         * org-feed.el: Re-write.
2144         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2145         (org-agenda-get-todos): Mark file tags as inherited.
2146         (org-agenda-list): Always search diary lines for a time.
2148 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2150         * org-feed.el (org-feed-assume-stable): New option.
2151         (org-feed-before-adding-hook): New hook.
2153         * org-exp.el (org-export-as-html): Close local lists depending on
2154         indentation, also when starting a table.
2156         * org-remember.el (org-remember-backup-directory)
2157         (org-remember-backup-name): New internal variable.
2159 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2161         * org-clock.el (org-clock-out-if-current): Make buffer detection
2162         work in indirect buffers as well.
2164         * org.el (org-emphasis-regexp-components): Add the exxclamation
2165         mark to the post-emphasis characters.
2167 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2169         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2170         (org-read-date): Run the new hook.
2172         * org-mac-message.el (org-mac-flagged-mail): New group.
2173         (org-mac-mail-account): New variable.
2174         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2175         commands.
2177         * org-remember.el (org-remember-backup-directory): New variable.
2178         (org-remember-apply-template): Write file to backup directory.
2180 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2182         * org-mouse.el (org-mouse-todo-menu): New function.
2183         (org-mouse-todo-keywords): Function removed.
2184         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2186         * org-table.el (org-table-beginning-of-field)
2187         (org-table-end-of-field): New commands
2188         (org-table-previous-field, org-table-beginning-of-field): Better
2189         error messages.
2190         (orgtbl-setup): Include `M-a' and `M-e'.
2192         * org.el (org-backward-sentence, org-forward-sentence): New
2193         commands.
2195         * org-colview.el (org-colview-initial-truncate-line-value): New
2196         variable.
2197         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2198         (org-columns): Remember the value of `truncate-lines'.
2200         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2201         New variable.
2202         (org-columns-remove-overlays): Restore the value of
2203         `truncate-lines'.
2204         (org-columns): Remember the value of `truncate-lines'.
2206         * org.el (org-columns-skip-arrchived-trees): New option.
2208         * org-agenda.el (org-agenda-export-html-style): Define color for
2209         org-agenda-done face.
2210         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2211         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2213         * org.el (org-scan-tags): Use the new face.
2215         * org-faces.el (org-agenda-done): New face.
2217         * org.el (org-scan-tags): Test the value org
2218         `org-tags-match-list-sublevels'.
2219         (org-tags-match-list-sublevels): New allowed value: indented.
2221         * org-export-latex.el (org-export-latex-make-header): Apply macros
2222         in header.
2224         * org-exp.el (org-export-apply-macros-in-string): New function.
2226         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2227         with the definition of a checked box.
2229         * org-clock.el (org-clock-find-position): Fix drawer indentations.
2231         * org-export-latex.el (org-export-latex-low-levels): More options
2232         for how to process lower levels in LaTeX.
2233         (org-export-latex-subcontent): Better treatment for lists as a
2234         means of publishing lower levels.
2236 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
2238         * org.el (org-set-font-lock-defaults): Use new checkbox face.
2240         * org-faces.el (org-checkbox): New face.
2242         * org-exp.el (org-export-html-preprocess): Only create LaTeX
2243         fragement images if there is an export file.
2245 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
2247         * org-agenda.el (org-stuck-projects): Document that the subtree of
2248         projects that are not stuck will now be searched for stuck
2249         sub-projects.
2250         (org-agenda-skip-entry-when-regexp-matches)
2251         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2252         (org-agenda-list-stuck-projects): Use
2253         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2255         * org-export-latex.el (org-export-latex-preprocess): Improve
2256         export of verses.
2258         * org-exp.el (org-export-as-html): Implement centering as a div
2259         rather than a paragraph.  Do a better job with line-end in verse
2260         environments.
2262 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
2264         * org.el (org-open-at-point): Fix tags searches by mouse click.
2266 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
2268         * org-export-latex.el (org-export-latex-preprocess): Implement the
2269         centering markup.
2271         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2272         from `org-export-mark-blockquote-and-verse'.
2273         (org-export-as-html): Implement the centering markup.
2275         * org-export-latex.el (org-export-latex-tables): Fix vertical
2276         lines in tables.
2278 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
2280         * org.el (org-read-date-history): New variable.
2281         (org-read-date): Use new history variable.
2282         (org-toggle-heading): Fix bug when used before first headline.
2283         (org-store-log-note): Remove drawer if empty while note is
2284         aborted.
2285         (org-remove-empty-drawer-at): New function.
2286         (org-check-after-date): New command.
2287         (org-sparse-tree): New sparse tree command "a".
2289         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2291 2009-03-14  Bastien Guerry  <bzg@altern.org>
2293         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2294         column and a space, not only a column.
2296 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
2298         * org-export-latex.el (org-export-latex-emphasis-alist): Better
2299         defaults for verbose emphasis.
2300         (org-export-latex-emph-format): New function.
2301         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2303         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2304         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2305         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2306         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2307         commands.
2309         * org.el (org-timestamp-change): Move end-time along with start
2310         time.
2312 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2314         * org-exp.el (org-export-target-internal-links)
2315         (org-export-as-html): Protect links specified as #name.
2317 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2319         * org.el (org-clone-subtree-with-time-shift): New command.
2321         * org-export-latex.el (org-export-latex-special-chars)
2322         (org-export-latex-treat-sub-super-char): Fix subscript export.
2324         * org-exp.el (org-create-multibrace-regexp): Do not add
2325         backslashes to the class.
2327 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2329         * org-colview.el (org-columns-map): Better functions for moving up
2330         and down a row, even if `truncate-line' is nil.
2332         * org.el (org-insert-todo-heading): Make sure the keyword is
2333         inserted at the correct position.
2335         * org-publish.el (org-publish-project-alist)
2336         (org-publish-projects, org-publish-org-index): Change default anme
2337         for the index of file names to "sitemap.org".
2339         * org-export-latex.el (org-export-latex-tables): Use
2340         `org-split-string', for Emacs 21 compatibility.
2342 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2344         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2346 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2348         * org-exp.el (org-export-page-description)
2349         (org-export-page-keywords): New variables.
2350         (org-export-plist-vars): Add entries for :keywords and
2351         :description.
2352         (org-infile-export-plist): Parse for new keywords.
2353         (org-get-current-options): Add new keywords
2354         (org-export-as-html): Publish description and keywords.
2356         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2357         option.
2358         (org-agenda-add-entry-text): Honor
2359         `org-agenda-add-entry-text-descriptive-links'.
2361         * org-export-latex.el (org-export-latex-preprocess): Make all
2362         external preprocess functions use a PARAMETER arg.
2364         * org-exp.el (org-export-preprocess-string)
2365         (org-export-select-backend-specific-text)
2366         (org-export-format-source-code-or-example)
2367         (org-format-org-table-html): Support docbook export.
2368         (org-export-preprocess-string): Make all external preprocess
2369         functions use a PARAMETER arg.
2371 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2373         * org-exp.el (org-export-html-style-include-scripts): New option.
2374         (org-export-plist-vars): Add new option
2375         `org-export-html-style-include-scripts'.
2376         (org-export-as-html): Honor new option
2377         `org-export-html-style-include-scripts'.
2378         (org-export-html-scripts, org-export-html-style-default): Fix
2379         xml issues with the Safari browser.
2381 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2383         * org-publish.el (org-publish-attachment): Only copy file when the
2384         directories differ.
2386 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2388         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2389         for clocktable steps.
2391         * org.el (org-additional-option-like-keywords): Add two more
2392         keywords.
2394 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2396         * org-exp.el (org-export-format-source-code-or-example): Mark
2397         temporary buffer unmodified, so that it will be killed even if
2398         mode like message mode has decided to assign a file name.
2400         * org.el (org-scan-tags): Improve tag inheritance.
2401         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2402         case-sensitive.
2403         (org-scan-tags): Use the internal tags list instead of creating it
2404         from scratch.
2405         (org-trust-scanner-tags, org-scanner-tags): New variables.
2406         (org-scan-tags): Set `org-scanner-tags'.
2407         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2408         (org-map-entries): Document the possible speedup using scanner
2409         tags.
2411 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2413         * org.el (org-add-planning-info): Fix bug with looking for keyword
2414         only at column 0.
2416         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2417         option for tags filter preset.
2418         (org-prepare-agenda): Store filter preset as a property on the
2419         filter variable.
2420         (org-finalize-agenda): Call the filter, if there is a preset.
2421         (org-agenda-filter-by-tag): Filter again after clearing the
2422         filter, when there still is a preset.
2423         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2424         Include the preset filter.
2425         (org-agenda-redo): Apply the filter again, also the preset filter.
2427         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2429         * org.el (org-uuidgen-p): New funtion.
2431         * org-agenda.el (org-agenda-fontify-priorities): New default value
2432         `cookies'.
2433         (org-agenda-fontify-priorities): Renamed from
2434         org-fontify-priorities.
2436         * org.el (org-set-font-lock-defaults): Call
2437         `org-font-lock-add-priority-faces'.
2438         (org-font-lock-add-priority-faces): New function.
2440         * org-faces.el: (org-set-tag-faces): New option.
2441         (org-priority-faces): New variable.
2443         * org-exp.el (org-export-as-html): Add a "content" div around the
2444         entire content of the body tag.
2445         (org-export-html-get-bibliography): New function.
2446         (org-export-html-validation-link): New variable.
2447         (org-export-as-html): Add validation link to exported page.
2449         * org.el (org-match-sparse-tree): Renamed from
2450         `org-tags-sparse-tree'.
2451         (org-tags-sparse-tree): New alias.
2453 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2455         * org.el (org-get-valid-level): Catch the case where the level
2456         change is nil.
2458         * org-clock.el (org-clock-find-position): Better indentation of
2459         new clock drawers.
2461 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2463         * org-agenda.el (org-agenda-quit): Delete window only when the
2464         frame-setup was not `current-window'.
2466         * org.el (org-tag-persistent-alist): New option.
2467         (org-startup-options): Add keyword `noptag'.
2468         (org-fast-todo-selection): Handle :newline correctly.
2469         (org-set-tags): Handle :newline correctly.
2470         (org-fast-tag-selection): Handle :newline correctly.
2472 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2474         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2475         outputting it.
2476         (org-export-ascii-push-links): Fix bug with pussing links into the
2477         export buffer.
2479 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2481         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2482         pasting at top level.
2484         * org-bbdb.el: Improve documentation.
2486 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2488         * org-list.el (org-insert-item): Only consider insert empty lines
2489         is `org-empty-line-terminates-plain-lists' is not nil.
2491         * org.el (org-blank-before-new-entry): Mention the dependence on
2492         `org-empty-line-terminates-plain-lists' in the docstring.
2494         * org-publish.el (org-publish-get-project-from-filename): New
2495         optional argument UP.  Only find the top project if UP is set.
2496         (org-publish-current-project): Find the top encloding project.
2498         * org-agenda.el (org-agenda-before-write-hook)
2499         (org-agenda-add-entry-text-maxlines): New options.
2500         (org-write-agenda): Run the new hook in the temporary buffer.
2501         (org-agenda-add-entry-text): New function.
2502         (org-write-agenda): Implement PDF export, using ps2pdf.
2504         * org.el (org-global-properties-fixed, org-global-properties):
2505         Improve documentation string.
2507         * org-exp.el (org-export-ascii-links-to-notes): New option.
2508         (org-export-as-ascii): Handle links better.
2509         (org-export-ascii-wrap, org-export-ascii-push-links): New
2510         functions.
2512 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
2514         * org-agenda.el (org-agenda): Make prefix arg optional.
2515         (org-agenda-search-headline-for-time): New option.
2516         (org-format-agenda-item): Honor
2517         `org-agenda-search-headline-for-time'.
2519         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2520         characters.
2522         * org.el (org-self-insert-cluster-for-undo): New option.
2523         (org-self-insert-command): Cluster undo for 20 characters.
2524         (org-self-insert-command-undo-counter): New variable.
2526 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
2528         * org-exp.el (org-export-as-html): Fix problem with closing colone
2529         example.
2531 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
2533         * org-export-latex.el (org-export-as-latex)
2534         (org-export-latex-first-lines): Avoid modification flag when
2535         adding or removing text properties.
2536         (org-export-latex-fontify): Catch error when org-emph-alist has
2537         entries that are not defined for LaTeX export.
2539         * org.el (orgstruct++-mode): New function.
2540         (turn-on-orgstruct++): Call `orgstruct++-mode'.
2541         (org-context-p): Allow detecting item context after the first line
2542         of an item.
2543         (orgstruct-make-binding): Detect if item-body context should be
2544         seen.
2545         (orgstruct-is-++): New variable.
2546         (org-add-planning-info): Catch the case when there is no planning
2547         info yet and the call does not want to add anything, only maybe
2548         tries to remove something.
2549         (org-special-ctrl-a/e): All value to be a cons cell with separate
2550         settings for `C-a. and `C-e'.
2551         (org-beginning-of-line, org-end-of-line): Honor separate values
2552         for `C-a' and `C-e'.
2554 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
2556         * org.el (org-reload): New command.
2558 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org-exp.el (org-export-htm-get-tag-class-name)
2561         (org-export-htm-get-todo-kwd-class-name): New functions.
2562         (org-export-html-tag-class-prefix)
2563         (org-export-html-todo-kwd-class-prefix): New options.
2564         (org-export-as-html): Call
2565         `org-export-html-get-todo-kwd-class-name'.
2566         (org-html-level-start): Wrap tags into classes.
2567         (org-export-html-get-tag-class-name)
2568         (org-export-html-get-todo-kwd-class-name): New functions.
2570         * org-export-latex.el (org-export-latex-collect-header-macros):
2571         Remove fields that are used anyway.
2572         (org-export-latex-make-header): Insert the options earlier.
2574         * org-agenda.el (org-agenda-get-progress): Fix bug with state
2575         matching.
2577         * org-list.el (org-indent-item): Allow point to be at the end of
2578         the region.
2580         * org.el (org-metaleft, org-metaright): Be more accurate about
2581         detecting a region where commands apply.
2583         * org-compat.el (org-cursor-to-region-beginning): New function.
2585         * org.el (org-priority): Also find invisible heading.
2587         * org-colview-xemacs.el (org-columns-edit-value): No special
2588         treatment for `org-todo' prefix.
2590         * org-colview.el (org-columns-edit-value): No special treatment
2591         for `org-todo' prefix.
2593         * org-remember.el (org-remember-apply-template): Use
2594         `org-completing-read-no-ido'.
2596         * org.el (org-completing-read-no-ido): New function.
2597         (org-make-tags-matcher, org-set-property): Use
2598         `org-completing-read-no-ido'.
2600         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2601         New option.
2602         (org-export-as-latex): Import in-buffer settings as TeX macros.
2603         (org-export-latex-make-header): Additional parameter OPT-DEFS.
2604         (org-export-latex-collect-header-macros): New function.
2606         * org.el (org-refile-get-location): Turn off
2607         `partial-completion-mode'.
2609 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
2611         * org.el (org-block-todo-from-checkboxes): Announce that
2612         checkboxes are the culprit.
2613         (org-block-todo-from-children-or-siblings): Call
2614         `org-up-heading-all instead' of `outline-up-heading'.
2616         * org-agenda.el (org-agenda-show-1): Renamed from
2617         `org-agenda-show'.
2618         (org-agenda-show): Re-install the old version for now.
2619         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
2620         variable into the blokker hook, so that the checkbox checker can
2621         anounce that it caused the blocking.
2623         * org.el (org-track-ordered-property-with-tag): New option.
2624         (org-toggle-ordered-property): Honor
2625         `org-track-ordered-property-with-tag'.
2626         (org-tag-alist): Add newline options.
2627         (org-set-regexps-and-options): Separate option lines imply a
2628         newline.
2629         (org-set-regexps-and-options, org-assign-fast-keys)
2630         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2631         option.
2632         (org-indent-line-function): Make sure this works even if there is
2633         not `org-drawer-regexp' defined.  This can happen when
2634         orgstruct-mode is used in a non-org buffer.
2636         * org-list.el (org-checkbox-blocked-p): New function.
2637         (org-toggle-checkbox): Check for blocking.
2639         * org.el (org-modules): Add an entry for org-R.el.
2641         * org-agenda.el (org-agenda-todo-ignore-with-date)
2642         (org-agenda-todo-ignore-scheduled)
2643         (org-agenda-todo-ignore-deadlines): Mention the variable
2644         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2646         * org.el (org-get-wdays): Find the warning period also if it is in
2647         the wrong place.
2648         (org-ido-completing-read): Provide the correct arguments to
2649         ido-completing-read and bind `ido-enter-matching-directory' to
2650         nil.
2652 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2654         * org.el (org-olpath-completing-read): Never use ido for this
2655         one.
2657         * org-exp.el (org-export-normalize-links): Use new macro.
2659         * org-macs.el (org-if-unprotected-at): New macro.
2661         * org-agenda.el (org-agenda-show): Allow numerical prefix
2662         arguments to specify how much context should be shown.
2663         (org-agenda-cycle-show): New command, could be bound to SPC in
2664         org-agenda-mode-map.
2666         * org-exp.el (org-html-level-start): Space after section number.
2668 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2670         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2671         property, for sorting.
2672         (org-cmp-todo-state): Get the applicable TODO keywords directly
2673         from the buffer.
2674         (org-run-agenda-series, org-agenda-list, org-search-view)
2675         (org-todo-list, org-tags-view): Only fit agenda window when the
2676         whole series is done.
2678         * org.el (org-scan-tags): Add todo state as property, for sorting.
2680         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2681         `org-agenda-overriding-header' as an option.
2682         (org-agenda-list): Honor org-agenda-overriding-header'.
2684 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2686         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2687         after removing a checkbox.
2689         * org.el (org-show-entry): Make this work correctly also if it is
2690         the last entry in the file.
2691         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2692         falling back to normal, default command.
2693         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2694         item, call the checkbox toggler to get a box.
2696         * org-list.el (org-toggle-checkbox): Make double prefix set the
2697         checkbox to "[-]".
2698         (org-fix-bullet-type): Only replace bullet if it is changed.
2699         (org-renumber-ordered-list): Handle case when first item does not
2700         have a number.
2702         * org.el (org-add-log-setup): Fix positioning when
2703         `org-log-states-order-reversed' is nil.
2705         * org-clock.el (org-clock-in): Fix positioning when
2706         `org-log-states-order-reversed' is nil.
2707         (org-clock-find-position): Fix positioning when
2708         `org-log-states-order-reversed' is nil.
2710 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2712         * org-clock.el (org-clock-into-drawer): Take default from
2713         `org-log-into-drawer'.
2714         (org-clock-find-position): Look for the correct drawer.
2716         * org.el (org-log-into-drawer): Renamed from
2717         `org-log-state-notes-into-drawer'.
2718         (org-log-state-notes-into-drawer): New variable alias.
2719         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2720         CLOCK.
2721         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2723 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2725         * org-agenda.el (org-agenda): Fix docstring.
2727         * org.el ("org-plot"): Help loading org-plot.
2728         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2729         (org-metadown-hook, org-shiftmetaleft-hook)
2730         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2731         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2732         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2733         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2734         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2736         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2737         for selecting files with any (and even without) extension.
2739         * org.el (org-save-all-org-buffers): Also save id locations.
2740         (org-revert-all-org-buffers): Also load id locations.
2742 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2743         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2744         (org-log-state-notes-into-drawer): New option.
2745         (org-add-log-setup): Place the sate note marker into the drawer,
2746         create drawer when necessary.
2747         (org-refile-targets): Document special interpretation of LEVEL
2748         when odd-levels are used.
2750 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2752         * org.el (org-store-log-note): Fix note indentation when adding
2753         notes to end of list.
2755         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2756         class, so that each keyword can get special colors through CSS.
2758         * org-clock.el (org-clock-out): Add another nil for the previous
2759         state into the call to `org-add-log-setup'.
2761         * org.el (org-log-note-previous-state): New variable.
2762         (org-log-note-headings): New %S escape for old state.
2763         (org-todo): Call the note setup with the old state as an
2764         argument.
2765         (org-add-note): Add another nil for the previous state into the
2766         call to `org-add-log-setup'.
2767         (org-add-log-setup): New argument PREV-STATE.
2768         (org-add-log-note): Handle new %S escape.
2769         (org-store-log-note): Handle new %S escape.
2771 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2773         * org-clock.el (org-clock-find-position): Do not swallow an item
2774         less indented than the CLOCK line itself.
2775         (org-clock-in): Push markers to lin after the clock line.
2776         (org-clock-find-position): Handle values of
2777         `org-clock-into-drawer' smaller than 2.
2779         * org-exp.el (org-html-level-start): Add a CSS class to section
2780         numbers.
2781         (org-export-html-toplevel-hlevel): Better documentation of the
2782         influence of this variables on H levels and css classes in
2783         export.
2785 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2788         timestamp and nottimestamp to the chooe menu.
2790         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2791         (org-revert-all-org-buffers): New command.
2793 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2795         * org.el (org-return): Implement `org-return-follows-link' in the
2796         function org-return.  This is more robust than using the mouse
2797         map, I think.
2798         (org-set-regexps-and-options): Match more general #+TODO lines.
2799         (org-make-options-regexp): New optional argument EXTRA, for an
2800         extra regexp.
2801         (org-tab-follows-link): Mark as deprecated.
2803 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2805         * org-exp.el (org-export-preprocess-string): Remove clock lines
2806         earlier, so that they cannot cotribute to verbatim snippets.
2808 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2810         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2811         for finding drawers.
2812         (org-export-as-ascii, org-export-as-html): Count levels relative
2813         to the subtree header.
2814         (org-get-min-level): New optional argument OFFSET.
2815         (org-export): Make sure point is restored after popping up that
2816         window.
2818         * org.el (org-do-sort): Also take an inactive timestamp if no
2819         active one is found.
2821         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2822         deleting duplicates.
2824         * org-colview.el (org-columns-capture-view): Copy before
2825         deleting duplicates.
2827         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2828         text before first headline.
2830         * org.el (org-format-latex): Do not convert LaTeX fragments in
2831         protected examples.
2833 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2835         * org-exp.el (org-export-html-style-default): Use color values
2836         instead of names for XHTML validation.
2838         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2839         functions.
2840         (org-return-follows-link): Revert making this the default untile
2841         issues are resolved.
2843         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2844         nottimestamp.
2846 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2848         * org.el (org-mode): Make dependence stuff work more reliably.
2849         (org-update-parent-todo-statistics): Fix bug with updating
2850         statistics cookie.
2852         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2853         ~ as verbatim delimiters.
2855         * org-exp.el (org-export-html-format-image): New argument
2856         PAR-OPEN.
2857         (org-export-as-html): Pass par-open to
2858         `org-export-html-format-image'.
2860 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2862         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2863         (org-use-fast-todo-selection, org-tags-column): New default
2864         setting for variables, based on a poll what typical uses use.
2866         * org-agenda.el (org-agenda-sorting-strategy)
2867         (org-agenda-tags-column): New default setting for variables, based
2868         on a poll what typical uses use.
2870 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2872         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2873         blocked entries from setting the blocked tag.
2875         * org-exp.el (org-export-html-footnotes-section): Use a more
2876         consistent id for footnotes.
2878         * org-export-latex.el (org-export-latex-classes): Remove the
2879         a4paper option from the default styles.
2881 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2883         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2884         (org-block-todo-from-checkboxes): New function.
2885         (org-todo): Make tripple prefix arg circumvent blocking.
2887         * org-timer.el (org-timer): Provide the timer feature.
2889         * org.el (org-require-autoloaded-modules): Add a few more files to
2890         the list of autoloaded modules.
2892         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2894 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2896         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2897         drawers that are unprotected.
2898         (org-export-html-format-image): Make sure inlined LaTeX fragment
2899         images remain inlined.
2901         * org.el (org-toggle-ordered-property): New function.
2902         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2903         (org-org-menu): Add menu entries for TODO dependencies.
2905 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2907         * org.el (org-default-properties): Add ORDERED to the default
2908         properties, to get completion support for it.
2910         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2912         * org.el (org-update-parent-todo-statistics): Update more than one
2913         cookie.
2915         * org-agenda.el (org-agenda-get-todos): Start search from correct
2916         position.
2918         * org.el (org-fast-todo-selection): Make sure TODO selection does
2919         not change buffer position.
2921         * org-list.el (org-toggle-checkbox): Implement adding or removing
2922         checkboxes from line or region when called with a prefix
2923         argument.
2925         * org-rmail.el (org-rmail-store-link): Protect the call to
2926         `rmail-narrow-to-non-pruned-header'.
2928         * org-clock.el (org-clock-special-range): Fix week display in
2929         clock tables.
2931         * org-exp.el (org-get-current-options): Fix bug when in indirect
2932         buffer.
2934 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2936         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2937         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2938         (org-agenda-dim-blocked-tasks): New function.
2940         * org.el (org-enforce-todo-dependencies): New option.
2941         (org-block-todo-from-children-or-siblings): New function.
2943         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2945         * org.el (org-todo): Return correct state type even if the blocker
2946         throws an error.
2947         (org-modifier-cursor-error): Renamed from
2948         `org-shiftcursor-error'.
2949         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2950         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2952         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2953         to get real errors from the blocker hook.
2955         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2956         functions.
2957         (org-set-visibility-according-to-property): Turn off the setting
2958         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2959         property.
2961 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org.el (org-support-shift-select): New option.
2964         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2965         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2966         selection outside contexts.
2968         * org-list.el (org-at-item-bullet-p): New function.
2970         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2971         variables.
2973         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2974         variable.
2975         (org-insert-footnote-reference-near-definition): Remove
2976         unnecessary let form.
2978         * org-export-latex.el (org-export-latex-first-lines): Add
2979         OPT-PLIST parameter.
2980         (org-export-as-latex): Call `org-export-latex-first-lines' with
2981         opt-plits parameter.
2982         (org-export-latex-preprocess): Remove unnecessary variables.
2984         * org-exp.el (org-infile-export-plist)
2985         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2986         (org-export-remove-headline-metadata)
2987         (org-export-get-title-from-subtree, org-get-min-level)
2988         (org-html-do-expand): Remove innecessary let form.
2990         * org-colview-xemacs.el (org-columns-display-here): Remove
2991         unnecessary variables.
2993         * org-colview.el (org-columns-display-here): Remove unnecessary
2994         variables.
2996         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2997         variables.
2999         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3000         unnecessary variables.
3002         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3003         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3004         variables.
3006         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3007         (org-compact-display-after-subtree-move): Remove unnecessary
3008         variables.
3009         (org-edit-fixed-width-region): Remove unnecessary variables.
3010         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3011         (org-olpath-completing-read): Remove unnecessary variable.
3012         (org-auto-repeat-maybe): Remove unnecessary variable.
3013         (org-map-entries): Remove unnecessary variable.
3014         (org-buffer-property-keys, org-imenu-get-tree)
3015         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3017 -----------------------------------------------------------------
3019 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3020         * org-exp.el (org-export-remove-timestamps): Never remove
3021         timestamps from tables.
3023         * org-export-latex.el (org-export-latex-first-lines): Add more
3024         options to the preprocessing of the text before the first
3025         headline.
3027 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3029         * org-faces.el (org-clock-overlay): Make face compatible with
3030         XEmacs.
3032         * org.el (org-yank): Add property for delete-selection mode.
3034         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3036         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3037         variable.
3039         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3040         to `backward-char'.
3042         * org-exp.el (org-export-as-html): Remove the initial space from
3043         colon examples.
3045         * org.el (org-scan-tags): Call
3046         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3048         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3049         customization groups.
3050         (org-agenda-tags-todo-honor-ignore-options): New option.
3051         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3052         New function.
3053         (org-agenda-get-todos): Use
3054         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3056 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3058         * org-exp.el (org-export-format-source-code-or-example): Escape
3059         HTML characters also in examples that anre not treated with
3060         htmlize.  Also, just switch to EXAMPLE processing if we do not
3061         have a good version of htmlize.
3063         * org-rmail.el: Fix copyright notice.
3065         * org.el (org-activate-footnote-links): Improve footnote link
3066         highlighting.
3068         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3069         a footnote definition at the end of the file.
3071         * org-table.el (org-table-get-specials): Add an imagined hline at
3072         the end of the table.  This can be useful for references that want
3073         to go to the end of the table.  Also fix bug when computing last
3074         row constants, in tables that do not start right at the right
3075         margin.
3076         (org-table-eval-formula): Match and replace remove references.
3077         (org-table-formula-substitute-names): Make sure that names inside
3078         a "remote" call are left alone, the will be replaced later when
3079         the remote call is handled.
3080         (org-table-convert-refs-to-rc): Do not convert things that might
3081         look like a reference, but are really part of an ID or namei n a
3082         remote reference.
3083         (org-table-get-remote-range): New function.
3085 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3087         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3089         * org-clock.el (org-clock-put-overlay): Use new face instead of
3090         `secondary-selection'.
3092         * org-faces.el (org-clock-overlay): New face.
3094 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3096         * org-exp.el (org-get-current-options): Include the option for
3097         publishing time stamps.
3099         * org.el (org-toggle-heading): Renamed from
3100         `org-toggel-region-headings'.
3101         No longer needs a region defined, but will use it if there is one.
3102         (org-ctrl-c-star): Simplified, relying more on the internal
3103         workings of `org-toggle-heading'.
3104         (org-toggle-item): Renamed from `org-toggle-region-items'.
3105         No longer needs a region defined, but will use it if there is one.
3106         (org-ctrl-c-minus): Simplified, relying more on the inernal
3107         workings of `org-toggle-item'.
3109         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3110         environment detection.  Also, do real changes only in unprotected
3111         places.
3113 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3115         * org-export-latex.el (org-export-latex-quotation-marks): Use
3116         `org-if-unprotected-1'.
3117         (org-export-latex-set-initial-vars): Check for class definition in
3118         property.
3120         * org-macs.el (org-if-unprotected-1): New macro.
3122 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3124         * org-compat.el (org-count-lines): New function.
3126         * org-exp.el (org-export-format-source-code-or-example): Handle
3127         switches related to text areas.
3129         * org.el (org-activate-footnote-links): Don't allow match inside a
3130         link.
3132         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3134         * org-export-latex.el (org-export-latex-links): Keep a relative
3135         path relative also after export.
3137         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3139         * org.el (org-make-tags-matcher): Never use IDO for completing the
3140         tags matcher match string.
3141         (org-completing-read): Also remove the special biding for "?".
3143         * org-attach.el (org-attach-allow-inheritance): New option.
3144         (org-attach-inherited): New variable.
3145         (org-attach-dir): Handle properties related to the attachment
3146         directory.
3147         (org-attach-check-absolute-path): New function.
3148         (org-attach-set-directory, org-attach-set-inherit): New commands.
3149         (org-attach): Accommodate the new commands in the dispatcher.
3151 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3153         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3154         `window-full-width-p'.
3156         * org-exp.el (org-export-as-html): Only check for images files
3157         that really can be inlined
3159         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3160         list of extensions to be a parameter.
3162         * org-exp.el (org-export-html-inline-image-extensions): New
3163         variable.
3165         * org-agenda.el (org-prepare-agenda): Use
3166         `org-agenda-block-separator'.
3167         (org-agenda-block-separator): New option.
3169 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3171         * org-export-latex.el (org-export-latex-tables): Call
3172         `org-table-clean-before-export' with the new optional argument.
3174         * org-exp.el (org-table-clean-before-export): New optional
3175         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3176         first column.
3178 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3180         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3181         histograms.
3183         * org-colview.el (org-colview-construct-allowed-dates): Better
3184         error catching when a date/time property does not have allowed
3185         values defined.
3187         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3188         Better error catching when a date/time property does not have
3189         allowed values defined.
3191 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3193         * org.el (org-map-entries): Restore point and restriction after
3194         `org-map-entries'.
3196 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3198         * org.el (org-time=, org-time<, org-time<=, org-time>)
3199         (org-time>=, org-time<>): Make sure both values are dates.
3201 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3203         * org-archive.el (org-extract-archive-heading): Allow %s for file
3204         name also in achive location heading.
3206 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3208         * org-archive.el (org-add-archive-files): Uniquify the list before
3209         returning it.
3211 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3213         * org-compat.el (org-fit-window-to-buffer): Use
3214         `window-full-width-p'.
3216         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3217         space after the colon in short examples.
3219         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3220         enforce a space after the colon.  However, we also allow lines
3221         that are *only* a colon.
3222         (org-export-as-html): Enforce the space after the colon in short
3223         examples.
3224         (org-export-preprocess-string): Do the colon example protection
3225         earlier.
3226         (org-export-remove-timestamps): Do not check for protection at the
3227         end of the line.
3229 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
3231         * org.el (org-format-latex-options): Add new matcher for single
3232         letters between dollars.
3233         (org-get-header): Function removed.
3234         (org-heading-components): New function.
3236         * org-exp.el (org-export-define-heading-targets): Record ID's also
3237         as alternative targets.
3238         (org-export-as-html): Interpret "id:" links to other files by
3239         preserving the relative path.
3241         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3242         is nil.
3244         * org-exp.el (org-export-normalize-links): Protect the main link,
3245         to avoid special character processing.
3247         * org-export-latex.el (org-export-latex-special-keyword-regexp):
3248         New variable.
3249         (org-export-latex-special-string-regexps): Variable removed.
3250         (org-export-latex-keywords): Use the new regexp.
3252         * org-exp.el (org-export-handle-include-files): Fetch switches and
3253         put them into the BEGIN statement.
3255         * org-timer.el (org-timer-mode-line-string): New variable.
3257         * org-clock.el (org-clock-mode-line-map): Renamed from
3258         `org-clock-mode-map'.
3259         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3260         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3261         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3262         (org-clock-remove-overlays): Renamed from
3263         `org-remove-clock-overlays'.
3265         * org-timer.el (org-timer-pause-or-continue): Implement stopping
3266         and mode line display.
3267         (org-timer-stop): New command.
3268         (org-timer-seconds): Return correct time when timer is paused.
3269         (org-timer-mode-line-timer): New variable.
3270         (org-timer-set-mode-line, org-timer-update-mode-line): New
3271         functions.
3273         * org.el (org-insert-heading):  Handle new value `auto' for
3274         `org-blank-before-new-entry'.
3275         (org-org-menu): Add new items for timer functions.
3277         * org-list.el (org-insert-item): Handle new value `auto' for
3278         `org-blank-before-new-entry'.
3280         * org.el (org-blank-before-new-entry): New value `auto', made
3281         default.
3283 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
3285         * org-exp.el (org-export-normalize-links): If the link is also
3286         used as the description, protect the description.
3288 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3290         * org.el (org-closest-date): Fix bug with yearly repeats, in
3291         combination with preference of the past as it is used for deadline
3292         and scheduling search.
3294         * org-exp.el (org-html-handle-time-stamps): No longer check for
3295         the `org-export-with-timestamps' option, because the preprocesser
3296         has taken care of this already.
3298         * org.el (org-entry-properties): Catch the case when this is
3299         called in a non-org-mode file.
3301         * org-export-latex.el (org-export-latex-remove-from-headlines):
3302         Variable made obsolete, also LaTeX export now uses the standard
3303         variables.
3304         (org-export-as-latex): Add the timestamps parameter to the
3305         preprocessor parameter list.
3306         (org-export-latex-content): Export the remaining keywords without
3307         considering to remove them.
3308         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3309         Use bold font instead of tt font for the keywords.
3310         (org-export-latex-fontify-headline): Format headlines, assuming
3311         that all keywords still present should be published.
3312         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3313         publish what ever remains of the time stamps.
3314         (org-export-latex-list-parameters): New option.
3315         (org-export-latex-lists): Pass additional parameters to the list
3316         converter.
3318         * org-exp.el (org-export-preprocess-string): Remove clock lines
3319         and timestamps already in the preprocesor.
3320         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3321         functions.
3322         (org-export-as-ascii, org-export-as-html): Add the timestamps
3323         parameter to the preprocessor parameter list.
3325         * org-list.el (org-list-parse-list): Parse for checkboxes.
3326         (org-list-to-generic): Introduce and handle new parameters :cbon
3327         and :cboff.
3328         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3329         optional parameter PARAMS.
3331         * org-export-latex.el (org-export-latex-special-chars): Fix
3332         problems with interpreting dollar signs.
3333         (org-inside-latex-math-p): New function.
3334         (org-export-latex-preprocess): Protect all the math fragments.
3336         * org.el (org-latex-regexps): Allow a dash after a dollar.
3338         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3339         mark after copying.
3341         * org-agenda.el (org-run-agenda-series): Have series options set
3342         when finalizing the agenda.
3344         * org-exp.el (org-export-format-source-code-or-example): Protect
3345         the converted examples.
3347         * org.el (org-set-regexps-and-options): Fix the regexp
3348         `org-complex-heading-regexp'.
3350 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3352         * org.el (org-edit-src-get-label-format): New function.
3353         (org-coderef-label-format): New option.
3354         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3355         a label format specification and make sure it is used in the edit
3356         buffer.
3357         (org-edit-src-get-label-format): New function.
3358         (org-store-link): Handle new coderef formats.
3359         (org-link-search): Handle new coderef formats.
3361         * org-footnote.el (org-footnote-create-definition)
3362         (org-footnote-goto-local-insertion-point): Make footnote insertion
3363         work correctly when the "Footnotes" headline is the last line in
3364         the buffer.
3366         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3367         the location.
3369 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3371         * org-w3m.el (org-w3m): New customization group.
3372         (org-w3m-deactivate-mark): New option.
3373         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3374         option say not to.
3376 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3378         * org.el (org-set-font-lock-defaults): Trigger footnote
3379         fontification.
3380         (org-activate-footnote-links): New function.
3381         (org-activate-links): New entry `footnote'.
3383         * org-faces.el (org-footnote): New face.
3385 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3387         * org-macs.el (org-re): Handle the [:word:] class.
3389         * org-exp.el (org-export-preprocess-string): Call
3390         `org-export-protect-colon-examples'.
3391         (org-export-protect-colon-examples): Renamed from
3392         `org-export-protect-examples', and scope limited to lines starting
3393         with a colon.
3395 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3397         * org-exp.el (org-export-preprocess-string): Move the preprocess
3398         hook to after turning on Org-mode.
3399         (org-export-preprocess-after-include-files-hook)
3400         (org-export-preprocess-after-tree-selection-hook)
3401         (org-export-preprocess-before-backend-specifics-hook)
3402         (org-export-preprocess-final-hook): New hooks.
3403         (org-export-preprocess-string): Run the new hooks.
3405         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3407         * org-footnote.el: New file.
3409         * org.el (org-footnote): Require footnote code.
3410         (org-startup-options): Add new footnote options.
3411         (org-mode-map): New keybindig for footnotes.
3412         (org-ctrl-c-ctrl-c): Add function at footnotes.
3413         (org-org-menu): New menu entries for footnotes.
3415         * org-export-latex.el (org-export-as-latex): Pass footnote
3416         variable to preprocessor.
3417         (org-export-latex-preprocess): Treat multiple references to a
3418         footnote.
3420         * org-exp.el (org-export-preprocess-string): Call
3421         `org-footnote-normalize'.
3422         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3423         to preprocessor.
3424         (org-export-as-html): Treat multiple references to a footnote.
3426 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3428         * org-export-latex.el (org-export-latex-links): Handle coderef
3429         links.
3431         * org.el (org-bracket-link-analytic-regexp++): New variable.
3432         (org-make-link-regexps): Initialize
3433         `org-bracket-link-analytic-regexp++'.
3434         (org-store-link): Implement special case in edit-src buffer.
3435         (org-insert-link): No use of ide to insert stored links.
3436         (org-link-search): Implement special case for coderefs.
3438         * org-exp.el (org-export-html-scripts): New constant.
3439         (org-export-html-style-default): Add a new style for highlighted
3440         code.
3441         (org-export-code-refs): New variable.
3442         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3443         Call `org-export-replace-src-segments-and-examples'
3444         No longer call `org-export-protect-examples'.
3445         (org-export-target-internal-links): Take care of coderef targets.
3446         (org-export-last-code-line-counter-value): New variable.
3447         (org-export-replace-src-segments-and-examples): Renamed from
3448         `org-export-replace-src-segments', and modified.
3449         (org-export-format-source-code-or-example): Renamed from
3450         `org-export-format-source-code'.
3451         (org-export-number-lines): New function.
3452         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3454 --------------------------------------------------------------------------
3456 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3458         * org-remember.el (org-remember-handler): Safer way to get a new
3459         buffer accessing the target file.
3461         * org.el (org-refile-get-location): Handle case of current buffer
3462         not having a file associated with it.
3464 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3466         * org-table.el (org-table-get-formula): Only ask to overwrite
3467         field formula if there really is one.
3469         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3470         number, by converting these to a string.
3472         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3473         located in a different file.
3475         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3476         org-colview.el.
3478 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3480         * org.el (org-completion-use-ido): Enhance docstring of
3481         `org-completion-use-ido'.
3483         * org-export-latex.el (org-export-latex-make-header): Double the %
3484         in the time stamp format.
3485         (org-export-latex-special-chars): Handle case where there is no
3486         match group 3.
3488 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3490         * org.el (org-get-refile-targets, org-refile-get-location): Use
3491         expanded file name to improve comparison.
3493 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
3495         * org.el (org-scan-tags): Rescan for tags, to get the correct
3496         upcase/downcase stuff.  This slows things down for now, but it
3497         works.
3498         (org-mode): Make sure the tag-faces regexp is initialized.
3500         * org-export-latex.el (org-export-latex-links): Fix bug with
3501         undefined label.
3503         * org-table.el (org-table-get-specials): Set
3504         `org-table-current-last-data-line'.
3505         (org-table-current-last-data-line): New variable.
3506         (org-table-insert-column, org-table-delete-column)
3507         (org-table-move-column, org-table-fix-formulas): Call
3508         `org-table-fix-formulas' a second time to fix the $LR references.
3509         (org-table-get-specials): Add the $LR references to the tables.
3510         (org-table-get-formula): Do not offer last-row names as LHS of
3511         formulas.
3513         * org.el (org-store-link): Capture link description from
3514         `org-id-store-link'.
3516         * org-exp.el (org-export-html-format-image): Add the / to the end
3517         of the <img> tag.
3518         (org-export-format-source-code): Surround example by empty lines,
3519         to make sure it will not be inside a paragraph.
3521         * org.el (org-ido-switchb): New function.
3523 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
3525         * org-agenda.el (org-agenda-show): New prefix argument
3526         FULL-ENTRY.
3528         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3529         argument.
3531         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3532         `org-agenda-change-all-lines'.
3533         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3534         tags are now retrieved locally.
3536 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
3538         * org.el (org-get-outline-path): Fix bug if level is not given.
3539         (org-org-menu): Do not quote function in menu vector.
3541         * org-agenda.el (org-finalize-agenda): Fix typo with variable
3542         name.
3544 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3546         * org.el (org-refile): Avoid refiling to within the region to be
3547         refiled.
3549         * org-export-latex.el (org-export-latex-special-chars): Replace
3550         special characters also in tables.
3552         * org-agenda.el (org-agenda-change-all-lines): New argument
3553         FORCE-TAGS.
3554         (org-agenda-set-tags): Cet the new tags and pass them to
3555         `org-format-agenda-item'.
3557 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
3559         * org-export-latex.el (org-export-latex-classes): Add longable as
3560         a default package to all classes.
3561         (org-export-latex-tables): Handle the longtable attribute and the
3562         align attribute.
3564         * org-table.el (orgtbl-to-generic): Handle tables that start with
3565         a hline.
3567         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3568         \verb for colde-like snippets.
3569         (org-export-as-latex): Fix issues with region export.
3571         * org.el (org-up-heading-safe): Speed up function by using a
3572         direct regexp search.
3573         (org-olpa): New variable.
3574         (org-get-outline-path): Speed-up path constructions in cases where
3575         this is possible because the entire hierarchy is scanned anyway.
3576         (org-refile-get-location): Don't compare the truenames of files,
3577         this is too slow.
3578         (org-goto-max-level): New option.
3579         (org-goto): Use `org-goto-max-level'.
3581 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
3583         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3584         Strip angle brackets from message-ids in the former and don't do
3585         it in the latter.
3586         (org-gnus-follow-link): Open summary reliable, even if the last
3587         messages were deleted, and handle empty groups, too.
3589 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
3591         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3592         instead of \texttt for the =...= and ~===~ emphasis environments.
3593         (org-export-as-latex): Remove any old :org-license-to-kill text
3594         properties.
3595         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3596         (org-export-latex-make-header): Add some hard space after the
3597         table of contents.
3598         (org-export-latex-first-lines): Accept RBEG argument.  Mark
3599         exported text so that it will be excuded in further steps.
3601         * org-table.el (org-table-get-specials): Make @0 reference the
3602         last line in a table.
3603         (org-table-recalculate): Improve docstring.
3605 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
3607         * org.el (org-log-done): Fix docstring.
3609 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
3611         * org-exp.el (org-export-html-format-image): Fix bugs.
3613         * org-export-latex.el (org-export-latex-tables)
3614         (org-export-latex-links): Implement attribute, label, and caption
3615         handling.
3617         * org-exp.el (org-export-html-style-default): Add style
3618         definitions for the figure div.
3619         (org-export-preprocess-string, org-export-as-html): Implement
3620         attribute, label, and caption handling.
3621         (org-export-attach-captions-and-attributes): New function.
3622         (org-export-html-format-image): New function.
3623         (org-format-org-table-html): Implement attribute, label, and
3624         caption handling.
3626         * org.el (org-find-text-property-in-string): New function.
3627         (org-extract-attributes): Use the property org-attr instead of
3628         org-attrobutes, because this property is now set with the #+ATTR
3629         lines.
3631 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
3633         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3634         the case that FROM is nil.
3636         * org.el (org-before-first-heading-p): New function.
3638 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3640         * org-exp.el (org-export-as-html): Do not add a space before
3641         enforces line breaks.
3642         (org-export-as-html): Close paragraph before blockquote and verse
3643         tags.
3645 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3647         * org-id.el (org-id-locations-file): Wrap file name with
3648         `convert-standard-filename'.
3649         (org-id-files): New variable.
3650         (org-id-use-hash): New option.
3651         (org-id-update-id-locations): Also search in all files current
3652         listed in `org-id-files'.  Convert the resulting alist to a hash
3653         if the user customation says so.
3654         (org-id-locations-save): Handle he case if `org-id-locations' is a
3655         hash.
3656         (org-id-locations-load): Convert the alist to a hash.
3657         (org-id-add-location): Handle the hast case.
3658         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3659         exited.
3660         (org-id-hash-to-alist, org-id-alist-to-hash)
3661         (org-id-paste-tracker): New functions.
3663 -------------------------------------------------------------------------
3665 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3667         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3668         bindings of calendar variables.
3670         * org-table.el (org-table-find-row-type): Renamed from
3671         `org-find-row-type'.
3672         (org-table-rewrite-old-row-references): Renamed from
3673         `org-rewrite-old-row-references'.
3674         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3675         (org-table-cleanup-narrow-column-properties): Renamed from
3676         `org-cleanup-narrow-column-properties'.
3678 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3680         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3681         for better error messages.
3682         (org-table-get-descriptor-line): Supply the new arguments to
3683         `org-find-row-type'.
3684         (org-table-error-on-row-ref-crossing-hline): New option.
3686         * org.el (org-target-link-regexp): Make buffer-local.
3687         (org-move-subtree-down): Fix bug with trees at beginning of
3688         buffer.
3690 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3692         * org-faces.el (org-set-tag-faces): New function.
3693         (org-tags-special-faces-re): New variable.
3695         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3697         * org-faces.el (org-tag-faces): New option.
3698         (org-tag): Mention `org-tag-faces' in the docstring.
3700 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3702         * org-exp.el (org-export-html-style-default): Implement new
3703         quoting.
3705         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3707         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3708         command to the `w3m-minor-mode-map'.
3710         * org-archive.el (org-archive-to-archive-sibling): Protect
3711         `this-command' to avoid appending kills during archiving.
3713         * org-exp.el (org-export-with-priority): New variable.
3714         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3715         instead of internal list of strings and properties.
3716         (org-print-icalendar-entries): Retrieve the location property with
3717         inheritance.
3719 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3721         * org-exp.el (org-export-with-todo-keywords): New option.
3722         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3723         line.
3724         (org-default-export-plist, org-export-add-options-to-plist)
3725         (org-export-as-ascii, org-export-as-html): Use the new structure
3726         of `org-export-plist-vars'.
3728         * org.el (org-map-entries): Return all values.
3730 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3732         * org.el (org-matcher-time): Recognize more special values.
3734         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3736 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3738         * org.el (org-tags-exclude-from-inheritance): New option.
3739         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3740         `org-tags-exclude-from-inheritance'.
3742         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3743         (org-format-agenda-item): Add inherited tags to the agenda line
3744         string, and make sure that properties are kept when downcasing the
3745         tags list.
3746         (org-agenda-add-inherited-tags): New function.
3747         (org-downcase-keep-props): New function.
3749         * org.el (org-scan-tags): Mark inherited tags with a text
3750         property.
3751         (org-get-tags-at): Mark inherited tags with a text property.
3752         (org-add-prop-inherited): New function.
3754         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3755         (org-agenda-show-inherited-tags): New option.
3757 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3759         * org.el (org-modules): Add org-w3m to the default modules.
3761         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3762         orgtbl-mode.
3763         (orgtabl-create-or-convert-from-region): New command.
3765         * org-exp.el (org-export-as-ascii): Remove the handling of
3766         targets.
3767         (org-export-ascii-preprocess): Handle targets already in this
3768         function.
3770 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3772         * org-timer.el (org-timer-start-time): Define this variable.
3773         (org-timer-item): Make argument optional.
3775         * org-list.el (org-insert-item): Automatically insert a timer item
3776         if the current list is a timer list.
3778         * org-timer.el: New file.
3780         * org-publish.el (org-publish-org-index): Only exclude the index
3781         file in the main directory from being added to the site-map.
3782         (org-publish-get-project-from-filename): If the current project is
3783         a component, start publishing from the parent project.
3785 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3787         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3789         * org-publish.el (org-publish-org-index): Improve removal of
3790         temporary buffers.
3792         * org-agenda.el (org-get-closed): Re-apply changes
3793         accidentially overwritten by last commit to Emacs.
3795         * org.el (org-outline-path-complete-in-steps): New option.
3796         (org-refile-get-location): Honor
3797         `org-outline-path-complete-in-steps'.
3798         (org-agenda-change-all-lines, org-tags-sparse-tree)
3799         (org-time-string-to-absolute, org-small-year-to-year)
3800         (org-link-escape): Re-apply changes accidentially overwritten
3801         by last commit to Emacs.
3803 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3805         * org-clock.el (org-dblock-write:clocktable): Make sure the
3806         clocktable sees the first line.
3807         (org-clock-in): Warn if the clock cannot be resumed.
3809 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3811         * org.el (org-open-at-point): Fix mixup about interactive and
3812         non-interactive elisp links.
3814 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3816         * org-exp.el (org-export-preprocess-string): Allow one comment
3817         line before the first headline to always be included.  This is
3818         to not miss a commented target.
3820         * org-mouse.el (org-mouse-insert-item): Call
3821         `org-indent-to-column' instead of `indent-to', for XEmacs
3822         compatibility.
3824         * org.el (org-refile-targets): Fix customize definition so
3825         that it works also in XEmacs.
3826         (org-fixup-indentation): Call `org-indent-to-column' instead
3827         of `indent-to', for XEmacs compatibility.
3829 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3831         * org-mew.el (org-mew-store-link): Get the correct case folder
3832         for refiled messages.
3834 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3836         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3837         line break indicators.
3839         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3840         ido-completion propts.
3842 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3844         * org-remember.el (org-remember-apply-template): Use
3845         `org-substring-no-properties'.
3847         * org-compat.el (org-substring-no-properties): New function.
3849         * org-remember.el (org-remember-apply-template): Use
3850         `org-substring-no-properties' for compatibility.
3852         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3853         option.
3854         (org-fix-bullet-type): respect
3855         `org-list-two-spaces-after-bullet-regexp'.
3857         * org-clock.el (org-clock-load): Clean up the code.
3859         * org.el (org-adaptive-fill-function): Allow two spaces after
3860         "1." as a list bullet.
3862 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3864         * org-clock.el (org-clock-save, org-clock-load): Check for
3865         live buffers, existing files, and buffer file names to ensure
3866         consistent information.
3867         (org-clock-persist): Make `clock' a special value of this
3868         variable, and improve docstring.
3870         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3871         (org-get-string-indentation): Adapt indentation when the bullet
3872         width changes.
3874 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3876         * org-remember.el (org-remember-finalize): Make interactive.
3877         (org-remember-kill): New command.
3878         (org-remember-finish-immediately): Call `org-remember-finalize'
3879         directly.
3880         (org-remember-finalize): Make `org-remember-finalize' an interactive
3881         function.
3883 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3885         * org-remember.el (org-remember-apply-template): No ido completion
3886         for free prompts in remember templates.
3887         (org-remember-before-finalize-hook): New hook.
3888         (org-remember-mode): New minor mode.
3889         (org-remember-apply-template): Turn on `org-remember-mode'.
3891         * org-id.el (org-id-add-location): Avoid error when no file is
3892         given.
3894         * org-remember.el (org-remember-apply-template): Fix the way how
3895         the list of allowed properties is retrieved from the target file.
3897         * org.el (org-insert-link): Improve file link matching.
3899 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3901         * org-colview.el (org-columns-display-here): New argument
3902         DATELINE, to trigger using the new face.
3903         (org-agenda-colview-summarize): Call `org-columns-display-here'
3904         with the new argument.
3906         * org-faces.el (org-agenda-column-dateline): New face.
3908         * org-publish.el (org-publish-org-index): Use index-title at page
3909         title, not as section.
3911         * org-exp.el (org-export-html-format-desc): Respect the
3912         org-protect property.
3913         (org-export-as-html): Protect image specifiers that are in the
3914         description part of a link.
3916         * org.el (org-sort-entries-or-items, org-completing-read)
3917         (org-refile-get-location, org-olpath-completing-read, org-todo)
3918         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3919         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3920         (org-set-property, org-delete-property)
3921         (org-delete-property-globally): Use `org-ido-completing-read'.
3923         * org-remember.el (org-remember-apply-template): Use
3924         `org-ido-completing-read'.
3926         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3928         * org-colview.el (org-columns-edit-value, org-columns-new)
3929         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3931         * org-colview-xemacs.el (org-columns-edit-value)
3932         (org-columns-new, org-insert-columns-dblock): Use
3933         `org-ido-completing-read'.
3935         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3936         `org-ido-completing-read'.
3938         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3939         `org-ido-completing-read'.
3941         * org.el (org-time-today): New function.
3942         (org-matcher-time): Use `org-time-today'.  Add special treatment
3943         for "<tomorrow>" and "<yesterday>".
3944         (org-ido-completing-read): New function.
3945         (org-completion-use-ido): New option.
3947         * org-exp.el (org-export-format-source-code): Fix bug in require
3948         htmlize code.
3949         (org-export-target-internal-links): Fix bug in search for text
3950         property.
3952 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-export-latex.el (org-export-latex-subcontent): Interprete
3955         target aliases as additonal labels.
3957         * org-exp.el (org-export-target-aliases): New variable.
3958         (org-export-preprocess-string)
3959         (org-export-handle-invisible-targets): Fill the alias alist.
3960         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3961         assign an id.
3962         (org-html-level-start): Insert the target aliases as additonal
3963         anchors.
3965         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3966         picture area.
3968 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3970         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3971         when following a link with the mouse from the agenda.
3973         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3974         headlines are created.
3976 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3978         * org-exp.el (org-export-preprocess-string): Reorder so that we
3979         can still see ID properties when we collect targets.
3980         (org-export-target-internal-links): Also store targets for ID's.
3982         * org.el (org-link-translation-function): New option.
3983         (org-open-at-point): Call `org-link-translation-function' if
3984         non-nil.
3985         (org-translate-link): New function.
3986         (org-translate-link-from-planner): New function.
3987         (org-open-at-point): Allow interactive commands in elisp links.
3989         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3990         iCalendar quoting.  The new one seems to caus problems with
3991         applications.
3993         * org.el (org-yank): Set `this-command' to `yank', so that
3994         `yank-pop' will work.
3996 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3998         * org-id.el (org-id-search-archives): New option.
4000         * org.el (org-link-to-org-use-id): New option.
4001         (org-store-link): Use `org-link-to-org-use-id'.
4002         (org-id): Make org-id.el a standard component.
4004 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4006         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4007         hexified version of the tag.
4009         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4010         compliance as far as quoting is concerned.
4012         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4014         * org.el (org-up-heading-safe, org-forward-same-level): Always
4015         call `org-back-to-heading' instead of `outline-back-to-heading'.
4016         (org-back-to-heading): New wrapper around outline-back-to-heading,
4017         with a useful error message telling where the error happened.
4019         * org-list.el (org-update-checkbox-count): Always call
4020         `org-back-to-heading' instead of `outline-back-to-heading'.
4022         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4023         has an `alt' attribute, to ensure XHTML validation.
4025 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4027         * org-publish.el (org-publish-attachment): Allow publishing to
4028         overwrite attachment files.
4030         * org-agenda.el (org-agenda-timerange-leaders): New option.
4031         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4033         * org.el (org-edit-src-exit): Untabify ASCII image before
4034         returning.
4047 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4049         * org.el (org-yank): Make any prefix force normal yanking.
4050         Suppress folding if text would be swallowed into a folded
4051         subtree.
4052         (org-yank-folded-subtrees, org-yank): Docstring updates.
4054         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4055         defined as 0.
4057         * org-exp.el (org-export-language-setup): Add Catalan and
4058         Esperanto language entries.
4060 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4062         * org.el (org-refile): Allow refiling of entire regions.
4064         * org-clock.el (org-clock-time%): New function.
4066         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4067         retrieve property values.
4069 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4071         * org-agenda.el (org-agenda-list): Handle the value `only' of
4072         org-agenda-show-log'.
4073         (org-agenda-log-mode): Interpret a double prefix arg.
4075 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4077         * org-exp.el (org-export-html-footnotes-section): New variable.
4078         (org-export-as-html): Use `org-export-html-footnotes-section' to
4079         insert the footnotes.
4080         (org-export-language-setup): Add "Footnotes" to language words.
4082 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4084         * org.el (org-yank): Fix bug when not inserting a subtree.
4086 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4088         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4089         instead of `vm-beginning-of-message'.
4091         * org.el (org-make-link-regexps): Make sure that links to gnus can
4092         contain brackets.
4094 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4096         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4097         code.
4099         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4100         shell output.
4102         * org.el (org-link-abbrev-alist): Improve customization type.
4104         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4105         functions.
4107         * org-agenda.el (org-agenda-get-progress): Renamed from
4108         `org-get-closed'.  Implement searching for state changes as well.
4109         (org-agenda-log-mode-items): New option.
4110         (org-agenda-log-mode): New option prefix argument, interpreted as
4111         request to show all possible progress info.
4112         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4113         `org-get-closed'.
4114         (org-agenda-set-mode-name): Handle the more complex log mode
4115         settings.
4116         (org-get-closed): New alias, pointing to `org-get-progress'.
4118 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4120         * org.el (org-file-apps-defaults-gnu)
4121         (org-file-apps-defaults-macosx)
4122         (org-file-apps-defaults-windowsnt): Add an entry defining the
4123         system command.
4124         (org-file-apps): Allow `system' as key and value.
4125         (org-open-at-point): Explain the effect of a double prefix arg.
4126         (org-open-file): If the argument `in-emacs' is (16),
4127         i.e. corresponding to a double prefix argument, try to open the
4128         file externally.
4130 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4132         * org.el (org-insert-link): Abbreviate absolute files names in
4133         links.  Also, fix a bug in which the double C-u prefix would not
4134         be honored.
4136 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4138         * org.el (org-insert-heading): If buffer does not end with a
4139         newline, add one if necessary to insert headline correctly.
4141         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4142         paragraphs, not inside.
4144         * org.el (org-todo): Quote
4145         `org-agenda-headline-snapshot-before-repeat'.
4147         * org-exp.el (org-export-as-html): Fully process link descriptions.
4148         (org-export-html-format-desc): New function.
4149         (org-export-as-html): Collect footnotes into the correct basket.
4150         (org-html-protect): No longer protect quotations marks here, this
4151         goes wrong.
4153         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4154         BEG.
4156         * org-compat.el (org-fit-window-to-buffer): New function (not
4157         really, a preliminary and incomplete version was present earlier,
4158         but not used).
4160         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4161         `org-fit-window-to-buffer'.
4163         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4165         * org-agenda.el (org-agenda-get-restriction-and-command)
4166         (org-fit-agenda-window, org-agenda-convert-date): Use
4167         `org-fit-window-to-buffer'.
4169         * org-exp.el (org-export-as-html): Process href links through
4170         `org-export-html-format-href'.
4171         (org-export-html-format-href): New function.
4173         * org-agenda.el (org-agenda-todo): Update only the current
4174         headline if this is a repeated TODO, marked done for today.
4175         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4176         only the current line.
4178         * org.el (org-todo): Take a snapshot of the headline if the
4179         repeater might change it.
4181 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4183         * org-publish.el (org-publish-find-title): Remove buffers visited
4184         only for extracting the title.
4186         * org-exp.el (org-export-html-style)
4187         (org-export-html-style-default): Mark style definitions as
4188         unparsed CDATA.
4190         * org-publish.el (org-publish-validate-link): Function
4191         re-introduced.
4193 2008-11-02  Charles Sebold  <csebold@gmail.com>
4195         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4196         property.
4197         (org-plot-quote-timestamp-field): New function.
4198         (org-plot-quote-tsv-field): Call timestamp field function when
4199         necessary rather than just quoting as a string.
4200         (org-plot/gnuplot-to-data): Pass in timefmt property.
4201         (org-plot/gnuplot-script): Supports timefmt property.
4202         (org-plot/gnuplot): Checks for timestamp column before checking
4203         for text index column.
4205 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4207         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4209         * org-publish.el (org-publish-org-index): Create a section in the
4210         index file.
4211         (org-publish-org-index): Stop linking to directories.
4213         * org.el (org-emphasis-alist): Use span instead of <u> to
4214         underline text.
4216         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4217         <pre> sections.
4219 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
4221         * org-jsinfo.el (org-infojs-template): Remove language attribute
4222         from script tag.
4224 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
4226         * org-agenda.el (org-agenda-remove-marked-text): New function.
4227         (org-agenda-mark-filtered-text)
4228         (org-agenda-unmark-filtered-text): New functions.
4229         (org-write-agenda): Remove fltered text.
4231         * org.el (org-make-tags-matcher): Give access to TODO "property"
4232         without speed penalty.
4234 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
4236         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4237         option.
4238         (org-store-link-props): Make sure adding to the plist works
4239         correctly.
4241         * org-gnus.el (org-gnus-no-new-news): New function.
4242         (org-gnus-follow-link): Allow the article ID to be a message-id,
4243         in addition to allowing article numbers.  Message IDs make much
4244         more roubust links.
4245         (org-gnus-store-link): Use message-id to create link.
4247 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
4249         * org.el (org-emphasize): Reverse the selection array.
4250         (org-emphasis-alist): Set <code> tags for the verbatim
4251         environment.
4253         * org-remember.el (org-remember-handler): Fix bug with
4254         prefix-related changing of the note storage target.
4256         * org-exp.el (org-print-icalendar-entries): Make the exported
4257         priorities compatible with RFC 2445.
4259         * org-clock.el (org-clock-save): Insert time stamp without
4260         dependence on time-stamp.el.
4262 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
4264         * org.el ("saveplace"): If saveplace puts point into an invisible
4265         location, make it visible.
4266         (org-make-tags-matcher): Allow inactive time stamps in time
4267         comparisons.
4268         (org-yank-adjusted-subtrees): New option.
4269         (org-yank): Incorporate adjusting trees.
4270         (org-paste-subtree): New argument FOR-YANK which will cause
4271         insertion at point without backing up over white lines, and leave
4272         point at the end of the inserted text.  Also if the cursor is
4273         at the beginning of a headline, use the same level or the inserted
4274         tree.
4276         * org-publish.el (org-publish-get-base-files-1): Deal correctly
4277         with broken symlinks
4279 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
4281         * org-exp.el (org-export-select-tags, org-get-current-options):
4282         Fix typo.
4284 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
4286         * org-agenda.el (org-format-agenda-item)
4287         (org-agenda-filter-make-matcher): Make sure tags are stored and
4288         compared donwcased.
4290 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
4292         * org.el (org-insert-todo-heading): Fix bug with force-heading
4293         argument.
4295 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
4297         * org-clock.el (org-clock-in-resume): Add a custom option to
4298         toggle starting the clock from an open clock line.
4299         (org-clock-in): When clocking in to an entry, if
4300         `org-clock-in-resume' is set, check if the first clock line is
4301         open and if so, start the clock from the time in the clock line.
4302         (org-clock-persist): Add a custom option to toggle clock
4303         persistence.
4304         (org-clock-persist-query-save): Add a custom option to toggle
4305         asking the user if they want to save the running clock when
4306         exiting.
4307         (org-clock-persist-query-resume): Add a custom option to toggle
4308         asking the user if they want to resume the saved clock when Emacs
4309         is restarted.
4310         (org-clock-save): Add a function to save clock data.
4311         This includes the contents of `org-clock-history' and the buffer
4312         and position of the currently clocked task, if any.
4313         (org-clock-load): Add a function to load clock data.
4314         This populates `org-clock-history', and resumes the saved clocked
4315         task if there is one.
4316         (org-clock-persistence-insinuate): Add a method to set up the
4317         hooks for clock persistence.
4319 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4321         * org-exp.el (org-export-as-ascii): Handle the case that we are
4322         publishing from an indirect buffer.
4324         * org-table.el (org-table-copy-down): Fix bug with time stamp
4325         increment.
4327         * org-mouse.el (org-mouse-features): New option.
4328         (org-mode-hook): Turn on features depending on
4329         `org-mouse-features'.
4331         * org.el (org-insert-heading-respect-content): Force heading
4332         creation.
4333         (org-insert-heading): keep the folding state of the heading before
4334         the inserted one.
4336 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4338         * org-archive.el (org-archive-to-archive-sibling): Handle top
4339         level headlines better.
4341 2008-10-21  Bastien Guerry  <bzg@altern.org>
4343         * org-export-latex.el (org-export-latex-classes): Added
4344         \usepackage{graphicx} to the default list of packages.
4346 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4348         * org-agenda.el (org-agenda-filter): Renamed from
4349         `org-agenda-filter-tags'.
4351 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4353         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4354         is not defined as a property in this entry.
4355         (org-add-log-note): Mask prefix argument when immediately storing
4356         the note.
4358         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4359         option.
4361 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4363         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4364         after drawers was skipping ahead one line too many, so notes were
4365         inserted after the first note instead of before it.
4367 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4369         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4370         New variables.
4371         (org-prepare-agenda): Reset the filter tags.
4372         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4373         Show filter tags in mode line.
4375         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4376         formatter.
4378         * org-export-latex.el (org-latex-entities-regexp): New constant.
4379         (org-export-as-pdf): Use two calls to `shell-command'.
4381 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4383         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4384         Honor the {} value of the subsuperscript setting.  Make sure that
4385         longer subsuperscripts are typeset in a roman font.
4387         * org.el (org-clock-update-time-maybe): Compute negative clock
4388         intervals correctly.
4390 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4392         * org.el (org-add-log-setup): Respect
4393         `org-log-state-notes-insert-after-drawers'.
4394         (org-log-state-notes-insert-after-drawers): New option.
4395         (org-todo-trigger-tag-changes): New function.
4396         (org-todo): Call `org-todo-trigger-tag-changes'.
4398 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4400         * org.el (org-add-log-setup): Only skip drawers if the are
4401         immediately after the scheduling keywords.
4403         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4404         function
4405         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4406         call it with the current todo state to get the state to switch to
4407         when clocking in.
4408         (org-clock-in): Use org-indent-line-function to indent clock lines.
4409         (org-clock-find-position): Fix indentation of empty clock drawers.
4411 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4413         * org-publish.el (org-publish-org-to): Handle case when
4414         org-export-to-pdf does return a file name, not a buffer.
4415         (org-publish-org-to-pdf): New function.
4417         * org-export-latex.el (org-export-as-pdf)
4418         (org-export-as-pdf-and-open): New commands.
4420         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4421         forms as ranges.
4423         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4424         things in protexted regions.
4426 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4428         * org-export-latex.el (org-export-latex-preprocess): Improve
4429         quoting of LaTeX environments.
4431 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4433         * org.el (org-edit-fixed-width-region): Exclude final newline from
4434         picture area.
4436         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4437         sections, to make internal links work.
4438         (org-export-latex-fontify-headline): Do not remove all text
4439         properties, to make sure that target properties survive this
4440         process.
4442         * org-exp.el (org-export-preprocess-string): Change sequence of
4443         modifications, to make sure links are prepared before the LaTeX
4444         conversions do happen.
4446 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4448         * org-attach.el (org-attach-delete-all): Renamed from
4449         `org-attch-delete'.  Add a security query before deleting the
4450         entire directory.  New optional argument FORCE can overrule the
4451         security query.
4452         (org-attach-delete-one): New command.
4454 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4456         * org-attach.el (org-attach-file-list): Fix bug with directory.
4458 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4460         * org.el (org-apps-regexp-alist): New function.
4461         (org-file-apps): Add auto-mode to the default value.
4462         (org-open-file): Use the new structure of org-file-apps.
4464         * org-attach.el (org-attach): Support the new keys.
4465         (org-attach-method): New option.
4467 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4469         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4470         March.
4472         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4473         of the list value o `org-use-tag-inheritance'.
4475         * org-attach.el (org-attach-auto-tag): New option.
4476         (org-attach-tag, org-attach-untag): New functions.
4477         (org-attach-attach, org-attach-new, org-attach-sync): Call
4478         `org-attach-tag'.
4479         (org-attach-delete): Call `org-attach-untag'.
4481 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4483         * org-table.el (orgtbl-self-insert-command): Make this work for
4484         the keypad as well.
4486 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4488         * org.el (org-add-log-setup): Limit searc for drawers to entry
4489         text, not to subtree.
4491         * org-clock.el (org-clock-heading-for-remember): New variable.
4492         (org-clock-in): Set `org-clock-heading-for-remember'.
4494 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
4496         * org-remember.el (org-remember-apply-template): Add new
4497         expansions: %k, %K for currently clocked task and a link to the
4498         currently clocked task, and %< to file notes in the currently
4499         clocked task.
4501 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
4503         * org-export-latex.el (org-export-latex-make-header): Also insert
4504         the content of the property :latex-header-extra.
4506         * org-exp.el (org-infile-export-plist): Put the content of
4507         #+LATEX_HEADER: into the property :latex-header-extra.
4509         * org-colview.el (org-columns-get-format-and-top-level): Remove
4510         resetting the marker.
4512         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4513         Remove resetting the marker.
4515         * org.el (org-entry-property-inherited-from): Improve docstring.
4516         (org-entry-get-with-inheritance): Reset marker before starting the
4517         search.
4519         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4521 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
4523         * org.el (org-entry-get-multivalued-property)
4524         (org-entry-protect-space, org-entry-restore-space): New
4525         functions.
4526         (org-file-apps-defaults-macosx): Let postscript files be opened by
4527         preview.
4528         (org-time-stamp-inactive): Call `org-time-stamp'.
4529         (org-time-stamp): New argument `inactive'.  Also edit inacive
4530         stamps. Convert time stamp type.
4531         (org-open-file): Interpret the `default' value for the `command'
4532         in `org-file-apps'.
4534         * org-id.el (org-id-int-to-b36-one-digit)
4535         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4536         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4537         b36.
4539 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
4541         * org-id.el (org-id-reverse-string): New function.
4542         (org-id-new): Use `org-id-reverse-string' to make sure the
4543         beginning chars of the ID are mutating fast.  This allows to use a
4544         directory structure to spread things better.
4545         (org-id-prefix): Changed default to nil.
4547         * org-list.el (org-move-item-down, org-move-item-up): Remember and
4548         restore the column of the cursor position.
4550         * org-remember.el (org-remember-apply-template): Remove properties
4551         from `initial'.
4553 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
4555         * org-wl.el (org-wl-open): Remove useless call to
4556         `wl-thread-open-all'.
4558         * org-remember.el (org-remember-handler): Fix bug with `bottom'
4559         location.
4561 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
4563         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4564         `org-bbdb-anniversaries'.
4566         * org.el (org-get-next-sibling, org-forward-same-level): New
4567         functions, similar to the outline versions, but invisible headings
4568         are OK.
4570 2008-09-25  Bastien Guerry  <bzg@altern.org>
4572         * org.el (org-auto-repeat-maybe): Insert a space between
4573         the timestamp's type and the timestamp itself.
4575 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
4577         * org-table.el (org-table-sum): Do not format the result with %g,
4578         it does rounding when there are too many digits.
4580         * org.el (org-map-entries): Protect the keyword-selecting variables.
4582 2008-09-23  Bastien Guerry  <bzg@altern.org>
4584         * org-agenda.el (org-agenda-to-appt): Make sure the function check
4585         against all agenda files.
4587 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
4589         * org-list.el: New file, aggregating list functions from org.el
4590         and org-export-latex.el.
4592         * org.el (org-edit-src-region-extra): New option.
4594 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
4596         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4597         time before 1am.
4599 2008-09-22  Bastien Guerry  <bzg@altern.org>
4601         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4603 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
4605         * org-plot.el (org-plot/gnuplot): Make tables starting with a
4606         hline work correctly.
4607         (org-plot/gnuplot-script): Put commas at the end of each script
4608         line.
4610 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
4612         * org.el (org-get-refile-targets): Replace links with their
4613         descriptions
4614         (org-imenu-get-tree): Replace links with their descriptions.
4616         * org-remember.el (org-remember-apply-template): Add a new
4617         expansion for adding properties to remember items.
4619         * org.el (org-add-log-setup): Skip over drawers (properties,
4620         clocks etc) when adding notes.
4622         * org-agenda.el (org-agenda-get-closed): show durations of clocked
4623         items as well as the start and end times.
4625         * org-compat.el (org-get-x-clipboard-compat): Add a compat
4626         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4628         * org-remember.el (org-get-x-clipboard): Use the compat
4629         function to get clipboard values when x-selection-value is
4630         unavailable. Use substring-no-properties instead of
4631         set-text-properties to remove text properties from the clipboard
4632         value.
4634         * lisp/org-clock.el (org-update-mode-line): Support limiting the
4635         modeline clock string, and display the full todo value in the
4636         tooltip. Set a local keymap so mouse-3 on the clock string goes to
4637         the currently clocked task.
4638         (org-clock-string-limit): Add a custom value for the maximum
4639         length of the clock string in the modeline.
4640         (org-clock-mode-map): Add a keymap for the modeline string
4642 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4644         * org-compat.el (org-propertize): New function.
4646 2008-09-20  Bastien Guerry  <bzg@altern.org>
4648         * org-export-latex.el (org-export-latex-tables): protect exported
4649         tables from further special chars conversion.
4650         (org-export-latex-preprocess): Preserve LaTeX environments.
4651         (org-list-parse-list): Parse descriptive lists.
4652         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4653         (org-list-to-texinfo): Export descriptive lists.
4654         (org-quote-chars): Remove.
4655         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4656         (org-export-latex-list-beginning-re): Rename to
4657         `org-list-beginning-re'
4658         (org-list-item-begin): Rename to `org-list-item-beginning'
4660 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4662         * org.el (org-refile): Allow refiling to the last entry in the
4663         buffer.
4664         (org-get-tags-at): Fix bug when inheritance is turned off.
4666 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4668         * org.el (org-indent-line-function): No longer check for src
4669         regions, this is too much overhead.
4671         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4672         matching.
4674         * org.el (org-scan-tags): Make sure that tags matching is not case
4675         sensitive.  TODO keyword matching is case sensitive, however, to
4676         avoid confusion with similar words that are not meant to be
4677         keywords.
4679 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4681         * org.el (org-get-local-tags-at): New function.
4682         (org-get-local-tags): New function.
4684         * org-exp.el (org-export-get-categories): New function.
4686         * org-agenda.el (org-sorting-choice)
4687         (org-agenda-sorting-strategy, org-agenda-get-todos)
4688         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4689         (org-agenda-get-scheduled, org-agenda-get-blocks)
4690         (org-entries-lessp): Implement sorting by TODO state.
4691         (org-cmp-todo-state): New defsubst.
4693         * org-colview.el (org-colview-construct-allowed-dates): New
4694         function.
4695         (org-columns-next-allowed-value): Use
4696         `org-colview-construct-allowed-dates'.
4698         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4699         function.
4700         (org-columns-next-allowed-value): Use
4701         `org-colview-construct-allowed-dates'.
4703 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4705         * org.el (org-protect-slash): New function.
4706         (org-get-refile-targets): Use `org-protect-slash'.
4708         * org-agenda.el (org-global-tags-completion-table): New variable.
4710         * org-exp.el (org-export-handle-export-tags): New function.
4711         (org-export-preprocess-string): Call
4712         `org-export-handle-export-tags'.
4714         * org-plot.el: New file.
4716         * org-publish.el (org-publish-expand-components): Function removed.
4717         (org-publish-expand-projects): Allow components to have components.
4719 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4721         * org.el (org-indent-line-function): Do not indent in regions that
4722         are external source code.
4723         (org-yank-and-fold-if-subtree): New function.
4725         * org-agenda.el (org-agenda-todayp): New function.
4726         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4727         `org-agenda-todayp'.
4729         * org.el (org-insert-heading-respect-content)
4730         (org-insert-todo-heading-respect-content): New commands.
4731         (org-insert-heading-respect-content): New option.
4732         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4734         * org-clock.el (org-clock-find-position): Make sure the note after
4735         the clock line gets moved into the new clock drawer.
4737 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4739         * org-id.el (org-id-new): New option.
4741 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4743         * org-table.el (org-table-copy-down): Avoid overflow during
4744         increment.  Use prefix argument 0 to temporarily disable the
4745         increment.
4747 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4749         * org-exp.el (org-export-as-html): Do not turn on the major mode
4750         if the buffer will be killed anyway.
4751         (org-get-current-options): Exclude the #+TEXT field.
4752         (org-export-as-html): Make sure text before the first headline is
4753         a paragraph.
4755         * org-publish.el (org-publish-org-to): Tell the exporter that this
4756         buffer will be killed, so it is not necessary to do major mode
4757         initialization.
4759         * org-archive.el (org-archive-to-archive-sibling): Show empty
4760         lines after folding the archive sibling.
4762         * org.el (org-log-note-extra): New variable.
4764 2008-09-05  Bastien Guerry  <bzg@altern.org>
4766         * org.el (org-additional-option-like-keywords): Added keywords for
4767         the _QUOTE, _VERSE and _SRC environments.
4769         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4770         exporting _QUOTE and _VERSE environments.
4772 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4774         * org-agenda.el (org-agenda-filter-by-tag): New command.
4776         * org-exp.el (org-get-current-options): Remove angular brackets
4777         from the date entry.
4779         * org.el (org-edit-fixed-width-region): New function.
4780         (org-edit-fixed-width-region): Also try
4781         `org-edit-fixed-width-region'.
4782         (org-edit-fixed-width-region-mode): New option.
4783         (org-activate-code): Only interprete lines starting with colon
4784         plus a space as example lines.
4786         * org-remember.el (org-remember-templates): Add nil instead of
4787         empty strings to fix the length of remember templates.
4789         * org-table.el (org-calc-default-modes): Fix the time format for
4790         calc, from 12 hour to 24 hour clock.
4792 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4794         * org-agenda.el (org-agenda-get-deadlines)
4795         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4796         entries that are pre-warnings of deadlines or reminders.
4798         * org.el (org-sort-entries-or-items): Make numeric and alpha
4799         comparisons ignore any TODO keyword and priority cookie.
4801         * org-remember.el (org-remember-handler): Reinterpretation of the
4802         prefix argument.
4804 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4806         * org-agenda.el (org-agenda-get-scheduled): Use new
4807         `org-scheduled' face.
4809         * org-faces.el (org-scheduled): New face.
4811         * org-wl.el (org-wl-open): Remove incorrect declaration.
4813         * org-gnus.el (org-gnus-store-link): Support for :to information
4814         in gnus links.
4816         * org-exp.el (org-export-as-html): Fixed typo in creator
4817         information.
4818         (org-export-protect-examples): New parameter indent.  Insert extra
4819         spaces only when this parameter is specified.
4820         (org-export-preprocess-string): Call `org-export-protect-examples'
4821         with an indentation parameter when exporting to ASCII.
4823         * org-remember.el (org-remember-templates)
4824         (org-remember-apply-template): Allow the file component to be a
4825         function.
4827         * org.el (org-goto-local-search-headings): Renamed from
4828         `org-goto-local-search-forward-headings'.  Added the possibility
4829         to search backwards.
4831 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4833         * org-export-latex.el (org-export-latex): New customization
4834         group.
4836         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4838 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4840         * org-exp.el (org-html-do-expand): Allow {} to terminate
4841         tex macro
4843 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4845         * org.el (org-buffer-list): Select buffers based on major mode,
4846         not on file name.
4848 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4850         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4851         face property.
4853         * org-colview.el (org-columns-display-here): Use
4854         `org-columns-modify-value-for-display-function'.
4856         * org-colview-xemacs.el (org-columns-display-here): Use
4857         `org-columns-modify-value-for-display-function'.
4859 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4861         * org.el (org-columns-modify-value-for-display-function): New option.
4873         * org-publish.el (org-publish-file): Make sure the directory match
4874         for the publishing directory works correctly.
4876         * org-agenda.el (org-agenda-execute-calendar-command)
4877         (org-agenda-diary-entry): Additional optional argument.
4879 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4881         * org-exp.el (org-export-as-html): Add attributes also in mailto
4882         and ftp links.
4884         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4893 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4895         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4896         sure that calls from `org-export-region-as-html' do not do the
4897         special check for a subtree.
4899 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4901         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4903 2008-07-20  Juri Linkov  <juri@jurta.org>
4905         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4906         new keymap `narrow-map' instead of binding "\C-xns".
4908 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4910         * org.el (org-open-file): Use
4911         `org-open-directory-means-index-dot-org'.
4912         (org-open-directory-means-index-dot-org): New option.
4914 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4916         * org.el (org-make-link-string): Remove link attributes from
4917         description.
4918         (org-open-at-point): Remove link attributes bevore using the path.
4920         * org-exp.el (org-export-as-html): Handle link attributes.
4922         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4924         * org-table.el (org-table-to-lisp): New function.
4926         * org.el (org-narrow-to-subtree): Do not include the final newline
4927         into the narrowed region.
4929         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4930         bug with user-define skipping condition.
4932 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4934         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4936 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4938         * org-exp.el (org-export-html-style-default): Automatic overflow
4939         handling for pre fields.
4940         (org-export-as-ascii, org-export-as-html): Change default format
4941         for time stamp.
4943         * org-table.el (org-table-export): Offer completion for translator
4944         functions, and do not require a heading above the table.
4946         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4947         Cater for the case of a list starting in the first line of the
4948         buffer.
4950 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4952         * org-publish.el (org-publish-find-title): Bug fix.
4953         (org-publish-org-index): Implement new :index-style option.
4955 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4957         * org-publish.el (org-publish-timestamp-filename): Use
4958         SHA1-encoded file names in the timestamp directory.
4960 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4962         * org-publish.el (org-publish-needed-p): Be verbose about files
4963         published and files skipped.
4965         * org-exp.el (org-export-preprocess-string): Swap link
4966         normalization and inernal link targeting.
4968         * org-publish.el (org-publish-needed-p): Create timestamp
4969         directory when it does not exist.
4971 2008-07-04  Bastien Guerry  <bzg@altern.org>
4973         * org-clock.el (org-clock-out-when-done): Doc fix.
4975         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4977         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4978         Ignore case when searching for the COMMENT cookie at export time.
4980 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4982         * org-exp.el (org-get-file-contents)
4983         (org-get-and-remove-property): New functions.
4984         (org-export-handle-include-files): Handle the new prefix options.
4985         (org-export-as-html): Fix the verse environment.
4987 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4989         * org.el (org-time=, org-time<, org-time<=, org-time>)
4990         (org-time>=, org-time<>, org-2ft): New functions.
4991         (org-op-to-function): Also provide for the time testing fucntions.
4993 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4995         * org-exp.el (org-export-html-style-default): New constant.
4997 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4999         * org-exp.el (org-export-html-style-extra): New variable.
5000         (org-export-splice-style): New function.
5002 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5004         * org-exp.el (org-export-plist-vars, org-export-as-html):
5005         Implement `org-export-creator-info'.
5006         (org-export-creator-info): New option.
5008 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5010         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5011         (org-property-drawer-re, org-clock-drawer-re): New constants.
5013 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5015         * org-exp.el (org-icalendar-use-deadline)
5016         (org-icalendar-use-scheduled): New options.
5017         (org-icalendar-include-todo): Default changed to t.
5018         (org-print-icalendar-entries): Implement better utilization of
5019         scheduling and deadline time stamps.
5020         (org-export-target-internal-links, org-export-as-html): Allow file
5021         lines without the "file:" prefix if the file path is an absolute
5022         path or starts with ".".
5024         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5025         lastweek etc.
5026         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5028 2008-06-18  Glenn Morris  <rgm@gnu.org>
5029         * org.el (org-map-entries): Let-bind `file'.
5031 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5033         * org.el (org-agenda-skip-archived-trees): Docstring now
5034         discourages using this.
5035         (org-scan-tags): Check for org-agenda-archives-mode.
5036         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5037         (org-agenda-files): Functionality of second arg changed.
5039         * org-agenda.el (org-agenda-archives-mode): New variable
5040         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5041         (org-search-view, org-todo-list, org-tags-view)
5042         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5043         `ifmode' argument.
5044         (org-agenda-quit): Reset the archives mode.
5045         (org-agenda-archives-mode): New command.
5046         (org-agenda-set-mode-name): Include archives info.
5048 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5050         * org.el (org-paste-subtree): Make sure the yanked headline is
5051         visible if it was yanked at a visible point.
5052         (org-move-item-up): Fix the bug with moving white space at the end
5053         of the item.
5054         (org-show-empty-lines-in-parent): New function.
5056 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5058         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5060         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5062         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5063         agenda prefix as well.
5065         * org-publish.el (org-publish-org-index): Make a properly indented
5066         list.
5068         * org.el (org-calendar-agenda-action-key): New option.
5069         (org-get-cursor-date): New function.
5070         (org-mark-entry-for-agenda-action): New command.
5071         (org-overriding-default-time): New variable.
5072         (org-read-date): Respect `org-overriding-default-time'.
5074         * org-remember.el (org-remember-apply-template): Respect the
5075         ovverriding default time.
5077         * org-agenda.el (org-agenda-action-marker): New variable.
5078         (org-agenda-action): New command.
5079         (org-agenda-do-action): New function.
5081 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5083         * org.el (org-schedule, org-deadline): Protect scheduled and
5084         deadline tasks against changes that accidently remove the
5085         repeater.  Also show a message with the new date when done.
5087 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5089         * org.el (org-beginning-of-line): Cater for the case when there
5090         are tags but no headline text.
5091         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5092         it set.
5094 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5096         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5097         the return value is nil instead of "nil" when there is no match.
5099         * org-exp.el (org-insert-centered): Use fill-column instead of
5100         80.
5101         (org-export-as-ascii): Use string-width to measure the width of
5102         the heading.
5104         * org.el (org-diary-to-ical-string): No longer kill buffer
5105         FROMBUF, this is now done by the caller.
5107         * org-exp.el (org-print-icalendar-entries): Move the call to
5108         `org-diary-to-ical-string' out of the loop, and kill the buffer
5109         afterwords.
5111         * org-remember.el (org-remember-visit-immediately): Position
5112         cursor after moving to the note.
5113         (org-remember-apply-template): Use a text property to record the
5114         cursor position.
5115         (org-remember-handler): Align tags after pasting the note.
5117 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5119         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5121         * org-agenda.el (org-agenda-open-link): If there is an
5122         org-bbdb-name property in the current line, jump to that bbdb
5123         entry.
5125         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5126         text property, so that the agenda knows where this entry comes
5127         from.
5129         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5130         interaction between clocking-in from the agenda, and  automatic
5131         task state switching.
5133         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5135         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5136         zmacs-region stays after this command in XEmacs.
5138 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5140         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5142         * org-remember.el (org-remember-templates): Fix bug in
5143         customization type definition.
5145         * org.el (org-map-entries): New function.
5147 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5149         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5150         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5152 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5154         * org-remember.el (org-jump-to-target-location): New variable.
5155         (org-remember-apply-template): Set
5156         `org-remember-apply-template' if requested by template.
5157         (org-remember-handler): Start an idle timer to jump to
5158         remember location.
5160         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5162         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5163         file tags.
5164         (org-get-tags-at): Add the content of `org-file-tags'.
5166         * org-exp.el (org-export-handle-comments): Fix bug with several
5167         comment lines after each other.
5168         (org-number-to-roman, org-number-to-counter): New functions.
5169         (org-export-section-number-format): New option.
5171 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5173         * org-exp.el (org-export-protect-examples): Catch the case of a
5174         missing end_example line.
5176         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5177         `org-file-tags' to nil.
5179         * org-colview.el (org-columns-next-allowed-value): Handle next
5180         argument NTH to directly select a value.
5182         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5183         argument NTH to directly select a value.
5185 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5187         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5189 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5191         * org.el (org-columns-ellipses): New option.
5193 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5195         * org-colview.el (org-columns-add-ellipses): New function.
5196         (org-columns-compact-links): New function.
5197         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5198         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5199         when in agenda.
5200         (org-columns-edit-value): Fixed bug with editing values from
5201         agenda column view.
5202         (org-columns-redo): Also redo the agenda itself.
5204 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5206         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5207         option.
5209         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5211         * org-exp.el (org-export-ascii-preprocess): Renamed from
5212         `org-export-ascii-clean-string'.
5213         (org-export-kill-licensed-text)
5214         (org-export-define-heading-targets)
5215         (org-export-handle-invisible-targets)
5216         (org-export-target-internal-links)
5217         (org-export-remove-or-extract-drawers)
5218         (org-export-remove-archived-trees)
5219         (org-export-protect-quoted-subtrees)
5220         (org-export-protect-verbatim, org-export-protect-examples)
5221         (org-export-select-backend-specific-text)
5222         (org-export-mark-blockquote-and-verse)
5223         (org-export-remove-comment-blocks-and-subtrees)
5224         (org-export-handle-comments, org-export-mark-radio-links)
5225         (org-export-remove-special-table-lines)
5226         (org-export-normalize-links)
5227         (org-export-concatenate-multiline-links)
5228         (org-export-concatenate-multiline-emphasis): New functions,
5229         obtained from spliiting the export preprocessor.
5231         * org-table.el (org-table-recalculate): Improve error message if
5232         the row number is invalid.
5234 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
5236         * org-archive.el (org-archive-save-context-info): Fix bugs in
5237         customization setup and docstring.
5239         * org-exp.el (org-export-html-style): Changed the size of in the
5240         <pre> element to 90%.
5242 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
5244         * org.el (org-find-src-example-start): Function removed.
5245         (org-edit-src-find-region-and-lang): New function.
5247 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
5249         * org.el (org-edit-src-exit): New function.
5250         (org-exit-edit-mode): New minor mode.
5252         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5253         comment-like lines from protected examples.
5255         * org.el (org-edit-src-example, org-find-src-example-start)
5256         (org-protect-source-example, org-edit-special): New functions.
5258 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
5260         * org-publish.el (org-publish-project-alist): Fix typo in
5261         docstring.
5262         (org-publish-project-alist): Handle :index-title property.
5264 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
5266         * org-export-latex.el (org-export-as-latex): Make sure region
5267         bounds are correct.  Parse subtree properties relating to export.
5269         * org-exp.el (org-export-add-options-to-plist): New function.
5270         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5272 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
5274         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5275         EXPORT_TITLE.
5277         * org-exp.el (org-export-get-title-from-subtree)
5278         (org-export-as-ascii, org-export-as-html): Make sure the original
5279         region-beginning and region-end are used, even after moving
5280         point.
5281         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5282         property.
5284         * org-remember.el (org-remember-last-stored-marker): New variable.
5285         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5286         (org-remember-handler): Also use marker to remember
5287         last-stored position.
5289         * org.el (org-goto-marker-or-bmk): New function.
5291 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
5293         * org.el (org-file-properties): Renamed from `org-local-properties'.
5294         (org-scan-tags): Take file tags into account.
5295         (org-tags-match-list-sublevels): Default changed to t.
5297         * org-exp.el (org-export-as-html): Close paragraph after a
5298         footnote.
5300         * org.el (org-update-parent-todo-statistics): New function.
5302         * org-exp.el (org-icalendar-store-UID): New option.
5303         (org-icalendar-force-UID): Option removed.
5304         (org-print-icalendar-entries): IMplement UIDs.
5306 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5308         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5310 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5312         * org-faces.el (org-column): Document how this face is being used
5313         and why sometimes the background faces shine through.
5315         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5317         * org-publish.el (org-publish-attachment): Create publishing
5318         directory if it does not yet exist.
5320         * org-table.el (org-calc-default-modes): Change default number
5321         format to (float 8).
5323         * org.el (org-olpath-completing-read): New function.
5324         (org-time-clocksum-format): New option.
5325         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5327         * org-clock.el (org-clock-display, org-clock-out)
5328         (org-update-mode-line): Use `org-time-clocksum-format'.
5330         * org-colview-xemacs.el (org-columns-number-to-string): Use
5331         `org-time-clocksum-format'.
5333         * org-colview.el (org-columns-number-to-string): Use
5334         `org-time-clocksum-format'.
5336 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5338         * org-id.el: New file, move from contrib to core.
5340         * org-exp.el (org-icalendar-force-UID): New option.
5342 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5344         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5345         shifted by one day if theere is a date range without an end
5346         time.
5348         * org.el (org-try-structure-completion): New function.
5350 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5352         * org.el (org-set-font-lock-defaults): Improve fontification of
5353         description lists.
5354         (org-insert-item): Handle description lists.
5355         (org-adaptive-fill-function): Improve auto indentation in
5356         description lists.
5358         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5359         Implement VERSE environment.
5360         (org-export-preprocess-string): Implement the COMMENT
5361         environment.
5363         * org-export-latex.el (org-export-latex-preprocess): Implement
5364         VERSE environment.
5366 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5368         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5369         option.
5371 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5373         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5375         * org.el (org-quote-csv-field): New functions.
5377         * org-table.el (org-table-export-default-format): Remove :splice
5378         from default format, we get the same effect by not specifying
5379         :tstart and :tend.
5380         (org-table-export): Improve setup, distinguish better between
5381         interactive and non-interactive use, allow specifying the format
5382         on the fly, better protection against wrong file names.
5383         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5384         and :tend when :splice is omitted.
5386 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5388         * org-clock.el (org-clock-select-task): Make sure the selection
5389         letters are 1-9 and A-Z, no special characters.
5391 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5393         * org-exp.el (org-export-htmlize): New group.
5394         (org-export-htmlize-output-type)
5395         (org-export-htmlize-css-font-prefix): New options.
5396         (org-export-htmlize-region-for-paste): New function.
5397         (org-export-htmlize-generate-css): New command.
5399 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5401         * org/org.el (org-modules, org-format-latex-options):
5402         * org/org-archive.el (org-archive-stamp-time)
5403         (org-archive-save-context-info):
5404         * org/org-faces.el (org-hide):
5405         * org/org-irc.el (org-irc-parse-link):
5406         * org/org-macs.el (org-call-with-arg, org-autoload):
5407         * org/org-mew.el (org-mew-store-link):
5408         * org/org-remember.el (org-remember-store-without-prompt)
5409         (org-remember-templates): Fix typos in docstrings.
5411         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5413         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5414         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5415         (org-bbdb-anniv-split): Fix typos in docstrings.
5417         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5418         (org-publish-use-timestamps-flag): Reflow docstring.
5419         (org-publish-files-alist): Fix typos in docstring.
5421 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5423         * org.el (org-set-visibility-according-to-property): New function.
5424         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5425         and compute the regular expressions, and update font-lock.
5426         (org-property-re): Allow a dash in property names.
5428         * org-archive.el (org-extract-archive-file): Insert the file name
5429         without the path into the format, to allow the location format to
5430         contain a subdirectory.
5432         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5433         of buffer, and the `org-agenda-type' property undefined, use the
5434         value from the character before.
5436         * org.el (org-add-planning-info): Don't let indentation for
5437         would-be timestamp become extra whitespace at the end of headline.
5439 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5441         * org.el (org-remove-double-quotes, org-file-contents): New
5442         functions.
5444         * org-exp.el (org-infile-export-plist): Also parse the
5445         contents of #+SETUPFILE files, recursively.
5447         * org.el (org-set-regexps-and-options): Also parse the
5448         contents of #+SETUPFILE files, recursively.
5450         * org-exp.el (org-export-handle-include-files): New function.
5451         (org-export-preprocess-string): Call
5452         `org-export-handle-include-files'.
5454         * org.el (org-delete-property-globally)
5455         (org-delete-property, org-set-property): Ignore case during
5456         completion.
5457         (org-set-property): Use `org-completing-read' instead of
5458         `completing-read'.
5460         * org.el (org-complete-expand-structure-template): New,
5461         experimental function.
5462         (org-structure-template-alist): New, experimental option.
5463         (org-complete): Call `org-complete-expand-structure-template'.
5465 2008-05-06  Bastien Guerry  <bzg@altern.org>
5467         * org-export-latex.el (org-export-latex-preprocess): Added
5468         support for blockquotes.
5470 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5472         * org.el (org-read-date-analyze): Catch the case where only a
5473         weekday is given.
5475 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5477         * org.el (org-set-font-lock-defaults): Make the description
5478         tag bold.
5480         * org-exp.el (org-export-as-html, org-close-li): Implement
5481         description lists.
5483 2008-05-04  Jason Riedy  <jason@acm.org>
5485         * org-table.el (*orgtbl-default-fmt*): New variable.
5486         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5487         when there is no other fmt available.
5489         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5490         :tend to suppress the appropriate string.
5492         (orgtbl-to-orgtbl): New function for translating to another orgtbl
5493         table.
5495 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
5497         * org.el (org-read-date-analyze): "." as an alias for "+0" in
5498         read date.
5500         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5501         New function.
5503         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5504         New function.
5506 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
5508         * org-clock.el (org-clock-find-position): Don't include notes
5509         into clock drawer.
5511         * org-archive.el (org-archive-subtree): No longer remove an
5512         extra line after cutting the subtree.  `org-cut-subtree' already
5513         takes care of this.
5515         * org-remember.el (org-remember-handler): Only kill the target
5516         buffer if it does not contain the running clock.
5518         * org.el (org-markers-to-move): New variable.
5519         (org-save-markers-in-region, org-check-and-save-marker)
5520         (org-reinstall-markers-in-region): New function.
5521         (org-move-subtree-down, org-copy-subtree): Remember relative
5522         marker positions before cutting.
5523         (org-move-subtree-down, org-paste-subtree): Restore relative
5524         marker positions after pasting.
5526         * org-remember.el (org-remember-clock-out-on-exit): New option.
5527         (org-remember-finalize): Clock out only if the setting in
5528         `org-remember-clock-out-on-exit' requires it.
5529         (org-remember-handler): Do the cleanup in the buffer, to make sure
5530         that the clock marker remains in tact.
5532 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
5534         * org-clock.el (org-clock-goto): Widen buffer if necessary.
5535         (org-clock-in): Make sure that also tasks outside the narrowed
5536         region will be clocked in correctly.
5537         (org-clock-insert-selection-line): Widen the buffer so that we can
5538         find the correct task heading.
5540         * org.el (org-base-buffer): New function.
5542         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5543         and ";" are escaped.
5544         (org-print-icalendar-entries): Also apply
5545         `org-icalendar-cleanup-string' to the headline, not only to the
5546         summary property.
5548 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
5550         * org-exp.el (org-export-preprocess-hook): New hook.
5551         (org-export-preprocess-string): Call
5552         `org-export-preprocess-hook'.
5554         * org.el (org-font-lock-hook): New variable.
5555         (org-font-lock-hook): New function.
5556         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5558 ;; Local Variables:
5559 ;; coding: utf-8
5560 ;; add-log-time-zone-rule: t
5561 ;; End:
5563     Copyright (C) 2008  Free Software Foundation, Inc.
5565   This file is part of GNU Emacs.
5567   GNU Emacs is free software: you can redistribute it and/or modify
5568   it under the terms of the GNU General Public License as published by
5569   the Free Software Foundation, either version 3 of the License, or
5570   (at your option) any later version.
5572   GNU Emacs is distributed in the hope that it will be useful,
5573   but WITHOUT ANY WARRANTY; without even the implied warranty of
5574   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5575   GNU General Public License for more details.
5577   You should have received a copy of the GNU General Public License
5578   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
5580 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c