Implement a new agenda view for finding and working on flagged entries
[org-mode.git] / lisp / ChangeLog
blobb73beee6d55b164635798ec7b8044e0101654a37
1 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-clock.el (org-clock-clocktable-default-properties): New
4         option.
5         (org-clock-report): Use
6         `org-clock-clocktable-default-properties'.
8 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
10         * org.el (org-iswitchb-completing-read): Fix typo.
12         * org-crypt.el: New file.
14         * org.el: Add an entry for org-crypt.
16 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
18         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
19         consistency.
20         (org-batch-store-agenda-views): New function.
21         (org-mobile-force-id-on-agenda-items): Mention variable.
22         (org-agenda-title-append): Define variable.
23         (org-write-agenda): New export to Org files.
24         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
25         (org-agenda): Allow to keep the restricted file list if a special
26         variable is bound to t.
27         (org-agenda): Define a special agenda view for working on flagged
28         entries.
29         (org-agenda-get-restriction-and-command): List the new agenda
30         view.
31         (org-agenda-show-the-flagging-note): New command.
32         (org-agenda-mode-map): New key `?' for looking at the flagging
33         note.
35         * org.el (org-autoload): Autoload org-mobile.el.
36         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
38         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
40 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
42         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
43         statements.
44         (org-table-get-remote-range): Match indented #+TBLNAME
45         statements.
47         * org.el (org-convert-to-odd-levels)
48         (org-convert-to-oddeven-levels): Work also correctly if the file
49         is in outline-mode.
51 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
53         * org.el (org-store-link): When in agenda buffer, link to
54         referenced entry.
55         (org-add-planning-info): Remove spaces at eol.
57         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
58         property.
60 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
62         * org-latex.el (org-export-latex-first-lines): Fix problem with
63         LaTeX export of first line and selected subtree.
65         * org.el (org-shifttab): Interpret arg differently when using only
66         odd levels.
68 2009-09-09  Bastien Guerry  <bzg@altern.org>
70         * org.el (org-check-agenda-file): Use a more explicit message
72 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org-exp.el (org-export-remove-special-table-lines): Don't remove
75         normal lines.
77 2009-09-08  Bastien Guerry  <bzg@altern.org>
79         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
80         prompt in the temporary window.
82         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
83         prefix for marked entries in the agenda view.
85 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
87         * org.el (outline-end-of-subtree): Bugfix: advise this function in
88         a way that prevents any trailing character from being displayed.
90 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
93         menu.
95         * org-exp.el (org-export-remove-special-table-lines): Remove bad
96         slow regexp match.
98 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
100         * org-latex.el (org-export-latex-preprocess): Do not protect in
101         the LaTeX header.
103         * org-src.el (org-edit-src-save): Save window setup while saving.
104         (org-edit-src-code): Use new buffer name construction scheme.
106 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
108         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
109         variable.
110         (org-agenda-entry-text-cleanup-hook): New hook.
111         (org-agenda-get-some-entry-text): Remove matches of
112         `org-agenda-entry-text-exclude-regexps' and run the hook
113         `org-agenda-entry-text-cleanup-hook'.
115         * org.el (org-offer-links-in-entry): New argument ZERO to
116         implement a link with index zero.
117         (org-cycle-show-empty-lines): Not keep empty line under header
118         hidden.
119         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
120         to nil for special completion.
121         (org-store-link): Don't error before the first heading.
123         * org-agenda.el (org-agenda-open-link): Pass the prefix to
124         `org-offer-links-in-entry'.
126 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
128         * org-agenda.el (org-agenda-quit): Provide the window argument for
129         `window-dedicated-p', Emacs 22 needs it.
130         (org-format-agenda-item): If the category is a link, arrange for
131         invisible text to replaced with spaces.
132         (org-compile-prefix-format): Add the extra space.
133         (org-prefix-category-length): New variable.
135         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
136         references from TOC lines.
138         * org.el (org-selected-window): New variable.
140         * org-table.el (org-table-edit-formulas): Remember the selected
141         window.
142         (org-table-fedit-finish, org-table-fedit-abort): Select the window
143         that was originally selected.
145         * org-exp.el (org-export-preprocess-apply-macros): Scan the
146         expansion of a macro for more macro definitions.
148         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
149         invisibility overlay starts on the newline.
151 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
153         * org-protocol.el (org-protocol-store-link)
154         (org-protocol-remember, org-protocol-open-source): Add autoloads.
156         * org-compat.el (org-float-time): New function.
158         * org.el (org-clock-update-time-maybe)
159         (org-sort-entries-or-items, org-do-sort)
160         (org-evaluate-time-range, org-time-string-to-seconds)
161         (org-closed-in-range): Use `org-float-time'.
163         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
164         (org-timer-seconds):  Use `org-float-time'.
166         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
167         (org-clock-sum, org-dblock-write:clocktable)
168         (org-clocktable-steps):  Use `org-float-time'.
170         * org-agenda.el (org-agenda-last-marker-time)
171         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
173         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
174         function.
176         * org-exp.el (org-get-file-contents): Only protect lines that
177         really need it.
179         * org-html.el (require): Require cl for compilation.
181         * org.el:  Avoid using `default-major-mode'.
183         * org-plot.el (require): Require CL only at compile time.
185         * org-exp.el (require): Require CL only at compile time.
187         * org-agenda.el (org-agenda-quit): When the agenda window is
188         dedicated, remove other windows before exiting, so that the frame
189         really will be killed.
191         * org-exp.el (org-export-handle-include-files): Reset START and
192         END for each loop cycle.
194 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
196         * org.el (org-eval-in-calendar): Use
197         `org-select-frame-set-input-focus'.
199         * org-compat.el (org-select-frame-set-input-focus): New function.
201         * org.el (org-update-statistics-cookies): New function.
202         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
204 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
206         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
207         after the local variables are set.
209         * org-latex.el (org-export-latex-protect-amp): New function.
210         (org-export-latex-links): Protect link ampersands in tables.
212         * org-exp.el (org-export-select-backend-specific-text): Match in
213         two steps, to avoid regexp problems.
215         * org.el (org-offer-links-in-entry): Improve working with many and
216         duplicate links.
218         * org-agenda.el (org-agenda-show-1): Make more consistent with
219         normal cycling.
220         (org-agenda-cycle-show): Make more consistent with normal cycling.
222         * org-gnus.el (org-gnus-store-link): Restore the linking to a
223         website.
225 2009-08-30  Bastien Guerry  <bzg@altern.org>
227         * org-latex.el (org-export-latex-first-lines): Bugfix.
229 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org-clock.el (org-clock-modify-effort-estimate): Emit message
232         about new effort.
234         * org.el (org-set-effort): New function.
235         (org-mode-map): New key for effort setting command.
237         * org-agenda.el (org-agenda): Keep window setup when calling
238         agenda from within agenda window.
239         (org-agenda-mode-map): New keys for effort setting commands.
240         (org-agenda-menu): Add effort setting commands to menu.
241         (org-agenda-set-property, org-agenda-set-effort): New functions.
243         * org-latex.el (org-export-latex-tables): Fix
244         `org-table-last-alignment' and `org-table-last-column-widths' if
245         the first column has been removed.
247 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
249         * org.el (org-remove-timestamp-with-keyword): Only remove in
250         entry, not in subtree.
252         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
253         emacs lisp.
255         * org.el (org-open-at-point): When on headline, offer all strings
256         in entry.
258         * org-remember.el (org-remember-templates): Documentation fix.
260         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
261         `org-get-last-sibling' instead of the outline versions of these
262         functions.
263         (org-get-last-sibling): New function.
264         (org-refile): Use `org-get-next-sibling' instead of the outline
265         version of this function.
266         (org-clean-visibility-after-subtree-move): Use
267         `org-get-next-sibling' and `org-get-last-sibling' instead of the
268         outline versions of these functions.
270 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
272         * org-agenda.el (org-prepare-agenda): When creating a new frame
273         for the agenda, make the window dedicated.
275         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
277         * org-table.el (org-table-align): Change the order of reinsertion
278         and deletion, to avoid problems with overlays following the table.
280         * org.el (org-parse-time-string): Better error message.
281         (org-show-subtree): Use org-end-of-subtree.
283         * org-macs.el (org-goto-line): New defsubst.
285         * org.el (org-open-file, org-change-tag-in-region)
286         (org-fast-tag-show-exit): Don't use `goto-line'.
288         * org-table.el (org-table-align, org-table-insert-column)
289         (org-table-delete-column, org-table-move-column)
290         (org-table-sort-lines, org-table-copy-region)
291         (org-table-paste-rectangle, org-table-wrap-region)
292         (org-table-get-specials, org-table-rotate-recalc-marks)
293         (org-table-get-range, org-table-recalculate)
294         (org-table-edit-formulas, org-table-fedit-convert-buffer)
295         (org-table-show-reference, org-table-highlight-rectangle): Don't
296         use `goto-line'.
298         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
299         (org-edit-src-exit): Don't use `goto-line'.
301         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
303         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
304         Don't use `goto-line'.
306         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
308         * org-colview.el (org-columns, org-columns-redo)
309         (org-agenda-columns): Don't use `goto-line'.
311         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
312         use `goto-line'.
314         * org-agenda.el (org-agenda-mode): Force visual line motion off.
315         (org-agenda-add-entry-text-maxlines): Improve docstring.
316         (org-agenda-start-with-entry-text-mode): New option.
317         (org-agenda-entry-text-maxlines): New option.
318         (org-agenda-entry-text-mode): New variable.
319         (org-agenda-mode): Set initial value of
320         `org-agenda-entry-text-mode'.
321         (org-agenda-mode-map): Add the `E' key.
322         (org-agenda-menu): Add entry text mode to the menu.
323         (org-agenda-get-some-entry-text): Fix line count bug.
324         (org-finalize-agenda): Apply entry text mode if appropriate.
325         (org-agenda-entry-text-show-here): New function.
326         (org-agenda-entry-text-show): New function.
327         (org-agenda-entry-text-hide): New function.
328         (org-agenda-view-mode-dispatch): Add entry text mode to the view
329         key menu.
330         (org-agenda-entry-text-mode): New command.
331         (org-agenda-set-mode-name): Add entry text mode to the mode line
332         string.
333         (org-agenda-undo, org-agenda-get-restriction-and-command)
334         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
335         `goto-line'.
337 2009-08-26  Bernt Hansen  <bernt@norang.ca>
339         * org-clock.el (org-notify): Bugfix.
341 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-agenda.el (org-agenda-open-link): Handle multiple links and
344         check for after-string.
346         * org-gnus.el (org-gnus-store-link): Simplify.
348         * org.el (org-latex-regexps): Don't add extra empty lines for
349         display formulas.
351 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
353         * org-agenda.el (org-agenda-get-some-entry-text): New function.
354         (org-agenda-add-entry-text): Use
355         `org-agenda-get-some-entry-text'.
357         * org.el (org-cycle-separator-lines): Update docstring.
358         (org-cycle-show-empty-lines): Handle negative values for
359         `org-cycle-show-empty-lines'.
361         * org-exp.el (org-export-protect-sub-super): New function.
362         (org-export-normalize-links): Protect the url of plain links from
363         supscript and superscript processing.
365         * org-remember.el (org-remember-escaped-%): New function.
366         (org-remember-apply-template): Use `org-remember-escaped-%' to
367         detect escaped % signs.
369 2009-08-23  Bastien Guerry  <bzg@altern.org>
371         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
372         sound when showing the notification.
374         * org-clock.el (org-notify): New function.
375         (org-clock-notify-once-if-expired): Use `org-notify'.
377         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
378         and `gnus-article-mode' separately.
379         (gnus-summary-article-header): Fix the declare-function.
381 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
383         * org-exp.el (org-export-format-source-code-or-example): Translate
384         language.
386         * org-src.el (org-src-lang-modes): New variable
387         (org-edit-src-code): Translate language.
389         * org-exp.el (org-export-format-source-code-or-example): Deal wit
390         the new structure of the `org-export-latex-listings-langs'
391         variable.
393         * org-latex.el (org-export-latex-listings-langs): Change structure
394         of the variable from plist to alist.
396 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org.el (org-in-commented-line): New function.
400 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
402         * org.el (org-hide-block-toggle): Make folded blocks searchable.
404 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
406         * org.el (org-flag-drawer): More useful error.
408 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
410         * org-remember.el (org-remember-apply-template): Use
411         org-icompleting-read.
413         * org-publish.el (org-publish): Use org-icompleting-read.
415         * org-colview.el (org-columns-edit-value, org-columns-new)
416         (org-insert-columns-dblock): Use org-icompleting-read.
418         * org-colview-xemacs.el (org-columns-edit-value)
419         (org-columns-new, org-insert-columns-dblock): Use
420         org-icompleting-read.
422         * org-attach.el (org-attach-delete-one, org-attach-open): Use
423         org-icompleting-read.
425 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
427         * org.el (org-hierarchical-todo-statistics): Improve docstring.
428         (org-version): Return the version text.
429         (org-org-menu): Add a menu entry for the new bug reporter.
430         (org-submit-bug-report): New command.
432         * org-list.el (org-hierarchical-checkbox-statistics): Improve
433         docstring.
435         * org.el (org-emphasis-regexp-components): Add "`" to set of
436         pre-emphasis characters.
438         * org-latex.el (org-export-latex-classes): Always include the soul
439         package.
440         (org-export-latex-emphasis-alist): Use \st for strikethough.
442         * org-exp-blocks.el (org-export-blocks-preprocess): Use
443         `indent-code-rigidly' to indent.
445         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
446         properties only if MATCH really is a string.
448 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
450         * org-latex.el (org-export-latex-packages-alist): Fix
451         customization type.
453         * org.el (org-create-formula-image): Also use
454         `org-export-latex-packages-alist'.
456         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
457         (org-export-as-html): Format footnotes correctly.
459 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
461         * org.el (org-fast-tag-selection): Avoid text properties on tags
462         in the alist.
464         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
465         text properties on the match element.
467 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
469         * org.el (org-set-regexps-and-options): Make sure the list of done
470         keywords is not invalid.
472         * org-exp.el (org-export-interpolate-newlines): New function.
474 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
476         * org.el (org-format-latex): Avoid nested overlays.
478         * org-latex.el (org-export-latex-listings-langs): Add a few more
479         languages.
481         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
482         ignore newlines and space before the first macro argument.
484         * org-latex.el (org-export-latex-tables): Remove save-excursion
485         around `org-table-align'.
487 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
489         * org.el (org-export-html-special-string-regexps): Definition
490         moved into org.el
492         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
493         in macro calls.
495 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
497         * org-latex.el (org-export-latex-listings)
498         (org-export-latex-listings-langs): New options.
500         * org-exp.el (org-export-format-source-code-or-example): Use
501         listing package if requested by the user.
503 2009-08-08  Bastien Guerry  <bzg@altern.org>
505         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
506         command before actually switching to a buffer.
508 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org-exp.el (org-get-file-contents): Only quote org lines when
511         the markup is src or example.
513         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
514         New option
515         (org-agenda-get-day-entries): Remember deadline results and pass
516         them on into the function getting the scheduling information.
517         (org-agenda-get-scheduled): Accept deadline results as parameters
518         and maybe skip some entries.
519         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
521         * org.el (org-insert-heading): When respecting content, do not
522         convert current line to headline.
524         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
525         cheeeeeck the hd marker
526         (org-clock-in): Also set the hd marker.
527         (org-clock-out): Also set the hd marker.
528         (org-clock-cancel): Reset markers.
530         * org.el (org-clock-hd-marker): New marker.
532         * org-faces.el (org-agenda-clocking): New face.
534         * org-agenda.el (org-agenda-mark-clocking-task): New function.
535         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
537         * org.el (org-modules): Add org-track.el.
539         * org-agenda.el (org-agenda-bulk-marked-p): New function.
540         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
541         `org-agenda-bulk-marked-p'.
542         (org-agenda-bulk-toggle): New command.
544 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
546         * org.el (org-move-subtree-down): Hide subtree if it was folded,
547         not just the body.
549         * org-remember.el (org-remember-finalize): Avoid buffer-modified
550         messages.
568 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
570         * org-latex.el (org-export-latex-first-lines): Fix bug with
571         finding the end of the first lines.
573         * org.el (org-create-formula-image): Remove the -E option for
574         dvipng.
576         * org-exp.el (org-default-export-plist): Respect #+BIND.
577         (org-export-confirm-letbind): New function.
579         * org.el (org-paste-subtree): Test the kill ring entry if it is
580         going to be used.
581         (org-copy-subtree): Use `org-forward-same-level'.
582         (org-forward-same-level): Respect the `invisibe-ok' arg for
583         back-to-heading.
585 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
587         * org.el (org-table-map-tables): Make sure cursor is back at table
588         beginning after funcall.
590         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
591         handled before children, and do not error if an entry is not
592         found, probably because it hase been remove when the parent was
593         archived or refiled.
595         * org.el (org-ido-completing-read): Accept straight lists for
596         completion as well as alists.
598         * org-html.el (org-export-as-html): Fix parenthesis error in
599         footnore code.
601         * org-timer.el (org-timer-cancel-timers): Renamed from
602         `org-timer-cancel-timers'.
604         * org.el (org-cycle-internal-local): Fix problem with finding next
605         invisible line.
607 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org-list.el (org-list-send-list): Call
610         `org-list-goto-true-beginning' instead of
611         `org-list-find-true-beginning', which does not exist.
613         * org-timer.el (org-timer-reset-timers): Use `mapc'.
614         (org-timer-set-timer): Do not assign to heading.
616         * org-id.el (org-id-open): Quote function name.
618         * org-macs.el (org-unmodified): Turn off recording undo
619         information while running inside the macro.
621         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
622         variable.
623         (org-indent-mode): Remember and restore value of
624         org-hide-leading-stars before `org-indent-mode'.
626         * org-table.el (org-table-export): Also work in file-less
627         buffers.
629         * org.el (org-startup-indented): New option.
630         (org-startup-options): Add new options indent and noindent.
631         (org-unfontify-region): Remove line-prefix and wrap-prefix
632         properties.
633         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
634         hooks.
635         (org-promote, org-demote): Run the new hooks.
637         * org-table.el (org-table-align): Replace leading \n as well.
639         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
640         and `line-wrap' text properties.
642         * org-compat.el (org-kill-new): New function.
644         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
645         `line-wrap' text properties.
647         * org-indent.el: New file.
649 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
651         * org.el (org-provide-todo-statistics): Tweak docstring.
653         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
655 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
657         * org-exp.el (org-export-as-org): Insert the "-source" string
658         before the extension.
660         * org.el (org-read-date): Make sure the calendar is in the current
661         frame.
662         (org-set-emph-re): Remove the ? from the post-match.
663         (org-emphasis-regexp-components): Add backslash to the
664         postmatch class.
665         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
666         optional so that also lines at the end of the buffers will still
667         be matched as headlines.
669         * org-table.el (org-table-error-on-row-ref-crossing-hline):
670         Variable made obsolete.
671         (org-table-relative-ref-may-cross-hline): New option.
672         (org-table-find-row-type): Honow the new option
673         `org-table-relative-ref-may-cross-hline'.
675 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
677         * org-table.el (org-table-cut-region, org-table-copy-region): Work
678         on single field if no active region.
680 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
682         * org-latex.el (org-export-latex-make-header): Only insert title
683         if one is defined.
685         * org.el (org-make-options-regexp): Allow empty values.
687         * org-html.el (org-export-as-html): Move hrule detection to after
688         plain list handling.
690 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
692         * org-html.el (org-format-org-table-html): Fix colgroup tags.
694 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
696         * org.el (org-cycle-internal-local): Improved version of finding
697         next visible line.
698         (org-cycle-hide-drawers): Only hide drawers if this is really
699         necessary.
700         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
701         org-version of this function in Org-mode.  We use advice to
702         implement this change, so that future changes to this function in
703         outline.el wil be handled properly.
704         (org-forward-same-level, org-backward-same-level): New commands.
706 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
708         * org.el (org-remove-empty-overlays-at)
709         (org-clean-visibility-after-subtree-move): New functons.
710         (org-move-subtree-down): Simplify cleanup of display.
712 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
714         * org-mac-message.el (org-mac-message-get-links): Improve
715         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
716         "s".  Fix the return value.
717         (org-mac-message-insert-flagged): Simplify.
719         * org.el (org-refile-get-location): Tamper with refile history o
720         that history contains compete matches instead of the entered
721         string.
723 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
725         * org.el (org-store-link): Never store a link to an inline task.
727         * org-inlinetask.el (org-inlinetask-insert-task): New command.
729         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
730         inline tasks when positioning footnotes.
732         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
733         function.
735         * org.el (org-refile): Remove the END line when archiving an
736         inline task that does have an END line.
738         * org-archive.el (org-archive-subtree): Remove the END line when
739         archiving an inline task that does have an END line.
741         * org-macs.el (org-with-limited-levels): New macro.
742         (org-get-limited-outline-regexp): New function.
744         * org-exp.el (org-export-format-source-code-or-example): Fix bug
745         that did not enumerate first line.
746         (org-export-mark-radio-links): Skip matches in links.
748 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
750         * org.el (org-activate-plain-links): Make single-match.
751         (org-adapt-indentation): Fix docstring.
753         * org-macs.el (org-unmodified): Turn of modification hooks while
754         running this macro.
756 2009-08-02  Bastien Guerry  <bzg@altern.org>
758         * org.el (org-adapt-indentation): Slightly improve the docstring.
759         (org-occur): Sends an error when the user inputs an empty string.
760         (org-priority): Bugfix: the tag alignement should happen within
761         save-excursion.
763 2009-07-31  Bastien Guerry  <bzg@altern.org>
765         * org.el (org-make-link-regexps): Don't exclude parentheses from
766         `org-plain-link-re'
767         (org-cycle-internal-local): When locally cycling, switch directly
768         from CHILDREN to FOLDED if there is no subtree
769         (org-cycle): Update the docstring to document the new behavior of
770         `org-cycle-internal-local'.
772 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
774         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
775         an abbreviated format for days.
777 2009-07-27  Bastien Guerry  <bzg@altern.org>
779         * org-protocol.el (org-protocol-default-template-key): New
780         option.
782         * org.el (org-refile): Bugfix: save-excursion before reading the
783         refile target, otherwise cursor moves might confuse `org-refile'.
785         * org-html.el (org-export-as-html): Bugfix: correctly convert the
786         footnote reference before the footnote itself.
788         * org.el (org-toggle-heading): Bugfix: correctly convert list
789         items before the first headline.
791         * org-html.el (org-export-html-footnote-format): New option for
792         formatting the footnote reference.
793         (org-export-as-html): Use the new option.
795         * org.el (org-provide-todo-statistics): Allow a list of TODO
796         keywords to compute statistics against headlines containing a
797         keyword from this list.
798         (org-update-parent-todo-statistics): Possibly use the new allowed
799         value of `org-provide-todo-statistics'.
801 2009-07-26  Bastien Guerry  <bzg@altern.org>
803         * org-timer.el: Add autoload cookie.
805         * org.el (org-occur-link-in-agenda-files): New function.
807         * org-timer.el (org-timer-last-timer): New variable.
809         * org-agenda.el (org-agenda-mode-map): New key for
810         org-timer-set-timer called from the agenda.
812         * org.el (org-mode-map): New key for org-timer-set-timer.
814         * org-timer.el (org-timer-reset-timers)
815         (org-timer-show-remaining-time, org-timer-set-timer): New
816         functions.
818         * org-clock.el (org-show-notification): Update the docstring.
820         * org.el (org-provide-todo-statistics): Allow new value
821         'all-headlines for this option, which includes entries with no
822         TODO keywords in the todo statistics.
823         (org-update-parent-todo-statistics): Possibly use the new
824         'all-headline value from `org-provide-todo-statistics'.
826 2009-07-25  Bastien Guerry  <bzg@altern.org>
828         * org-clock.el (org-dblock-write:clocktable): Add a new option
829         :timestamp which allows display of timestamps in clock reports.
831         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
832         list to a subtree, preserving the structure of the list.
833         (org-set-emph-re): Make the last element optional in the regexp.
834         This regexp now matches an emphasized string at the end of a line.
836         * org-list.el (org-list-goto-true-beginning)
837         (org-list-make-subtree, org-list-make-subtrees): New functions.
839         * org.el (org-eval-in-calendar): Select the right frame.
840         (org-save-frame-excursion): Remove this macro.
842 2009-07-24  Bastien Guerry  <bzg@altern.org>
844         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
845         trying to find the beginning of a list.
847         * org-exp.el (org-get-file-contents): Use a new argument: markup.
848         When present, tell org-get-file-contents not to protect org-like
849         lines.
851         * org-id.el (org-id-uuid-program): New option to set the name of
852         the uuidgen program.
853         (org-id-method): Use `org-id-uuid-program'.
854         (org-id-new): Use `org-id-uuid-program'.
856 2009-07-23  Bastien Guerry  <bzg@altern.org>
858         * org-exp.el (org-export-number-lines): Allow whitespace in code
859         references.  Allow the -r switch to remove the references in the
860         source code even when the lines are not numbered: the labels can
861         be explicit enough.
863         * org.el (org-fontify-whole-heading-line): New option.
864         (org-set-font-lock-defaults): Use the new option.
866         * org-clock.el (org-show-notification-handler): New option.
867         (org-show-notification): Use the new option.
869 2009-07-21  Bastien Guerry  <bzg@altern.org>
871         * org.el (org-eval-in-calendar): Fix a bug about calendar
872         navigation when `calendar-setup' value is 'calendar-only.
874 2009-07-19  Bastien Guerry  <bzg@altern.org>
876         * org.el (orgstruct++-mode): Fix typo in docstring.
877         (org-insert-link): Clean up: (or (...)) => (...)
878         (org-insert-link): Use TAB for stored links completion.
880 2009-07-18  Bastien Guerry  <bzg@altern.org>
882         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
883         building the list of targets.
885         * org-remember.el (org-remember-delete-empty-lines-at-end): New
886         option.
887         (org-remember-handler): Use the new option.
889 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
891         * org.el (org-tags-sort-function): New option for sorting tags.
892         (org-set-tags): Use the new option to sort tags.
894         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
895         premature deletion of the data when using org-plot in a script.
897 2009-07-17  Bastien Guerry  <bzg@altern.org>
899         * org-clock.el (org-clock-in-prepare-hook): New hook.
900         (org-clock-in): Use this new hook.
902 2009-07-16  Bastien Guerry  <bzg@altern.org>
904         * org.el (org-special-ctrl-a/e): Explicitely bind the value
905         'reversed for this option to the "true line boundary first"
906         behavior.
907         (org-tags-match-list-sublevels): Document the 'indented value for
908         this variable.
910         * org-latex.el (org-export-latex-first-lines): Fix problem with
911         publishing the region.
913         * org-exp.el (org-export-format-source-code-or-example): Fix
914         bad line numbering when exporting examples in HTML.
916 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
918         * org-colview.el (org-format-time-period): Formats a time in
919         fractional days as days, hours, mins, seconds.
920         (org-columns-display-here): Add special handling for SINCE and
921         SINCE_IA to format for display.
923         * org.el (org-time-since): Add a function to get the time since an
924         org timestamp.
925         (org-entry-properties): Add two new special properties: SINCE and
926         SINCE_IA. These give the time since any active or inactive
927         timestamp in an entry.
928         (org-special-properties): Add SINCE, SINCE_IA.
929         (org-tags-sort-function): Add custom declaration for tags
930         sorting function.
931         (org-set-tags): Sort tags if org-tags-sort-function is set
933 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
935         * org-clock.el (org-clock-goto): Find hidden headlines as well.
937         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
939         * org-plot.el (org-plot/add-options-to-plist): Add timeind
940         option.
942 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
944         * org-publish.el (org-publish-remove-all-timestamps): New function.
945         (org-publish-all): Remove all timestamp files if `org-publish-all'
946         is called with a prefix argument.
948         * org-list.el (org-indent-item): Fix typo.
949         (org-item-indent-positions): Normalize ordered bullet.
951         * org-html.el (org-export-html-home/up-format): New option.
952         (org-export-as-html): Insert the up and HOME links.
954 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
956         * org-html.el (org-export-as-html): Insert the title into the
957         option plist.
958         (org-export-html-insert-plist-item): New function.
959         (org-export-as-html): Call `org-export-html-insert-plist-item'.
961         * org-macs.el (org-set-local): Make a local variable, do not make
962         the variable buffer-local!
964         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
966         * org-html.el (org-export-as-html): Call `org-install-letbind'.
968         * org-docbook.el (org-export-as-docbook): Call
969         `org-install-letbind'.
971         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
973         * org-exp.el (org-infile-export-plist): Read BIND lines.
974         (org-install-letbind): New function.
975         (org-export-as-org, org-export-preprocess-string): Call
976         `org-install-letbind'.
978         * org-src.el (org-edit-src-exit): Untabify the example before
979         returning to Org.
981         * org-list.el (org-list-demote-modify-bullet): New option.
982         (org-first-list-item-p): Save point.
983         (org-fix-bullet-type): New optional argument FORCE-BULLET.
984         (org-indent-item): Honor `org-list-demote-modify-bullet'.
985         (org-item-indent-positions): Return bullet types along with
986         indentation.
988 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
990         * org.el (org-show-entry): Hide drawers.
992 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
994         * org-footnote.el (org-footnote-auto-adjust): New option.
995         (org-footnote-auto-adjust-maybe): New function.
996         (org-footnote-new, org-footnote-delete): Call
997         `org-footnote-auto-adjust-maybe'.
999         * org.el (org-startup-options): Add new footnote-related
1000         keywords.
1002         * org-publish.el (org-publish-timestamp-filename): Additional
1003         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1004         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1005         TRUE-PUB-DIR.  Pass them through to
1006         `org-publish-timestamp-filename'.
1007         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1008         PUB-FUNC, which are included in the hash.
1009         (org-publish-file): Delay timestamp test until the publishing
1010         function is known.
1012 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1014         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1015         setting the deadline.
1017         * org.el (org-read-date-final-answer): New variable.
1018         (org-read-date): Store the final answer string, including the date
1019         from the calendar, for reuse by agenda bulk commands.
1021         * org-publish.el (org-publish-attachment): Fix publishing of
1022         attachments.
1024         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1025         quotation makrs in parenthesis.
1026         (org-remove-initial-hash): New function.
1027         (org-export-latex-preprocess): Fix bug with infinite loop if
1028         environment is not properly closed.
1030         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1031         when indented.
1033         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1034         highlight also when indented.
1036 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1038         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1039         (org-footnote-action): Offer renumbering.
1041         * org.el (org-cycle): Honor the `integrate' value of
1042         org-cycle-include-plain-lists'.
1044         * org-list.el (org-cycle-include-plain-lists): New allowed value
1045         `internal'.  Improve the docstring.
1047         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1048         regexp to work better with LaTeX commands.
1050 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1052         * org-feed.el (org-feed-update): fix problem with non-existing
1053         buffer.
1054         (org-feed-skip-http-headers): New function.
1055         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1056         (org-feed-get-feed): Fix command line arguments for curl.
1058 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1060         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1061         and eps extensions.
1063 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1065         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1066         loaded.
1068         * org.el (org-map-entries): No longer force
1069         `org-tags-match-list-sublevels' to t during a todo-only tags
1070         search.
1072 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1074         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1075         environment.
1076         (org-export-latex-subcontent): Handle user-defined environment.
1078         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1079         the View dispatcher.
1081         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1082         `make-overlay'.
1084         * org-latex.el (org-export-as-pdf): Protect match data during call
1085         to shell-quote-argument.
1087         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1088         (org-agenda-view-mode-dispatch): New function.
1090 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-agenda.el (org-agenda-mode): Reset list of marks.
1093         (org-agenda-mode-map): Define new keys for refile and bulk action.
1094         (org-agenda-menu): Add menu itesm for refile and bulk action.
1095         (org-agenda-refile): New function.
1096         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1097         (org-agenda-marked-entries): New variable.
1098         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1099         (org-agenda-remove-all-bulk-action-marks)
1100         (org-agenda-bulk-action): New functions/commands.
1102 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1104         * org-exp.el (org-get-file-contents): Protect org-like lines in
1105         included files.
1106         (org-export-format-source-code-or-example): Remove newlines.
1108         * org-latex.el (org-export-latex-links): Check for no-description
1109         marking.
1111         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1112         argument separator back to comma.
1113         (org-export-normalize-links): Mark links without description.
1115 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1117         * org-exp.el (org-infile-export-plist): Fix bug in macro
1118         processing.
1120         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1121         out.
1122         (org-agenda-highlight-todo): Fix bug with highlighting.
1124 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1126         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1127         new alignment strings.
1129         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1130         command list.
1131         (org-table-align): Check for forced align type.
1133         * org.el (org-self-insert-command): Add yas/expand to command
1134         list.
1136         * org-clock.el (org-clock-in-hook): New hook.
1137         (org-clock-in): Run `org-clock-in-hook.
1138         (org-clock-out-hook): New hook.
1139         (org-clock-out): Run `org-clock-out-hook.
1140         (org-clock-cancel-hook): New hook.
1141         (org-clock-cancel): Run `org-clock-cancel-hook.
1142         (org-clock-goto-hook): New hook.
1143         (org-clock-goto): Run `org-clock-goto-hook.
1145 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1147         * org.el (org-store-link): Better default description for link to
1148         Org-mode headline.
1150         * org-exp.el (org-export-generic): Autoload the generic exporter
1151         function.
1152         (org-export): Implement the `g' key for the generic exporter.
1154 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1156         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1157         and for zbacktab'.
1159         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1161         * org-exp.el (org-infile-export-plist): Get macros also from
1162         #+SETUPFILE.
1164 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1166         * org-colview.el (org-columns-capture-view): Protect vertical bars
1167         in column values.
1168         (org-columns-capture-view): Exclude comment and archived trees.
1170         * org-colview-xemacs.el (org-columns-capture-view): Protect
1171         vertical bars in column values.
1172         (org-columns-capture-view): Exclude comment and archived trees.
1174         * org.el (org-quote-vert): New function.
1176         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1178         * org-exp.el (org-export-format-source-code-or-example): Use
1179         `org-export-latex-verbatim-wrap'.
1181         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1182         time stamps.
1184         * org-html.el (org-export-table-row-tags): New option.
1185         (org-format-org-table-html): Rename `nlines' to `nline', use new
1186         option.
1189 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1191         * org-exp-blocks.el: Declare functions and variables.
1193         * org-remember.el (org-remember-templates): Allow the headline
1194         element to be a function.
1195         (org-remember-apply-template): If the headline is a function, call
1196         it to get the true function.
1198         * org-clock.el (org-clock-menu): New function.
1199         (org-clock-update-mode-line): Update help string.
1200         (org-clock-modify-effort-estimate): New function.
1201         (org-clock-mark-default-task): New function.
1203         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1204         minutes as input.
1205         (org-org-menu): Add new clocking stuff.
1206         (org-clock-is-active): New function.
1208 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1210         * org.el (org-open-non-existing-files): Improve docstring.
1212 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
1214         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1215         option.
1216         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1218         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1220         * org-list.el (org-get-checkbox-statistics-face): Use the new
1221         faces.
1223         * org-faces.el (org-checkbox-statistics-todo)
1224         (org-checkbox-statistics-done): New faces.
1226 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
1228         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1229         (org-edit-src-exit): Better cursor positioning when returning from
1230         editing.
1232         * org-latex.el (org-export-latex-use-verb): New variable.
1233         (org-export-latex-emph-format): Prefer \texttt over \verb when
1234         org-export-latex-use-verb is set.
1236 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
1238         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1239         at normal indentation.
1241         * org-html.el (org-export-html-close-lists-maybe): Also look at
1242         normal indentation.
1244         * org-remember.el (org-remember-handler): Abort remember if the
1245         buffer is empty.
1247         * org-src.el (org-edit-src-content-indentation): New option.
1248         (org-edit-src-exit): Apply extra indentation.
1250         * org-exp.el (org-export-format-source-code-or-example): Run
1251         `org-src-mode-hook'.
1253         * org-src.el (org-src-mode-hook): New variable.
1254         (org-edit-src-code): Run `org-src-mode-hook'.
1256 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1258         * org.el (org-indent-line-function): Fix indentation of +#end lines.
1260         * org-src.el (org-edit-src-get-indentation): New function.
1261         (org-edit-src-code): Base indentation on the begin line.
1263 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
1265         * org-gnus.el (org-gnus-store-link): Require message.el in
1266         org-gnus-store-link.
1268 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1270         * org-src.el: New file, split out of org.el
1272         * org-docbook.el (org-export-as-docbook): Better indentation
1273         treatment.
1275         * org-macs.el (org-replace-match-keep-properties): New function.
1277         * org-exp.el (org-export-mark-blockquote-verse-center): Better
1278         preprocessing of center and quote and verse blocks.
1280         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1281         (org-export-as-docbook): Close lists when original indentation
1282         mandates it.
1284         * org-html.el (org-export-html-close-lists-maybe): New function.
1285         (org-export-as-html): Close lists when original indentation
1286         mandates it.
1288         * org-list.el (org-list-end): Respect the stored "original"
1289         indentation when determining the end of the list.
1291         * org-exp.el (org-export-replace-src-segments-and-examples):
1292         Remember indentation correctly.
1294 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1296         * org-clock.el (org-clock-update-mode-line): Apply face
1297         org-mode-line-clock.
1299         * org-faces.el (org-mode-line-clock): New face.
1301 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1303         * org-gnus.el (org-gnus-store-link): Fix bug where
1304         `org-gnus-store-link' used wrong subject when called in an article
1305         buffer.  Patch provided by fengli AT gmail DOT com.
1307 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1309         * org-exp.el (org-export-format-source-code-or-example): Remember
1310         the original indentation of source code snippets and examples.
1312         * org-latex.el (org-export-as-latex): Relocate the table of
1313         contents.
1315         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1317         * org-agenda.el (org-run-agenda-series): Scope global options also
1318         when creating the agenda buffer.
1320 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1322         * org.el (org-adapt-indentation): Improve documentation.
1323         (org-insert-property-drawer): Respect org-adapt-indentation when
1324         inserting the drawer.
1325         (org-remove-flyspell-overlays-in): New function.
1326         (org-do-emphasis-faces, org-activate-plain-links)
1327         (org-activate-code, org-fontify-meta-lines-and-blocks)
1328         (org-activate-angle-links, org-activate-footnote-links)
1329         (org-activate-bracket-links, org-activate-dates)
1330         (org-activate-target-links, org-activate-tags): Remove flyspell
1331         overlays.
1333 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1335         * org.el (org-edit-src-save): New function.
1337         * org-clock.el (org-clock-out-switch-to-state): New option.
1338         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1340         * org-compat.el (org-compatible-face): Improve macro.
1342         * org.el (org-global-properties-fixed): Add default for
1343         CLOCK_MODELINE_TOTAL.
1345         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1346         andd tend.
1347         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1348         org-clock-sum.
1349         (org-clock-get-sum-start): New function.
1351         * org.el (org-startup-options): New keywords blockhide and
1352         blockshow.
1353         (org-mode): Add new invisibility spec.
1354         (org-set-startup-visibility): Hide block on startup if so
1355         desired.
1356         (org-hide-block-startup): New option.
1357         (org-block-regexp): New constant.
1358         (org-hide-block-overlays): New variable.
1359         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1360         (org-show-block-all, org-hide-block-toggle-maybe)
1361         (org-hide-block-toggle): New functions.
1362         (org-edit-src-exit): Do not quote lines starting with # and no +
1363         behind it.
1364         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1365         entry.
1367 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1369         * org.el (org-buffer-property-keys): Add Effort property for
1370         completion.
1372 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1374         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1375         when retrieving total clocked time in the subtree.
1377         * org.el (org-quoting-blocks): New variable.
1379 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1381         * org-table.el (org-table-store-formulas)
1382         (org-table-get-stored-formulas, org-table-fix-formulas)
1383         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1384         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1386         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1387         indented #+TBLFM line.
1389         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1390         indented #+TBLFM line.
1392         * org-colview.el (org-dblock-write:columnview): Allow indented
1393         #+TBLFM line.
1395         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1396         indented #+TBLFM line.
1398         * org-clock.el (org-dblock-write:clocktable): Allow indented
1399         #+TBLFM line.
1401 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1403         * org-exp.el (org-export-format-source-code-or-example): Make
1404         editing indented blocks work correctly.
1406         * org.el (org-edit-src-nindent): New variable.
1407         (org-edit-src-code, org-edit-fixed-width-region)
1408         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1409         editing indented blocks work correctly.
1411 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1413         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1414         indented blocks.
1415         (org-export-format-source-code-or-example): Fix indentation of
1416         blocks.
1417         (org-export-remove-indentation): New function.
1418         (org-export-select-backend-specific-text): Allow backend-specific
1419         code to be indented.
1420         (org-export-mark-blockquote-verse-center): Allow markers to be
1421         indented.
1423         * org.el (org-fontify-meta-lines): New function.
1424         (org-set-font-lock-defaults): Call the new fontification
1425         function.
1427         * org-faces.el (org-meta-line): New face
1428         (org-block):  New face.
1430 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1432         * org.el (org-treat-insert-todo-heading-as-state-change)
1433         (org-treat-S-cursor-todo-selection-as-state-change): New
1434         variables.
1435         (org-insert-todo-heading): Honor
1436         `org-treat-insert-todo-heading-as-state-change'.
1437         (org-shiftright, org-shiftleft): Honor
1438         `org-treat-S-cursor-todo-selection-as-state-change'.
1439         (org-inhibit-logging): New variable.
1441 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1444         range for marker position checking.
1446         * org-latex.el (org-export-latex-first-lines): Fix bug when
1447         exporting a region.
1449 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1451         * org-exp.el (org-export-push-to-kill-ring): Protect using
1452         x-set-selection, because that does not always work.
1454         * org-agenda.el (org-agenda-list): Apply the new face
1455         `org-agenda-date-today'.
1457         * org-faces.el (org-agenda-date-today): New face.
1459 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1461         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1462         creating appointments.
1464         * org-latex.el (org-export-latex-low-levels): Fix customization
1465         type.
1467         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1468         priority commands.
1470         * org-agenda.el (org-agenda-priority): Disable priority commands.
1472         * org.el (org-enable-priority-commands): New option.
1474         * org-colview-xemacs.el (org-columns-compute)
1475         (org-columns-number-to-string): Fix problems with empty fields.
1477         * org-colview.el (org-columns-compute)
1478         (org-columns-number-to-string): Fix problems with empty fields.
1480         * org-exp.el (org-export-push-to-kill-ring): New function.
1481         (org-export-copy-to-kill-ring): New option.
1483         * org-latex.el (org-export-as-latex): Call
1484         `org-export-push-to-kill-ring'.
1486         * org-html.el (org-export-as-html): Call
1487         `org-export-push-to-kill-ring'.
1489         * org-docbook.el (org-export-as-docbook): Call
1490         `org-export-push-to-kill-ring'.
1492         * org-ascii.el (org-export-as-ascii): Call
1493         `org-export-push-to-kill-ring'.
1495         * org-exp.el (org-export-show-temporary-export-buffer): New
1496         option.
1498         * org-latex.el (org-export-as-latex): Use
1499         `org-export-show-temporary-export-buffer'.
1501         * org-html.el (org-export-as-html): Use
1502         `org-export-show-temporary-export-buffer'.
1504         * org-docbook.el (org-export-as-docbook): Use
1505         `org-export-show-temporary-export-buffer'.
1507         * org-ascii.el (org-export-as-ascii-to-buffer): Use
1508         `org-export-show-temporary-export-buffer'.
1510         * org-exp.el (org-export-show-temporary-export-buffer): New
1511         option.
1512         (org-export-push-to-kill-ring): New function.
1514         * org-colview.el (org-columns-compile-map): New variable.
1515         (org-columns-new, org-columns-compute)
1516         (org-columns-number-to-string, org-columns-uncompile-format)
1517         (org-columns-compile-format): Implement new operators.
1519 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
1521         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1523         * org-html.el (org-export-html-xml-declaration): New option.
1524         (org-export-as-html): Use `org-export-html-xml-declaration'.
1526         * org-list.el (org-update-checkbox-count): Make property
1527         dependent.
1529         * org.el (org-hierarchical-todo-statistics): New option.
1530         (org-update-parent-todo-statistics): Modified to handle recursive
1531         statistics.
1533 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
1535         * org-publish.el (org-publish): Make this function behave
1536         correctly in interactive use when called with a prefix argument.
1538         * org.el (org-todo-statistics-hook): New hook.
1539         (org-update-parent-todo-statistics): Use new hook.
1540         (org-log-into-drawer): New function.
1541         (org-add-log-setup): Use the new `org-log-into-drawer' function to
1542         determine if we should be logging into a drawer.
1543         (org-log-into-drawer): Update docstring.
1544         (org-default-properties): Add LOG_INTO_DRAWER as a property.
1546         * org-list.el (org-checkbox-statistics-hook): New hook.
1547         (org-update-checkbox-count-maybe): Use new hook.
1549         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1550         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1551         to kill ring.
1553 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
1555         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1556         a line.
1558 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1561         better bufer-generating mechanism.
1562         (org-edit-src-find-buffer): New function.
1564         * org-icalendar.el (org-print-icalendar-entries): Don't check for
1565         archive tag, this is already done by `org-agenda-skip'.
1566         data while constructing lost of tags.
1568 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
1570         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1571         as argument separator in macros.
1573         * org-html.el (org-export-as-html): Add xml declaration.
1575 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
1577         * org.el (org-after-sorting-entries-or-items-hook): New hook.
1578         (org-sort-entries-or-items): Run the new hook.
1579         (org-after-refile-insert-hook): New hook.
1580         (org-refile): Run `org-after-refile-insert-hook'.
1582         * org-agenda.el (org-agenda-get-progress): Never take time of day
1583         from headline when displaying progress.
1585         * org-latex.el (org-export-latex-complex-heading-re): New variable.
1586         (org-export-as-latex): Force the correct regexp in the
1587         preprocessor buffer.
1588         (org-export-latex-set-initial-vars): Set
1589         `org-export-latex-complex-heading-re'.
1591         * org-agenda.el (org-agenda-start-with-log-mode): New option.
1592         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1594 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
1596         * org-latex.el (org-export-latex-tables-centered): New option.
1597         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1599         * org-exp.el (org-export-as-org): New command.
1600         (org-export-as-org): New command.
1602         * org-publish.el (org-publish-org-to-org): New function.
1604 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
1606         * org.el (org-yank): Just call `org-yank-generic'.
1607         (org-yank-generic): New function, containing the formaer
1608         functionality of `org-yank'.
1610         * org-latex.el (org-export-latex-not-done-keywords)
1611         (org-export-latex-done-keywords): New variables.
1612         (org-export-latex-todo-keyword-markup): New option.
1613         (org-export-latex-set-initial-vars): Remember the TODO keywords.
1614         (org-export-latex-keywords-maybe): Apply the TODO markup.
1616 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
1618         * org-exp.el (org-infile-export-plist): Add more default macros.
1619         (org-export-preprocess-apply-macros): Process macro arguments.
1621 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
1623         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1624         `unblocked'.
1625         (org-print-icalendar-entries): Respect the new value of
1626         `org-icalendar-include-todo'.
1628         * org.el (org-link-try-special-completion)
1629         (org-file-complete-link): New functions.
1630         (org-insert-link): Add special completion support for some link
1631         types.
1633         * org-bbdb.el (org-bbdb-complete-link): New function.
1635 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1637         * org-list.el (org-update-checkbox-count): Allow recursive
1638         statistics.
1639         (org-hierarchical-checkbox-statistics): New option.
1641         * org.el (org-cycle): Remove erraneous space character.
1643         * org-icalendar.el (org-icalendar-timezone): Initialize from
1644         environment.
1646         * org-html.el (org-format-org-table-html): Specify the scope.
1647         (org-format-table-table-html): Specify the scope.
1648         (org-export-table-header-tags): Prepare the scope parameter.
1650 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1652         * org-html.el
1653         (org-export-html-table-use-header-tags-for-first-column): New
1654         option.
1656         * org.el (org-autoload): Fix autoloading of ascii export
1657         functions.
1658         (org-modules): Add org-special-blocks.
1660 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1662         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1663         (org-ical-timezone): New option.
1665         * org-exp.el (org-export-get-coderef-format): Use the description
1666         is present.
1668         * org.el (org-sort-entries-or-items): Improve docstring, and make
1669         better implementation for time sorting.
1671 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1673         * org.el (org-edit-src-persistent-message): New option.
1674         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1675         option.
1677         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1678         patch.
1680         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1681         separate buffer instead of indirect buffer to edit source code.
1682         (org-edit-src-exit): Make this function work with the new setup.
1684         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1685         are properly fontified before shown in the selection menu.
1687         * org.el (org-fontify-like-in-org-mode): New function.
1689         * org-latex.el (org-export-latex-links): Use the property list to
1690         retrieve the default image attributes.
1692         * org-exp.el (org-export-plist-vars): Add a new option.
1694 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1696         * org-exp.el (org-export, org-export-visible): Support ASCII
1697         export to buffer
1698         (org-export-normalize-links): Do not protect the description if it
1699         is explicitly given.
1701         * org-ascii.el (org-export-as-ascii-to-buffer)
1702         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1703         commands.
1704         (org-export-as-ascii): Add all the same parameters that are also
1705         supported by the other export functions.
1707         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1708         org-checklist.el.
1709         (org-reset-checkbox-state-subtree): Call
1710         `org-reset-checkbox-state-subtree'.
1712         * org-remember.el (org-select-remember-template): For the
1713         selection of a valid template.
1715         * org-latex.el (org-export-region-as-latex): Supply the
1716         force-no-subtree argument.
1717         (org-export-as-latex): Provide better limits when exporting the
1718         first line.  When exporting to string, we still want the first
1719         lines.
1720         (org-export-latex-first-lines): New argument END, to force the end
1721         of the region.
1722         (org-export-region-as-latex): Use the property list.
1723         (org-export-as-latex):
1725         * org-colview-xemacs.el (org-columns-remove-overlays)
1726         (org-columns): Fix call to `local-variable-p'.
1728 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1731         (org-export-as-html): Run the new hook.
1733         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1734         (org-export-latex-preprocess): Run the new hook.
1736         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1737         (org-export-preprocess-string): Run the new hook.
1739 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1741         * org-macs.el (org-check-external-command): New defsubst.
1743         * org.el (org-mode-map): New key for reload.
1744         (org-format-latex): Better error message when external programs
1745         are not available.
1747         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1749         * org.el (org-sort-entries-or-items): Explicit sorting function
1750         for priorities, needed for XEmacs compatibility.
1752         * org-remember.el (org-remember-apply-template): Improve auto-save
1753         behavior.
1755 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1757         * org-latex.el (org-export-latex-preprocess): Also protect
1758         environments ending in a star.
1760         * org-list.el (org-at-item-p): Fix regular expression.
1762 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1764         * org.el (org-end-of-subtree): Improve speed.
1766         * org-agenda.el (org-agenda-get-timestamps)
1767         (org-agenda-get-progress, org-agenda-get-deadlines)
1768         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1769         in particular, wait as long as possible to collect the tags.
1770         (org-stuck-projects): Improve docstring.
1772         * org.el (org-store-link): No errors when getting custom id before
1773         first headline.
1774         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1776 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1778         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1780         * org-protocol.el: Remove dependency on url.el.
1781         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1782         dependency on url.el.
1784         * org-latex.el (org-export-as-pdf): Use
1785         `org-latex-to-pdf-process'.
1787 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1789         * org-latex.el (org-latex-to-pdf-process): New option.
1791         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1792         New option.
1793         (org-agenda-get-timestamps): Honor
1794         `org-agenda-skip-additional-timestamps-same-entry'.
1796         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1797         (org-clock-goto): Find recent task only if
1798         `org-clock-goto-may-find-recent-task' allows it.
1800         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1801         drawers, and drawers that are missing the :END: line.
1803 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1805         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1806         clock is running.
1808 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org.el (org-update-parent-todo-statistics): Check for
1811         STATISTICS_FROM property.
1813         * org-list.el (org-update-checkbox-count): Check for
1814         STATISTICS_FROM property.
1816         * org.el (org-tab-first-hook)
1817         (org-tab-after-check-for-table-hook)
1818         (org-tab-after-check-for-cycling-hook): New hooks.
1819         (org-cycle-internal-global, org-cycle-internal-local): New
1820         functions, split out from `org-cycle'.
1821         (org-cycle): Call the new hooks.
1823 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1825         * org-exp.el (org-export-preprocess-string): Reset the list of
1826         preferred targets for each run of the preprocessor.
1828         * org.el (org-refile-target-verify-function): Improve
1829         documentation.
1830         (org-get-refile-targets): Respect point being moved by the
1831         verification function.
1833         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1834         option.
1835         (org-export-latex-keywords): Use new option.
1837         * org.el (org-rear-nonsticky-at): New defsubst.
1838         (org-activate-plain-links, org-activate-angle-links)
1839         (org-activate-footnote-links, org-activate-bracket-links)
1840         (org-activate-dates, org-activate-target-links)
1841         (org-activate-tags): Place the rear-nonsticky properties at the
1842         correct location.
1844 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1846         * org-protocol.el (server-edit): Declare `server-edit'.
1847         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1848         functions.
1849         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1851         * org.el (org-default-properties): New default properteis for
1852         completion.
1854         * org-exp.el (org-export-add-subtree-options): Add new properties
1855         for subtree export.
1857         * org-docbook.el (org-export-docbook-keywords-markup)
1858         (org-export-docbook-timestamp-markup): New options.
1859         (org-export-docbook-protect-tags): New function.
1861 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1863         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1864         org-refile-target-verify-function for the duration of the command.
1866         * org.el (org-link-to-org-use-id): New possible value
1867         `create-if-interactive-and-no-custom-id'.
1868         (org-store-link): Use custom IDs.
1869         (org-link-search): Find custom ID properties from #link.
1870         (org-default-properties): Add CUSTOM_ID for property completion.
1871         (org-refile-target-verify-function): New option.
1872         (org-goto): Turn off org-refile-target-verify-function
1873         for the duration of the command.
1875 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1879         * org-exp.el (org-export-preferred-target-alist): New variable.
1880         (org-export-define-heading-targets): Find the new CUSTOM_ID
1881         property.
1882         (org-export-target-internal-links): Target the custom ids when
1883         possible.
1885         * org-latex.el (org-export-latex-preprocess): Better regexp for
1886         matching latex macros with arguments.
1888 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1890         * org-remember.el (org-remember-handler): Allow filing to non-org
1891         files.
1893 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1895         * org-feed.el (org-feed-alist): New keyword options.
1896         (org-feed-update): Use the new options.
1897         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1898         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1899         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1900         functions.
1902         * org-table.el (org-table-fix-formulas): Do not change references
1903         to remote tables.
1904         (org-table-get-remote-range): Convert standard coordinates to RC
1905         format.
1907         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1909 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1911         * org-compat.el (org-sha1-string): Function removed.
1913         * org.el (org-refile-allow-creating-parent-nodes): New option.
1914         (org-refile-get-location): New argument NEW-NODES.
1915         (org-refile): Call `org-refile-get-location' with the new
1916         argument.
1917         (org-refile-get-location): Arrange for adding a new child.
1918         (org-refile-new-child): New function.
1920         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1921         an additional span element.
1923         * org-clock.el: Fix a number of docstrings.
1924         (org-clock-find-position): New argument
1925         FIND-UNCLOSED to make the function find an unclosed clock in the
1926         entry.
1927         (org-clock-in): Call `org-clock-find-position' with the new
1928         argument if we might be resuming a clock.
1930 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1932         * org-latex.el (org-export-latex-display-custom-times): New variable.
1933         (org-export-latex-timestamp-markup): New option.
1934         (org-export-latex-set-initial-vars): Remember the local value of
1935         `org-display-custom-times'.
1936         (org-export-latex-content): Process time stamps.
1937         (org-export-latex-time-stamps): New function.
1939         * org-macs.el (org-maybe-intangible): Add intangible property
1940         again to invisible text.
1942 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1944         * org-exp.el (org-default-export-plist): Handle undefined
1945         variables.
1947 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1949         * org.el (org-sort-entries-or-items): Match TODO keywrds
1950         case-sensitively, when sorting.
1951         (org-priority): Do not match TODO keywords with wrong case.
1953 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1955         * org-feed.el (org-feed-update): Bind the variable
1956         `new-formatted'.
1958         * org-html.el (org-export-as-html): Start paragraphs after literal
1959         examples.
1961         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1962         literal examples.
1964 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1966         * org.el (org-todo): Honor the NOBLOCKING property.
1968         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1969         NOBLOCKING property.
1971         * org.el (org-scan-tags): Fix bug in tag scanner
1973 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1975         * org.el (org-modules): Mark obsolete packages.
1977         * org-html.el: New file, split out from org-exp.el.
1979         * org-icalendar.el: New file, split out from org-exp.el.
1981         * org-xoxo.el: New file, split out from org-exp.el.
1983         * org-ascii.el: New file, split out from org-exp.el.
1985 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1987         * org-compat.el (org-find-library-name): New function.
1989         * org.el (org-pre-cycle-hook): New hook.
1990         (org-cycle): Call the new hook in appropriate places.
1991         (org-reload): Only reload files that have been loaded before.
1993 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1995         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1996         after todo keyword.
1997         (org-todo): When changing TODO state, do matching
1998         case-sensitively.
1999         (org-map-continue-from): New variable.
2000         (org-scan-tags): Respect values in `org-map-continue-from'.
2001         (org-reload): Make XEmacs compatible.
2003 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2005         * org-protocol.el (org-protocol-flatten-greedy): New function.
2006         (org-protocol-flatten): New function.
2008         * org.el (org-open-link-from-string): Pass reference buffer to
2009         `org-open-at-point'.
2010         (org-open-at-point): New optional argument `reference-buffer'.
2012 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2014         * org.el (org-scan-tags): Make tag scan find headline in first
2015         line, 2nd attempt.
2016         (org-get-refile-targets): Add the naked file name.
2017         (org-refile): Store as top-level entry when only file name was
2018         given.
2020         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2022         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2023         Renamed from org-block-todo-from-children-or-siblings, and
2024         enhanced to look for the parent's status as well.
2026         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2027         (org-agenda-get-progress): Add first notes line to log entry if so
2028         desired.
2030 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2032         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2033         (org-agenda-cleanup-fancy-diary): Call the new hook.
2035         * org-remember.el (org-remember-apply-template): Take the default
2036         for the annotation from the :annotation property.
2038         * org-mac-message.el (org-mac-message-get-link): Remove the
2039         quotes.
2040         (org-mac-message-get-link): Return the result.
2042 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2044         * org.el (org-refile-get-location): Add file name only if not
2045         already included in outline path.
2047         * org-faces.el (org-n-level-faces): Fix customization type from
2048         number to integer.
2050         * org-exp.el (org-export-headline-levels): Fix customization type
2051         from number to integer.
2053         * org-agenda.el (org-agenda-confirm-kill)
2054         (org-agenda-custom-commands-local-options)
2055         (org-timeline-show-empty-dates, org-agenda-ndays)
2056         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2057         customization type from number to integer.
2059 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2061         * org-protocol.el: Declare some functions.
2063         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2064         postion before inserting modified headline.
2066         * org-agenda.el (org-agenda-compare-effort): Honor
2067         `org-sort-agenda-noeffort-is-high'.
2068         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2069         (org-agenda-compare-effort): Implement the "?" operator for
2070         finding entries without effort setting.
2072         * org.el (org-extract-attributes-from-string): New function.
2074         * org-exp.el (org-export-splice-attributes): New function.
2076 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2078         * org-mouse.el: XEmacs compatibility fixes
2080         * org-docbook.el (org-export-as-docbook): Process footnotes like
2081         normal text.
2083         * org.el (org-modules): Add org-inlinetasks.el
2084         (org-cycle): Implement limiting level on cycling.
2085         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2086         buffer.
2088         * org-inlinetask.el: New file.
2090         * org.el (org-emphasis-regexp-components): Allow braces in
2091         emphasis pre and post match.
2093         * org-footnote.el (org-footnote-normalize): When only dorting, do
2094         not insert inline notes at the end.
2096         * org-docbook.el (org-id-find-id-file): Add function declaration.
2098         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2100         * org-docbook.el: New file.
2102 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2104         * org.el (org-reftex-citation): New command.
2106 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2108         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2109         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2110         sorting options.
2111         (org-entries-lessp): Apply the new sorting option.
2113         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2114         blocker code, when an older sibling has children.
2116         * org-mac-message.el (org-mac-message-get-link): Improve getting
2117         links from multiple selected messages.
2119 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2121         * org-remember.el (org-remember-finalize): Do not set buffer file
2122         name to nil.
2123         (org-remember-handler): Mark buffer as unmodified.
2124         (org-remember-handler): Delete backup file and show message about
2125         remaining backup files.
2126         (org-remember-auto-remove-backup-files): New option.
2128         * org.el (org-store-link): Use buffer name as link description in
2129         w3-mode buffers.
2130         (org-ido-switchb): Fix argument bug for completion.
2132         * org-remember.el (org-remember-apply-template): Set local
2133         variable `auto-save-visited-file-name' instead of global one.
2135 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2137         * org-feed.el: Re-write.
2139         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2140         (org-agenda-get-todos): Mark file tags as inherited.
2141         (org-agenda-list): Always search diary lines for a time.
2143 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2145         * org-feed.el (org-feed-assume-stable): New option.
2146         (org-feed-before-adding-hook): New hook.
2148         * org-exp.el (org-export-as-html): Close local lists depending on
2149         indentation, also when starting a table.
2151         * org-remember.el (org-remember-backup-directory)
2152         (org-remember-backup-name): New internal variable.
2154 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2156         * org-clock.el (org-clock-out-if-current): Make buffer detection
2157         work in indirect buffers as well.
2159         * org.el (org-emphasis-regexp-components): Add the exxclamation
2160         mark to the post-emphasis characters.
2162 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2164         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2165         (org-read-date): Run the new hook.
2167         * org-mac-message.el (org-mac-flagged-mail): New group.
2168         (org-mac-mail-account): New variable.
2169         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2170         commands.
2172         * org-remember.el (org-remember-backup-directory): New variable.
2173         (org-remember-apply-template): Write file to backup directory.
2175 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2177         * org-mouse.el (org-mouse-todo-menu): New function.
2178         (org-mouse-todo-keywords): Function removed.
2179         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2181         * org-table.el (org-table-beginning-of-field)
2182         (org-table-end-of-field): New commands
2183         (org-table-previous-field, org-table-beginning-of-field): Better
2184         error messages.
2185         (orgtbl-setup): Include `M-a' and `M-e'.
2187         * org.el (org-backward-sentence, org-forward-sentence): New
2188         commands.
2190         * org-colview.el (org-colview-initial-truncate-line-value): New
2191         variable.
2192         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2193         (org-columns): Remember the value of `truncate-lines'.
2195         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2196         New variable.
2197         (org-columns-remove-overlays): Restore the value of
2198         `truncate-lines'.
2199         (org-columns): Remember the value of `truncate-lines'.
2201         * org.el (org-columns-skip-arrchived-trees): New option.
2203         * org-agenda.el (org-agenda-export-html-style): Define color for
2204         org-agenda-done face.
2205         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2206         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2208         * org.el (org-scan-tags): Use the new face.
2210         * org-faces.el (org-agenda-done): New face.
2212         * org.el (org-scan-tags): Test the value org
2213         `org-tags-match-list-sublevels'.
2214         (org-tags-match-list-sublevels): New allowed value: indented.
2216         * org-export-latex.el (org-export-latex-make-header): Apply macros
2217         in header.
2219         * org-exp.el (org-export-apply-macros-in-string): New function.
2221         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2222         with the definition of a checked box.
2224         * org-clock.el (org-clock-find-position): Fix drawer indentations.
2226         * org-export-latex.el (org-export-latex-low-levels): More options
2227         for how to process lower levels in LaTeX.
2228         (org-export-latex-subcontent): Better treatment for lists as a
2229         means of publishing lower levels.
2231 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
2233         * org.el (org-set-font-lock-defaults): Use new checkbox face.
2235         * org-faces.el (org-checkbox): New face.
2237         * org-exp.el (org-export-html-preprocess): Only create LaTeX
2238         fragement images if there is an export file.
2240 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
2242         * org-agenda.el (org-stuck-projects): Document that the subtree of
2243         projects that are not stuck will now be searched for stuck
2244         sub-projects.
2245         (org-agenda-skip-entry-when-regexp-matches)
2246         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2247         (org-agenda-list-stuck-projects): Use
2248         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2250         * org-export-latex.el (org-export-latex-preprocess): Improve
2251         export of verses.
2253         * org-exp.el (org-export-as-html): Implement centering as a div
2254         rather than a paragraph.  Do a better job with line-end in verse
2255         environments.
2257 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
2259         * org.el (org-open-at-point): Fix tags searches by mouse click.
2261 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
2263         * org-export-latex.el (org-export-latex-preprocess): Implement the
2264         centering markup.
2266         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2267         from `org-export-mark-blockquote-and-verse'.
2268         (org-export-as-html): Implement the centering markup.
2270         * org-export-latex.el (org-export-latex-tables): Fix vertical
2271         lines in tables.
2273 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
2275         * org.el (org-read-date-history): New variable.
2276         (org-read-date): Use new history variable.
2277         (org-toggle-heading): Fix bug when used before first headline.
2278         (org-store-log-note): Remove drawer if empty while note is
2279         aborted.
2280         (org-remove-empty-drawer-at): New function.
2281         (org-check-after-date): New command.
2282         (org-sparse-tree): New sparse tree command "a".
2284         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2286 2009-03-14  Bastien Guerry  <bzg@altern.org>
2288         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2289         column and a space, not only a column.
2291 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
2293         * org-export-latex.el (org-export-latex-emphasis-alist): Better
2294         defaults for verbose emphasis.
2295         (org-export-latex-emph-format): New function.
2296         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2298         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2299         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2300         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2301         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2302         commands.
2304         * org.el (org-timestamp-change): Move end-time along with start
2305         time.
2307 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2309         * org-exp.el (org-export-target-internal-links)
2310         (org-export-as-html): Protect links specified as #name.
2312 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2314         * org.el (org-clone-subtree-with-time-shift): New command.
2316         * org-export-latex.el (org-export-latex-special-chars)
2317         (org-export-latex-treat-sub-super-char): Fix subscript export.
2319         * org-exp.el (org-create-multibrace-regexp): Do not add
2320         backslashes to the class.
2322 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2324         * org-colview.el (org-columns-map): Better functions for moving up
2325         and down a row, even if `truncate-line' is nil.
2327         * org.el (org-insert-todo-heading): Make sure the keyword is
2328         inserted at the correct position.
2330         * org-publish.el (org-publish-project-alist)
2331         (org-publish-projects, org-publish-org-index): Change default anme
2332         for the index of file names to "sitemap.org".
2334         * org-export-latex.el (org-export-latex-tables): Use
2335         `org-split-string', for Emacs 21 compatibility.
2337 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2339         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2341 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2343         * org-exp.el (org-export-page-description)
2344         (org-export-page-keywords): New variables.
2345         (org-export-plist-vars): Add entries for :keywords and
2346         :description.
2347         (org-infile-export-plist): Parse for new keywords.
2348         (org-get-current-options): Add new keywords
2349         (org-export-as-html): Publish description and keywords.
2351         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2352         option.
2353         (org-agenda-add-entry-text): Honor
2354         `org-agenda-add-entry-text-descriptive-links'.
2356         * org-export-latex.el (org-export-latex-preprocess): Make all
2357         external preprocess functions use a PARAMETER arg.
2359         * org-exp.el (org-export-preprocess-string)
2360         (org-export-select-backend-specific-text)
2361         (org-export-format-source-code-or-example)
2362         (org-format-org-table-html): Support docbook export.
2363         (org-export-preprocess-string): Make all external preprocess
2364         functions use a PARAMETER arg.
2366 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2368         * org-exp.el (org-export-html-style-include-scripts): New option.
2369         (org-export-plist-vars): Add new option
2370         `org-export-html-style-include-scripts'.
2371         (org-export-as-html): Honor new option
2372         `org-export-html-style-include-scripts'.
2373         (org-export-html-scripts, org-export-html-style-default): Fix
2374         xml issues with the Safari browser.
2376 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2378         * org-publish.el (org-publish-attachment): Only copy file when the
2379         directories differ.
2381 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2383         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2384         for clocktable steps.
2386         * org.el (org-additional-option-like-keywords): Add two more
2387         keywords.
2389 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2391         * org-exp.el (org-export-format-source-code-or-example): Mark
2392         temporary buffer unmodified, so that it will be killed even if
2393         mode like message mode has decided to assign a file name.
2395         * org.el (org-scan-tags): Improve tag inheritance.
2396         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2397         case-sensitive.
2398         (org-scan-tags): Use the internal tags list instead of creating it
2399         from scratch.
2400         (org-trust-scanner-tags, org-scanner-tags): New variables.
2401         (org-scan-tags): Set `org-scanner-tags'.
2402         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2403         (org-map-entries): Document the possible speedup using scanner
2404         tags.
2406 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2408         * org.el (org-add-planning-info): Fix bug with looking for keyword
2409         only at column 0.
2411         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2412         option for tags filter preset.
2413         (org-prepare-agenda): Store filter preset as a property on the
2414         filter variable.
2415         (org-finalize-agenda): Call the filter, if there is a preset.
2416         (org-agenda-filter-by-tag): Filter again after clearing the
2417         filter, when there still is a preset.
2418         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2419         Include the preset filter.
2420         (org-agenda-redo): Apply the filter again, also the preset filter.
2422         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2424         * org.el (org-uuidgen-p): New funtion.
2426         * org-agenda.el (org-agenda-fontify-priorities): New default value
2427         `cookies'.
2428         (org-agenda-fontify-priorities): Renamed from
2429         org-fontify-priorities.
2431         * org.el (org-set-font-lock-defaults): Call
2432         `org-font-lock-add-priority-faces'.
2433         (org-font-lock-add-priority-faces): New function.
2435         * org-faces.el: (org-set-tag-faces): New option.
2436         (org-priority-faces): New variable.
2438         * org-exp.el (org-export-as-html): Add a "content" div around the
2439         entire content of the body tag.
2440         (org-export-html-get-bibliography): New function.
2441         (org-export-html-validation-link): New variable.
2442         (org-export-as-html): Add validation link to exported page.
2444         * org.el (org-match-sparse-tree): Renamed from
2445         `org-tags-sparse-tree'.
2446         (org-tags-sparse-tree): New alias.
2448 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2450         * org.el (org-get-valid-level): Catch the case where the level
2451         change is nil.
2453         * org-clock.el (org-clock-find-position): Better indentation of
2454         new clock drawers.
2456 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2458         * org-agenda.el (org-agenda-quit): Delete window only when the
2459         frame-setup was not `current-window'.
2461         * org.el (org-tag-persistent-alist): New option.
2462         (org-startup-options): Add keyword `noptag'.
2463         (org-fast-todo-selection): Handle :newline correctly.
2464         (org-set-tags): Handle :newline correctly.
2465         (org-fast-tag-selection): Handle :newline correctly.
2467 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2469         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2470         outputting it.
2471         (org-export-ascii-push-links): Fix bug with pussing links into the
2472         export buffer.
2474 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2476         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2477         pasting at top level.
2479         * org-bbdb.el: Improve documentation.
2481 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2483         * org-list.el (org-insert-item): Only consider insert empty lines
2484         is `org-empty-line-terminates-plain-lists' is not nil.
2486         * org.el (org-blank-before-new-entry): Mention the dependence on
2487         `org-empty-line-terminates-plain-lists' in the docstring.
2489         * org-publish.el (org-publish-get-project-from-filename): New
2490         optional argument UP.  Only find the top project if UP is set.
2491         (org-publish-current-project): Find the top encloding project.
2493         * org-agenda.el (org-agenda-before-write-hook)
2494         (org-agenda-add-entry-text-maxlines): New options.
2495         (org-write-agenda): Run the new hook in the temporary buffer.
2496         (org-agenda-add-entry-text): New function.
2497         (org-write-agenda): Implement PDF export, using ps2pdf.
2499         * org.el (org-global-properties-fixed, org-global-properties):
2500         Improve documentation string.
2502         * org-exp.el (org-export-ascii-links-to-notes): New option.
2503         (org-export-as-ascii): Handle links better.
2504         (org-export-ascii-wrap, org-export-ascii-push-links): New
2505         functions.
2507 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
2509         * org-agenda.el (org-agenda): Make prefix arg optional.
2510         (org-agenda-search-headline-for-time): New option.
2511         (org-format-agenda-item): Honor
2512         `org-agenda-search-headline-for-time'.
2514         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2515         characters.
2517         * org.el (org-self-insert-cluster-for-undo): New option.
2518         (org-self-insert-command): Cluster undo for 20 characters.
2519         (org-self-insert-command-undo-counter): New variable.
2521 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
2523         * org-exp.el (org-export-as-html): Fix problem with closing colone
2524         example.
2526 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
2528         * org-export-latex.el (org-export-as-latex)
2529         (org-export-latex-first-lines): Avoid modification flag when
2530         adding or removing text properties.
2531         (org-export-latex-fontify): Catch error when org-emph-alist has
2532         entries that are not defined for LaTeX export.
2534         * org.el (orgstruct++-mode): New function.
2535         (turn-on-orgstruct++): Call `orgstruct++-mode'.
2536         (org-context-p): Allow detecting item context after the first line
2537         of an item.
2538         (orgstruct-make-binding): Detect if item-body context should be
2539         seen.
2540         (orgstruct-is-++): New variable.
2541         (org-add-planning-info): Catch the case when there is no planning
2542         info yet and the call does not want to add anything, only maybe
2543         tries to remove something.
2544         (org-special-ctrl-a/e): All value to be a cons cell with separate
2545         settings for `C-a. and `C-e'.
2546         (org-beginning-of-line, org-end-of-line): Honor separate values
2547         for `C-a' and `C-e'.
2549 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
2551         * org.el (org-reload): New command.
2553 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
2555         * org-exp.el (org-export-htm-get-tag-class-name)
2556         (org-export-htm-get-todo-kwd-class-name): New functions.
2557         (org-export-html-tag-class-prefix)
2558         (org-export-html-todo-kwd-class-prefix): New options.
2559         (org-export-as-html): Call
2560         `org-export-html-get-todo-kwd-class-name'.
2561         (org-html-level-start): Wrap tags into classes.
2562         (org-export-html-get-tag-class-name)
2563         (org-export-html-get-todo-kwd-class-name): New functions.
2565         * org-export-latex.el (org-export-latex-collect-header-macros):
2566         Remove fields that are used anyway.
2567         (org-export-latex-make-header): Insert the options earlier.
2569         * org-agenda.el (org-agenda-get-progress): Fix bug with state
2570         matching.
2572         * org-list.el (org-indent-item): Allow point to be at the end of
2573         the region.
2575         * org.el (org-metaleft, org-metaright): Be more accurate about
2576         detecting a region where commands apply.
2578         * org-compat.el (org-cursor-to-region-beginning): New function.
2580         * org.el (org-priority): Also find invisible heading.
2582         * org-colview-xemacs.el (org-columns-edit-value): No special
2583         treatment for `org-todo' prefix.
2585         * org-colview.el (org-columns-edit-value): No special treatment
2586         for `org-todo' prefix.
2588         * org-remember.el (org-remember-apply-template): Use
2589         `org-completing-read-no-ido'.
2591         * org.el (org-completing-read-no-ido): New function.
2592         (org-make-tags-matcher, org-set-property): Use
2593         `org-completing-read-no-ido'.
2595         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2596         New option.
2597         (org-export-as-latex): Import in-buffer settings as TeX macros.
2598         (org-export-latex-make-header): Additional parameter OPT-DEFS.
2599         (org-export-latex-collect-header-macros): New function.
2601         * org.el (org-refile-get-location): Turn off
2602         `partial-completion-mode'.
2604 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
2606         * org.el (org-block-todo-from-checkboxes): Announce that
2607         checkboxes are the culprit.
2608         (org-block-todo-from-children-or-siblings): Call
2609         `org-up-heading-all instead' of `outline-up-heading'.
2611         * org-agenda.el (org-agenda-show-1): Renamed from
2612         `org-agenda-show'.
2613         (org-agenda-show): Re-install the old version for now.
2614         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
2615         variable into the blokker hook, so that the checkbox checker can
2616         anounce that it caused the blocking.
2618         * org.el (org-track-ordered-property-with-tag): New option.
2619         (org-toggle-ordered-property): Honor
2620         `org-track-ordered-property-with-tag'.
2621         (org-tag-alist): Add newline options.
2622         (org-set-regexps-and-options): Separate option lines imply a
2623         newline.
2624         (org-set-regexps-and-options, org-assign-fast-keys)
2625         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2626         option.
2627         (org-indent-line-function): Make sure this works even if there is
2628         not `org-drawer-regexp' defined.  This can happen when
2629         orgstruct-mode is used in a non-org buffer.
2631         * org-list.el (org-checkbox-blocked-p): New function.
2632         (org-toggle-checkbox): Check for blocking.
2634         * org.el (org-modules): Add an entry for org-R.el.
2636         * org-agenda.el (org-agenda-todo-ignore-with-date)
2637         (org-agenda-todo-ignore-scheduled)
2638         (org-agenda-todo-ignore-deadlines): Mention the variable
2639         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2641         * org.el (org-get-wdays): Find the warning period also if it is in
2642         the wrong place.
2643         (org-ido-completing-read): Provide the correct arguments to
2644         ido-completing-read and bind `ido-enter-matching-directory' to
2645         nil.
2647 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2649         * org.el (org-olpath-completing-read): Never use ido for this
2650         one.
2652         * org-exp.el (org-export-normalize-links): Use new macro.
2654         * org-macs.el (org-if-unprotected-at): New macro.
2656         * org-agenda.el (org-agenda-show): Allow numerical prefix
2657         arguments to specify how much context should be shown.
2658         (org-agenda-cycle-show): New command, could be bound to SPC in
2659         org-agenda-mode-map.
2661         * org-exp.el (org-html-level-start): Space after section number.
2663 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2665         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2666         property, for sorting.
2667         (org-cmp-todo-state): Get the applicable TODO keywords directly
2668         from the buffer.
2669         (org-run-agenda-series, org-agenda-list, org-search-view)
2670         (org-todo-list, org-tags-view): Only fit agenda window when the
2671         whole series is done.
2673         * org.el (org-scan-tags): Add todo state as property, for sorting.
2675         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2676         `org-agenda-overriding-header' as an option.
2677         (org-agenda-list): Honor org-agenda-overriding-header'.
2679 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2681         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2682         after removing a checkbox.
2684         * org.el (org-show-entry): Make this work correctly also if it is
2685         the last entry in the file.
2686         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2687         falling back to normal, default command.
2688         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2689         item, call the checkbox toggler to get a box.
2691         * org-list.el (org-toggle-checkbox): Make double prefix set the
2692         checkbox to "[-]".
2693         (org-fix-bullet-type): Only replace bullet if it is changed.
2694         (org-renumber-ordered-list): Handle case when first item does not
2695         have a number.
2697         * org.el (org-add-log-setup): Fix positioning when
2698         `org-log-states-order-reversed' is nil.
2700         * org-clock.el (org-clock-in): Fix positioning when
2701         `org-log-states-order-reversed' is nil.
2702         (org-clock-find-position): Fix positioning when
2703         `org-log-states-order-reversed' is nil.
2705 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2707         * org-clock.el (org-clock-into-drawer): Take default from
2708         `org-log-into-drawer'.
2709         (org-clock-find-position): Look for the correct drawer.
2711         * org.el (org-log-into-drawer): Renamed from
2712         `org-log-state-notes-into-drawer'.
2713         (org-log-state-notes-into-drawer): New variable alias.
2714         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2715         CLOCK.
2716         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2718 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2720         * org-agenda.el (org-agenda): Fix docstring.
2722         * org.el ("org-plot"): Help loading org-plot.
2723         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2724         (org-metadown-hook, org-shiftmetaleft-hook)
2725         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2726         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2727         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2728         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2729         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2731         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2732         for selecting files with any (and even without) extension.
2734         * org.el (org-save-all-org-buffers): Also save id locations.
2735         (org-revert-all-org-buffers): Also load id locations.
2737 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2738         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2739         (org-log-state-notes-into-drawer): New option.
2740         (org-add-log-setup): Place the sate note marker into the drawer,
2741         create drawer when necessary.
2742         (org-refile-targets): Document special interpretation of LEVEL
2743         when odd-levels are used.
2745 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2747         * org.el (org-store-log-note): Fix note indentation when adding
2748         notes to end of list.
2750         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2751         class, so that each keyword can get special colors through CSS.
2753         * org-clock.el (org-clock-out): Add another nil for the previous
2754         state into the call to `org-add-log-setup'.
2756         * org.el (org-log-note-previous-state): New variable.
2757         (org-log-note-headings): New %S escape for old state.
2758         (org-todo): Call the note setup with the old state as an
2759         argument.
2760         (org-add-note): Add another nil for the previous state into the
2761         call to `org-add-log-setup'.
2762         (org-add-log-setup): New argument PREV-STATE.
2763         (org-add-log-note): Handle new %S escape.
2764         (org-store-log-note): Handle new %S escape.
2766 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2768         * org-clock.el (org-clock-find-position): Do not swallow an item
2769         less indented than the CLOCK line itself.
2770         (org-clock-in): Push markers to lin after the clock line.
2771         (org-clock-find-position): Handle values of
2772         `org-clock-into-drawer' smaller than 2.
2774         * org-exp.el (org-html-level-start): Add a CSS class to section
2775         numbers.
2776         (org-export-html-toplevel-hlevel): Better documentation of the
2777         influence of this variables on H levels and css classes in
2778         export.
2780 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2782         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2783         timestamp and nottimestamp to the chooe menu.
2785         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2786         (org-revert-all-org-buffers): New command.
2788 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2790         * org.el (org-return): Implement `org-return-follows-link' in the
2791         function org-return.  This is more robust than using the mouse
2792         map, I think.
2793         (org-set-regexps-and-options): Match more general #+TODO lines.
2794         (org-make-options-regexp): New optional argument EXTRA, for an
2795         extra regexp.
2796         (org-tab-follows-link): Mark as deprecated.
2798 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org-exp.el (org-export-preprocess-string): Remove clock lines
2801         earlier, so that they cannot cotribute to verbatim snippets.
2803 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2805         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2806         for finding drawers.
2807         (org-export-as-ascii, org-export-as-html): Count levels relative
2808         to the subtree header.
2809         (org-get-min-level): New optional argument OFFSET.
2810         (org-export): Make sure point is restored after popping up that
2811         window.
2813         * org.el (org-do-sort): Also take an inactive timestamp if no
2814         active one is found.
2816         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2817         deleting duplicates.
2819         * org-colview.el (org-columns-capture-view): Copy before
2820         deleting duplicates.
2822         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2823         text before first headline.
2825         * org.el (org-format-latex): Do not convert LaTeX fragments in
2826         protected examples.
2828 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2830         * org-exp.el (org-export-html-style-default): Use color values
2831         instead of names for XHTML validation.
2833         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2834         functions.
2835         (org-return-follows-link): Revert making this the default untile
2836         issues are resolved.
2838         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2839         nottimestamp.
2841 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2843         * org.el (org-mode): Make dependence stuff work more reliably.
2844         (org-update-parent-todo-statistics): Fix bug with updating
2845         statistics cookie.
2847         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2848         ~ as verbatim delimiters.
2850         * org-exp.el (org-export-html-format-image): New argument
2851         PAR-OPEN.
2852         (org-export-as-html): Pass par-open to
2853         `org-export-html-format-image'.
2855 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2857         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2858         (org-use-fast-todo-selection, org-tags-column): New default
2859         setting for variables, based on a poll what typical uses use.
2861         * org-agenda.el (org-agenda-sorting-strategy)
2862         (org-agenda-tags-column): New default setting for variables, based
2863         on a poll what typical uses use.
2865 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2867         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2868         blocked entries from setting the blocked tag.
2870         * org-exp.el (org-export-html-footnotes-section): Use a more
2871         consistent id for footnotes.
2873         * org-export-latex.el (org-export-latex-classes): Remove the
2874         a4paper option from the default styles.
2876 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2878         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2879         (org-block-todo-from-checkboxes): New function.
2880         (org-todo): Make tripple prefix arg circumvent blocking.
2882         * org-timer.el (org-timer): Provide the timer feature.
2884         * org.el (org-require-autoloaded-modules): Add a few more files to
2885         the list of autoloaded modules.
2887         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2889 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2891         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2892         drawers that are unprotected.
2893         (org-export-html-format-image): Make sure inlined LaTeX fragment
2894         images remain inlined.
2896         * org.el (org-toggle-ordered-property): New function.
2897         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2898         (org-org-menu): Add menu entries for TODO dependencies.
2900 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2902         * org.el (org-default-properties): Add ORDERED to the default
2903         properties, to get completion support for it.
2905         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2907         * org.el (org-update-parent-todo-statistics): Update more than one
2908         cookie.
2910         * org-agenda.el (org-agenda-get-todos): Start search from correct
2911         position.
2913         * org.el (org-fast-todo-selection): Make sure TODO selection does
2914         not change buffer position.
2916         * org-list.el (org-toggle-checkbox): Implement adding or removing
2917         checkboxes from line or region when called with a prefix
2918         argument.
2920         * org-rmail.el (org-rmail-store-link): Protect the call to
2921         `rmail-narrow-to-non-pruned-header'.
2923         * org-clock.el (org-clock-special-range): Fix week display in
2924         clock tables.
2926         * org-exp.el (org-get-current-options): Fix bug when in indirect
2927         buffer.
2929 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2931         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2932         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2933         (org-agenda-dim-blocked-tasks): New function.
2935         * org.el (org-enforce-todo-dependencies): New option.
2936         (org-block-todo-from-children-or-siblings): New function.
2938         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2940         * org.el (org-todo): Return correct state type even if the blocker
2941         throws an error.
2942         (org-modifier-cursor-error): Renamed from
2943         `org-shiftcursor-error'.
2944         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2945         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2947         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2948         to get real errors from the blocker hook.
2950         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2951         functions.
2952         (org-set-visibility-according-to-property): Turn off the setting
2953         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2954         property.
2956 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2958         * org.el (org-support-shift-select): New option.
2959         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2960         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2961         selection outside contexts.
2963         * org-list.el (org-at-item-bullet-p): New function.
2965         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2966         variables.
2968         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2969         variable.
2970         (org-insert-footnote-reference-near-definition): Remove
2971         unnecessary let form.
2973         * org-export-latex.el (org-export-latex-first-lines): Add
2974         OPT-PLIST parameter.
2975         (org-export-as-latex): Call `org-export-latex-first-lines' with
2976         opt-plits parameter.
2977         (org-export-latex-preprocess): Remove unnecessary variables.
2979         * org-exp.el (org-infile-export-plist)
2980         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2981         (org-export-remove-headline-metadata)
2982         (org-export-get-title-from-subtree, org-get-min-level)
2983         (org-html-do-expand): Remove innecessary let form.
2985         * org-colview-xemacs.el (org-columns-display-here): Remove
2986         unnecessary variables.
2988         * org-colview.el (org-columns-display-here): Remove unnecessary
2989         variables.
2991         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2992         variables.
2994         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2995         unnecessary variables.
2997         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2998         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2999         variables.
3001         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3002         (org-compact-display-after-subtree-move): Remove unnecessary
3003         variables.
3004         (org-edit-fixed-width-region): Remove unnecessary variables.
3005         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3006         (org-olpath-completing-read): Remove unnecessary variable.
3007         (org-auto-repeat-maybe): Remove unnecessary variable.
3008         (org-map-entries): Remove unnecessary variable.
3009         (org-buffer-property-keys, org-imenu-get-tree)
3010         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3012 -----------------------------------------------------------------
3014 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3015         * org-exp.el (org-export-remove-timestamps): Never remove
3016         timestamps from tables.
3018         * org-export-latex.el (org-export-latex-first-lines): Add more
3019         options to the preprocessing of the text before the first
3020         headline.
3022 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3024         * org-faces.el (org-clock-overlay): Make face compatible with
3025         XEmacs.
3027         * org.el (org-yank): Add property for delete-selection mode.
3029         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3031         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3032         variable.
3034         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3035         to `backward-char'.
3037         * org-exp.el (org-export-as-html): Remove the initial space from
3038         colon examples.
3040         * org.el (org-scan-tags): Call
3041         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3043         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3044         customization groups.
3045         (org-agenda-tags-todo-honor-ignore-options): New option.
3046         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3047         New function.
3048         (org-agenda-get-todos): Use
3049         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3051 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3053         * org-exp.el (org-export-format-source-code-or-example): Escape
3054         HTML characters also in examples that anre not treated with
3055         htmlize.  Also, just switch to EXAMPLE processing if we do not
3056         have a good version of htmlize.
3058         * org-rmail.el: Fix copyright notice.
3060         * org.el (org-activate-footnote-links): Improve footnote link
3061         highlighting.
3063         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3064         a footnote definition at the end of the file.
3066         * org-table.el (org-table-get-specials): Add an imagined hline at
3067         the end of the table.  This can be useful for references that want
3068         to go to the end of the table.  Also fix bug when computing last
3069         row constants, in tables that do not start right at the right
3070         margin.
3071         (org-table-eval-formula): Match and replace remove references.
3072         (org-table-formula-substitute-names): Make sure that names inside
3073         a "remote" call are left alone, the will be replaced later when
3074         the remote call is handled.
3075         (org-table-convert-refs-to-rc): Do not convert things that might
3076         look like a reference, but are really part of an ID or namei n a
3077         remote reference.
3078         (org-table-get-remote-range): New function.
3080 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3082         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3084         * org-clock.el (org-clock-put-overlay): Use new face instead of
3085         `secondary-selection'.
3087         * org-faces.el (org-clock-overlay): New face.
3089 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3091         * org-exp.el (org-get-current-options): Include the option for
3092         publishing time stamps.
3094         * org.el (org-toggle-heading): Renamed from
3095         `org-toggel-region-headings'.
3096         No longer needs a region defined, but will use it if there is one.
3097         (org-ctrl-c-star): Simplified, relying more on the internal
3098         workings of `org-toggle-heading'.
3099         (org-toggle-item): Renamed from `org-toggle-region-items'.
3100         No longer needs a region defined, but will use it if there is one.
3101         (org-ctrl-c-minus): Simplified, relying more on the inernal
3102         workings of `org-toggle-item'.
3104         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3105         environment detection.  Also, do real changes only in unprotected
3106         places.
3108 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3110         * org-export-latex.el (org-export-latex-quotation-marks): Use
3111         `org-if-unprotected-1'.
3112         (org-export-latex-set-initial-vars): Check for class definition in
3113         property.
3115         * org-macs.el (org-if-unprotected-1): New macro.
3117 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3119         * org-compat.el (org-count-lines): New function.
3121         * org-exp.el (org-export-format-source-code-or-example): Handle
3122         switches related to text areas.
3124         * org.el (org-activate-footnote-links): Don't allow match inside a
3125         link.
3127         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3129         * org-export-latex.el (org-export-latex-links): Keep a relative
3130         path relative also after export.
3132         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3134         * org.el (org-make-tags-matcher): Never use IDO for completing the
3135         tags matcher match string.
3136         (org-completing-read): Also remove the special biding for "?".
3138         * org-attach.el (org-attach-allow-inheritance): New option.
3139         (org-attach-inherited): New variable.
3140         (org-attach-dir): Handle properties related to the attachment
3141         directory.
3142         (org-attach-check-absolute-path): New function.
3143         (org-attach-set-directory, org-attach-set-inherit): New commands.
3144         (org-attach): Accommodate the new commands in the dispatcher.
3146 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3148         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3149         `window-full-width-p'.
3151         * org-exp.el (org-export-as-html): Only check for images files
3152         that really can be inlined
3154         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3155         list of extensions to be a parameter.
3157         * org-exp.el (org-export-html-inline-image-extensions): New
3158         variable.
3160         * org-agenda.el (org-prepare-agenda): Use
3161         `org-agenda-block-separator'.
3162         (org-agenda-block-separator): New option.
3164 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3166         * org-export-latex.el (org-export-latex-tables): Call
3167         `org-table-clean-before-export' with the new optional argument.
3169         * org-exp.el (org-table-clean-before-export): New optional
3170         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3171         first column.
3173 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3175         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3176         histograms.
3178         * org-colview.el (org-colview-construct-allowed-dates): Better
3179         error catching when a date/time property does not have allowed
3180         values defined.
3182         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3183         Better error catching when a date/time property does not have
3184         allowed values defined.
3186 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3188         * org.el (org-map-entries): Restore point and restriction after
3189         `org-map-entries'.
3191 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3193         * org.el (org-time=, org-time<, org-time<=, org-time>)
3194         (org-time>=, org-time<>): Make sure both values are dates.
3196 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3198         * org-archive.el (org-extract-archive-heading): Allow %s for file
3199         name also in achive location heading.
3201 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3203         * org-archive.el (org-add-archive-files): Uniquify the list before
3204         returning it.
3206 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3208         * org-compat.el (org-fit-window-to-buffer): Use
3209         `window-full-width-p'.
3211         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3212         space after the colon in short examples.
3214         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3215         enforce a space after the colon.  However, we also allow lines
3216         that are *only* a colon.
3217         (org-export-as-html): Enforce the space after the colon in short
3218         examples.
3219         (org-export-preprocess-string): Do the colon example protection
3220         earlier.
3221         (org-export-remove-timestamps): Do not check for protection at the
3222         end of the line.
3224 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
3226         * org.el (org-format-latex-options): Add new matcher for single
3227         letters between dollars.
3228         (org-get-header): Function removed.
3229         (org-heading-components): New function.
3231         * org-exp.el (org-export-define-heading-targets): Record ID's also
3232         as alternative targets.
3233         (org-export-as-html): Interpret "id:" links to other files by
3234         preserving the relative path.
3236         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3237         is nil.
3239         * org-exp.el (org-export-normalize-links): Protect the main link,
3240         to avoid special character processing.
3242         * org-export-latex.el (org-export-latex-special-keyword-regexp):
3243         New variable.
3244         (org-export-latex-special-string-regexps): Variable removed.
3245         (org-export-latex-keywords): Use the new regexp.
3247         * org-exp.el (org-export-handle-include-files): Fetch switches and
3248         put them into the BEGIN statement.
3250         * org-timer.el (org-timer-mode-line-string): New variable.
3252         * org-clock.el (org-clock-mode-line-map): Renamed from
3253         `org-clock-mode-map'.
3254         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3255         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3256         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3257         (org-clock-remove-overlays): Renamed from
3258         `org-remove-clock-overlays'.
3260         * org-timer.el (org-timer-pause-or-continue): Implement stopping
3261         and mode line display.
3262         (org-timer-stop): New command.
3263         (org-timer-seconds): Return correct time when timer is paused.
3264         (org-timer-mode-line-timer): New variable.
3265         (org-timer-set-mode-line, org-timer-update-mode-line): New
3266         functions.
3268         * org.el (org-insert-heading):  Handle new value `auto' for
3269         `org-blank-before-new-entry'.
3270         (org-org-menu): Add new items for timer functions.
3272         * org-list.el (org-insert-item): Handle new value `auto' for
3273         `org-blank-before-new-entry'.
3275         * org.el (org-blank-before-new-entry): New value `auto', made
3276         default.
3278 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
3280         * org-exp.el (org-export-normalize-links): If the link is also
3281         used as the description, protect the description.
3283 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3285         * org.el (org-closest-date): Fix bug with yearly repeats, in
3286         combination with preference of the past as it is used for deadline
3287         and scheduling search.
3289         * org-exp.el (org-html-handle-time-stamps): No longer check for
3290         the `org-export-with-timestamps' option, because the preprocesser
3291         has taken care of this already.
3293         * org.el (org-entry-properties): Catch the case when this is
3294         called in a non-org-mode file.
3296         * org-export-latex.el (org-export-latex-remove-from-headlines):
3297         Variable made obsolete, also LaTeX export now uses the standard
3298         variables.
3299         (org-export-as-latex): Add the timestamps parameter to the
3300         preprocessor parameter list.
3301         (org-export-latex-content): Export the remaining keywords without
3302         considering to remove them.
3303         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3304         Use bold font instead of tt font for the keywords.
3305         (org-export-latex-fontify-headline): Format headlines, assuming
3306         that all keywords still present should be published.
3307         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3308         publish what ever remains of the time stamps.
3309         (org-export-latex-list-parameters): New option.
3310         (org-export-latex-lists): Pass additional parameters to the list
3311         converter.
3313         * org-exp.el (org-export-preprocess-string): Remove clock lines
3314         and timestamps already in the preprocesor.
3315         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3316         functions.
3317         (org-export-as-ascii, org-export-as-html): Add the timestamps
3318         parameter to the preprocessor parameter list.
3320         * org-list.el (org-list-parse-list): Parse for checkboxes.
3321         (org-list-to-generic): Introduce and handle new parameters :cbon
3322         and :cboff.
3323         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3324         optional parameter PARAMS.
3326         * org-export-latex.el (org-export-latex-special-chars): Fix
3327         problems with interpreting dollar signs.
3328         (org-inside-latex-math-p): New function.
3329         (org-export-latex-preprocess): Protect all the math fragments.
3331         * org.el (org-latex-regexps): Allow a dash after a dollar.
3333         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3334         mark after copying.
3336         * org-agenda.el (org-run-agenda-series): Have series options set
3337         when finalizing the agenda.
3339         * org-exp.el (org-export-format-source-code-or-example): Protect
3340         the converted examples.
3342         * org.el (org-set-regexps-and-options): Fix the regexp
3343         `org-complex-heading-regexp'.
3345 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3347         * org.el (org-edit-src-get-label-format): New function.
3348         (org-coderef-label-format): New option.
3349         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3350         a label format specification and make sure it is used in the edit
3351         buffer.
3352         (org-edit-src-get-label-format): New function.
3353         (org-store-link): Handle new coderef formats.
3354         (org-link-search): Handle new coderef formats.
3356         * org-footnote.el (org-footnote-create-definition)
3357         (org-footnote-goto-local-insertion-point): Make footnote insertion
3358         work correctly when the "Footnotes" headline is the last line in
3359         the buffer.
3361         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3362         the location.
3364 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3366         * org-w3m.el (org-w3m): New customization group.
3367         (org-w3m-deactivate-mark): New option.
3368         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3369         option say not to.
3371 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3373         * org.el (org-set-font-lock-defaults): Trigger footnote
3374         fontification.
3375         (org-activate-footnote-links): New function.
3376         (org-activate-links): New entry `footnote'.
3378         * org-faces.el (org-footnote): New face.
3380 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3382         * org-macs.el (org-re): Handle the [:word:] class.
3384         * org-exp.el (org-export-preprocess-string): Call
3385         `org-export-protect-colon-examples'.
3386         (org-export-protect-colon-examples): Renamed from
3387         `org-export-protect-examples', and scope limited to lines starting
3388         with a colon.
3390 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3392         * org-exp.el (org-export-preprocess-string): Move the preprocess
3393         hook to after turning on Org-mode.
3394         (org-export-preprocess-after-include-files-hook)
3395         (org-export-preprocess-after-tree-selection-hook)
3396         (org-export-preprocess-before-backend-specifics-hook)
3397         (org-export-preprocess-final-hook): New hooks.
3398         (org-export-preprocess-string): Run the new hooks.
3400         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3402         * org-footnote.el: New file.
3404         * org.el (org-footnote): Require footnote code.
3405         (org-startup-options): Add new footnote options.
3406         (org-mode-map): New keybindig for footnotes.
3407         (org-ctrl-c-ctrl-c): Add function at footnotes.
3408         (org-org-menu): New menu entries for footnotes.
3410         * org-export-latex.el (org-export-as-latex): Pass footnote
3411         variable to preprocessor.
3412         (org-export-latex-preprocess): Treat multiple references to a
3413         footnote.
3415         * org-exp.el (org-export-preprocess-string): Call
3416         `org-footnote-normalize'.
3417         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3418         to preprocessor.
3419         (org-export-as-html): Treat multiple references to a footnote.
3421 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3423         * org-export-latex.el (org-export-latex-links): Handle coderef
3424         links.
3426         * org.el (org-bracket-link-analytic-regexp++): New variable.
3427         (org-make-link-regexps): Initialize
3428         `org-bracket-link-analytic-regexp++'.
3429         (org-store-link): Implement special case in edit-src buffer.
3430         (org-insert-link): No use of ide to insert stored links.
3431         (org-link-search): Implement special case for coderefs.
3433         * org-exp.el (org-export-html-scripts): New constant.
3434         (org-export-html-style-default): Add a new style for highlighted
3435         code.
3436         (org-export-code-refs): New variable.
3437         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3438         Call `org-export-replace-src-segments-and-examples'
3439         No longer call `org-export-protect-examples'.
3440         (org-export-target-internal-links): Take care of coderef targets.
3441         (org-export-last-code-line-counter-value): New variable.
3442         (org-export-replace-src-segments-and-examples): Renamed from
3443         `org-export-replace-src-segments', and modified.
3444         (org-export-format-source-code-or-example): Renamed from
3445         `org-export-format-source-code'.
3446         (org-export-number-lines): New function.
3447         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3449 --------------------------------------------------------------------------
3451 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org-remember.el (org-remember-handler): Safer way to get a new
3454         buffer accessing the target file.
3456         * org.el (org-refile-get-location): Handle case of current buffer
3457         not having a file associated with it.
3459 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3461         * org-table.el (org-table-get-formula): Only ask to overwrite
3462         field formula if there really is one.
3464         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3465         number, by converting these to a string.
3467         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3468         located in a different file.
3470         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3471         org-colview.el.
3473 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3475         * org.el (org-completion-use-ido): Enhance docstring of
3476         `org-completion-use-ido'.
3478         * org-export-latex.el (org-export-latex-make-header): Double the %
3479         in the time stamp format.
3480         (org-export-latex-special-chars): Handle case where there is no
3481         match group 3.
3483 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3485         * org.el (org-get-refile-targets, org-refile-get-location): Use
3486         expanded file name to improve comparison.
3488 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
3490         * org.el (org-scan-tags): Rescan for tags, to get the correct
3491         upcase/downcase stuff.  This slows things down for now, but it
3492         works.
3493         (org-mode): Make sure the tag-faces regexp is initialized.
3495         * org-export-latex.el (org-export-latex-links): Fix bug with
3496         undefined label.
3498         * org-table.el (org-table-get-specials): Set
3499         `org-table-current-last-data-line'.
3500         (org-table-current-last-data-line): New variable.
3501         (org-table-insert-column, org-table-delete-column)
3502         (org-table-move-column, org-table-fix-formulas): Call
3503         `org-table-fix-formulas' a second time to fix the $LR references.
3504         (org-table-get-specials): Add the $LR references to the tables.
3505         (org-table-get-formula): Do not offer last-row names as LHS of
3506         formulas.
3508         * org.el (org-store-link): Capture link description from
3509         `org-id-store-link'.
3511         * org-exp.el (org-export-html-format-image): Add the / to the end
3512         of the <img> tag.
3513         (org-export-format-source-code): Surround example by empty lines,
3514         to make sure it will not be inside a paragraph.
3516         * org.el (org-ido-switchb): New function.
3518 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
3520         * org-agenda.el (org-agenda-show): New prefix argument
3521         FULL-ENTRY.
3523         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3524         argument.
3526         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3527         `org-agenda-change-all-lines'.
3528         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3529         tags are now retrieved locally.
3531 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
3533         * org.el (org-get-outline-path): Fix bug if level is not given.
3534         (org-org-menu): Do not quote function in menu vector.
3536         * org-agenda.el (org-finalize-agenda): Fix typo with variable
3537         name.
3539 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3541         * org.el (org-refile): Avoid refiling to within the region to be
3542         refiled.
3544         * org-export-latex.el (org-export-latex-special-chars): Replace
3545         special characters also in tables.
3547         * org-agenda.el (org-agenda-change-all-lines): New argument
3548         FORCE-TAGS.
3549         (org-agenda-set-tags): Cet the new tags and pass them to
3550         `org-format-agenda-item'.
3552 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
3554         * org-export-latex.el (org-export-latex-classes): Add longable as
3555         a default package to all classes.
3556         (org-export-latex-tables): Handle the longtable attribute and the
3557         align attribute.
3559         * org-table.el (orgtbl-to-generic): Handle tables that start with
3560         a hline.
3562         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3563         \verb for colde-like snippets.
3564         (org-export-as-latex): Fix issues with region export.
3566         * org.el (org-up-heading-safe): Speed up function by using a
3567         direct regexp search.
3568         (org-olpa): New variable.
3569         (org-get-outline-path): Speed-up path constructions in cases where
3570         this is possible because the entire hierarchy is scanned anyway.
3571         (org-refile-get-location): Don't compare the truenames of files,
3572         this is too slow.
3573         (org-goto-max-level): New option.
3574         (org-goto): Use `org-goto-max-level'.
3576 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
3578         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3579         Strip angle brackets from message-ids in the former and don't do
3580         it in the latter.
3581         (org-gnus-follow-link): Open summary reliable, even if the last
3582         messages were deleted, and handle empty groups, too.
3584 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
3586         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3587         instead of \texttt for the =...= and ~===~ emphasis environments.
3588         (org-export-as-latex): Remove any old :org-license-to-kill text
3589         properties.
3590         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3591         (org-export-latex-make-header): Add some hard space after the
3592         table of contents.
3593         (org-export-latex-first-lines): Accept RBEG argument.  Mark
3594         exported text so that it will be excuded in further steps.
3596         * org-table.el (org-table-get-specials): Make @0 reference the
3597         last line in a table.
3598         (org-table-recalculate): Improve docstring.
3600 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
3602         * org.el (org-log-done): Fix docstring.
3604 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
3606         * org-exp.el (org-export-html-format-image): Fix bugs.
3608         * org-export-latex.el (org-export-latex-tables)
3609         (org-export-latex-links): Implement attribute, label, and caption
3610         handling.
3612         * org-exp.el (org-export-html-style-default): Add style
3613         definitions for the figure div.
3614         (org-export-preprocess-string, org-export-as-html): Implement
3615         attribute, label, and caption handling.
3616         (org-export-attach-captions-and-attributes): New function.
3617         (org-export-html-format-image): New function.
3618         (org-format-org-table-html): Implement attribute, label, and
3619         caption handling.
3621         * org.el (org-find-text-property-in-string): New function.
3622         (org-extract-attributes): Use the property org-attr instead of
3623         org-attrobutes, because this property is now set with the #+ATTR
3624         lines.
3626 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
3628         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3629         the case that FROM is nil.
3631         * org.el (org-before-first-heading-p): New function.
3633 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3635         * org-exp.el (org-export-as-html): Do not add a space before
3636         enforces line breaks.
3637         (org-export-as-html): Close paragraph before blockquote and verse
3638         tags.
3640 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3642         * org-id.el (org-id-locations-file): Wrap file name with
3643         `convert-standard-filename'.
3644         (org-id-files): New variable.
3645         (org-id-use-hash): New option.
3646         (org-id-update-id-locations): Also search in all files current
3647         listed in `org-id-files'.  Convert the resulting alist to a hash
3648         if the user customation says so.
3649         (org-id-locations-save): Handle he case if `org-id-locations' is a
3650         hash.
3651         (org-id-locations-load): Convert the alist to a hash.
3652         (org-id-add-location): Handle the hast case.
3653         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3654         exited.
3655         (org-id-hash-to-alist, org-id-alist-to-hash)
3656         (org-id-paste-tracker): New functions.
3658 -------------------------------------------------------------------------
3660 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3662         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3663         bindings of calendar variables.
3665         * org-table.el (org-table-find-row-type): Renamed from
3666         `org-find-row-type'.
3667         (org-table-rewrite-old-row-references): Renamed from
3668         `org-rewrite-old-row-references'.
3669         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3670         (org-table-cleanup-narrow-column-properties): Renamed from
3671         `org-cleanup-narrow-column-properties'.
3673 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3675         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3676         for better error messages.
3677         (org-table-get-descriptor-line): Supply the new arguments to
3678         `org-find-row-type'.
3679         (org-table-error-on-row-ref-crossing-hline): New option.
3681         * org.el (org-target-link-regexp): Make buffer-local.
3682         (org-move-subtree-down): Fix bug with trees at beginning of
3683         buffer.
3685 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3687         * org-faces.el (org-set-tag-faces): New function.
3688         (org-tags-special-faces-re): New variable.
3690         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3692         * org-faces.el (org-tag-faces): New option.
3693         (org-tag): Mention `org-tag-faces' in the docstring.
3695 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3697         * org-exp.el (org-export-html-style-default): Implement new
3698         quoting.
3700         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3702         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3703         command to the `w3m-minor-mode-map'.
3705         * org-archive.el (org-archive-to-archive-sibling): Protect
3706         `this-command' to avoid appending kills during archiving.
3708         * org-exp.el (org-export-with-priority): New variable.
3709         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3710         instead of internal list of strings and properties.
3711         (org-print-icalendar-entries): Retrieve the location property with
3712         inheritance.
3714 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3716         * org-exp.el (org-export-with-todo-keywords): New option.
3717         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3718         line.
3719         (org-default-export-plist, org-export-add-options-to-plist)
3720         (org-export-as-ascii, org-export-as-html): Use the new structure
3721         of `org-export-plist-vars'.
3723         * org.el (org-map-entries): Return all values.
3725 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org.el (org-matcher-time): Recognize more special values.
3729         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3731 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3733         * org.el (org-tags-exclude-from-inheritance): New option.
3734         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3735         `org-tags-exclude-from-inheritance'.
3737         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3738         (org-format-agenda-item): Add inherited tags to the agenda line
3739         string, and make sure that properties are kept when downcasing the
3740         tags list.
3741         (org-agenda-add-inherited-tags): New function.
3742         (org-downcase-keep-props): New function.
3744         * org.el (org-scan-tags): Mark inherited tags with a text
3745         property.
3746         (org-get-tags-at): Mark inherited tags with a text property.
3747         (org-add-prop-inherited): New function.
3749         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3750         (org-agenda-show-inherited-tags): New option.
3752 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3754         * org.el (org-modules): Add org-w3m to the default modules.
3756         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3757         orgtbl-mode.
3758         (orgtabl-create-or-convert-from-region): New command.
3760         * org-exp.el (org-export-as-ascii): Remove the handling of
3761         targets.
3762         (org-export-ascii-preprocess): Handle targets already in this
3763         function.
3765 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3767         * org-timer.el (org-timer-start-time): Define this variable.
3768         (org-timer-item): Make argument optional.
3770         * org-list.el (org-insert-item): Automatically insert a timer item
3771         if the current list is a timer list.
3773         * org-timer.el: New file.
3775         * org-publish.el (org-publish-org-index): Only exclude the index
3776         file in the main directory from being added to the site-map.
3777         (org-publish-get-project-from-filename): If the current project is
3778         a component, start publishing from the parent project.
3780 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3782         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3784         * org-publish.el (org-publish-org-index): Improve removal of
3785         temporary buffers.
3787         * org-agenda.el (org-get-closed): Re-apply changes
3788         accidentially overwritten by last commit to Emacs.
3790         * org.el (org-outline-path-complete-in-steps): New option.
3791         (org-refile-get-location): Honor
3792         `org-outline-path-complete-in-steps'.
3793         (org-agenda-change-all-lines, org-tags-sparse-tree)
3794         (org-time-string-to-absolute, org-small-year-to-year)
3795         (org-link-escape): Re-apply changes accidentially overwritten
3796         by last commit to Emacs.
3798 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3800         * org-clock.el (org-dblock-write:clocktable): Make sure the
3801         clocktable sees the first line.
3802         (org-clock-in): Warn if the clock cannot be resumed.
3804 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3806         * org.el (org-open-at-point): Fix mixup about interactive and
3807         non-interactive elisp links.
3809 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3811         * org-exp.el (org-export-preprocess-string): Allow one comment
3812         line before the first headline to always be included.  This is
3813         to not miss a commented target.
3815         * org-mouse.el (org-mouse-insert-item): Call
3816         `org-indent-to-column' instead of `indent-to', for XEmacs
3817         compatibility.
3819         * org.el (org-refile-targets): Fix customize definition so
3820         that it works also in XEmacs.
3821         (org-fixup-indentation): Call `org-indent-to-column' instead
3822         of `indent-to', for XEmacs compatibility.
3824 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3826         * org-mew.el (org-mew-store-link): Get the correct case folder
3827         for refiled messages.
3829 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3831         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3832         line break indicators.
3834         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3835         ido-completion propts.
3837 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3839         * org-remember.el (org-remember-apply-template): Use
3840         `org-substring-no-properties'.
3842         * org-compat.el (org-substring-no-properties): New function.
3844         * org-remember.el (org-remember-apply-template): Use
3845         `org-substring-no-properties' for compatibility.
3847         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3848         option.
3849         (org-fix-bullet-type): respect
3850         `org-list-two-spaces-after-bullet-regexp'.
3852         * org-clock.el (org-clock-load): Clean up the code.
3854         * org.el (org-adaptive-fill-function): Allow two spaces after
3855         "1." as a list bullet.
3857 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3859         * org-clock.el (org-clock-save, org-clock-load): Check for
3860         live buffers, existing files, and buffer file names to ensure
3861         consistent information.
3862         (org-clock-persist): Make `clock' a special value of this
3863         variable, and improve docstring.
3865         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3866         (org-get-string-indentation): Adapt indentation when the bullet
3867         width changes.
3869 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3871         * org-remember.el (org-remember-finalize): Make interactive.
3872         (org-remember-kill): New command.
3873         (org-remember-finish-immediately): Call `org-remember-finalize'
3874         directly.
3875         (org-remember-finalize): Make `org-remember-finalize' an interactive
3876         function.
3878 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3880         * org-remember.el (org-remember-apply-template): No ido completion
3881         for free prompts in remember templates.
3882         (org-remember-before-finalize-hook): New hook.
3883         (org-remember-mode): New minor mode.
3884         (org-remember-apply-template): Turn on `org-remember-mode'.
3886         * org-id.el (org-id-add-location): Avoid error when no file is
3887         given.
3889         * org-remember.el (org-remember-apply-template): Fix the way how
3890         the list of allowed properties is retrieved from the target file.
3892         * org.el (org-insert-link): Improve file link matching.
3894 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3896         * org-colview.el (org-columns-display-here): New argument
3897         DATELINE, to trigger using the new face.
3898         (org-agenda-colview-summarize): Call `org-columns-display-here'
3899         with the new argument.
3901         * org-faces.el (org-agenda-column-dateline): New face.
3903         * org-publish.el (org-publish-org-index): Use index-title at page
3904         title, not as section.
3906         * org-exp.el (org-export-html-format-desc): Respect the
3907         org-protect property.
3908         (org-export-as-html): Protect image specifiers that are in the
3909         description part of a link.
3911         * org.el (org-sort-entries-or-items, org-completing-read)
3912         (org-refile-get-location, org-olpath-completing-read, org-todo)
3913         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3914         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3915         (org-set-property, org-delete-property)
3916         (org-delete-property-globally): Use `org-ido-completing-read'.
3918         * org-remember.el (org-remember-apply-template): Use
3919         `org-ido-completing-read'.
3921         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3923         * org-colview.el (org-columns-edit-value, org-columns-new)
3924         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3926         * org-colview-xemacs.el (org-columns-edit-value)
3927         (org-columns-new, org-insert-columns-dblock): Use
3928         `org-ido-completing-read'.
3930         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3931         `org-ido-completing-read'.
3933         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3934         `org-ido-completing-read'.
3936         * org.el (org-time-today): New function.
3937         (org-matcher-time): Use `org-time-today'.  Add special treatment
3938         for "<tomorrow>" and "<yesterday>".
3939         (org-ido-completing-read): New function.
3940         (org-completion-use-ido): New option.
3942         * org-exp.el (org-export-format-source-code): Fix bug in require
3943         htmlize code.
3944         (org-export-target-internal-links): Fix bug in search for text
3945         property.
3947 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3949         * org-export-latex.el (org-export-latex-subcontent): Interprete
3950         target aliases as additonal labels.
3952         * org-exp.el (org-export-target-aliases): New variable.
3953         (org-export-preprocess-string)
3954         (org-export-handle-invisible-targets): Fill the alias alist.
3955         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3956         assign an id.
3957         (org-html-level-start): Insert the target aliases as additonal
3958         anchors.
3960         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3961         picture area.
3963 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3965         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3966         when following a link with the mouse from the agenda.
3968         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3969         headlines are created.
3971 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3973         * org-exp.el (org-export-preprocess-string): Reorder so that we
3974         can still see ID properties when we collect targets.
3975         (org-export-target-internal-links): Also store targets for ID's.
3977         * org.el (org-link-translation-function): New option.
3978         (org-open-at-point): Call `org-link-translation-function' if
3979         non-nil.
3980         (org-translate-link): New function.
3981         (org-translate-link-from-planner): New function.
3982         (org-open-at-point): Allow interactive commands in elisp links.
3984         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3985         iCalendar quoting.  The new one seems to caus problems with
3986         applications.
3988         * org.el (org-yank): Set `this-command' to `yank', so that
3989         `yank-pop' will work.
3991 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3993         * org-id.el (org-id-search-archives): New option.
3995         * org.el (org-link-to-org-use-id): New option.
3996         (org-store-link): Use `org-link-to-org-use-id'.
3997         (org-id): Make org-id.el a standard component.
3999 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4001         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4002         hexified version of the tag.
4004         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4005         compliance as far as quoting is concerned.
4007         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4009         * org.el (org-up-heading-safe, org-forward-same-level): Always
4010         call `org-back-to-heading' instead of `outline-back-to-heading'.
4011         (org-back-to-heading): New wrapper around outline-back-to-heading,
4012         with a useful error message telling where the error happened.
4014         * org-list.el (org-update-checkbox-count): Always call
4015         `org-back-to-heading' instead of `outline-back-to-heading'.
4017         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4018         has an `alt' attribute, to ensure XHTML validation.
4020 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4022         * org-publish.el (org-publish-attachment): Allow publishing to
4023         overwrite attachment files.
4025         * org-agenda.el (org-agenda-timerange-leaders): New option.
4026         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4028         * org.el (org-edit-src-exit): Untabify ASCII image before
4029         returning.
4042 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4044         * org.el (org-yank): Make any prefix force normal yanking.
4045         Suppress folding if text would be swallowed into a folded
4046         subtree.
4047         (org-yank-folded-subtrees, org-yank): Docstring updates.
4049         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4050         defined as 0.
4052         * org-exp.el (org-export-language-setup): Add Catalan and
4053         Esperanto language entries.
4055 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4057         * org.el (org-refile): Allow refiling of entire regions.
4059         * org-clock.el (org-clock-time%): New function.
4061         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4062         retrieve property values.
4064 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4066         * org-agenda.el (org-agenda-list): Handle the value `only' of
4067         org-agenda-show-log'.
4068         (org-agenda-log-mode): Interpret a double prefix arg.
4070 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4072         * org-exp.el (org-export-html-footnotes-section): New variable.
4073         (org-export-as-html): Use `org-export-html-footnotes-section' to
4074         insert the footnotes.
4075         (org-export-language-setup): Add "Footnotes" to language words.
4077 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4079         * org.el (org-yank): Fix bug when not inserting a subtree.
4081 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4083         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4084         instead of `vm-beginning-of-message'.
4086         * org.el (org-make-link-regexps): Make sure that links to gnus can
4087         contain brackets.
4089 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4091         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4092         code.
4094         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4095         shell output.
4097         * org.el (org-link-abbrev-alist): Improve customization type.
4099         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4100         functions.
4102         * org-agenda.el (org-agenda-get-progress): Renamed from
4103         `org-get-closed'.  Implement searching for state changes as well.
4104         (org-agenda-log-mode-items): New option.
4105         (org-agenda-log-mode): New option prefix argument, interpreted as
4106         request to show all possible progress info.
4107         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4108         `org-get-closed'.
4109         (org-agenda-set-mode-name): Handle the more complex log mode
4110         settings.
4111         (org-get-closed): New alias, pointing to `org-get-progress'.
4113 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4115         * org.el (org-file-apps-defaults-gnu)
4116         (org-file-apps-defaults-macosx)
4117         (org-file-apps-defaults-windowsnt): Add an entry defining the
4118         system command.
4119         (org-file-apps): Allow `system' as key and value.
4120         (org-open-at-point): Explain the effect of a double prefix arg.
4121         (org-open-file): If the argument `in-emacs' is (16),
4122         i.e. corresponding to a double prefix argument, try to open the
4123         file externally.
4125 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4127         * org.el (org-insert-link): Abbreviate absolute files names in
4128         links.  Also, fix a bug in which the double C-u prefix would not
4129         be honored.
4131 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4133         * org.el (org-insert-heading): If buffer does not end with a
4134         newline, add one if necessary to insert headline correctly.
4136         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4137         paragraphs, not inside.
4139         * org.el (org-todo): Quote
4140         `org-agenda-headline-snapshot-before-repeat'.
4142         * org-exp.el (org-export-as-html): Fully process link descriptions.
4143         (org-export-html-format-desc): New function.
4144         (org-export-as-html): Collect footnotes into the correct basket.
4145         (org-html-protect): No longer protect quotations marks here, this
4146         goes wrong.
4148         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4149         BEG.
4151         * org-compat.el (org-fit-window-to-buffer): New function (not
4152         really, a preliminary and incomplete version was present earlier,
4153         but not used).
4155         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4156         `org-fit-window-to-buffer'.
4158         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4160         * org-agenda.el (org-agenda-get-restriction-and-command)
4161         (org-fit-agenda-window, org-agenda-convert-date): Use
4162         `org-fit-window-to-buffer'.
4164         * org-exp.el (org-export-as-html): Process href links through
4165         `org-export-html-format-href'.
4166         (org-export-html-format-href): New function.
4168         * org-agenda.el (org-agenda-todo): Update only the current
4169         headline if this is a repeated TODO, marked done for today.
4170         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4171         only the current line.
4173         * org.el (org-todo): Take a snapshot of the headline if the
4174         repeater might change it.
4176 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4178         * org-publish.el (org-publish-find-title): Remove buffers visited
4179         only for extracting the title.
4181         * org-exp.el (org-export-html-style)
4182         (org-export-html-style-default): Mark style definitions as
4183         unparsed CDATA.
4185         * org-publish.el (org-publish-validate-link): Function
4186         re-introduced.
4188 2008-11-02  Charles Sebold  <csebold@gmail.com>
4190         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4191         property.
4192         (org-plot-quote-timestamp-field): New function.
4193         (org-plot-quote-tsv-field): Call timestamp field function when
4194         necessary rather than just quoting as a string.
4195         (org-plot/gnuplot-to-data): Pass in timefmt property.
4196         (org-plot/gnuplot-script): Supports timefmt property.
4197         (org-plot/gnuplot): Checks for timestamp column before checking
4198         for text index column.
4200 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4202         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4204         * org-publish.el (org-publish-org-index): Create a section in the
4205         index file.
4206         (org-publish-org-index): Stop linking to directories.
4208         * org.el (org-emphasis-alist): Use span instead of <u> to
4209         underline text.
4211         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4212         <pre> sections.
4214 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
4216         * org-jsinfo.el (org-infojs-template): Remove language attribute
4217         from script tag.
4219 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
4221         * org-agenda.el (org-agenda-remove-marked-text): New function.
4222         (org-agenda-mark-filtered-text)
4223         (org-agenda-unmark-filtered-text): New functions.
4224         (org-write-agenda): Remove fltered text.
4226         * org.el (org-make-tags-matcher): Give access to TODO "property"
4227         without speed penalty.
4229 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
4231         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4232         option.
4233         (org-store-link-props): Make sure adding to the plist works
4234         correctly.
4236         * org-gnus.el (org-gnus-no-new-news): New function.
4237         (org-gnus-follow-link): Allow the article ID to be a message-id,
4238         in addition to allowing article numbers.  Message IDs make much
4239         more roubust links.
4240         (org-gnus-store-link): Use message-id to create link.
4242 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
4244         * org.el (org-emphasize): Reverse the selection array.
4245         (org-emphasis-alist): Set <code> tags for the verbatim
4246         environment.
4248         * org-remember.el (org-remember-handler): Fix bug with
4249         prefix-related changing of the note storage target.
4251         * org-exp.el (org-print-icalendar-entries): Make the exported
4252         priorities compatible with RFC 2445.
4254         * org-clock.el (org-clock-save): Insert time stamp without
4255         dependence on time-stamp.el.
4257 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
4259         * org.el ("saveplace"): If saveplace puts point into an invisible
4260         location, make it visible.
4261         (org-make-tags-matcher): Allow inactive time stamps in time
4262         comparisons.
4263         (org-yank-adjusted-subtrees): New option.
4264         (org-yank): Incorporate adjusting trees.
4265         (org-paste-subtree): New argument FOR-YANK which will cause
4266         insertion at point without backing up over white lines, and leave
4267         point at the end of the inserted text.  Also if the cursor is
4268         at the beginning of a headline, use the same level or the inserted
4269         tree.
4271         * org-publish.el (org-publish-get-base-files-1): Deal correctly
4272         with broken symlinks
4274 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
4276         * org-exp.el (org-export-select-tags, org-get-current-options):
4277         Fix typo.
4279 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
4281         * org-agenda.el (org-format-agenda-item)
4282         (org-agenda-filter-make-matcher): Make sure tags are stored and
4283         compared donwcased.
4285 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
4287         * org.el (org-insert-todo-heading): Fix bug with force-heading
4288         argument.
4290 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
4292         * org-clock.el (org-clock-in-resume): Add a custom option to
4293         toggle starting the clock from an open clock line.
4294         (org-clock-in): When clocking in to an entry, if
4295         `org-clock-in-resume' is set, check if the first clock line is
4296         open and if so, start the clock from the time in the clock line.
4297         (org-clock-persist): Add a custom option to toggle clock
4298         persistence.
4299         (org-clock-persist-query-save): Add a custom option to toggle
4300         asking the user if they want to save the running clock when
4301         exiting.
4302         (org-clock-persist-query-resume): Add a custom option to toggle
4303         asking the user if they want to resume the saved clock when Emacs
4304         is restarted.
4305         (org-clock-save): Add a function to save clock data.
4306         This includes the contents of `org-clock-history' and the buffer
4307         and position of the currently clocked task, if any.
4308         (org-clock-load): Add a function to load clock data.
4309         This populates `org-clock-history', and resumes the saved clocked
4310         task if there is one.
4311         (org-clock-persistence-insinuate): Add a method to set up the
4312         hooks for clock persistence.
4314 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4316         * org-exp.el (org-export-as-ascii): Handle the case that we are
4317         publishing from an indirect buffer.
4319         * org-table.el (org-table-copy-down): Fix bug with time stamp
4320         increment.
4322         * org-mouse.el (org-mouse-features): New option.
4323         (org-mode-hook): Turn on features depending on
4324         `org-mouse-features'.
4326         * org.el (org-insert-heading-respect-content): Force heading
4327         creation.
4328         (org-insert-heading): keep the folding state of the heading before
4329         the inserted one.
4331 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4333         * org-archive.el (org-archive-to-archive-sibling): Handle top
4334         level headlines better.
4336 2008-10-21  Bastien Guerry  <bzg@altern.org>
4338         * org-export-latex.el (org-export-latex-classes): Added
4339         \usepackage{graphicx} to the default list of packages.
4341 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4343         * org-agenda.el (org-agenda-filter): Renamed from
4344         `org-agenda-filter-tags'.
4346 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4348         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4349         is not defined as a property in this entry.
4350         (org-add-log-note): Mask prefix argument when immediately storing
4351         the note.
4353         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4354         option.
4356 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4358         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4359         after drawers was skipping ahead one line too many, so notes were
4360         inserted after the first note instead of before it.
4362 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4364         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4365         New variables.
4366         (org-prepare-agenda): Reset the filter tags.
4367         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4368         Show filter tags in mode line.
4370         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4371         formatter.
4373         * org-export-latex.el (org-latex-entities-regexp): New constant.
4374         (org-export-as-pdf): Use two calls to `shell-command'.
4376 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4378         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4379         Honor the {} value of the subsuperscript setting.  Make sure that
4380         longer subsuperscripts are typeset in a roman font.
4382         * org.el (org-clock-update-time-maybe): Compute negative clock
4383         intervals correctly.
4385 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4387         * org.el (org-add-log-setup): Respect
4388         `org-log-state-notes-insert-after-drawers'.
4389         (org-log-state-notes-insert-after-drawers): New option.
4390         (org-todo-trigger-tag-changes): New function.
4391         (org-todo): Call `org-todo-trigger-tag-changes'.
4393 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4395         * org.el (org-add-log-setup): Only skip drawers if the are
4396         immediately after the scheduling keywords.
4398         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4399         function
4400         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4401         call it with the current todo state to get the state to switch to
4402         when clocking in.
4403         (org-clock-in): Use org-indent-line-function to indent clock lines.
4404         (org-clock-find-position): Fix indentation of empty clock drawers.
4406 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4408         * org-publish.el (org-publish-org-to): Handle case when
4409         org-export-to-pdf does return a file name, not a buffer.
4410         (org-publish-org-to-pdf): New function.
4412         * org-export-latex.el (org-export-as-pdf)
4413         (org-export-as-pdf-and-open): New commands.
4415         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4416         forms as ranges.
4418         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4419         things in protexted regions.
4421 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4423         * org-export-latex.el (org-export-latex-preprocess): Improve
4424         quoting of LaTeX environments.
4426 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4428         * org.el (org-edit-fixed-width-region): Exclude final newline from
4429         picture area.
4431         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4432         sections, to make internal links work.
4433         (org-export-latex-fontify-headline): Do not remove all text
4434         properties, to make sure that target properties survive this
4435         process.
4437         * org-exp.el (org-export-preprocess-string): Change sequence of
4438         modifications, to make sure links are prepared before the LaTeX
4439         conversions do happen.
4441 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4443         * org-attach.el (org-attach-delete-all): Renamed from
4444         `org-attch-delete'.  Add a security query before deleting the
4445         entire directory.  New optional argument FORCE can overrule the
4446         security query.
4447         (org-attach-delete-one): New command.
4449 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4451         * org-attach.el (org-attach-file-list): Fix bug with directory.
4453 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4455         * org.el (org-apps-regexp-alist): New function.
4456         (org-file-apps): Add auto-mode to the default value.
4457         (org-open-file): Use the new structure of org-file-apps.
4459         * org-attach.el (org-attach): Support the new keys.
4460         (org-attach-method): New option.
4462 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4464         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4465         March.
4467         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4468         of the list value o `org-use-tag-inheritance'.
4470         * org-attach.el (org-attach-auto-tag): New option.
4471         (org-attach-tag, org-attach-untag): New functions.
4472         (org-attach-attach, org-attach-new, org-attach-sync): Call
4473         `org-attach-tag'.
4474         (org-attach-delete): Call `org-attach-untag'.
4476 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4478         * org-table.el (orgtbl-self-insert-command): Make this work for
4479         the keypad as well.
4481 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4483         * org.el (org-add-log-setup): Limit searc for drawers to entry
4484         text, not to subtree.
4486         * org-clock.el (org-clock-heading-for-remember): New variable.
4487         (org-clock-in): Set `org-clock-heading-for-remember'.
4489 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
4491         * org-remember.el (org-remember-apply-template): Add new
4492         expansions: %k, %K for currently clocked task and a link to the
4493         currently clocked task, and %< to file notes in the currently
4494         clocked task.
4496 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
4498         * org-export-latex.el (org-export-latex-make-header): Also insert
4499         the content of the property :latex-header-extra.
4501         * org-exp.el (org-infile-export-plist): Put the content of
4502         #+LATEX_HEADER: into the property :latex-header-extra.
4504         * org-colview.el (org-columns-get-format-and-top-level): Remove
4505         resetting the marker.
4507         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4508         Remove resetting the marker.
4510         * org.el (org-entry-property-inherited-from): Improve docstring.
4511         (org-entry-get-with-inheritance): Reset marker before starting the
4512         search.
4514         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4516 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
4518         * org.el (org-entry-get-multivalued-property)
4519         (org-entry-protect-space, org-entry-restore-space): New
4520         functions.
4521         (org-file-apps-defaults-macosx): Let postscript files be opened by
4522         preview.
4523         (org-time-stamp-inactive): Call `org-time-stamp'.
4524         (org-time-stamp): New argument `inactive'.  Also edit inacive
4525         stamps. Convert time stamp type.
4526         (org-open-file): Interpret the `default' value for the `command'
4527         in `org-file-apps'.
4529         * org-id.el (org-id-int-to-b36-one-digit)
4530         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4531         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4532         b36.
4534 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
4536         * org-id.el (org-id-reverse-string): New function.
4537         (org-id-new): Use `org-id-reverse-string' to make sure the
4538         beginning chars of the ID are mutating fast.  This allows to use a
4539         directory structure to spread things better.
4540         (org-id-prefix): Changed default to nil.
4542         * org-list.el (org-move-item-down, org-move-item-up): Remember and
4543         restore the column of the cursor position.
4545         * org-remember.el (org-remember-apply-template): Remove properties
4546         from `initial'.
4548 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
4550         * org-wl.el (org-wl-open): Remove useless call to
4551         `wl-thread-open-all'.
4553         * org-remember.el (org-remember-handler): Fix bug with `bottom'
4554         location.
4556 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
4558         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4559         `org-bbdb-anniversaries'.
4561         * org.el (org-get-next-sibling, org-forward-same-level): New
4562         functions, similar to the outline versions, but invisible headings
4563         are OK.
4565 2008-09-25  Bastien Guerry  <bzg@altern.org>
4567         * org.el (org-auto-repeat-maybe): Insert a space between
4568         the timestamp's type and the timestamp itself.
4570 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
4572         * org-table.el (org-table-sum): Do not format the result with %g,
4573         it does rounding when there are too many digits.
4575         * org.el (org-map-entries): Protect the keyword-selecting variables.
4577 2008-09-23  Bastien Guerry  <bzg@altern.org>
4579         * org-agenda.el (org-agenda-to-appt): Make sure the function check
4580         against all agenda files.
4582 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
4584         * org-list.el: New file, aggregating list functions from org.el
4585         and org-export-latex.el.
4587         * org.el (org-edit-src-region-extra): New option.
4589 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
4591         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4592         time before 1am.
4594 2008-09-22  Bastien Guerry  <bzg@altern.org>
4596         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4598 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
4600         * org-plot.el (org-plot/gnuplot): Make tables starting with a
4601         hline work correctly.
4602         (org-plot/gnuplot-script): Put commas at the end of each script
4603         line.
4605 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
4607         * org.el (org-get-refile-targets): Replace links with their
4608         descriptions
4609         (org-imenu-get-tree): Replace links with their descriptions.
4611         * org-remember.el (org-remember-apply-template): Add a new
4612         expansion for adding properties to remember items.
4614         * org.el (org-add-log-setup): Skip over drawers (properties,
4615         clocks etc) when adding notes.
4617         * org-agenda.el (org-agenda-get-closed): show durations of clocked
4618         items as well as the start and end times.
4620         * org-compat.el (org-get-x-clipboard-compat): Add a compat
4621         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4623         * org-remember.el (org-get-x-clipboard): Use the compat
4624         function to get clipboard values when x-selection-value is
4625         unavailable. Use substring-no-properties instead of
4626         set-text-properties to remove text properties from the clipboard
4627         value.
4629         * lisp/org-clock.el (org-update-mode-line): Support limiting the
4630         modeline clock string, and display the full todo value in the
4631         tooltip. Set a local keymap so mouse-3 on the clock string goes to
4632         the currently clocked task.
4633         (org-clock-string-limit): Add a custom value for the maximum
4634         length of the clock string in the modeline.
4635         (org-clock-mode-map): Add a keymap for the modeline string
4637 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4639         * org-compat.el (org-propertize): New function.
4641 2008-09-20  Bastien Guerry  <bzg@altern.org>
4643         * org-export-latex.el (org-export-latex-tables): protect exported
4644         tables from further special chars conversion.
4645         (org-export-latex-preprocess): Preserve LaTeX environments.
4646         (org-list-parse-list): Parse descriptive lists.
4647         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4648         (org-list-to-texinfo): Export descriptive lists.
4649         (org-quote-chars): Remove.
4650         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4651         (org-export-latex-list-beginning-re): Rename to
4652         `org-list-beginning-re'
4653         (org-list-item-begin): Rename to `org-list-item-beginning'
4655 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4657         * org.el (org-refile): Allow refiling to the last entry in the
4658         buffer.
4659         (org-get-tags-at): Fix bug when inheritance is turned off.
4661 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4663         * org.el (org-indent-line-function): No longer check for src
4664         regions, this is too much overhead.
4666         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4667         matching.
4669         * org.el (org-scan-tags): Make sure that tags matching is not case
4670         sensitive.  TODO keyword matching is case sensitive, however, to
4671         avoid confusion with similar words that are not meant to be
4672         keywords.
4674 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4676         * org.el (org-get-local-tags-at): New function.
4677         (org-get-local-tags): New function.
4679         * org-exp.el (org-export-get-categories): New function.
4681         * org-agenda.el (org-sorting-choice)
4682         (org-agenda-sorting-strategy, org-agenda-get-todos)
4683         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4684         (org-agenda-get-scheduled, org-agenda-get-blocks)
4685         (org-entries-lessp): Implement sorting by TODO state.
4686         (org-cmp-todo-state): New defsubst.
4688         * org-colview.el (org-colview-construct-allowed-dates): New
4689         function.
4690         (org-columns-next-allowed-value): Use
4691         `org-colview-construct-allowed-dates'.
4693         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4694         function.
4695         (org-columns-next-allowed-value): Use
4696         `org-colview-construct-allowed-dates'.
4698 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4700         * org.el (org-protect-slash): New function.
4701         (org-get-refile-targets): Use `org-protect-slash'.
4703         * org-agenda.el (org-global-tags-completion-table): New variable.
4705         * org-exp.el (org-export-handle-export-tags): New function.
4706         (org-export-preprocess-string): Call
4707         `org-export-handle-export-tags'.
4709         * org-plot.el: New file.
4711         * org-publish.el (org-publish-expand-components): Function removed.
4712         (org-publish-expand-projects): Allow components to have components.
4714 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4716         * org.el (org-indent-line-function): Do not indent in regions that
4717         are external source code.
4718         (org-yank-and-fold-if-subtree): New function.
4720         * org-agenda.el (org-agenda-todayp): New function.
4721         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4722         `org-agenda-todayp'.
4724         * org.el (org-insert-heading-respect-content)
4725         (org-insert-todo-heading-respect-content): New commands.
4726         (org-insert-heading-respect-content): New option.
4727         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4729         * org-clock.el (org-clock-find-position): Make sure the note after
4730         the clock line gets moved into the new clock drawer.
4732 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4734         * org-id.el (org-id-new): New option.
4736 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4738         * org-table.el (org-table-copy-down): Avoid overflow during
4739         increment.  Use prefix argument 0 to temporarily disable the
4740         increment.
4742 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4744         * org-exp.el (org-export-as-html): Do not turn on the major mode
4745         if the buffer will be killed anyway.
4746         (org-get-current-options): Exclude the #+TEXT field.
4747         (org-export-as-html): Make sure text before the first headline is
4748         a paragraph.
4750         * org-publish.el (org-publish-org-to): Tell the exporter that this
4751         buffer will be killed, so it is not necessary to do major mode
4752         initialization.
4754         * org-archive.el (org-archive-to-archive-sibling): Show empty
4755         lines after folding the archive sibling.
4757         * org.el (org-log-note-extra): New variable.
4759 2008-09-05  Bastien Guerry  <bzg@altern.org>
4761         * org.el (org-additional-option-like-keywords): Added keywords for
4762         the _QUOTE, _VERSE and _SRC environments.
4764         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4765         exporting _QUOTE and _VERSE environments.
4767 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4769         * org-agenda.el (org-agenda-filter-by-tag): New command.
4771         * org-exp.el (org-get-current-options): Remove angular brackets
4772         from the date entry.
4774         * org.el (org-edit-fixed-width-region): New function.
4775         (org-edit-fixed-width-region): Also try
4776         `org-edit-fixed-width-region'.
4777         (org-edit-fixed-width-region-mode): New option.
4778         (org-activate-code): Only interprete lines starting with colon
4779         plus a space as example lines.
4781         * org-remember.el (org-remember-templates): Add nil instead of
4782         empty strings to fix the length of remember templates.
4784         * org-table.el (org-calc-default-modes): Fix the time format for
4785         calc, from 12 hour to 24 hour clock.
4787 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4789         * org-agenda.el (org-agenda-get-deadlines)
4790         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4791         entries that are pre-warnings of deadlines or reminders.
4793         * org.el (org-sort-entries-or-items): Make numeric and alpha
4794         comparisons ignore any TODO keyword and priority cookie.
4796         * org-remember.el (org-remember-handler): Reinterpretation of the
4797         prefix argument.
4799 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4801         * org-agenda.el (org-agenda-get-scheduled): Use new
4802         `org-scheduled' face.
4804         * org-faces.el (org-scheduled): New face.
4806         * org-wl.el (org-wl-open): Remove incorrect declaration.
4808         * org-gnus.el (org-gnus-store-link): Support for :to information
4809         in gnus links.
4811         * org-exp.el (org-export-as-html): Fixed typo in creator
4812         information.
4813         (org-export-protect-examples): New parameter indent.  Insert extra
4814         spaces only when this parameter is specified.
4815         (org-export-preprocess-string): Call `org-export-protect-examples'
4816         with an indentation parameter when exporting to ASCII.
4818         * org-remember.el (org-remember-templates)
4819         (org-remember-apply-template): Allow the file component to be a
4820         function.
4822         * org.el (org-goto-local-search-headings): Renamed from
4823         `org-goto-local-search-forward-headings'.  Added the possibility
4824         to search backwards.
4826 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4828         * org-export-latex.el (org-export-latex): New customization
4829         group.
4831         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4833 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4835         * org-exp.el (org-html-do-expand): Allow {} to terminate
4836         tex macro
4838 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4840         * org.el (org-buffer-list): Select buffers based on major mode,
4841         not on file name.
4843 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4845         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4846         face property.
4848         * org-colview.el (org-columns-display-here): Use
4849         `org-columns-modify-value-for-display-function'.
4851         * org-colview-xemacs.el (org-columns-display-here): Use
4852         `org-columns-modify-value-for-display-function'.
4854 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4856         * org.el (org-columns-modify-value-for-display-function): New option.
4868         * org-publish.el (org-publish-file): Make sure the directory match
4869         for the publishing directory works correctly.
4871         * org-agenda.el (org-agenda-execute-calendar-command)
4872         (org-agenda-diary-entry): Additional optional argument.
4874 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4876         * org-exp.el (org-export-as-html): Add attributes also in mailto
4877         and ftp links.
4879         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4888 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4890         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4891         sure that calls from `org-export-region-as-html' do not do the
4892         special check for a subtree.
4894 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4896         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4898 2008-07-20  Juri Linkov  <juri@jurta.org>
4900         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4901         new keymap `narrow-map' instead of binding "\C-xns".
4903 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4905         * org.el (org-open-file): Use
4906         `org-open-directory-means-index-dot-org'.
4907         (org-open-directory-means-index-dot-org): New option.
4909 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4911         * org.el (org-make-link-string): Remove link attributes from
4912         description.
4913         (org-open-at-point): Remove link attributes bevore using the path.
4915         * org-exp.el (org-export-as-html): Handle link attributes.
4917         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4919         * org-table.el (org-table-to-lisp): New function.
4921         * org.el (org-narrow-to-subtree): Do not include the final newline
4922         into the narrowed region.
4924         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4925         bug with user-define skipping condition.
4927 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4929         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4931 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4933         * org-exp.el (org-export-html-style-default): Automatic overflow
4934         handling for pre fields.
4935         (org-export-as-ascii, org-export-as-html): Change default format
4936         for time stamp.
4938         * org-table.el (org-table-export): Offer completion for translator
4939         functions, and do not require a heading above the table.
4941         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4942         Cater for the case of a list starting in the first line of the
4943         buffer.
4945 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4947         * org-publish.el (org-publish-find-title): Bug fix.
4948         (org-publish-org-index): Implement new :index-style option.
4950 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4952         * org-publish.el (org-publish-timestamp-filename): Use
4953         SHA1-encoded file names in the timestamp directory.
4955 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4957         * org-publish.el (org-publish-needed-p): Be verbose about files
4958         published and files skipped.
4960         * org-exp.el (org-export-preprocess-string): Swap link
4961         normalization and inernal link targeting.
4963         * org-publish.el (org-publish-needed-p): Create timestamp
4964         directory when it does not exist.
4966 2008-07-04  Bastien Guerry  <bzg@altern.org>
4968         * org-clock.el (org-clock-out-when-done): Doc fix.
4970         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4972         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4973         Ignore case when searching for the COMMENT cookie at export time.
4975 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4977         * org-exp.el (org-get-file-contents)
4978         (org-get-and-remove-property): New functions.
4979         (org-export-handle-include-files): Handle the new prefix options.
4980         (org-export-as-html): Fix the verse environment.
4982 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4984         * org.el (org-time=, org-time<, org-time<=, org-time>)
4985         (org-time>=, org-time<>, org-2ft): New functions.
4986         (org-op-to-function): Also provide for the time testing fucntions.
4988 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4990         * org-exp.el (org-export-html-style-default): New constant.
4992 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4994         * org-exp.el (org-export-html-style-extra): New variable.
4995         (org-export-splice-style): New function.
4997 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4999         * org-exp.el (org-export-plist-vars, org-export-as-html):
5000         Implement `org-export-creator-info'.
5001         (org-export-creator-info): New option.
5003 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5005         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5006         (org-property-drawer-re, org-clock-drawer-re): New constants.
5008 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5010         * org-exp.el (org-icalendar-use-deadline)
5011         (org-icalendar-use-scheduled): New options.
5012         (org-icalendar-include-todo): Default changed to t.
5013         (org-print-icalendar-entries): Implement better utilization of
5014         scheduling and deadline time stamps.
5015         (org-export-target-internal-links, org-export-as-html): Allow file
5016         lines without the "file:" prefix if the file path is an absolute
5017         path or starts with ".".
5019         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5020         lastweek etc.
5021         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5023 2008-06-18  Glenn Morris  <rgm@gnu.org>
5024         * org.el (org-map-entries): Let-bind `file'.
5026 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5028         * org.el (org-agenda-skip-archived-trees): Docstring now
5029         discourages using this.
5030         (org-scan-tags): Check for org-agenda-archives-mode.
5031         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5032         (org-agenda-files): Functionality of second arg changed.
5034         * org-agenda.el (org-agenda-archives-mode): New variable
5035         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5036         (org-search-view, org-todo-list, org-tags-view)
5037         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5038         `ifmode' argument.
5039         (org-agenda-quit): Reset the archives mode.
5040         (org-agenda-archives-mode): New command.
5041         (org-agenda-set-mode-name): Include archives info.
5043 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5045         * org.el (org-paste-subtree): Make sure the yanked headline is
5046         visible if it was yanked at a visible point.
5047         (org-move-item-up): Fix the bug with moving white space at the end
5048         of the item.
5049         (org-show-empty-lines-in-parent): New function.
5051 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5053         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5055         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5057         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5058         agenda prefix as well.
5060         * org-publish.el (org-publish-org-index): Make a properly indented
5061         list.
5063         * org.el (org-calendar-agenda-action-key): New option.
5064         (org-get-cursor-date): New function.
5065         (org-mark-entry-for-agenda-action): New command.
5066         (org-overriding-default-time): New variable.
5067         (org-read-date): Respect `org-overriding-default-time'.
5069         * org-remember.el (org-remember-apply-template): Respect the
5070         ovverriding default time.
5072         * org-agenda.el (org-agenda-action-marker): New variable.
5073         (org-agenda-action): New command.
5074         (org-agenda-do-action): New function.
5076 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5078         * org.el (org-schedule, org-deadline): Protect scheduled and
5079         deadline tasks against changes that accidently remove the
5080         repeater.  Also show a message with the new date when done.
5082 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5084         * org.el (org-beginning-of-line): Cater for the case when there
5085         are tags but no headline text.
5086         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5087         it set.
5089 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5091         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5092         the return value is nil instead of "nil" when there is no match.
5094         * org-exp.el (org-insert-centered): Use fill-column instead of
5095         80.
5096         (org-export-as-ascii): Use string-width to measure the width of
5097         the heading.
5099         * org.el (org-diary-to-ical-string): No longer kill buffer
5100         FROMBUF, this is now done by the caller.
5102         * org-exp.el (org-print-icalendar-entries): Move the call to
5103         `org-diary-to-ical-string' out of the loop, and kill the buffer
5104         afterwords.
5106         * org-remember.el (org-remember-visit-immediately): Position
5107         cursor after moving to the note.
5108         (org-remember-apply-template): Use a text property to record the
5109         cursor position.
5110         (org-remember-handler): Align tags after pasting the note.
5112 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5114         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5116         * org-agenda.el (org-agenda-open-link): If there is an
5117         org-bbdb-name property in the current line, jump to that bbdb
5118         entry.
5120         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5121         text property, so that the agenda knows where this entry comes
5122         from.
5124         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5125         interaction between clocking-in from the agenda, and  automatic
5126         task state switching.
5128         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5130         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5131         zmacs-region stays after this command in XEmacs.
5133 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5135         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5137         * org-remember.el (org-remember-templates): Fix bug in
5138         customization type definition.
5140         * org.el (org-map-entries): New function.
5142 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5144         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5145         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5147 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5149         * org-remember.el (org-jump-to-target-location): New variable.
5150         (org-remember-apply-template): Set
5151         `org-remember-apply-template' if requested by template.
5152         (org-remember-handler): Start an idle timer to jump to
5153         remember location.
5155         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5157         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5158         file tags.
5159         (org-get-tags-at): Add the content of `org-file-tags'.
5161         * org-exp.el (org-export-handle-comments): Fix bug with several
5162         comment lines after each other.
5163         (org-number-to-roman, org-number-to-counter): New functions.
5164         (org-export-section-number-format): New option.
5166 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5168         * org-exp.el (org-export-protect-examples): Catch the case of a
5169         missing end_example line.
5171         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5172         `org-file-tags' to nil.
5174         * org-colview.el (org-columns-next-allowed-value): Handle next
5175         argument NTH to directly select a value.
5177         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5178         argument NTH to directly select a value.
5180 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5182         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5184 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5186         * org.el (org-columns-ellipses): New option.
5188 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5190         * org-colview.el (org-columns-add-ellipses): New function.
5191         (org-columns-compact-links): New function.
5192         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5193         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5194         when in agenda.
5195         (org-columns-edit-value): Fixed bug with editing values from
5196         agenda column view.
5197         (org-columns-redo): Also redo the agenda itself.
5199 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5201         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5202         option.
5204         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5206         * org-exp.el (org-export-ascii-preprocess): Renamed from
5207         `org-export-ascii-clean-string'.
5208         (org-export-kill-licensed-text)
5209         (org-export-define-heading-targets)
5210         (org-export-handle-invisible-targets)
5211         (org-export-target-internal-links)
5212         (org-export-remove-or-extract-drawers)
5213         (org-export-remove-archived-trees)
5214         (org-export-protect-quoted-subtrees)
5215         (org-export-protect-verbatim, org-export-protect-examples)
5216         (org-export-select-backend-specific-text)
5217         (org-export-mark-blockquote-and-verse)
5218         (org-export-remove-comment-blocks-and-subtrees)
5219         (org-export-handle-comments, org-export-mark-radio-links)
5220         (org-export-remove-special-table-lines)
5221         (org-export-normalize-links)
5222         (org-export-concatenate-multiline-links)
5223         (org-export-concatenate-multiline-emphasis): New functions,
5224         obtained from spliiting the export preprocessor.
5226         * org-table.el (org-table-recalculate): Improve error message if
5227         the row number is invalid.
5229 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
5231         * org-archive.el (org-archive-save-context-info): Fix bugs in
5232         customization setup and docstring.
5234         * org-exp.el (org-export-html-style): Changed the size of in the
5235         <pre> element to 90%.
5237 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
5239         * org.el (org-find-src-example-start): Function removed.
5240         (org-edit-src-find-region-and-lang): New function.
5242 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
5244         * org.el (org-edit-src-exit): New function.
5245         (org-exit-edit-mode): New minor mode.
5247         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5248         comment-like lines from protected examples.
5250         * org.el (org-edit-src-example, org-find-src-example-start)
5251         (org-protect-source-example, org-edit-special): New functions.
5253 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
5255         * org-publish.el (org-publish-project-alist): Fix typo in
5256         docstring.
5257         (org-publish-project-alist): Handle :index-title property.
5259 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
5261         * org-export-latex.el (org-export-as-latex): Make sure region
5262         bounds are correct.  Parse subtree properties relating to export.
5264         * org-exp.el (org-export-add-options-to-plist): New function.
5265         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5267 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
5269         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5270         EXPORT_TITLE.
5272         * org-exp.el (org-export-get-title-from-subtree)
5273         (org-export-as-ascii, org-export-as-html): Make sure the original
5274         region-beginning and region-end are used, even after moving
5275         point.
5276         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5277         property.
5279         * org-remember.el (org-remember-last-stored-marker): New variable.
5280         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5281         (org-remember-handler): Also use marker to remember
5282         last-stored position.
5284         * org.el (org-goto-marker-or-bmk): New function.
5286 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
5288         * org.el (org-file-properties): Renamed from `org-local-properties'.
5289         (org-scan-tags): Take file tags into account.
5290         (org-tags-match-list-sublevels): Default changed to t.
5292         * org-exp.el (org-export-as-html): Close paragraph after a
5293         footnote.
5295         * org.el (org-update-parent-todo-statistics): New function.
5297         * org-exp.el (org-icalendar-store-UID): New option.
5298         (org-icalendar-force-UID): Option removed.
5299         (org-print-icalendar-entries): IMplement UIDs.
5301 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5303         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5305 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5307         * org-faces.el (org-column): Document how this face is being used
5308         and why sometimes the background faces shine through.
5310         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5312         * org-publish.el (org-publish-attachment): Create publishing
5313         directory if it does not yet exist.
5315         * org-table.el (org-calc-default-modes): Change default number
5316         format to (float 8).
5318         * org.el (org-olpath-completing-read): New function.
5319         (org-time-clocksum-format): New option.
5320         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5322         * org-clock.el (org-clock-display, org-clock-out)
5323         (org-update-mode-line): Use `org-time-clocksum-format'.
5325         * org-colview-xemacs.el (org-columns-number-to-string): Use
5326         `org-time-clocksum-format'.
5328         * org-colview.el (org-columns-number-to-string): Use
5329         `org-time-clocksum-format'.
5331 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5333         * org-id.el: New file, move from contrib to core.
5335         * org-exp.el (org-icalendar-force-UID): New option.
5337 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5339         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5340         shifted by one day if theere is a date range without an end
5341         time.
5343         * org.el (org-try-structure-completion): New function.
5345 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5347         * org.el (org-set-font-lock-defaults): Improve fontification of
5348         description lists.
5349         (org-insert-item): Handle description lists.
5350         (org-adaptive-fill-function): Improve auto indentation in
5351         description lists.
5353         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5354         Implement VERSE environment.
5355         (org-export-preprocess-string): Implement the COMMENT
5356         environment.
5358         * org-export-latex.el (org-export-latex-preprocess): Implement
5359         VERSE environment.
5361 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5363         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5364         option.
5366 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5368         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5370         * org.el (org-quote-csv-field): New functions.
5372         * org-table.el (org-table-export-default-format): Remove :splice
5373         from default format, we get the same effect by not specifying
5374         :tstart and :tend.
5375         (org-table-export): Improve setup, distinguish better between
5376         interactive and non-interactive use, allow specifying the format
5377         on the fly, better protection against wrong file names.
5378         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5379         and :tend when :splice is omitted.
5381 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5383         * org-clock.el (org-clock-select-task): Make sure the selection
5384         letters are 1-9 and A-Z, no special characters.
5386 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5388         * org-exp.el (org-export-htmlize): New group.
5389         (org-export-htmlize-output-type)
5390         (org-export-htmlize-css-font-prefix): New options.
5391         (org-export-htmlize-region-for-paste): New function.
5392         (org-export-htmlize-generate-css): New command.
5394 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5396         * org/org.el (org-modules, org-format-latex-options):
5397         * org/org-archive.el (org-archive-stamp-time)
5398         (org-archive-save-context-info):
5399         * org/org-faces.el (org-hide):
5400         * org/org-irc.el (org-irc-parse-link):
5401         * org/org-macs.el (org-call-with-arg, org-autoload):
5402         * org/org-mew.el (org-mew-store-link):
5403         * org/org-remember.el (org-remember-store-without-prompt)
5404         (org-remember-templates): Fix typos in docstrings.
5406         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5408         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5409         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5410         (org-bbdb-anniv-split): Fix typos in docstrings.
5412         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5413         (org-publish-use-timestamps-flag): Reflow docstring.
5414         (org-publish-files-alist): Fix typos in docstring.
5416 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5418         * org.el (org-set-visibility-according-to-property): New function.
5419         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5420         and compute the regular expressions, and update font-lock.
5421         (org-property-re): Allow a dash in property names.
5423         * org-archive.el (org-extract-archive-file): Insert the file name
5424         without the path into the format, to allow the location format to
5425         contain a subdirectory.
5427         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5428         of buffer, and the `org-agenda-type' property undefined, use the
5429         value from the character before.
5431         * org.el (org-add-planning-info): Don't let indentation for
5432         would-be timestamp become extra whitespace at the end of headline.
5434 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5436         * org.el (org-remove-double-quotes, org-file-contents): New
5437         functions.
5439         * org-exp.el (org-infile-export-plist): Also parse the
5440         contents of #+SETUPFILE files, recursively.
5442         * org.el (org-set-regexps-and-options): Also parse the
5443         contents of #+SETUPFILE files, recursively.
5445         * org-exp.el (org-export-handle-include-files): New function.
5446         (org-export-preprocess-string): Call
5447         `org-export-handle-include-files'.
5449         * org.el (org-delete-property-globally)
5450         (org-delete-property, org-set-property): Ignore case during
5451         completion.
5452         (org-set-property): Use `org-completing-read' instead of
5453         `completing-read'.
5455         * org.el (org-complete-expand-structure-template): New,
5456         experimental function.
5457         (org-structure-template-alist): New, experimental option.
5458         (org-complete): Call `org-complete-expand-structure-template'.
5460 2008-05-06  Bastien Guerry  <bzg@altern.org>
5462         * org-export-latex.el (org-export-latex-preprocess): Added
5463         support for blockquotes.
5465 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5467         * org.el (org-read-date-analyze): Catch the case where only a
5468         weekday is given.
5470 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5472         * org.el (org-set-font-lock-defaults): Make the description
5473         tag bold.
5475         * org-exp.el (org-export-as-html, org-close-li): Implement
5476         description lists.
5478 2008-05-04  Jason Riedy  <jason@acm.org>
5480         * org-table.el (*orgtbl-default-fmt*): New variable.
5481         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5482         when there is no other fmt available.
5484         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5485         :tend to suppress the appropriate string.
5487         (orgtbl-to-orgtbl): New function for translating to another orgtbl
5488         table.
5490 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
5492         * org.el (org-read-date-analyze): "." as an alias for "+0" in
5493         read date.
5495         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5496         New function.
5498         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5499         New function.
5501 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
5503         * org-clock.el (org-clock-find-position): Don't include notes
5504         into clock drawer.
5506         * org-archive.el (org-archive-subtree): No longer remove an
5507         extra line after cutting the subtree.  `org-cut-subtree' already
5508         takes care of this.
5510         * org-remember.el (org-remember-handler): Only kill the target
5511         buffer if it does not contain the running clock.
5513         * org.el (org-markers-to-move): New variable.
5514         (org-save-markers-in-region, org-check-and-save-marker)
5515         (org-reinstall-markers-in-region): New function.
5516         (org-move-subtree-down, org-copy-subtree): Remember relative
5517         marker positions before cutting.
5518         (org-move-subtree-down, org-paste-subtree): Restore relative
5519         marker positions after pasting.
5521         * org-remember.el (org-remember-clock-out-on-exit): New option.
5522         (org-remember-finalize): Clock out only if the setting in
5523         `org-remember-clock-out-on-exit' requires it.
5524         (org-remember-handler): Do the cleanup in the buffer, to make sure
5525         that the clock marker remains in tact.
5527 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
5529         * org-clock.el (org-clock-goto): Widen buffer if necessary.
5530         (org-clock-in): Make sure that also tasks outside the narrowed
5531         region will be clocked in correctly.
5532         (org-clock-insert-selection-line): Widen the buffer so that we can
5533         find the correct task heading.
5535         * org.el (org-base-buffer): New function.
5537         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5538         and ";" are escaped.
5539         (org-print-icalendar-entries): Also apply
5540         `org-icalendar-cleanup-string' to the headline, not only to the
5541         summary property.
5543 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
5545         * org-exp.el (org-export-preprocess-hook): New hook.
5546         (org-export-preprocess-string): Call
5547         `org-export-preprocess-hook'.
5549         * org.el (org-font-lock-hook): New variable.
5550         (org-font-lock-hook): New function.
5551         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5553 ;; Local Variables:
5554 ;; coding: utf-8
5555 ;; add-log-time-zone-rule: t
5556 ;; End:
5558     Copyright (C) 2008  Free Software Foundation, Inc.
5560   This file is part of GNU Emacs.
5562   GNU Emacs is free software: you can redistribute it and/or modify
5563   it under the terms of the GNU General Public License as published by
5564   the Free Software Foundation, either version 3 of the License, or
5565   (at your option) any later version.
5567   GNU Emacs is distributed in the hope that it will be useful,
5568   but WITHOUT ANY WARRANTY; without even the implied warranty of
5569   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5570   GNU General Public License for more details.
5572   You should have received a copy of the GNU General Public License
5573   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
5575 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c