Fix problem with insertion of statistics cookies at visibility boundaries
[org-mode.git] / lisp / ChangeLog
blobdbf6b368ae607a57b65ededed8b37af9fe2a2fc6
1 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-list.el (org-update-checkbox-count): Insert changed cookie
4         before the old, to avoid problems with invisibility at the end of
5         the line.
6         (org-update-checkbox-count): Insert changed cookie before the old,
7         to avoid problems with invisibility at the end of the line.
9         * org.el (org-sort-entries-or-items): Include the final newline.
10         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
11         lines for fontification.
12         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
13         (org-prepare-dblock): Store the current indentation of the BEGIN
14         line.
15         (org-update-dblock): Apply the indentation of the begin line to
16         the rest of the block.
17         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
18         (org-startup-folded): New allowed value `showeverything'.
19         (org-startup-options): Add STARTUP keyword `showeverything'.
20         (org-set-startup-visibility): Respect value `showeverything' in
21         org-startup-folded.
23 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
25         * org.el (org-closest-date): Fix issue with past preference.
27         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
29         * org-archive.el (org-archive-set-tag)
30         (org-archive-subtree-default): New commands.
32         * org-mobile.el (org-mobile-create-index-file): Fix link to
33         capture file.
34         (org-mobile-copy-agenda-files): Create the capture file if it does
35         not exist.
37         * org-clock.el (org-clock-clocktable-default-properties): New
38         option.
39         (org-clock-report): Use
40         `org-clock-clocktable-default-properties'.
42 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
44         * org.el (org-iswitchb-completing-read): Fix typo.
46         * org-crypt.el: New file.
48         * org.el: Add an entry for org-crypt.
50 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
52         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
53         consistency.
54         (org-batch-store-agenda-views): New function.
55         (org-mobile-force-id-on-agenda-items): Mention variable.
56         (org-agenda-title-append): Define variable.
57         (org-write-agenda): New export to Org files.
58         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
59         (org-agenda): Allow to keep the restricted file list if a special
60         variable is bound to t.
61         (org-agenda): Define a special agenda view for working on flagged
62         entries.
63         (org-agenda-get-restriction-and-command): List the new agenda
64         view.
65         (org-agenda-show-the-flagging-note): New command.
66         (org-agenda-mode-map): New key `?' for looking at the flagging
67         note.
69         * org.el (org-autoload): Autoload org-mobile.el.
70         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
72         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
74 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
76         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
77         statements.
78         (org-table-get-remote-range): Match indented #+TBLNAME
79         statements.
81         * org.el (org-convert-to-odd-levels)
82         (org-convert-to-oddeven-levels): Work also correctly if the file
83         is in outline-mode.
85 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
87         * org.el (org-store-link): When in agenda buffer, link to
88         referenced entry.
89         (org-add-planning-info): Remove spaces at eol.
91         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
92         property.
94 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
96         * org-latex.el (org-export-latex-first-lines): Fix problem with
97         LaTeX export of first line and selected subtree.
99         * org.el (org-shifttab): Interpret arg differently when using only
100         odd levels.
102 2009-09-09  Bastien Guerry  <bzg@altern.org>
104         * org.el (org-check-agenda-file): Use a more explicit message
106 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
108         * org-exp.el (org-export-remove-special-table-lines): Don't remove
109         normal lines.
111 2009-09-08  Bastien Guerry  <bzg@altern.org>
113         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
114         prompt in the temporary window.
116         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
117         prefix for marked entries in the agenda view.
119 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
121         * org.el (outline-end-of-subtree): Bugfix: advise this function in
122         a way that prevents any trailing character from being displayed.
124 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
126         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
127         menu.
129         * org-exp.el (org-export-remove-special-table-lines): Remove bad
130         slow regexp match.
132 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
134         * org-latex.el (org-export-latex-preprocess): Do not protect in
135         the LaTeX header.
137         * org-src.el (org-edit-src-save): Save window setup while saving.
138         (org-edit-src-code): Use new buffer name construction scheme.
140 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
142         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
143         variable.
144         (org-agenda-entry-text-cleanup-hook): New hook.
145         (org-agenda-get-some-entry-text): Remove matches of
146         `org-agenda-entry-text-exclude-regexps' and run the hook
147         `org-agenda-entry-text-cleanup-hook'.
149         * org.el (org-offer-links-in-entry): New argument ZERO to
150         implement a link with index zero.
151         (org-cycle-show-empty-lines): Not keep empty line under header
152         hidden.
153         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
154         to nil for special completion.
155         (org-store-link): Don't error before the first heading.
157         * org-agenda.el (org-agenda-open-link): Pass the prefix to
158         `org-offer-links-in-entry'.
160 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
162         * org-agenda.el (org-agenda-quit): Provide the window argument for
163         `window-dedicated-p', Emacs 22 needs it.
164         (org-format-agenda-item): If the category is a link, arrange for
165         invisible text to replaced with spaces.
166         (org-compile-prefix-format): Add the extra space.
167         (org-prefix-category-length): New variable.
169         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
170         references from TOC lines.
172         * org.el (org-selected-window): New variable.
174         * org-table.el (org-table-edit-formulas): Remember the selected
175         window.
176         (org-table-fedit-finish, org-table-fedit-abort): Select the window
177         that was originally selected.
179         * org-exp.el (org-export-preprocess-apply-macros): Scan the
180         expansion of a macro for more macro definitions.
182         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
183         invisibility overlay starts on the newline.
185 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
187         * org-protocol.el (org-protocol-store-link)
188         (org-protocol-remember, org-protocol-open-source): Add autoloads.
190         * org-compat.el (org-float-time): New function.
192         * org.el (org-clock-update-time-maybe)
193         (org-sort-entries-or-items, org-do-sort)
194         (org-evaluate-time-range, org-time-string-to-seconds)
195         (org-closed-in-range): Use `org-float-time'.
197         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
198         (org-timer-seconds):  Use `org-float-time'.
200         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
201         (org-clock-sum, org-dblock-write:clocktable)
202         (org-clocktable-steps):  Use `org-float-time'.
204         * org-agenda.el (org-agenda-last-marker-time)
205         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
207         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
208         function.
210         * org-exp.el (org-get-file-contents): Only protect lines that
211         really need it.
213         * org-html.el (require): Require cl for compilation.
215         * org.el:  Avoid using `default-major-mode'.
217         * org-plot.el (require): Require CL only at compile time.
219         * org-exp.el (require): Require CL only at compile time.
221         * org-agenda.el (org-agenda-quit): When the agenda window is
222         dedicated, remove other windows before exiting, so that the frame
223         really will be killed.
225         * org-exp.el (org-export-handle-include-files): Reset START and
226         END for each loop cycle.
228 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
230         * org.el (org-eval-in-calendar): Use
231         `org-select-frame-set-input-focus'.
233         * org-compat.el (org-select-frame-set-input-focus): New function.
235         * org.el (org-update-statistics-cookies): New function.
236         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
238 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
240         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
241         after the local variables are set.
243         * org-latex.el (org-export-latex-protect-amp): New function.
244         (org-export-latex-links): Protect link ampersands in tables.
246         * org-exp.el (org-export-select-backend-specific-text): Match in
247         two steps, to avoid regexp problems.
249         * org.el (org-offer-links-in-entry): Improve working with many and
250         duplicate links.
252         * org-agenda.el (org-agenda-show-1): Make more consistent with
253         normal cycling.
254         (org-agenda-cycle-show): Make more consistent with normal cycling.
256         * org-gnus.el (org-gnus-store-link): Restore the linking to a
257         website.
259 2009-08-30  Bastien Guerry  <bzg@altern.org>
261         * org-latex.el (org-export-latex-first-lines): Bugfix.
263 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
265         * org-clock.el (org-clock-modify-effort-estimate): Emit message
266         about new effort.
268         * org.el (org-set-effort): New function.
269         (org-mode-map): New key for effort setting command.
271         * org-agenda.el (org-agenda): Keep window setup when calling
272         agenda from within agenda window.
273         (org-agenda-mode-map): New keys for effort setting commands.
274         (org-agenda-menu): Add effort setting commands to menu.
275         (org-agenda-set-property, org-agenda-set-effort): New functions.
277         * org-latex.el (org-export-latex-tables): Fix
278         `org-table-last-alignment' and `org-table-last-column-widths' if
279         the first column has been removed.
281 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
283         * org.el (org-remove-timestamp-with-keyword): Only remove in
284         entry, not in subtree.
286         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
287         emacs lisp.
289         * org.el (org-open-at-point): When on headline, offer all strings
290         in entry.
292         * org-remember.el (org-remember-templates): Documentation fix.
294         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
295         `org-get-last-sibling' instead of the outline versions of these
296         functions.
297         (org-get-last-sibling): New function.
298         (org-refile): Use `org-get-next-sibling' instead of the outline
299         version of this function.
300         (org-clean-visibility-after-subtree-move): Use
301         `org-get-next-sibling' and `org-get-last-sibling' instead of the
302         outline versions of these functions.
304 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
306         * org-agenda.el (org-prepare-agenda): When creating a new frame
307         for the agenda, make the window dedicated.
309         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
311         * org-table.el (org-table-align): Change the order of reinsertion
312         and deletion, to avoid problems with overlays following the table.
314         * org.el (org-parse-time-string): Better error message.
315         (org-show-subtree): Use org-end-of-subtree.
317         * org-macs.el (org-goto-line): New defsubst.
319         * org.el (org-open-file, org-change-tag-in-region)
320         (org-fast-tag-show-exit): Don't use `goto-line'.
322         * org-table.el (org-table-align, org-table-insert-column)
323         (org-table-delete-column, org-table-move-column)
324         (org-table-sort-lines, org-table-copy-region)
325         (org-table-paste-rectangle, org-table-wrap-region)
326         (org-table-get-specials, org-table-rotate-recalc-marks)
327         (org-table-get-range, org-table-recalculate)
328         (org-table-edit-formulas, org-table-fedit-convert-buffer)
329         (org-table-show-reference, org-table-highlight-rectangle): Don't
330         use `goto-line'.
332         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
333         (org-edit-src-exit): Don't use `goto-line'.
335         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
337         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
338         Don't use `goto-line'.
340         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
342         * org-colview.el (org-columns, org-columns-redo)
343         (org-agenda-columns): Don't use `goto-line'.
345         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
346         use `goto-line'.
348         * org-agenda.el (org-agenda-mode): Force visual line motion off.
349         (org-agenda-add-entry-text-maxlines): Improve docstring.
350         (org-agenda-start-with-entry-text-mode): New option.
351         (org-agenda-entry-text-maxlines): New option.
352         (org-agenda-entry-text-mode): New variable.
353         (org-agenda-mode): Set initial value of
354         `org-agenda-entry-text-mode'.
355         (org-agenda-mode-map): Add the `E' key.
356         (org-agenda-menu): Add entry text mode to the menu.
357         (org-agenda-get-some-entry-text): Fix line count bug.
358         (org-finalize-agenda): Apply entry text mode if appropriate.
359         (org-agenda-entry-text-show-here): New function.
360         (org-agenda-entry-text-show): New function.
361         (org-agenda-entry-text-hide): New function.
362         (org-agenda-view-mode-dispatch): Add entry text mode to the view
363         key menu.
364         (org-agenda-entry-text-mode): New command.
365         (org-agenda-set-mode-name): Add entry text mode to the mode line
366         string.
367         (org-agenda-undo, org-agenda-get-restriction-and-command)
368         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
369         `goto-line'.
371 2009-08-26  Bernt Hansen  <bernt@norang.ca>
373         * org-clock.el (org-notify): Bugfix.
375 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
377         * org-agenda.el (org-agenda-open-link): Handle multiple links and
378         check for after-string.
380         * org-gnus.el (org-gnus-store-link): Simplify.
382         * org.el (org-latex-regexps): Don't add extra empty lines for
383         display formulas.
385 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
387         * org-agenda.el (org-agenda-get-some-entry-text): New function.
388         (org-agenda-add-entry-text): Use
389         `org-agenda-get-some-entry-text'.
391         * org.el (org-cycle-separator-lines): Update docstring.
392         (org-cycle-show-empty-lines): Handle negative values for
393         `org-cycle-show-empty-lines'.
395         * org-exp.el (org-export-protect-sub-super): New function.
396         (org-export-normalize-links): Protect the url of plain links from
397         supscript and superscript processing.
399         * org-remember.el (org-remember-escaped-%): New function.
400         (org-remember-apply-template): Use `org-remember-escaped-%' to
401         detect escaped % signs.
403 2009-08-23  Bastien Guerry  <bzg@altern.org>
405         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
406         sound when showing the notification.
408         * org-clock.el (org-notify): New function.
409         (org-clock-notify-once-if-expired): Use `org-notify'.
411         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
412         and `gnus-article-mode' separately.
413         (gnus-summary-article-header): Fix the declare-function.
415 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-exp.el (org-export-format-source-code-or-example): Translate
418         language.
420         * org-src.el (org-src-lang-modes): New variable
421         (org-edit-src-code): Translate language.
423         * org-exp.el (org-export-format-source-code-or-example): Deal wit
424         the new structure of the `org-export-latex-listings-langs'
425         variable.
427         * org-latex.el (org-export-latex-listings-langs): Change structure
428         of the variable from plist to alist.
430 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
432         * org.el (org-in-commented-line): New function.
434 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org.el (org-hide-block-toggle): Make folded blocks searchable.
438 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
440         * org.el (org-flag-drawer): More useful error.
442 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
444         * org-remember.el (org-remember-apply-template): Use
445         org-icompleting-read.
447         * org-publish.el (org-publish): Use org-icompleting-read.
449         * org-colview.el (org-columns-edit-value, org-columns-new)
450         (org-insert-columns-dblock): Use org-icompleting-read.
452         * org-colview-xemacs.el (org-columns-edit-value)
453         (org-columns-new, org-insert-columns-dblock): Use
454         org-icompleting-read.
456         * org-attach.el (org-attach-delete-one, org-attach-open): Use
457         org-icompleting-read.
459 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
461         * org.el (org-hierarchical-todo-statistics): Improve docstring.
462         (org-version): Return the version text.
463         (org-org-menu): Add a menu entry for the new bug reporter.
464         (org-submit-bug-report): New command.
466         * org-list.el (org-hierarchical-checkbox-statistics): Improve
467         docstring.
469         * org.el (org-emphasis-regexp-components): Add "`" to set of
470         pre-emphasis characters.
472         * org-latex.el (org-export-latex-classes): Always include the soul
473         package.
474         (org-export-latex-emphasis-alist): Use \st for strikethough.
476         * org-exp-blocks.el (org-export-blocks-preprocess): Use
477         `indent-code-rigidly' to indent.
479         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
480         properties only if MATCH really is a string.
482 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
484         * org-latex.el (org-export-latex-packages-alist): Fix
485         customization type.
487         * org.el (org-create-formula-image): Also use
488         `org-export-latex-packages-alist'.
490         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
491         (org-export-as-html): Format footnotes correctly.
493 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
495         * org.el (org-fast-tag-selection): Avoid text properties on tags
496         in the alist.
498         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
499         text properties on the match element.
501 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
503         * org.el (org-set-regexps-and-options): Make sure the list of done
504         keywords is not invalid.
506         * org-exp.el (org-export-interpolate-newlines): New function.
508 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org.el (org-format-latex): Avoid nested overlays.
512         * org-latex.el (org-export-latex-listings-langs): Add a few more
513         languages.
515         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
516         ignore newlines and space before the first macro argument.
518         * org-latex.el (org-export-latex-tables): Remove save-excursion
519         around `org-table-align'.
521 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
523         * org.el (org-export-html-special-string-regexps): Definition
524         moved into org.el
526         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
527         in macro calls.
529 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
531         * org-latex.el (org-export-latex-listings)
532         (org-export-latex-listings-langs): New options.
534         * org-exp.el (org-export-format-source-code-or-example): Use
535         listing package if requested by the user.
537 2009-08-08  Bastien Guerry  <bzg@altern.org>
539         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
540         command before actually switching to a buffer.
542 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
544         * org-exp.el (org-get-file-contents): Only quote org lines when
545         the markup is src or example.
547         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
548         New option
549         (org-agenda-get-day-entries): Remember deadline results and pass
550         them on into the function getting the scheduling information.
551         (org-agenda-get-scheduled): Accept deadline results as parameters
552         and maybe skip some entries.
553         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
555         * org.el (org-insert-heading): When respecting content, do not
556         convert current line to headline.
558         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
559         cheeeeeck the hd marker
560         (org-clock-in): Also set the hd marker.
561         (org-clock-out): Also set the hd marker.
562         (org-clock-cancel): Reset markers.
564         * org.el (org-clock-hd-marker): New marker.
566         * org-faces.el (org-agenda-clocking): New face.
568         * org-agenda.el (org-agenda-mark-clocking-task): New function.
569         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
571         * org.el (org-modules): Add org-track.el.
573         * org-agenda.el (org-agenda-bulk-marked-p): New function.
574         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
575         `org-agenda-bulk-marked-p'.
576         (org-agenda-bulk-toggle): New command.
578 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
580         * org.el (org-move-subtree-down): Hide subtree if it was folded,
581         not just the body.
583         * org-remember.el (org-remember-finalize): Avoid buffer-modified
584         messages.
602 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
604         * org-latex.el (org-export-latex-first-lines): Fix bug with
605         finding the end of the first lines.
607         * org.el (org-create-formula-image): Remove the -E option for
608         dvipng.
610         * org-exp.el (org-default-export-plist): Respect #+BIND.
611         (org-export-confirm-letbind): New function.
613         * org.el (org-paste-subtree): Test the kill ring entry if it is
614         going to be used.
615         (org-copy-subtree): Use `org-forward-same-level'.
616         (org-forward-same-level): Respect the `invisibe-ok' arg for
617         back-to-heading.
619 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
621         * org.el (org-table-map-tables): Make sure cursor is back at table
622         beginning after funcall.
624         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
625         handled before children, and do not error if an entry is not
626         found, probably because it hase been remove when the parent was
627         archived or refiled.
629         * org.el (org-ido-completing-read): Accept straight lists for
630         completion as well as alists.
632         * org-html.el (org-export-as-html): Fix parenthesis error in
633         footnore code.
635         * org-timer.el (org-timer-cancel-timers): Renamed from
636         `org-timer-cancel-timers'.
638         * org.el (org-cycle-internal-local): Fix problem with finding next
639         invisible line.
641 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
643         * org-list.el (org-list-send-list): Call
644         `org-list-goto-true-beginning' instead of
645         `org-list-find-true-beginning', which does not exist.
647         * org-timer.el (org-timer-reset-timers): Use `mapc'.
648         (org-timer-set-timer): Do not assign to heading.
650         * org-id.el (org-id-open): Quote function name.
652         * org-macs.el (org-unmodified): Turn off recording undo
653         information while running inside the macro.
655         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
656         variable.
657         (org-indent-mode): Remember and restore value of
658         org-hide-leading-stars before `org-indent-mode'.
660         * org-table.el (org-table-export): Also work in file-less
661         buffers.
663         * org.el (org-startup-indented): New option.
664         (org-startup-options): Add new options indent and noindent.
665         (org-unfontify-region): Remove line-prefix and wrap-prefix
666         properties.
667         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
668         hooks.
669         (org-promote, org-demote): Run the new hooks.
671         * org-table.el (org-table-align): Replace leading \n as well.
673         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
674         and `line-wrap' text properties.
676         * org-compat.el (org-kill-new): New function.
678         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
679         `line-wrap' text properties.
681         * org-indent.el: New file.
683 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
685         * org.el (org-provide-todo-statistics): Tweak docstring.
687         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
689 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
691         * org-exp.el (org-export-as-org): Insert the "-source" string
692         before the extension.
694         * org.el (org-read-date): Make sure the calendar is in the current
695         frame.
696         (org-set-emph-re): Remove the ? from the post-match.
697         (org-emphasis-regexp-components): Add backslash to the
698         postmatch class.
699         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
700         optional so that also lines at the end of the buffers will still
701         be matched as headlines.
703         * org-table.el (org-table-error-on-row-ref-crossing-hline):
704         Variable made obsolete.
705         (org-table-relative-ref-may-cross-hline): New option.
706         (org-table-find-row-type): Honow the new option
707         `org-table-relative-ref-may-cross-hline'.
709 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
711         * org-table.el (org-table-cut-region, org-table-copy-region): Work
712         on single field if no active region.
714 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
716         * org-latex.el (org-export-latex-make-header): Only insert title
717         if one is defined.
719         * org.el (org-make-options-regexp): Allow empty values.
721         * org-html.el (org-export-as-html): Move hrule detection to after
722         plain list handling.
724 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
726         * org-html.el (org-format-org-table-html): Fix colgroup tags.
728 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org.el (org-cycle-internal-local): Improved version of finding
731         next visible line.
732         (org-cycle-hide-drawers): Only hide drawers if this is really
733         necessary.
734         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
735         org-version of this function in Org-mode.  We use advice to
736         implement this change, so that future changes to this function in
737         outline.el wil be handled properly.
738         (org-forward-same-level, org-backward-same-level): New commands.
740 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
742         * org.el (org-remove-empty-overlays-at)
743         (org-clean-visibility-after-subtree-move): New functons.
744         (org-move-subtree-down): Simplify cleanup of display.
746 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
748         * org-mac-message.el (org-mac-message-get-links): Improve
749         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
750         "s".  Fix the return value.
751         (org-mac-message-insert-flagged): Simplify.
753         * org.el (org-refile-get-location): Tamper with refile history o
754         that history contains compete matches instead of the entered
755         string.
757 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
759         * org.el (org-store-link): Never store a link to an inline task.
761         * org-inlinetask.el (org-inlinetask-insert-task): New command.
763         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
764         inline tasks when positioning footnotes.
766         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
767         function.
769         * org.el (org-refile): Remove the END line when archiving an
770         inline task that does have an END line.
772         * org-archive.el (org-archive-subtree): Remove the END line when
773         archiving an inline task that does have an END line.
775         * org-macs.el (org-with-limited-levels): New macro.
776         (org-get-limited-outline-regexp): New function.
778         * org-exp.el (org-export-format-source-code-or-example): Fix bug
779         that did not enumerate first line.
780         (org-export-mark-radio-links): Skip matches in links.
782 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
784         * org.el (org-activate-plain-links): Make single-match.
785         (org-adapt-indentation): Fix docstring.
787         * org-macs.el (org-unmodified): Turn of modification hooks while
788         running this macro.
790 2009-08-02  Bastien Guerry  <bzg@altern.org>
792         * org.el (org-adapt-indentation): Slightly improve the docstring.
793         (org-occur): Sends an error when the user inputs an empty string.
794         (org-priority): Bugfix: the tag alignement should happen within
795         save-excursion.
797 2009-07-31  Bastien Guerry  <bzg@altern.org>
799         * org.el (org-make-link-regexps): Don't exclude parentheses from
800         `org-plain-link-re'
801         (org-cycle-internal-local): When locally cycling, switch directly
802         from CHILDREN to FOLDED if there is no subtree
803         (org-cycle): Update the docstring to document the new behavior of
804         `org-cycle-internal-local'.
806 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
808         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
809         an abbreviated format for days.
811 2009-07-27  Bastien Guerry  <bzg@altern.org>
813         * org-protocol.el (org-protocol-default-template-key): New
814         option.
816         * org.el (org-refile): Bugfix: save-excursion before reading the
817         refile target, otherwise cursor moves might confuse `org-refile'.
819         * org-html.el (org-export-as-html): Bugfix: correctly convert the
820         footnote reference before the footnote itself.
822         * org.el (org-toggle-heading): Bugfix: correctly convert list
823         items before the first headline.
825         * org-html.el (org-export-html-footnote-format): New option for
826         formatting the footnote reference.
827         (org-export-as-html): Use the new option.
829         * org.el (org-provide-todo-statistics): Allow a list of TODO
830         keywords to compute statistics against headlines containing a
831         keyword from this list.
832         (org-update-parent-todo-statistics): Possibly use the new allowed
833         value of `org-provide-todo-statistics'.
835 2009-07-26  Bastien Guerry  <bzg@altern.org>
837         * org-timer.el: Add autoload cookie.
839         * org.el (org-occur-link-in-agenda-files): New function.
841         * org-timer.el (org-timer-last-timer): New variable.
843         * org-agenda.el (org-agenda-mode-map): New key for
844         org-timer-set-timer called from the agenda.
846         * org.el (org-mode-map): New key for org-timer-set-timer.
848         * org-timer.el (org-timer-reset-timers)
849         (org-timer-show-remaining-time, org-timer-set-timer): New
850         functions.
852         * org-clock.el (org-show-notification): Update the docstring.
854         * org.el (org-provide-todo-statistics): Allow new value
855         'all-headlines for this option, which includes entries with no
856         TODO keywords in the todo statistics.
857         (org-update-parent-todo-statistics): Possibly use the new
858         'all-headline value from `org-provide-todo-statistics'.
860 2009-07-25  Bastien Guerry  <bzg@altern.org>
862         * org-clock.el (org-dblock-write:clocktable): Add a new option
863         :timestamp which allows display of timestamps in clock reports.
865         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
866         list to a subtree, preserving the structure of the list.
867         (org-set-emph-re): Make the last element optional in the regexp.
868         This regexp now matches an emphasized string at the end of a line.
870         * org-list.el (org-list-goto-true-beginning)
871         (org-list-make-subtree, org-list-make-subtrees): New functions.
873         * org.el (org-eval-in-calendar): Select the right frame.
874         (org-save-frame-excursion): Remove this macro.
876 2009-07-24  Bastien Guerry  <bzg@altern.org>
878         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
879         trying to find the beginning of a list.
881         * org-exp.el (org-get-file-contents): Use a new argument: markup.
882         When present, tell org-get-file-contents not to protect org-like
883         lines.
885         * org-id.el (org-id-uuid-program): New option to set the name of
886         the uuidgen program.
887         (org-id-method): Use `org-id-uuid-program'.
888         (org-id-new): Use `org-id-uuid-program'.
890 2009-07-23  Bastien Guerry  <bzg@altern.org>
892         * org-exp.el (org-export-number-lines): Allow whitespace in code
893         references.  Allow the -r switch to remove the references in the
894         source code even when the lines are not numbered: the labels can
895         be explicit enough.
897         * org.el (org-fontify-whole-heading-line): New option.
898         (org-set-font-lock-defaults): Use the new option.
900         * org-clock.el (org-show-notification-handler): New option.
901         (org-show-notification): Use the new option.
903 2009-07-21  Bastien Guerry  <bzg@altern.org>
905         * org.el (org-eval-in-calendar): Fix a bug about calendar
906         navigation when `calendar-setup' value is 'calendar-only.
908 2009-07-19  Bastien Guerry  <bzg@altern.org>
910         * org.el (orgstruct++-mode): Fix typo in docstring.
911         (org-insert-link): Clean up: (or (...)) => (...)
912         (org-insert-link): Use TAB for stored links completion.
914 2009-07-18  Bastien Guerry  <bzg@altern.org>
916         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
917         building the list of targets.
919         * org-remember.el (org-remember-delete-empty-lines-at-end): New
920         option.
921         (org-remember-handler): Use the new option.
923 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
925         * org.el (org-tags-sort-function): New option for sorting tags.
926         (org-set-tags): Use the new option to sort tags.
928         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
929         premature deletion of the data when using org-plot in a script.
931 2009-07-17  Bastien Guerry  <bzg@altern.org>
933         * org-clock.el (org-clock-in-prepare-hook): New hook.
934         (org-clock-in): Use this new hook.
936 2009-07-16  Bastien Guerry  <bzg@altern.org>
938         * org.el (org-special-ctrl-a/e): Explicitely bind the value
939         'reversed for this option to the "true line boundary first"
940         behavior.
941         (org-tags-match-list-sublevels): Document the 'indented value for
942         this variable.
944         * org-latex.el (org-export-latex-first-lines): Fix problem with
945         publishing the region.
947         * org-exp.el (org-export-format-source-code-or-example): Fix
948         bad line numbering when exporting examples in HTML.
950 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
952         * org-colview.el (org-format-time-period): Formats a time in
953         fractional days as days, hours, mins, seconds.
954         (org-columns-display-here): Add special handling for SINCE and
955         SINCE_IA to format for display.
957         * org.el (org-time-since): Add a function to get the time since an
958         org timestamp.
959         (org-entry-properties): Add two new special properties: SINCE and
960         SINCE_IA. These give the time since any active or inactive
961         timestamp in an entry.
962         (org-special-properties): Add SINCE, SINCE_IA.
963         (org-tags-sort-function): Add custom declaration for tags
964         sorting function.
965         (org-set-tags): Sort tags if org-tags-sort-function is set
967 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
969         * org-clock.el (org-clock-goto): Find hidden headlines as well.
971         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
973         * org-plot.el (org-plot/add-options-to-plist): Add timeind
974         option.
976 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
978         * org-publish.el (org-publish-remove-all-timestamps): New function.
979         (org-publish-all): Remove all timestamp files if `org-publish-all'
980         is called with a prefix argument.
982         * org-list.el (org-indent-item): Fix typo.
983         (org-item-indent-positions): Normalize ordered bullet.
985         * org-html.el (org-export-html-home/up-format): New option.
986         (org-export-as-html): Insert the up and HOME links.
988 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
990         * org-html.el (org-export-as-html): Insert the title into the
991         option plist.
992         (org-export-html-insert-plist-item): New function.
993         (org-export-as-html): Call `org-export-html-insert-plist-item'.
995         * org-macs.el (org-set-local): Make a local variable, do not make
996         the variable buffer-local!
998         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1000         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1002         * org-docbook.el (org-export-as-docbook): Call
1003         `org-install-letbind'.
1005         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1007         * org-exp.el (org-infile-export-plist): Read BIND lines.
1008         (org-install-letbind): New function.
1009         (org-export-as-org, org-export-preprocess-string): Call
1010         `org-install-letbind'.
1012         * org-src.el (org-edit-src-exit): Untabify the example before
1013         returning to Org.
1015         * org-list.el (org-list-demote-modify-bullet): New option.
1016         (org-first-list-item-p): Save point.
1017         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1018         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1019         (org-item-indent-positions): Return bullet types along with
1020         indentation.
1022 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1024         * org.el (org-show-entry): Hide drawers.
1026 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1028         * org-footnote.el (org-footnote-auto-adjust): New option.
1029         (org-footnote-auto-adjust-maybe): New function.
1030         (org-footnote-new, org-footnote-delete): Call
1031         `org-footnote-auto-adjust-maybe'.
1033         * org.el (org-startup-options): Add new footnote-related
1034         keywords.
1036         * org-publish.el (org-publish-timestamp-filename): Additional
1037         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1038         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1039         TRUE-PUB-DIR.  Pass them through to
1040         `org-publish-timestamp-filename'.
1041         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1042         PUB-FUNC, which are included in the hash.
1043         (org-publish-file): Delay timestamp test until the publishing
1044         function is known.
1046 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1048         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1049         setting the deadline.
1051         * org.el (org-read-date-final-answer): New variable.
1052         (org-read-date): Store the final answer string, including the date
1053         from the calendar, for reuse by agenda bulk commands.
1055         * org-publish.el (org-publish-attachment): Fix publishing of
1056         attachments.
1058         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1059         quotation makrs in parenthesis.
1060         (org-remove-initial-hash): New function.
1061         (org-export-latex-preprocess): Fix bug with infinite loop if
1062         environment is not properly closed.
1064         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1065         when indented.
1067         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1068         highlight also when indented.
1070 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1072         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1073         (org-footnote-action): Offer renumbering.
1075         * org.el (org-cycle): Honor the `integrate' value of
1076         org-cycle-include-plain-lists'.
1078         * org-list.el (org-cycle-include-plain-lists): New allowed value
1079         `internal'.  Improve the docstring.
1081         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1082         regexp to work better with LaTeX commands.
1084 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1086         * org-feed.el (org-feed-update): fix problem with non-existing
1087         buffer.
1088         (org-feed-skip-http-headers): New function.
1089         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1090         (org-feed-get-feed): Fix command line arguments for curl.
1092 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1094         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1095         and eps extensions.
1097 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1099         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1100         loaded.
1102         * org.el (org-map-entries): No longer force
1103         `org-tags-match-list-sublevels' to t during a todo-only tags
1104         search.
1106 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1108         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1109         environment.
1110         (org-export-latex-subcontent): Handle user-defined environment.
1112         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1113         the View dispatcher.
1115         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1116         `make-overlay'.
1118         * org-latex.el (org-export-as-pdf): Protect match data during call
1119         to shell-quote-argument.
1121         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1122         (org-agenda-view-mode-dispatch): New function.
1124 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1126         * org-agenda.el (org-agenda-mode): Reset list of marks.
1127         (org-agenda-mode-map): Define new keys for refile and bulk action.
1128         (org-agenda-menu): Add menu itesm for refile and bulk action.
1129         (org-agenda-refile): New function.
1130         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1131         (org-agenda-marked-entries): New variable.
1132         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1133         (org-agenda-remove-all-bulk-action-marks)
1134         (org-agenda-bulk-action): New functions/commands.
1136 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1138         * org-exp.el (org-get-file-contents): Protect org-like lines in
1139         included files.
1140         (org-export-format-source-code-or-example): Remove newlines.
1142         * org-latex.el (org-export-latex-links): Check for no-description
1143         marking.
1145         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1146         argument separator back to comma.
1147         (org-export-normalize-links): Mark links without description.
1149 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1151         * org-exp.el (org-infile-export-plist): Fix bug in macro
1152         processing.
1154         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1155         out.
1156         (org-agenda-highlight-todo): Fix bug with highlighting.
1158 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1160         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1161         new alignment strings.
1163         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1164         command list.
1165         (org-table-align): Check for forced align type.
1167         * org.el (org-self-insert-command): Add yas/expand to command
1168         list.
1170         * org-clock.el (org-clock-in-hook): New hook.
1171         (org-clock-in): Run `org-clock-in-hook.
1172         (org-clock-out-hook): New hook.
1173         (org-clock-out): Run `org-clock-out-hook.
1174         (org-clock-cancel-hook): New hook.
1175         (org-clock-cancel): Run `org-clock-cancel-hook.
1176         (org-clock-goto-hook): New hook.
1177         (org-clock-goto): Run `org-clock-goto-hook.
1179 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1181         * org.el (org-store-link): Better default description for link to
1182         Org-mode headline.
1184         * org-exp.el (org-export-generic): Autoload the generic exporter
1185         function.
1186         (org-export): Implement the `g' key for the generic exporter.
1188 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1191         and for zbacktab'.
1193         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1195         * org-exp.el (org-infile-export-plist): Get macros also from
1196         #+SETUPFILE.
1198 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1200         * org-colview.el (org-columns-capture-view): Protect vertical bars
1201         in column values.
1202         (org-columns-capture-view): Exclude comment and archived trees.
1204         * org-colview-xemacs.el (org-columns-capture-view): Protect
1205         vertical bars in column values.
1206         (org-columns-capture-view): Exclude comment and archived trees.
1208         * org.el (org-quote-vert): New function.
1210         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1212         * org-exp.el (org-export-format-source-code-or-example): Use
1213         `org-export-latex-verbatim-wrap'.
1215         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1216         time stamps.
1218         * org-html.el (org-export-table-row-tags): New option.
1219         (org-format-org-table-html): Rename `nlines' to `nline', use new
1220         option.
1223 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1225         * org-exp-blocks.el: Declare functions and variables.
1227         * org-remember.el (org-remember-templates): Allow the headline
1228         element to be a function.
1229         (org-remember-apply-template): If the headline is a function, call
1230         it to get the true function.
1232         * org-clock.el (org-clock-menu): New function.
1233         (org-clock-update-mode-line): Update help string.
1234         (org-clock-modify-effort-estimate): New function.
1235         (org-clock-mark-default-task): New function.
1237         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1238         minutes as input.
1239         (org-org-menu): Add new clocking stuff.
1240         (org-clock-is-active): New function.
1242 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1244         * org.el (org-open-non-existing-files): Improve docstring.
1246 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
1248         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1249         option.
1250         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1252         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1254         * org-list.el (org-get-checkbox-statistics-face): Use the new
1255         faces.
1257         * org-faces.el (org-checkbox-statistics-todo)
1258         (org-checkbox-statistics-done): New faces.
1260 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
1262         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1263         (org-edit-src-exit): Better cursor positioning when returning from
1264         editing.
1266         * org-latex.el (org-export-latex-use-verb): New variable.
1267         (org-export-latex-emph-format): Prefer \texttt over \verb when
1268         org-export-latex-use-verb is set.
1270 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
1272         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1273         at normal indentation.
1275         * org-html.el (org-export-html-close-lists-maybe): Also look at
1276         normal indentation.
1278         * org-remember.el (org-remember-handler): Abort remember if the
1279         buffer is empty.
1281         * org-src.el (org-edit-src-content-indentation): New option.
1282         (org-edit-src-exit): Apply extra indentation.
1284         * org-exp.el (org-export-format-source-code-or-example): Run
1285         `org-src-mode-hook'.
1287         * org-src.el (org-src-mode-hook): New variable.
1288         (org-edit-src-code): Run `org-src-mode-hook'.
1290 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1292         * org.el (org-indent-line-function): Fix indentation of +#end lines.
1294         * org-src.el (org-edit-src-get-indentation): New function.
1295         (org-edit-src-code): Base indentation on the begin line.
1297 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
1299         * org-gnus.el (org-gnus-store-link): Require message.el in
1300         org-gnus-store-link.
1302 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1304         * org-src.el: New file, split out of org.el
1306         * org-docbook.el (org-export-as-docbook): Better indentation
1307         treatment.
1309         * org-macs.el (org-replace-match-keep-properties): New function.
1311         * org-exp.el (org-export-mark-blockquote-verse-center): Better
1312         preprocessing of center and quote and verse blocks.
1314         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1315         (org-export-as-docbook): Close lists when original indentation
1316         mandates it.
1318         * org-html.el (org-export-html-close-lists-maybe): New function.
1319         (org-export-as-html): Close lists when original indentation
1320         mandates it.
1322         * org-list.el (org-list-end): Respect the stored "original"
1323         indentation when determining the end of the list.
1325         * org-exp.el (org-export-replace-src-segments-and-examples):
1326         Remember indentation correctly.
1328 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1330         * org-clock.el (org-clock-update-mode-line): Apply face
1331         org-mode-line-clock.
1333         * org-faces.el (org-mode-line-clock): New face.
1335 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1337         * org-gnus.el (org-gnus-store-link): Fix bug where
1338         `org-gnus-store-link' used wrong subject when called in an article
1339         buffer.  Patch provided by fengli AT gmail DOT com.
1341 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1343         * org-exp.el (org-export-format-source-code-or-example): Remember
1344         the original indentation of source code snippets and examples.
1346         * org-latex.el (org-export-as-latex): Relocate the table of
1347         contents.
1349         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1351         * org-agenda.el (org-run-agenda-series): Scope global options also
1352         when creating the agenda buffer.
1354 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1356         * org.el (org-adapt-indentation): Improve documentation.
1357         (org-insert-property-drawer): Respect org-adapt-indentation when
1358         inserting the drawer.
1359         (org-remove-flyspell-overlays-in): New function.
1360         (org-do-emphasis-faces, org-activate-plain-links)
1361         (org-activate-code, org-fontify-meta-lines-and-blocks)
1362         (org-activate-angle-links, org-activate-footnote-links)
1363         (org-activate-bracket-links, org-activate-dates)
1364         (org-activate-target-links, org-activate-tags): Remove flyspell
1365         overlays.
1367 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1369         * org.el (org-edit-src-save): New function.
1371         * org-clock.el (org-clock-out-switch-to-state): New option.
1372         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1374         * org-compat.el (org-compatible-face): Improve macro.
1376         * org.el (org-global-properties-fixed): Add default for
1377         CLOCK_MODELINE_TOTAL.
1379         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1380         andd tend.
1381         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1382         org-clock-sum.
1383         (org-clock-get-sum-start): New function.
1385         * org.el (org-startup-options): New keywords blockhide and
1386         blockshow.
1387         (org-mode): Add new invisibility spec.
1388         (org-set-startup-visibility): Hide block on startup if so
1389         desired.
1390         (org-hide-block-startup): New option.
1391         (org-block-regexp): New constant.
1392         (org-hide-block-overlays): New variable.
1393         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1394         (org-show-block-all, org-hide-block-toggle-maybe)
1395         (org-hide-block-toggle): New functions.
1396         (org-edit-src-exit): Do not quote lines starting with # and no +
1397         behind it.
1398         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1399         entry.
1401 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1403         * org.el (org-buffer-property-keys): Add Effort property for
1404         completion.
1406 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1408         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1409         when retrieving total clocked time in the subtree.
1411         * org.el (org-quoting-blocks): New variable.
1413 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1415         * org-table.el (org-table-store-formulas)
1416         (org-table-get-stored-formulas, org-table-fix-formulas)
1417         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1418         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1420         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1421         indented #+TBLFM line.
1423         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1424         indented #+TBLFM line.
1426         * org-colview.el (org-dblock-write:columnview): Allow indented
1427         #+TBLFM line.
1429         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1430         indented #+TBLFM line.
1432         * org-clock.el (org-dblock-write:clocktable): Allow indented
1433         #+TBLFM line.
1435 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1437         * org-exp.el (org-export-format-source-code-or-example): Make
1438         editing indented blocks work correctly.
1440         * org.el (org-edit-src-nindent): New variable.
1441         (org-edit-src-code, org-edit-fixed-width-region)
1442         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1443         editing indented blocks work correctly.
1445 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1447         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1448         indented blocks.
1449         (org-export-format-source-code-or-example): Fix indentation of
1450         blocks.
1451         (org-export-remove-indentation): New function.
1452         (org-export-select-backend-specific-text): Allow backend-specific
1453         code to be indented.
1454         (org-export-mark-blockquote-verse-center): Allow markers to be
1455         indented.
1457         * org.el (org-fontify-meta-lines): New function.
1458         (org-set-font-lock-defaults): Call the new fontification
1459         function.
1461         * org-faces.el (org-meta-line): New face
1462         (org-block):  New face.
1464 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1466         * org.el (org-treat-insert-todo-heading-as-state-change)
1467         (org-treat-S-cursor-todo-selection-as-state-change): New
1468         variables.
1469         (org-insert-todo-heading): Honor
1470         `org-treat-insert-todo-heading-as-state-change'.
1471         (org-shiftright, org-shiftleft): Honor
1472         `org-treat-S-cursor-todo-selection-as-state-change'.
1473         (org-inhibit-logging): New variable.
1475 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1477         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1478         range for marker position checking.
1480         * org-latex.el (org-export-latex-first-lines): Fix bug when
1481         exporting a region.
1483 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1485         * org-exp.el (org-export-push-to-kill-ring): Protect using
1486         x-set-selection, because that does not always work.
1488         * org-agenda.el (org-agenda-list): Apply the new face
1489         `org-agenda-date-today'.
1491         * org-faces.el (org-agenda-date-today): New face.
1493 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1495         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1496         creating appointments.
1498         * org-latex.el (org-export-latex-low-levels): Fix customization
1499         type.
1501         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1502         priority commands.
1504         * org-agenda.el (org-agenda-priority): Disable priority commands.
1506         * org.el (org-enable-priority-commands): New option.
1508         * org-colview-xemacs.el (org-columns-compute)
1509         (org-columns-number-to-string): Fix problems with empty fields.
1511         * org-colview.el (org-columns-compute)
1512         (org-columns-number-to-string): Fix problems with empty fields.
1514         * org-exp.el (org-export-push-to-kill-ring): New function.
1515         (org-export-copy-to-kill-ring): New option.
1517         * org-latex.el (org-export-as-latex): Call
1518         `org-export-push-to-kill-ring'.
1520         * org-html.el (org-export-as-html): Call
1521         `org-export-push-to-kill-ring'.
1523         * org-docbook.el (org-export-as-docbook): Call
1524         `org-export-push-to-kill-ring'.
1526         * org-ascii.el (org-export-as-ascii): Call
1527         `org-export-push-to-kill-ring'.
1529         * org-exp.el (org-export-show-temporary-export-buffer): New
1530         option.
1532         * org-latex.el (org-export-as-latex): Use
1533         `org-export-show-temporary-export-buffer'.
1535         * org-html.el (org-export-as-html): Use
1536         `org-export-show-temporary-export-buffer'.
1538         * org-docbook.el (org-export-as-docbook): Use
1539         `org-export-show-temporary-export-buffer'.
1541         * org-ascii.el (org-export-as-ascii-to-buffer): Use
1542         `org-export-show-temporary-export-buffer'.
1544         * org-exp.el (org-export-show-temporary-export-buffer): New
1545         option.
1546         (org-export-push-to-kill-ring): New function.
1548         * org-colview.el (org-columns-compile-map): New variable.
1549         (org-columns-new, org-columns-compute)
1550         (org-columns-number-to-string, org-columns-uncompile-format)
1551         (org-columns-compile-format): Implement new operators.
1553 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
1555         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1557         * org-html.el (org-export-html-xml-declaration): New option.
1558         (org-export-as-html): Use `org-export-html-xml-declaration'.
1560         * org-list.el (org-update-checkbox-count): Make property
1561         dependent.
1563         * org.el (org-hierarchical-todo-statistics): New option.
1564         (org-update-parent-todo-statistics): Modified to handle recursive
1565         statistics.
1567 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
1569         * org-publish.el (org-publish): Make this function behave
1570         correctly in interactive use when called with a prefix argument.
1572         * org.el (org-todo-statistics-hook): New hook.
1573         (org-update-parent-todo-statistics): Use new hook.
1574         (org-log-into-drawer): New function.
1575         (org-add-log-setup): Use the new `org-log-into-drawer' function to
1576         determine if we should be logging into a drawer.
1577         (org-log-into-drawer): Update docstring.
1578         (org-default-properties): Add LOG_INTO_DRAWER as a property.
1580         * org-list.el (org-checkbox-statistics-hook): New hook.
1581         (org-update-checkbox-count-maybe): Use new hook.
1583         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1584         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1585         to kill ring.
1587 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
1589         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1590         a line.
1592 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
1594         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1595         better bufer-generating mechanism.
1596         (org-edit-src-find-buffer): New function.
1598         * org-icalendar.el (org-print-icalendar-entries): Don't check for
1599         archive tag, this is already done by `org-agenda-skip'.
1600         data while constructing lost of tags.
1602 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
1604         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1605         as argument separator in macros.
1607         * org-html.el (org-export-as-html): Add xml declaration.
1609 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
1611         * org.el (org-after-sorting-entries-or-items-hook): New hook.
1612         (org-sort-entries-or-items): Run the new hook.
1613         (org-after-refile-insert-hook): New hook.
1614         (org-refile): Run `org-after-refile-insert-hook'.
1616         * org-agenda.el (org-agenda-get-progress): Never take time of day
1617         from headline when displaying progress.
1619         * org-latex.el (org-export-latex-complex-heading-re): New variable.
1620         (org-export-as-latex): Force the correct regexp in the
1621         preprocessor buffer.
1622         (org-export-latex-set-initial-vars): Set
1623         `org-export-latex-complex-heading-re'.
1625         * org-agenda.el (org-agenda-start-with-log-mode): New option.
1626         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1628 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
1630         * org-latex.el (org-export-latex-tables-centered): New option.
1631         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1633         * org-exp.el (org-export-as-org): New command.
1634         (org-export-as-org): New command.
1636         * org-publish.el (org-publish-org-to-org): New function.
1638 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
1640         * org.el (org-yank): Just call `org-yank-generic'.
1641         (org-yank-generic): New function, containing the formaer
1642         functionality of `org-yank'.
1644         * org-latex.el (org-export-latex-not-done-keywords)
1645         (org-export-latex-done-keywords): New variables.
1646         (org-export-latex-todo-keyword-markup): New option.
1647         (org-export-latex-set-initial-vars): Remember the TODO keywords.
1648         (org-export-latex-keywords-maybe): Apply the TODO markup.
1650 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
1652         * org-exp.el (org-infile-export-plist): Add more default macros.
1653         (org-export-preprocess-apply-macros): Process macro arguments.
1655 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
1657         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1658         `unblocked'.
1659         (org-print-icalendar-entries): Respect the new value of
1660         `org-icalendar-include-todo'.
1662         * org.el (org-link-try-special-completion)
1663         (org-file-complete-link): New functions.
1664         (org-insert-link): Add special completion support for some link
1665         types.
1667         * org-bbdb.el (org-bbdb-complete-link): New function.
1669 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1671         * org-list.el (org-update-checkbox-count): Allow recursive
1672         statistics.
1673         (org-hierarchical-checkbox-statistics): New option.
1675         * org.el (org-cycle): Remove erraneous space character.
1677         * org-icalendar.el (org-icalendar-timezone): Initialize from
1678         environment.
1680         * org-html.el (org-format-org-table-html): Specify the scope.
1681         (org-format-table-table-html): Specify the scope.
1682         (org-export-table-header-tags): Prepare the scope parameter.
1684 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1686         * org-html.el
1687         (org-export-html-table-use-header-tags-for-first-column): New
1688         option.
1690         * org.el (org-autoload): Fix autoloading of ascii export
1691         functions.
1692         (org-modules): Add org-special-blocks.
1694 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1696         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1697         (org-ical-timezone): New option.
1699         * org-exp.el (org-export-get-coderef-format): Use the description
1700         is present.
1702         * org.el (org-sort-entries-or-items): Improve docstring, and make
1703         better implementation for time sorting.
1705 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1707         * org.el (org-edit-src-persistent-message): New option.
1708         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1709         option.
1711         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1712         patch.
1714         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1715         separate buffer instead of indirect buffer to edit source code.
1716         (org-edit-src-exit): Make this function work with the new setup.
1718         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1719         are properly fontified before shown in the selection menu.
1721         * org.el (org-fontify-like-in-org-mode): New function.
1723         * org-latex.el (org-export-latex-links): Use the property list to
1724         retrieve the default image attributes.
1726         * org-exp.el (org-export-plist-vars): Add a new option.
1728 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org-exp.el (org-export, org-export-visible): Support ASCII
1731         export to buffer
1732         (org-export-normalize-links): Do not protect the description if it
1733         is explicitly given.
1735         * org-ascii.el (org-export-as-ascii-to-buffer)
1736         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1737         commands.
1738         (org-export-as-ascii): Add all the same parameters that are also
1739         supported by the other export functions.
1741         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1742         org-checklist.el.
1743         (org-reset-checkbox-state-subtree): Call
1744         `org-reset-checkbox-state-subtree'.
1746         * org-remember.el (org-select-remember-template): For the
1747         selection of a valid template.
1749         * org-latex.el (org-export-region-as-latex): Supply the
1750         force-no-subtree argument.
1751         (org-export-as-latex): Provide better limits when exporting the
1752         first line.  When exporting to string, we still want the first
1753         lines.
1754         (org-export-latex-first-lines): New argument END, to force the end
1755         of the region.
1756         (org-export-region-as-latex): Use the property list.
1757         (org-export-as-latex):
1759         * org-colview-xemacs.el (org-columns-remove-overlays)
1760         (org-columns): Fix call to `local-variable-p'.
1762 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1764         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1765         (org-export-as-html): Run the new hook.
1767         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1768         (org-export-latex-preprocess): Run the new hook.
1770         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1771         (org-export-preprocess-string): Run the new hook.
1773 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1775         * org-macs.el (org-check-external-command): New defsubst.
1777         * org.el (org-mode-map): New key for reload.
1778         (org-format-latex): Better error message when external programs
1779         are not available.
1781         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1783         * org.el (org-sort-entries-or-items): Explicit sorting function
1784         for priorities, needed for XEmacs compatibility.
1786         * org-remember.el (org-remember-apply-template): Improve auto-save
1787         behavior.
1789 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1791         * org-latex.el (org-export-latex-preprocess): Also protect
1792         environments ending in a star.
1794         * org-list.el (org-at-item-p): Fix regular expression.
1796 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1798         * org.el (org-end-of-subtree): Improve speed.
1800         * org-agenda.el (org-agenda-get-timestamps)
1801         (org-agenda-get-progress, org-agenda-get-deadlines)
1802         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1803         in particular, wait as long as possible to collect the tags.
1804         (org-stuck-projects): Improve docstring.
1806         * org.el (org-store-link): No errors when getting custom id before
1807         first headline.
1808         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1810 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1812         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1814         * org-protocol.el: Remove dependency on url.el.
1815         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1816         dependency on url.el.
1818         * org-latex.el (org-export-as-pdf): Use
1819         `org-latex-to-pdf-process'.
1821 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1823         * org-latex.el (org-latex-to-pdf-process): New option.
1825         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1826         New option.
1827         (org-agenda-get-timestamps): Honor
1828         `org-agenda-skip-additional-timestamps-same-entry'.
1830         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1831         (org-clock-goto): Find recent task only if
1832         `org-clock-goto-may-find-recent-task' allows it.
1834         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1835         drawers, and drawers that are missing the :END: line.
1837 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1839         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1840         clock is running.
1842 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1844         * org.el (org-update-parent-todo-statistics): Check for
1845         STATISTICS_FROM property.
1847         * org-list.el (org-update-checkbox-count): Check for
1848         STATISTICS_FROM property.
1850         * org.el (org-tab-first-hook)
1851         (org-tab-after-check-for-table-hook)
1852         (org-tab-after-check-for-cycling-hook): New hooks.
1853         (org-cycle-internal-global, org-cycle-internal-local): New
1854         functions, split out from `org-cycle'.
1855         (org-cycle): Call the new hooks.
1857 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1859         * org-exp.el (org-export-preprocess-string): Reset the list of
1860         preferred targets for each run of the preprocessor.
1862         * org.el (org-refile-target-verify-function): Improve
1863         documentation.
1864         (org-get-refile-targets): Respect point being moved by the
1865         verification function.
1867         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1868         option.
1869         (org-export-latex-keywords): Use new option.
1871         * org.el (org-rear-nonsticky-at): New defsubst.
1872         (org-activate-plain-links, org-activate-angle-links)
1873         (org-activate-footnote-links, org-activate-bracket-links)
1874         (org-activate-dates, org-activate-target-links)
1875         (org-activate-tags): Place the rear-nonsticky properties at the
1876         correct location.
1878 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1880         * org-protocol.el (server-edit): Declare `server-edit'.
1881         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1882         functions.
1883         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1885         * org.el (org-default-properties): New default properteis for
1886         completion.
1888         * org-exp.el (org-export-add-subtree-options): Add new properties
1889         for subtree export.
1891         * org-docbook.el (org-export-docbook-keywords-markup)
1892         (org-export-docbook-timestamp-markup): New options.
1893         (org-export-docbook-protect-tags): New function.
1895 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1897         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1898         org-refile-target-verify-function for the duration of the command.
1900         * org.el (org-link-to-org-use-id): New possible value
1901         `create-if-interactive-and-no-custom-id'.
1902         (org-store-link): Use custom IDs.
1903         (org-link-search): Find custom ID properties from #link.
1904         (org-default-properties): Add CUSTOM_ID for property completion.
1905         (org-refile-target-verify-function): New option.
1906         (org-goto): Turn off org-refile-target-verify-function
1907         for the duration of the command.
1909 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1911         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1913         * org-exp.el (org-export-preferred-target-alist): New variable.
1914         (org-export-define-heading-targets): Find the new CUSTOM_ID
1915         property.
1916         (org-export-target-internal-links): Target the custom ids when
1917         possible.
1919         * org-latex.el (org-export-latex-preprocess): Better regexp for
1920         matching latex macros with arguments.
1922 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1924         * org-remember.el (org-remember-handler): Allow filing to non-org
1925         files.
1927 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1929         * org-feed.el (org-feed-alist): New keyword options.
1930         (org-feed-update): Use the new options.
1931         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1932         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1933         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1934         functions.
1936         * org-table.el (org-table-fix-formulas): Do not change references
1937         to remote tables.
1938         (org-table-get-remote-range): Convert standard coordinates to RC
1939         format.
1941         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1943 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1945         * org-compat.el (org-sha1-string): Function removed.
1947         * org.el (org-refile-allow-creating-parent-nodes): New option.
1948         (org-refile-get-location): New argument NEW-NODES.
1949         (org-refile): Call `org-refile-get-location' with the new
1950         argument.
1951         (org-refile-get-location): Arrange for adding a new child.
1952         (org-refile-new-child): New function.
1954         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1955         an additional span element.
1957         * org-clock.el: Fix a number of docstrings.
1958         (org-clock-find-position): New argument
1959         FIND-UNCLOSED to make the function find an unclosed clock in the
1960         entry.
1961         (org-clock-in): Call `org-clock-find-position' with the new
1962         argument if we might be resuming a clock.
1964 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1966         * org-latex.el (org-export-latex-display-custom-times): New variable.
1967         (org-export-latex-timestamp-markup): New option.
1968         (org-export-latex-set-initial-vars): Remember the local value of
1969         `org-display-custom-times'.
1970         (org-export-latex-content): Process time stamps.
1971         (org-export-latex-time-stamps): New function.
1973         * org-macs.el (org-maybe-intangible): Add intangible property
1974         again to invisible text.
1976 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1978         * org-exp.el (org-default-export-plist): Handle undefined
1979         variables.
1981 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1983         * org.el (org-sort-entries-or-items): Match TODO keywrds
1984         case-sensitively, when sorting.
1985         (org-priority): Do not match TODO keywords with wrong case.
1987 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-feed.el (org-feed-update): Bind the variable
1990         `new-formatted'.
1992         * org-html.el (org-export-as-html): Start paragraphs after literal
1993         examples.
1995         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1996         literal examples.
1998 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2000         * org.el (org-todo): Honor the NOBLOCKING property.
2002         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2003         NOBLOCKING property.
2005         * org.el (org-scan-tags): Fix bug in tag scanner
2007 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2009         * org.el (org-modules): Mark obsolete packages.
2011         * org-html.el: New file, split out from org-exp.el.
2013         * org-icalendar.el: New file, split out from org-exp.el.
2015         * org-xoxo.el: New file, split out from org-exp.el.
2017         * org-ascii.el: New file, split out from org-exp.el.
2019 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2021         * org-compat.el (org-find-library-name): New function.
2023         * org.el (org-pre-cycle-hook): New hook.
2024         (org-cycle): Call the new hook in appropriate places.
2025         (org-reload): Only reload files that have been loaded before.
2027 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2030         after todo keyword.
2031         (org-todo): When changing TODO state, do matching
2032         case-sensitively.
2033         (org-map-continue-from): New variable.
2034         (org-scan-tags): Respect values in `org-map-continue-from'.
2035         (org-reload): Make XEmacs compatible.
2037 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2039         * org-protocol.el (org-protocol-flatten-greedy): New function.
2040         (org-protocol-flatten): New function.
2042         * org.el (org-open-link-from-string): Pass reference buffer to
2043         `org-open-at-point'.
2044         (org-open-at-point): New optional argument `reference-buffer'.
2046 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2048         * org.el (org-scan-tags): Make tag scan find headline in first
2049         line, 2nd attempt.
2050         (org-get-refile-targets): Add the naked file name.
2051         (org-refile): Store as top-level entry when only file name was
2052         given.
2054         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2056         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2057         Renamed from org-block-todo-from-children-or-siblings, and
2058         enhanced to look for the parent's status as well.
2060         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2061         (org-agenda-get-progress): Add first notes line to log entry if so
2062         desired.
2064 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2066         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2067         (org-agenda-cleanup-fancy-diary): Call the new hook.
2069         * org-remember.el (org-remember-apply-template): Take the default
2070         for the annotation from the :annotation property.
2072         * org-mac-message.el (org-mac-message-get-link): Remove the
2073         quotes.
2074         (org-mac-message-get-link): Return the result.
2076 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2078         * org.el (org-refile-get-location): Add file name only if not
2079         already included in outline path.
2081         * org-faces.el (org-n-level-faces): Fix customization type from
2082         number to integer.
2084         * org-exp.el (org-export-headline-levels): Fix customization type
2085         from number to integer.
2087         * org-agenda.el (org-agenda-confirm-kill)
2088         (org-agenda-custom-commands-local-options)
2089         (org-timeline-show-empty-dates, org-agenda-ndays)
2090         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2091         customization type from number to integer.
2093 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org-protocol.el: Declare some functions.
2097         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2098         postion before inserting modified headline.
2100         * org-agenda.el (org-agenda-compare-effort): Honor
2101         `org-sort-agenda-noeffort-is-high'.
2102         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2103         (org-agenda-compare-effort): Implement the "?" operator for
2104         finding entries without effort setting.
2106         * org.el (org-extract-attributes-from-string): New function.
2108         * org-exp.el (org-export-splice-attributes): New function.
2110 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2112         * org-mouse.el: XEmacs compatibility fixes
2114         * org-docbook.el (org-export-as-docbook): Process footnotes like
2115         normal text.
2117         * org.el (org-modules): Add org-inlinetasks.el
2118         (org-cycle): Implement limiting level on cycling.
2119         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2120         buffer.
2122         * org-inlinetask.el: New file.
2124         * org.el (org-emphasis-regexp-components): Allow braces in
2125         emphasis pre and post match.
2127         * org-footnote.el (org-footnote-normalize): When only dorting, do
2128         not insert inline notes at the end.
2130         * org-docbook.el (org-id-find-id-file): Add function declaration.
2132         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2134         * org-docbook.el: New file.
2136 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2138         * org.el (org-reftex-citation): New command.
2140 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2142         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2143         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2144         sorting options.
2145         (org-entries-lessp): Apply the new sorting option.
2147         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2148         blocker code, when an older sibling has children.
2150         * org-mac-message.el (org-mac-message-get-link): Improve getting
2151         links from multiple selected messages.
2153 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2155         * org-remember.el (org-remember-finalize): Do not set buffer file
2156         name to nil.
2157         (org-remember-handler): Mark buffer as unmodified.
2158         (org-remember-handler): Delete backup file and show message about
2159         remaining backup files.
2160         (org-remember-auto-remove-backup-files): New option.
2162         * org.el (org-store-link): Use buffer name as link description in
2163         w3-mode buffers.
2164         (org-ido-switchb): Fix argument bug for completion.
2166         * org-remember.el (org-remember-apply-template): Set local
2167         variable `auto-save-visited-file-name' instead of global one.
2169 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2171         * org-feed.el: Re-write.
2173         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2174         (org-agenda-get-todos): Mark file tags as inherited.
2175         (org-agenda-list): Always search diary lines for a time.
2177 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2179         * org-feed.el (org-feed-assume-stable): New option.
2180         (org-feed-before-adding-hook): New hook.
2182         * org-exp.el (org-export-as-html): Close local lists depending on
2183         indentation, also when starting a table.
2185         * org-remember.el (org-remember-backup-directory)
2186         (org-remember-backup-name): New internal variable.
2188 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2190         * org-clock.el (org-clock-out-if-current): Make buffer detection
2191         work in indirect buffers as well.
2193         * org.el (org-emphasis-regexp-components): Add the exxclamation
2194         mark to the post-emphasis characters.
2196 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2199         (org-read-date): Run the new hook.
2201         * org-mac-message.el (org-mac-flagged-mail): New group.
2202         (org-mac-mail-account): New variable.
2203         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2204         commands.
2206         * org-remember.el (org-remember-backup-directory): New variable.
2207         (org-remember-apply-template): Write file to backup directory.
2209 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2211         * org-mouse.el (org-mouse-todo-menu): New function.
2212         (org-mouse-todo-keywords): Function removed.
2213         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2215         * org-table.el (org-table-beginning-of-field)
2216         (org-table-end-of-field): New commands
2217         (org-table-previous-field, org-table-beginning-of-field): Better
2218         error messages.
2219         (orgtbl-setup): Include `M-a' and `M-e'.
2221         * org.el (org-backward-sentence, org-forward-sentence): New
2222         commands.
2224         * org-colview.el (org-colview-initial-truncate-line-value): New
2225         variable.
2226         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2227         (org-columns): Remember the value of `truncate-lines'.
2229         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2230         New variable.
2231         (org-columns-remove-overlays): Restore the value of
2232         `truncate-lines'.
2233         (org-columns): Remember the value of `truncate-lines'.
2235         * org.el (org-columns-skip-arrchived-trees): New option.
2237         * org-agenda.el (org-agenda-export-html-style): Define color for
2238         org-agenda-done face.
2239         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2240         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2242         * org.el (org-scan-tags): Use the new face.
2244         * org-faces.el (org-agenda-done): New face.
2246         * org.el (org-scan-tags): Test the value org
2247         `org-tags-match-list-sublevels'.
2248         (org-tags-match-list-sublevels): New allowed value: indented.
2250         * org-export-latex.el (org-export-latex-make-header): Apply macros
2251         in header.
2253         * org-exp.el (org-export-apply-macros-in-string): New function.
2255         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2256         with the definition of a checked box.
2258         * org-clock.el (org-clock-find-position): Fix drawer indentations.
2260         * org-export-latex.el (org-export-latex-low-levels): More options
2261         for how to process lower levels in LaTeX.
2262         (org-export-latex-subcontent): Better treatment for lists as a
2263         means of publishing lower levels.
2265 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
2267         * org.el (org-set-font-lock-defaults): Use new checkbox face.
2269         * org-faces.el (org-checkbox): New face.
2271         * org-exp.el (org-export-html-preprocess): Only create LaTeX
2272         fragement images if there is an export file.
2274 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
2276         * org-agenda.el (org-stuck-projects): Document that the subtree of
2277         projects that are not stuck will now be searched for stuck
2278         sub-projects.
2279         (org-agenda-skip-entry-when-regexp-matches)
2280         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2281         (org-agenda-list-stuck-projects): Use
2282         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2284         * org-export-latex.el (org-export-latex-preprocess): Improve
2285         export of verses.
2287         * org-exp.el (org-export-as-html): Implement centering as a div
2288         rather than a paragraph.  Do a better job with line-end in verse
2289         environments.
2291 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
2293         * org.el (org-open-at-point): Fix tags searches by mouse click.
2295 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
2297         * org-export-latex.el (org-export-latex-preprocess): Implement the
2298         centering markup.
2300         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2301         from `org-export-mark-blockquote-and-verse'.
2302         (org-export-as-html): Implement the centering markup.
2304         * org-export-latex.el (org-export-latex-tables): Fix vertical
2305         lines in tables.
2307 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
2309         * org.el (org-read-date-history): New variable.
2310         (org-read-date): Use new history variable.
2311         (org-toggle-heading): Fix bug when used before first headline.
2312         (org-store-log-note): Remove drawer if empty while note is
2313         aborted.
2314         (org-remove-empty-drawer-at): New function.
2315         (org-check-after-date): New command.
2316         (org-sparse-tree): New sparse tree command "a".
2318         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2320 2009-03-14  Bastien Guerry  <bzg@altern.org>
2322         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2323         column and a space, not only a column.
2325 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
2327         * org-export-latex.el (org-export-latex-emphasis-alist): Better
2328         defaults for verbose emphasis.
2329         (org-export-latex-emph-format): New function.
2330         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2332         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2333         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2334         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2335         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2336         commands.
2338         * org.el (org-timestamp-change): Move end-time along with start
2339         time.
2341 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2343         * org-exp.el (org-export-target-internal-links)
2344         (org-export-as-html): Protect links specified as #name.
2346 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2348         * org.el (org-clone-subtree-with-time-shift): New command.
2350         * org-export-latex.el (org-export-latex-special-chars)
2351         (org-export-latex-treat-sub-super-char): Fix subscript export.
2353         * org-exp.el (org-create-multibrace-regexp): Do not add
2354         backslashes to the class.
2356 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org-colview.el (org-columns-map): Better functions for moving up
2359         and down a row, even if `truncate-line' is nil.
2361         * org.el (org-insert-todo-heading): Make sure the keyword is
2362         inserted at the correct position.
2364         * org-publish.el (org-publish-project-alist)
2365         (org-publish-projects, org-publish-org-index): Change default anme
2366         for the index of file names to "sitemap.org".
2368         * org-export-latex.el (org-export-latex-tables): Use
2369         `org-split-string', for Emacs 21 compatibility.
2371 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2373         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2375 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2377         * org-exp.el (org-export-page-description)
2378         (org-export-page-keywords): New variables.
2379         (org-export-plist-vars): Add entries for :keywords and
2380         :description.
2381         (org-infile-export-plist): Parse for new keywords.
2382         (org-get-current-options): Add new keywords
2383         (org-export-as-html): Publish description and keywords.
2385         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2386         option.
2387         (org-agenda-add-entry-text): Honor
2388         `org-agenda-add-entry-text-descriptive-links'.
2390         * org-export-latex.el (org-export-latex-preprocess): Make all
2391         external preprocess functions use a PARAMETER arg.
2393         * org-exp.el (org-export-preprocess-string)
2394         (org-export-select-backend-specific-text)
2395         (org-export-format-source-code-or-example)
2396         (org-format-org-table-html): Support docbook export.
2397         (org-export-preprocess-string): Make all external preprocess
2398         functions use a PARAMETER arg.
2400 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2402         * org-exp.el (org-export-html-style-include-scripts): New option.
2403         (org-export-plist-vars): Add new option
2404         `org-export-html-style-include-scripts'.
2405         (org-export-as-html): Honor new option
2406         `org-export-html-style-include-scripts'.
2407         (org-export-html-scripts, org-export-html-style-default): Fix
2408         xml issues with the Safari browser.
2410 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2412         * org-publish.el (org-publish-attachment): Only copy file when the
2413         directories differ.
2415 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2417         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2418         for clocktable steps.
2420         * org.el (org-additional-option-like-keywords): Add two more
2421         keywords.
2423 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2425         * org-exp.el (org-export-format-source-code-or-example): Mark
2426         temporary buffer unmodified, so that it will be killed even if
2427         mode like message mode has decided to assign a file name.
2429         * org.el (org-scan-tags): Improve tag inheritance.
2430         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2431         case-sensitive.
2432         (org-scan-tags): Use the internal tags list instead of creating it
2433         from scratch.
2434         (org-trust-scanner-tags, org-scanner-tags): New variables.
2435         (org-scan-tags): Set `org-scanner-tags'.
2436         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2437         (org-map-entries): Document the possible speedup using scanner
2438         tags.
2440 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2442         * org.el (org-add-planning-info): Fix bug with looking for keyword
2443         only at column 0.
2445         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2446         option for tags filter preset.
2447         (org-prepare-agenda): Store filter preset as a property on the
2448         filter variable.
2449         (org-finalize-agenda): Call the filter, if there is a preset.
2450         (org-agenda-filter-by-tag): Filter again after clearing the
2451         filter, when there still is a preset.
2452         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2453         Include the preset filter.
2454         (org-agenda-redo): Apply the filter again, also the preset filter.
2456         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2458         * org.el (org-uuidgen-p): New funtion.
2460         * org-agenda.el (org-agenda-fontify-priorities): New default value
2461         `cookies'.
2462         (org-agenda-fontify-priorities): Renamed from
2463         org-fontify-priorities.
2465         * org.el (org-set-font-lock-defaults): Call
2466         `org-font-lock-add-priority-faces'.
2467         (org-font-lock-add-priority-faces): New function.
2469         * org-faces.el: (org-set-tag-faces): New option.
2470         (org-priority-faces): New variable.
2472         * org-exp.el (org-export-as-html): Add a "content" div around the
2473         entire content of the body tag.
2474         (org-export-html-get-bibliography): New function.
2475         (org-export-html-validation-link): New variable.
2476         (org-export-as-html): Add validation link to exported page.
2478         * org.el (org-match-sparse-tree): Renamed from
2479         `org-tags-sparse-tree'.
2480         (org-tags-sparse-tree): New alias.
2482 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2484         * org.el (org-get-valid-level): Catch the case where the level
2485         change is nil.
2487         * org-clock.el (org-clock-find-position): Better indentation of
2488         new clock drawers.
2490 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2492         * org-agenda.el (org-agenda-quit): Delete window only when the
2493         frame-setup was not `current-window'.
2495         * org.el (org-tag-persistent-alist): New option.
2496         (org-startup-options): Add keyword `noptag'.
2497         (org-fast-todo-selection): Handle :newline correctly.
2498         (org-set-tags): Handle :newline correctly.
2499         (org-fast-tag-selection): Handle :newline correctly.
2501 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2503         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2504         outputting it.
2505         (org-export-ascii-push-links): Fix bug with pussing links into the
2506         export buffer.
2508 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2510         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2511         pasting at top level.
2513         * org-bbdb.el: Improve documentation.
2515 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2517         * org-list.el (org-insert-item): Only consider insert empty lines
2518         is `org-empty-line-terminates-plain-lists' is not nil.
2520         * org.el (org-blank-before-new-entry): Mention the dependence on
2521         `org-empty-line-terminates-plain-lists' in the docstring.
2523         * org-publish.el (org-publish-get-project-from-filename): New
2524         optional argument UP.  Only find the top project if UP is set.
2525         (org-publish-current-project): Find the top encloding project.
2527         * org-agenda.el (org-agenda-before-write-hook)
2528         (org-agenda-add-entry-text-maxlines): New options.
2529         (org-write-agenda): Run the new hook in the temporary buffer.
2530         (org-agenda-add-entry-text): New function.
2531         (org-write-agenda): Implement PDF export, using ps2pdf.
2533         * org.el (org-global-properties-fixed, org-global-properties):
2534         Improve documentation string.
2536         * org-exp.el (org-export-ascii-links-to-notes): New option.
2537         (org-export-as-ascii): Handle links better.
2538         (org-export-ascii-wrap, org-export-ascii-push-links): New
2539         functions.
2541 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org-agenda.el (org-agenda): Make prefix arg optional.
2544         (org-agenda-search-headline-for-time): New option.
2545         (org-format-agenda-item): Honor
2546         `org-agenda-search-headline-for-time'.
2548         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2549         characters.
2551         * org.el (org-self-insert-cluster-for-undo): New option.
2552         (org-self-insert-command): Cluster undo for 20 characters.
2553         (org-self-insert-command-undo-counter): New variable.
2555 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
2557         * org-exp.el (org-export-as-html): Fix problem with closing colone
2558         example.
2560 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
2562         * org-export-latex.el (org-export-as-latex)
2563         (org-export-latex-first-lines): Avoid modification flag when
2564         adding or removing text properties.
2565         (org-export-latex-fontify): Catch error when org-emph-alist has
2566         entries that are not defined for LaTeX export.
2568         * org.el (orgstruct++-mode): New function.
2569         (turn-on-orgstruct++): Call `orgstruct++-mode'.
2570         (org-context-p): Allow detecting item context after the first line
2571         of an item.
2572         (orgstruct-make-binding): Detect if item-body context should be
2573         seen.
2574         (orgstruct-is-++): New variable.
2575         (org-add-planning-info): Catch the case when there is no planning
2576         info yet and the call does not want to add anything, only maybe
2577         tries to remove something.
2578         (org-special-ctrl-a/e): All value to be a cons cell with separate
2579         settings for `C-a. and `C-e'.
2580         (org-beginning-of-line, org-end-of-line): Honor separate values
2581         for `C-a' and `C-e'.
2583 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
2585         * org.el (org-reload): New command.
2587 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
2589         * org-exp.el (org-export-htm-get-tag-class-name)
2590         (org-export-htm-get-todo-kwd-class-name): New functions.
2591         (org-export-html-tag-class-prefix)
2592         (org-export-html-todo-kwd-class-prefix): New options.
2593         (org-export-as-html): Call
2594         `org-export-html-get-todo-kwd-class-name'.
2595         (org-html-level-start): Wrap tags into classes.
2596         (org-export-html-get-tag-class-name)
2597         (org-export-html-get-todo-kwd-class-name): New functions.
2599         * org-export-latex.el (org-export-latex-collect-header-macros):
2600         Remove fields that are used anyway.
2601         (org-export-latex-make-header): Insert the options earlier.
2603         * org-agenda.el (org-agenda-get-progress): Fix bug with state
2604         matching.
2606         * org-list.el (org-indent-item): Allow point to be at the end of
2607         the region.
2609         * org.el (org-metaleft, org-metaright): Be more accurate about
2610         detecting a region where commands apply.
2612         * org-compat.el (org-cursor-to-region-beginning): New function.
2614         * org.el (org-priority): Also find invisible heading.
2616         * org-colview-xemacs.el (org-columns-edit-value): No special
2617         treatment for `org-todo' prefix.
2619         * org-colview.el (org-columns-edit-value): No special treatment
2620         for `org-todo' prefix.
2622         * org-remember.el (org-remember-apply-template): Use
2623         `org-completing-read-no-ido'.
2625         * org.el (org-completing-read-no-ido): New function.
2626         (org-make-tags-matcher, org-set-property): Use
2627         `org-completing-read-no-ido'.
2629         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2630         New option.
2631         (org-export-as-latex): Import in-buffer settings as TeX macros.
2632         (org-export-latex-make-header): Additional parameter OPT-DEFS.
2633         (org-export-latex-collect-header-macros): New function.
2635         * org.el (org-refile-get-location): Turn off
2636         `partial-completion-mode'.
2638 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
2640         * org.el (org-block-todo-from-checkboxes): Announce that
2641         checkboxes are the culprit.
2642         (org-block-todo-from-children-or-siblings): Call
2643         `org-up-heading-all instead' of `outline-up-heading'.
2645         * org-agenda.el (org-agenda-show-1): Renamed from
2646         `org-agenda-show'.
2647         (org-agenda-show): Re-install the old version for now.
2648         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
2649         variable into the blokker hook, so that the checkbox checker can
2650         anounce that it caused the blocking.
2652         * org.el (org-track-ordered-property-with-tag): New option.
2653         (org-toggle-ordered-property): Honor
2654         `org-track-ordered-property-with-tag'.
2655         (org-tag-alist): Add newline options.
2656         (org-set-regexps-and-options): Separate option lines imply a
2657         newline.
2658         (org-set-regexps-and-options, org-assign-fast-keys)
2659         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2660         option.
2661         (org-indent-line-function): Make sure this works even if there is
2662         not `org-drawer-regexp' defined.  This can happen when
2663         orgstruct-mode is used in a non-org buffer.
2665         * org-list.el (org-checkbox-blocked-p): New function.
2666         (org-toggle-checkbox): Check for blocking.
2668         * org.el (org-modules): Add an entry for org-R.el.
2670         * org-agenda.el (org-agenda-todo-ignore-with-date)
2671         (org-agenda-todo-ignore-scheduled)
2672         (org-agenda-todo-ignore-deadlines): Mention the variable
2673         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2675         * org.el (org-get-wdays): Find the warning period also if it is in
2676         the wrong place.
2677         (org-ido-completing-read): Provide the correct arguments to
2678         ido-completing-read and bind `ido-enter-matching-directory' to
2679         nil.
2681 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2683         * org.el (org-olpath-completing-read): Never use ido for this
2684         one.
2686         * org-exp.el (org-export-normalize-links): Use new macro.
2688         * org-macs.el (org-if-unprotected-at): New macro.
2690         * org-agenda.el (org-agenda-show): Allow numerical prefix
2691         arguments to specify how much context should be shown.
2692         (org-agenda-cycle-show): New command, could be bound to SPC in
2693         org-agenda-mode-map.
2695         * org-exp.el (org-html-level-start): Space after section number.
2697 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2699         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2700         property, for sorting.
2701         (org-cmp-todo-state): Get the applicable TODO keywords directly
2702         from the buffer.
2703         (org-run-agenda-series, org-agenda-list, org-search-view)
2704         (org-todo-list, org-tags-view): Only fit agenda window when the
2705         whole series is done.
2707         * org.el (org-scan-tags): Add todo state as property, for sorting.
2709         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2710         `org-agenda-overriding-header' as an option.
2711         (org-agenda-list): Honor org-agenda-overriding-header'.
2713 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2715         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2716         after removing a checkbox.
2718         * org.el (org-show-entry): Make this work correctly also if it is
2719         the last entry in the file.
2720         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2721         falling back to normal, default command.
2722         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2723         item, call the checkbox toggler to get a box.
2725         * org-list.el (org-toggle-checkbox): Make double prefix set the
2726         checkbox to "[-]".
2727         (org-fix-bullet-type): Only replace bullet if it is changed.
2728         (org-renumber-ordered-list): Handle case when first item does not
2729         have a number.
2731         * org.el (org-add-log-setup): Fix positioning when
2732         `org-log-states-order-reversed' is nil.
2734         * org-clock.el (org-clock-in): Fix positioning when
2735         `org-log-states-order-reversed' is nil.
2736         (org-clock-find-position): Fix positioning when
2737         `org-log-states-order-reversed' is nil.
2739 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2741         * org-clock.el (org-clock-into-drawer): Take default from
2742         `org-log-into-drawer'.
2743         (org-clock-find-position): Look for the correct drawer.
2745         * org.el (org-log-into-drawer): Renamed from
2746         `org-log-state-notes-into-drawer'.
2747         (org-log-state-notes-into-drawer): New variable alias.
2748         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2749         CLOCK.
2750         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2752 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org-agenda.el (org-agenda): Fix docstring.
2756         * org.el ("org-plot"): Help loading org-plot.
2757         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2758         (org-metadown-hook, org-shiftmetaleft-hook)
2759         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2760         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2761         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2762         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2763         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2765         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2766         for selecting files with any (and even without) extension.
2768         * org.el (org-save-all-org-buffers): Also save id locations.
2769         (org-revert-all-org-buffers): Also load id locations.
2771 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2772         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2773         (org-log-state-notes-into-drawer): New option.
2774         (org-add-log-setup): Place the sate note marker into the drawer,
2775         create drawer when necessary.
2776         (org-refile-targets): Document special interpretation of LEVEL
2777         when odd-levels are used.
2779 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2781         * org.el (org-store-log-note): Fix note indentation when adding
2782         notes to end of list.
2784         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2785         class, so that each keyword can get special colors through CSS.
2787         * org-clock.el (org-clock-out): Add another nil for the previous
2788         state into the call to `org-add-log-setup'.
2790         * org.el (org-log-note-previous-state): New variable.
2791         (org-log-note-headings): New %S escape for old state.
2792         (org-todo): Call the note setup with the old state as an
2793         argument.
2794         (org-add-note): Add another nil for the previous state into the
2795         call to `org-add-log-setup'.
2796         (org-add-log-setup): New argument PREV-STATE.
2797         (org-add-log-note): Handle new %S escape.
2798         (org-store-log-note): Handle new %S escape.
2800 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2802         * org-clock.el (org-clock-find-position): Do not swallow an item
2803         less indented than the CLOCK line itself.
2804         (org-clock-in): Push markers to lin after the clock line.
2805         (org-clock-find-position): Handle values of
2806         `org-clock-into-drawer' smaller than 2.
2808         * org-exp.el (org-html-level-start): Add a CSS class to section
2809         numbers.
2810         (org-export-html-toplevel-hlevel): Better documentation of the
2811         influence of this variables on H levels and css classes in
2812         export.
2814 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2816         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2817         timestamp and nottimestamp to the chooe menu.
2819         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2820         (org-revert-all-org-buffers): New command.
2822 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2824         * org.el (org-return): Implement `org-return-follows-link' in the
2825         function org-return.  This is more robust than using the mouse
2826         map, I think.
2827         (org-set-regexps-and-options): Match more general #+TODO lines.
2828         (org-make-options-regexp): New optional argument EXTRA, for an
2829         extra regexp.
2830         (org-tab-follows-link): Mark as deprecated.
2832 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2834         * org-exp.el (org-export-preprocess-string): Remove clock lines
2835         earlier, so that they cannot cotribute to verbatim snippets.
2837 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2839         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2840         for finding drawers.
2841         (org-export-as-ascii, org-export-as-html): Count levels relative
2842         to the subtree header.
2843         (org-get-min-level): New optional argument OFFSET.
2844         (org-export): Make sure point is restored after popping up that
2845         window.
2847         * org.el (org-do-sort): Also take an inactive timestamp if no
2848         active one is found.
2850         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2851         deleting duplicates.
2853         * org-colview.el (org-columns-capture-view): Copy before
2854         deleting duplicates.
2856         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2857         text before first headline.
2859         * org.el (org-format-latex): Do not convert LaTeX fragments in
2860         protected examples.
2862 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2864         * org-exp.el (org-export-html-style-default): Use color values
2865         instead of names for XHTML validation.
2867         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2868         functions.
2869         (org-return-follows-link): Revert making this the default untile
2870         issues are resolved.
2872         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2873         nottimestamp.
2875 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2877         * org.el (org-mode): Make dependence stuff work more reliably.
2878         (org-update-parent-todo-statistics): Fix bug with updating
2879         statistics cookie.
2881         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2882         ~ as verbatim delimiters.
2884         * org-exp.el (org-export-html-format-image): New argument
2885         PAR-OPEN.
2886         (org-export-as-html): Pass par-open to
2887         `org-export-html-format-image'.
2889 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2891         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2892         (org-use-fast-todo-selection, org-tags-column): New default
2893         setting for variables, based on a poll what typical uses use.
2895         * org-agenda.el (org-agenda-sorting-strategy)
2896         (org-agenda-tags-column): New default setting for variables, based
2897         on a poll what typical uses use.
2899 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2901         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2902         blocked entries from setting the blocked tag.
2904         * org-exp.el (org-export-html-footnotes-section): Use a more
2905         consistent id for footnotes.
2907         * org-export-latex.el (org-export-latex-classes): Remove the
2908         a4paper option from the default styles.
2910 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2912         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2913         (org-block-todo-from-checkboxes): New function.
2914         (org-todo): Make tripple prefix arg circumvent blocking.
2916         * org-timer.el (org-timer): Provide the timer feature.
2918         * org.el (org-require-autoloaded-modules): Add a few more files to
2919         the list of autoloaded modules.
2921         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2923 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2925         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2926         drawers that are unprotected.
2927         (org-export-html-format-image): Make sure inlined LaTeX fragment
2928         images remain inlined.
2930         * org.el (org-toggle-ordered-property): New function.
2931         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2932         (org-org-menu): Add menu entries for TODO dependencies.
2934 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2936         * org.el (org-default-properties): Add ORDERED to the default
2937         properties, to get completion support for it.
2939         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2941         * org.el (org-update-parent-todo-statistics): Update more than one
2942         cookie.
2944         * org-agenda.el (org-agenda-get-todos): Start search from correct
2945         position.
2947         * org.el (org-fast-todo-selection): Make sure TODO selection does
2948         not change buffer position.
2950         * org-list.el (org-toggle-checkbox): Implement adding or removing
2951         checkboxes from line or region when called with a prefix
2952         argument.
2954         * org-rmail.el (org-rmail-store-link): Protect the call to
2955         `rmail-narrow-to-non-pruned-header'.
2957         * org-clock.el (org-clock-special-range): Fix week display in
2958         clock tables.
2960         * org-exp.el (org-get-current-options): Fix bug when in indirect
2961         buffer.
2963 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2965         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2966         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2967         (org-agenda-dim-blocked-tasks): New function.
2969         * org.el (org-enforce-todo-dependencies): New option.
2970         (org-block-todo-from-children-or-siblings): New function.
2972         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2974         * org.el (org-todo): Return correct state type even if the blocker
2975         throws an error.
2976         (org-modifier-cursor-error): Renamed from
2977         `org-shiftcursor-error'.
2978         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2979         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2981         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2982         to get real errors from the blocker hook.
2984         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2985         functions.
2986         (org-set-visibility-according-to-property): Turn off the setting
2987         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2988         property.
2990 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2992         * org.el (org-support-shift-select): New option.
2993         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2994         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2995         selection outside contexts.
2997         * org-list.el (org-at-item-bullet-p): New function.
2999         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3000         variables.
3002         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3003         variable.
3004         (org-insert-footnote-reference-near-definition): Remove
3005         unnecessary let form.
3007         * org-export-latex.el (org-export-latex-first-lines): Add
3008         OPT-PLIST parameter.
3009         (org-export-as-latex): Call `org-export-latex-first-lines' with
3010         opt-plits parameter.
3011         (org-export-latex-preprocess): Remove unnecessary variables.
3013         * org-exp.el (org-infile-export-plist)
3014         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3015         (org-export-remove-headline-metadata)
3016         (org-export-get-title-from-subtree, org-get-min-level)
3017         (org-html-do-expand): Remove innecessary let form.
3019         * org-colview-xemacs.el (org-columns-display-here): Remove
3020         unnecessary variables.
3022         * org-colview.el (org-columns-display-here): Remove unnecessary
3023         variables.
3025         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3026         variables.
3028         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3029         unnecessary variables.
3031         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3032         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3033         variables.
3035         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3036         (org-compact-display-after-subtree-move): Remove unnecessary
3037         variables.
3038         (org-edit-fixed-width-region): Remove unnecessary variables.
3039         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3040         (org-olpath-completing-read): Remove unnecessary variable.
3041         (org-auto-repeat-maybe): Remove unnecessary variable.
3042         (org-map-entries): Remove unnecessary variable.
3043         (org-buffer-property-keys, org-imenu-get-tree)
3044         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3046 -----------------------------------------------------------------
3048 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org-exp.el (org-export-remove-timestamps): Never remove
3050         timestamps from tables.
3052         * org-export-latex.el (org-export-latex-first-lines): Add more
3053         options to the preprocessing of the text before the first
3054         headline.
3056 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3058         * org-faces.el (org-clock-overlay): Make face compatible with
3059         XEmacs.
3061         * org.el (org-yank): Add property for delete-selection mode.
3063         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3065         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3066         variable.
3068         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3069         to `backward-char'.
3071         * org-exp.el (org-export-as-html): Remove the initial space from
3072         colon examples.
3074         * org.el (org-scan-tags): Call
3075         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3077         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3078         customization groups.
3079         (org-agenda-tags-todo-honor-ignore-options): New option.
3080         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3081         New function.
3082         (org-agenda-get-todos): Use
3083         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3085 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3087         * org-exp.el (org-export-format-source-code-or-example): Escape
3088         HTML characters also in examples that anre not treated with
3089         htmlize.  Also, just switch to EXAMPLE processing if we do not
3090         have a good version of htmlize.
3092         * org-rmail.el: Fix copyright notice.
3094         * org.el (org-activate-footnote-links): Improve footnote link
3095         highlighting.
3097         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3098         a footnote definition at the end of the file.
3100         * org-table.el (org-table-get-specials): Add an imagined hline at
3101         the end of the table.  This can be useful for references that want
3102         to go to the end of the table.  Also fix bug when computing last
3103         row constants, in tables that do not start right at the right
3104         margin.
3105         (org-table-eval-formula): Match and replace remove references.
3106         (org-table-formula-substitute-names): Make sure that names inside
3107         a "remote" call are left alone, the will be replaced later when
3108         the remote call is handled.
3109         (org-table-convert-refs-to-rc): Do not convert things that might
3110         look like a reference, but are really part of an ID or namei n a
3111         remote reference.
3112         (org-table-get-remote-range): New function.
3114 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3116         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3118         * org-clock.el (org-clock-put-overlay): Use new face instead of
3119         `secondary-selection'.
3121         * org-faces.el (org-clock-overlay): New face.
3123 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3125         * org-exp.el (org-get-current-options): Include the option for
3126         publishing time stamps.
3128         * org.el (org-toggle-heading): Renamed from
3129         `org-toggel-region-headings'.
3130         No longer needs a region defined, but will use it if there is one.
3131         (org-ctrl-c-star): Simplified, relying more on the internal
3132         workings of `org-toggle-heading'.
3133         (org-toggle-item): Renamed from `org-toggle-region-items'.
3134         No longer needs a region defined, but will use it if there is one.
3135         (org-ctrl-c-minus): Simplified, relying more on the inernal
3136         workings of `org-toggle-item'.
3138         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3139         environment detection.  Also, do real changes only in unprotected
3140         places.
3142 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3144         * org-export-latex.el (org-export-latex-quotation-marks): Use
3145         `org-if-unprotected-1'.
3146         (org-export-latex-set-initial-vars): Check for class definition in
3147         property.
3149         * org-macs.el (org-if-unprotected-1): New macro.
3151 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3153         * org-compat.el (org-count-lines): New function.
3155         * org-exp.el (org-export-format-source-code-or-example): Handle
3156         switches related to text areas.
3158         * org.el (org-activate-footnote-links): Don't allow match inside a
3159         link.
3161         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3163         * org-export-latex.el (org-export-latex-links): Keep a relative
3164         path relative also after export.
3166         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3168         * org.el (org-make-tags-matcher): Never use IDO for completing the
3169         tags matcher match string.
3170         (org-completing-read): Also remove the special biding for "?".
3172         * org-attach.el (org-attach-allow-inheritance): New option.
3173         (org-attach-inherited): New variable.
3174         (org-attach-dir): Handle properties related to the attachment
3175         directory.
3176         (org-attach-check-absolute-path): New function.
3177         (org-attach-set-directory, org-attach-set-inherit): New commands.
3178         (org-attach): Accommodate the new commands in the dispatcher.
3180 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3182         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3183         `window-full-width-p'.
3185         * org-exp.el (org-export-as-html): Only check for images files
3186         that really can be inlined
3188         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3189         list of extensions to be a parameter.
3191         * org-exp.el (org-export-html-inline-image-extensions): New
3192         variable.
3194         * org-agenda.el (org-prepare-agenda): Use
3195         `org-agenda-block-separator'.
3196         (org-agenda-block-separator): New option.
3198 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3200         * org-export-latex.el (org-export-latex-tables): Call
3201         `org-table-clean-before-export' with the new optional argument.
3203         * org-exp.el (org-table-clean-before-export): New optional
3204         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3205         first column.
3207 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3209         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3210         histograms.
3212         * org-colview.el (org-colview-construct-allowed-dates): Better
3213         error catching when a date/time property does not have allowed
3214         values defined.
3216         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3217         Better error catching when a date/time property does not have
3218         allowed values defined.
3220 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3222         * org.el (org-map-entries): Restore point and restriction after
3223         `org-map-entries'.
3225 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3227         * org.el (org-time=, org-time<, org-time<=, org-time>)
3228         (org-time>=, org-time<>): Make sure both values are dates.
3230 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3232         * org-archive.el (org-extract-archive-heading): Allow %s for file
3233         name also in achive location heading.
3235 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3237         * org-archive.el (org-add-archive-files): Uniquify the list before
3238         returning it.
3240 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3242         * org-compat.el (org-fit-window-to-buffer): Use
3243         `window-full-width-p'.
3245         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3246         space after the colon in short examples.
3248         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3249         enforce a space after the colon.  However, we also allow lines
3250         that are *only* a colon.
3251         (org-export-as-html): Enforce the space after the colon in short
3252         examples.
3253         (org-export-preprocess-string): Do the colon example protection
3254         earlier.
3255         (org-export-remove-timestamps): Do not check for protection at the
3256         end of the line.
3258 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
3260         * org.el (org-format-latex-options): Add new matcher for single
3261         letters between dollars.
3262         (org-get-header): Function removed.
3263         (org-heading-components): New function.
3265         * org-exp.el (org-export-define-heading-targets): Record ID's also
3266         as alternative targets.
3267         (org-export-as-html): Interpret "id:" links to other files by
3268         preserving the relative path.
3270         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3271         is nil.
3273         * org-exp.el (org-export-normalize-links): Protect the main link,
3274         to avoid special character processing.
3276         * org-export-latex.el (org-export-latex-special-keyword-regexp):
3277         New variable.
3278         (org-export-latex-special-string-regexps): Variable removed.
3279         (org-export-latex-keywords): Use the new regexp.
3281         * org-exp.el (org-export-handle-include-files): Fetch switches and
3282         put them into the BEGIN statement.
3284         * org-timer.el (org-timer-mode-line-string): New variable.
3286         * org-clock.el (org-clock-mode-line-map): Renamed from
3287         `org-clock-mode-map'.
3288         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3289         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3290         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3291         (org-clock-remove-overlays): Renamed from
3292         `org-remove-clock-overlays'.
3294         * org-timer.el (org-timer-pause-or-continue): Implement stopping
3295         and mode line display.
3296         (org-timer-stop): New command.
3297         (org-timer-seconds): Return correct time when timer is paused.
3298         (org-timer-mode-line-timer): New variable.
3299         (org-timer-set-mode-line, org-timer-update-mode-line): New
3300         functions.
3302         * org.el (org-insert-heading):  Handle new value `auto' for
3303         `org-blank-before-new-entry'.
3304         (org-org-menu): Add new items for timer functions.
3306         * org-list.el (org-insert-item): Handle new value `auto' for
3307         `org-blank-before-new-entry'.
3309         * org.el (org-blank-before-new-entry): New value `auto', made
3310         default.
3312 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
3314         * org-exp.el (org-export-normalize-links): If the link is also
3315         used as the description, protect the description.
3317 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3319         * org.el (org-closest-date): Fix bug with yearly repeats, in
3320         combination with preference of the past as it is used for deadline
3321         and scheduling search.
3323         * org-exp.el (org-html-handle-time-stamps): No longer check for
3324         the `org-export-with-timestamps' option, because the preprocesser
3325         has taken care of this already.
3327         * org.el (org-entry-properties): Catch the case when this is
3328         called in a non-org-mode file.
3330         * org-export-latex.el (org-export-latex-remove-from-headlines):
3331         Variable made obsolete, also LaTeX export now uses the standard
3332         variables.
3333         (org-export-as-latex): Add the timestamps parameter to the
3334         preprocessor parameter list.
3335         (org-export-latex-content): Export the remaining keywords without
3336         considering to remove them.
3337         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3338         Use bold font instead of tt font for the keywords.
3339         (org-export-latex-fontify-headline): Format headlines, assuming
3340         that all keywords still present should be published.
3341         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3342         publish what ever remains of the time stamps.
3343         (org-export-latex-list-parameters): New option.
3344         (org-export-latex-lists): Pass additional parameters to the list
3345         converter.
3347         * org-exp.el (org-export-preprocess-string): Remove clock lines
3348         and timestamps already in the preprocesor.
3349         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3350         functions.
3351         (org-export-as-ascii, org-export-as-html): Add the timestamps
3352         parameter to the preprocessor parameter list.
3354         * org-list.el (org-list-parse-list): Parse for checkboxes.
3355         (org-list-to-generic): Introduce and handle new parameters :cbon
3356         and :cboff.
3357         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3358         optional parameter PARAMS.
3360         * org-export-latex.el (org-export-latex-special-chars): Fix
3361         problems with interpreting dollar signs.
3362         (org-inside-latex-math-p): New function.
3363         (org-export-latex-preprocess): Protect all the math fragments.
3365         * org.el (org-latex-regexps): Allow a dash after a dollar.
3367         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3368         mark after copying.
3370         * org-agenda.el (org-run-agenda-series): Have series options set
3371         when finalizing the agenda.
3373         * org-exp.el (org-export-format-source-code-or-example): Protect
3374         the converted examples.
3376         * org.el (org-set-regexps-and-options): Fix the regexp
3377         `org-complex-heading-regexp'.
3379 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3381         * org.el (org-edit-src-get-label-format): New function.
3382         (org-coderef-label-format): New option.
3383         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3384         a label format specification and make sure it is used in the edit
3385         buffer.
3386         (org-edit-src-get-label-format): New function.
3387         (org-store-link): Handle new coderef formats.
3388         (org-link-search): Handle new coderef formats.
3390         * org-footnote.el (org-footnote-create-definition)
3391         (org-footnote-goto-local-insertion-point): Make footnote insertion
3392         work correctly when the "Footnotes" headline is the last line in
3393         the buffer.
3395         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3396         the location.
3398 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3400         * org-w3m.el (org-w3m): New customization group.
3401         (org-w3m-deactivate-mark): New option.
3402         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3403         option say not to.
3405 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3407         * org.el (org-set-font-lock-defaults): Trigger footnote
3408         fontification.
3409         (org-activate-footnote-links): New function.
3410         (org-activate-links): New entry `footnote'.
3412         * org-faces.el (org-footnote): New face.
3414 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3416         * org-macs.el (org-re): Handle the [:word:] class.
3418         * org-exp.el (org-export-preprocess-string): Call
3419         `org-export-protect-colon-examples'.
3420         (org-export-protect-colon-examples): Renamed from
3421         `org-export-protect-examples', and scope limited to lines starting
3422         with a colon.
3424 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3426         * org-exp.el (org-export-preprocess-string): Move the preprocess
3427         hook to after turning on Org-mode.
3428         (org-export-preprocess-after-include-files-hook)
3429         (org-export-preprocess-after-tree-selection-hook)
3430         (org-export-preprocess-before-backend-specifics-hook)
3431         (org-export-preprocess-final-hook): New hooks.
3432         (org-export-preprocess-string): Run the new hooks.
3434         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3436         * org-footnote.el: New file.
3438         * org.el (org-footnote): Require footnote code.
3439         (org-startup-options): Add new footnote options.
3440         (org-mode-map): New keybindig for footnotes.
3441         (org-ctrl-c-ctrl-c): Add function at footnotes.
3442         (org-org-menu): New menu entries for footnotes.
3444         * org-export-latex.el (org-export-as-latex): Pass footnote
3445         variable to preprocessor.
3446         (org-export-latex-preprocess): Treat multiple references to a
3447         footnote.
3449         * org-exp.el (org-export-preprocess-string): Call
3450         `org-footnote-normalize'.
3451         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3452         to preprocessor.
3453         (org-export-as-html): Treat multiple references to a footnote.
3455 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3457         * org-export-latex.el (org-export-latex-links): Handle coderef
3458         links.
3460         * org.el (org-bracket-link-analytic-regexp++): New variable.
3461         (org-make-link-regexps): Initialize
3462         `org-bracket-link-analytic-regexp++'.
3463         (org-store-link): Implement special case in edit-src buffer.
3464         (org-insert-link): No use of ide to insert stored links.
3465         (org-link-search): Implement special case for coderefs.
3467         * org-exp.el (org-export-html-scripts): New constant.
3468         (org-export-html-style-default): Add a new style for highlighted
3469         code.
3470         (org-export-code-refs): New variable.
3471         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3472         Call `org-export-replace-src-segments-and-examples'
3473         No longer call `org-export-protect-examples'.
3474         (org-export-target-internal-links): Take care of coderef targets.
3475         (org-export-last-code-line-counter-value): New variable.
3476         (org-export-replace-src-segments-and-examples): Renamed from
3477         `org-export-replace-src-segments', and modified.
3478         (org-export-format-source-code-or-example): Renamed from
3479         `org-export-format-source-code'.
3480         (org-export-number-lines): New function.
3481         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3483 --------------------------------------------------------------------------
3485 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org-remember.el (org-remember-handler): Safer way to get a new
3488         buffer accessing the target file.
3490         * org.el (org-refile-get-location): Handle case of current buffer
3491         not having a file associated with it.
3493 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3495         * org-table.el (org-table-get-formula): Only ask to overwrite
3496         field formula if there really is one.
3498         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3499         number, by converting these to a string.
3501         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3502         located in a different file.
3504         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3505         org-colview.el.
3507 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3509         * org.el (org-completion-use-ido): Enhance docstring of
3510         `org-completion-use-ido'.
3512         * org-export-latex.el (org-export-latex-make-header): Double the %
3513         in the time stamp format.
3514         (org-export-latex-special-chars): Handle case where there is no
3515         match group 3.
3517 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3519         * org.el (org-get-refile-targets, org-refile-get-location): Use
3520         expanded file name to improve comparison.
3522 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
3524         * org.el (org-scan-tags): Rescan for tags, to get the correct
3525         upcase/downcase stuff.  This slows things down for now, but it
3526         works.
3527         (org-mode): Make sure the tag-faces regexp is initialized.
3529         * org-export-latex.el (org-export-latex-links): Fix bug with
3530         undefined label.
3532         * org-table.el (org-table-get-specials): Set
3533         `org-table-current-last-data-line'.
3534         (org-table-current-last-data-line): New variable.
3535         (org-table-insert-column, org-table-delete-column)
3536         (org-table-move-column, org-table-fix-formulas): Call
3537         `org-table-fix-formulas' a second time to fix the $LR references.
3538         (org-table-get-specials): Add the $LR references to the tables.
3539         (org-table-get-formula): Do not offer last-row names as LHS of
3540         formulas.
3542         * org.el (org-store-link): Capture link description from
3543         `org-id-store-link'.
3545         * org-exp.el (org-export-html-format-image): Add the / to the end
3546         of the <img> tag.
3547         (org-export-format-source-code): Surround example by empty lines,
3548         to make sure it will not be inside a paragraph.
3550         * org.el (org-ido-switchb): New function.
3552 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
3554         * org-agenda.el (org-agenda-show): New prefix argument
3555         FULL-ENTRY.
3557         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3558         argument.
3560         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3561         `org-agenda-change-all-lines'.
3562         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3563         tags are now retrieved locally.
3565 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
3567         * org.el (org-get-outline-path): Fix bug if level is not given.
3568         (org-org-menu): Do not quote function in menu vector.
3570         * org-agenda.el (org-finalize-agenda): Fix typo with variable
3571         name.
3573 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3575         * org.el (org-refile): Avoid refiling to within the region to be
3576         refiled.
3578         * org-export-latex.el (org-export-latex-special-chars): Replace
3579         special characters also in tables.
3581         * org-agenda.el (org-agenda-change-all-lines): New argument
3582         FORCE-TAGS.
3583         (org-agenda-set-tags): Cet the new tags and pass them to
3584         `org-format-agenda-item'.
3586 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
3588         * org-export-latex.el (org-export-latex-classes): Add longable as
3589         a default package to all classes.
3590         (org-export-latex-tables): Handle the longtable attribute and the
3591         align attribute.
3593         * org-table.el (orgtbl-to-generic): Handle tables that start with
3594         a hline.
3596         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3597         \verb for colde-like snippets.
3598         (org-export-as-latex): Fix issues with region export.
3600         * org.el (org-up-heading-safe): Speed up function by using a
3601         direct regexp search.
3602         (org-olpa): New variable.
3603         (org-get-outline-path): Speed-up path constructions in cases where
3604         this is possible because the entire hierarchy is scanned anyway.
3605         (org-refile-get-location): Don't compare the truenames of files,
3606         this is too slow.
3607         (org-goto-max-level): New option.
3608         (org-goto): Use `org-goto-max-level'.
3610 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
3612         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3613         Strip angle brackets from message-ids in the former and don't do
3614         it in the latter.
3615         (org-gnus-follow-link): Open summary reliable, even if the last
3616         messages were deleted, and handle empty groups, too.
3618 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
3620         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3621         instead of \texttt for the =...= and ~===~ emphasis environments.
3622         (org-export-as-latex): Remove any old :org-license-to-kill text
3623         properties.
3624         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3625         (org-export-latex-make-header): Add some hard space after the
3626         table of contents.
3627         (org-export-latex-first-lines): Accept RBEG argument.  Mark
3628         exported text so that it will be excuded in further steps.
3630         * org-table.el (org-table-get-specials): Make @0 reference the
3631         last line in a table.
3632         (org-table-recalculate): Improve docstring.
3634 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
3636         * org.el (org-log-done): Fix docstring.
3638 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
3640         * org-exp.el (org-export-html-format-image): Fix bugs.
3642         * org-export-latex.el (org-export-latex-tables)
3643         (org-export-latex-links): Implement attribute, label, and caption
3644         handling.
3646         * org-exp.el (org-export-html-style-default): Add style
3647         definitions for the figure div.
3648         (org-export-preprocess-string, org-export-as-html): Implement
3649         attribute, label, and caption handling.
3650         (org-export-attach-captions-and-attributes): New function.
3651         (org-export-html-format-image): New function.
3652         (org-format-org-table-html): Implement attribute, label, and
3653         caption handling.
3655         * org.el (org-find-text-property-in-string): New function.
3656         (org-extract-attributes): Use the property org-attr instead of
3657         org-attrobutes, because this property is now set with the #+ATTR
3658         lines.
3660 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
3662         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3663         the case that FROM is nil.
3665         * org.el (org-before-first-heading-p): New function.
3667 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3669         * org-exp.el (org-export-as-html): Do not add a space before
3670         enforces line breaks.
3671         (org-export-as-html): Close paragraph before blockquote and verse
3672         tags.
3674 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3676         * org-id.el (org-id-locations-file): Wrap file name with
3677         `convert-standard-filename'.
3678         (org-id-files): New variable.
3679         (org-id-use-hash): New option.
3680         (org-id-update-id-locations): Also search in all files current
3681         listed in `org-id-files'.  Convert the resulting alist to a hash
3682         if the user customation says so.
3683         (org-id-locations-save): Handle he case if `org-id-locations' is a
3684         hash.
3685         (org-id-locations-load): Convert the alist to a hash.
3686         (org-id-add-location): Handle the hast case.
3687         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3688         exited.
3689         (org-id-hash-to-alist, org-id-alist-to-hash)
3690         (org-id-paste-tracker): New functions.
3692 -------------------------------------------------------------------------
3694 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3696         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3697         bindings of calendar variables.
3699         * org-table.el (org-table-find-row-type): Renamed from
3700         `org-find-row-type'.
3701         (org-table-rewrite-old-row-references): Renamed from
3702         `org-rewrite-old-row-references'.
3703         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3704         (org-table-cleanup-narrow-column-properties): Renamed from
3705         `org-cleanup-narrow-column-properties'.
3707 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3709         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3710         for better error messages.
3711         (org-table-get-descriptor-line): Supply the new arguments to
3712         `org-find-row-type'.
3713         (org-table-error-on-row-ref-crossing-hline): New option.
3715         * org.el (org-target-link-regexp): Make buffer-local.
3716         (org-move-subtree-down): Fix bug with trees at beginning of
3717         buffer.
3719 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3721         * org-faces.el (org-set-tag-faces): New function.
3722         (org-tags-special-faces-re): New variable.
3724         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3726         * org-faces.el (org-tag-faces): New option.
3727         (org-tag): Mention `org-tag-faces' in the docstring.
3729 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3731         * org-exp.el (org-export-html-style-default): Implement new
3732         quoting.
3734         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3736         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3737         command to the `w3m-minor-mode-map'.
3739         * org-archive.el (org-archive-to-archive-sibling): Protect
3740         `this-command' to avoid appending kills during archiving.
3742         * org-exp.el (org-export-with-priority): New variable.
3743         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3744         instead of internal list of strings and properties.
3745         (org-print-icalendar-entries): Retrieve the location property with
3746         inheritance.
3748 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3750         * org-exp.el (org-export-with-todo-keywords): New option.
3751         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3752         line.
3753         (org-default-export-plist, org-export-add-options-to-plist)
3754         (org-export-as-ascii, org-export-as-html): Use the new structure
3755         of `org-export-plist-vars'.
3757         * org.el (org-map-entries): Return all values.
3759 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3761         * org.el (org-matcher-time): Recognize more special values.
3763         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3765 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3767         * org.el (org-tags-exclude-from-inheritance): New option.
3768         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3769         `org-tags-exclude-from-inheritance'.
3771         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3772         (org-format-agenda-item): Add inherited tags to the agenda line
3773         string, and make sure that properties are kept when downcasing the
3774         tags list.
3775         (org-agenda-add-inherited-tags): New function.
3776         (org-downcase-keep-props): New function.
3778         * org.el (org-scan-tags): Mark inherited tags with a text
3779         property.
3780         (org-get-tags-at): Mark inherited tags with a text property.
3781         (org-add-prop-inherited): New function.
3783         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3784         (org-agenda-show-inherited-tags): New option.
3786 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3788         * org.el (org-modules): Add org-w3m to the default modules.
3790         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3791         orgtbl-mode.
3792         (orgtabl-create-or-convert-from-region): New command.
3794         * org-exp.el (org-export-as-ascii): Remove the handling of
3795         targets.
3796         (org-export-ascii-preprocess): Handle targets already in this
3797         function.
3799 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org-timer.el (org-timer-start-time): Define this variable.
3802         (org-timer-item): Make argument optional.
3804         * org-list.el (org-insert-item): Automatically insert a timer item
3805         if the current list is a timer list.
3807         * org-timer.el: New file.
3809         * org-publish.el (org-publish-org-index): Only exclude the index
3810         file in the main directory from being added to the site-map.
3811         (org-publish-get-project-from-filename): If the current project is
3812         a component, start publishing from the parent project.
3814 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3816         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3818         * org-publish.el (org-publish-org-index): Improve removal of
3819         temporary buffers.
3821         * org-agenda.el (org-get-closed): Re-apply changes
3822         accidentially overwritten by last commit to Emacs.
3824         * org.el (org-outline-path-complete-in-steps): New option.
3825         (org-refile-get-location): Honor
3826         `org-outline-path-complete-in-steps'.
3827         (org-agenda-change-all-lines, org-tags-sparse-tree)
3828         (org-time-string-to-absolute, org-small-year-to-year)
3829         (org-link-escape): Re-apply changes accidentially overwritten
3830         by last commit to Emacs.
3832 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3834         * org-clock.el (org-dblock-write:clocktable): Make sure the
3835         clocktable sees the first line.
3836         (org-clock-in): Warn if the clock cannot be resumed.
3838 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3840         * org.el (org-open-at-point): Fix mixup about interactive and
3841         non-interactive elisp links.
3843 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3845         * org-exp.el (org-export-preprocess-string): Allow one comment
3846         line before the first headline to always be included.  This is
3847         to not miss a commented target.
3849         * org-mouse.el (org-mouse-insert-item): Call
3850         `org-indent-to-column' instead of `indent-to', for XEmacs
3851         compatibility.
3853         * org.el (org-refile-targets): Fix customize definition so
3854         that it works also in XEmacs.
3855         (org-fixup-indentation): Call `org-indent-to-column' instead
3856         of `indent-to', for XEmacs compatibility.
3858 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3860         * org-mew.el (org-mew-store-link): Get the correct case folder
3861         for refiled messages.
3863 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3865         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3866         line break indicators.
3868         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3869         ido-completion propts.
3871 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3873         * org-remember.el (org-remember-apply-template): Use
3874         `org-substring-no-properties'.
3876         * org-compat.el (org-substring-no-properties): New function.
3878         * org-remember.el (org-remember-apply-template): Use
3879         `org-substring-no-properties' for compatibility.
3881         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3882         option.
3883         (org-fix-bullet-type): respect
3884         `org-list-two-spaces-after-bullet-regexp'.
3886         * org-clock.el (org-clock-load): Clean up the code.
3888         * org.el (org-adaptive-fill-function): Allow two spaces after
3889         "1." as a list bullet.
3891 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3893         * org-clock.el (org-clock-save, org-clock-load): Check for
3894         live buffers, existing files, and buffer file names to ensure
3895         consistent information.
3896         (org-clock-persist): Make `clock' a special value of this
3897         variable, and improve docstring.
3899         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3900         (org-get-string-indentation): Adapt indentation when the bullet
3901         width changes.
3903 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3905         * org-remember.el (org-remember-finalize): Make interactive.
3906         (org-remember-kill): New command.
3907         (org-remember-finish-immediately): Call `org-remember-finalize'
3908         directly.
3909         (org-remember-finalize): Make `org-remember-finalize' an interactive
3910         function.
3912 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3914         * org-remember.el (org-remember-apply-template): No ido completion
3915         for free prompts in remember templates.
3916         (org-remember-before-finalize-hook): New hook.
3917         (org-remember-mode): New minor mode.
3918         (org-remember-apply-template): Turn on `org-remember-mode'.
3920         * org-id.el (org-id-add-location): Avoid error when no file is
3921         given.
3923         * org-remember.el (org-remember-apply-template): Fix the way how
3924         the list of allowed properties is retrieved from the target file.
3926         * org.el (org-insert-link): Improve file link matching.
3928 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3930         * org-colview.el (org-columns-display-here): New argument
3931         DATELINE, to trigger using the new face.
3932         (org-agenda-colview-summarize): Call `org-columns-display-here'
3933         with the new argument.
3935         * org-faces.el (org-agenda-column-dateline): New face.
3937         * org-publish.el (org-publish-org-index): Use index-title at page
3938         title, not as section.
3940         * org-exp.el (org-export-html-format-desc): Respect the
3941         org-protect property.
3942         (org-export-as-html): Protect image specifiers that are in the
3943         description part of a link.
3945         * org.el (org-sort-entries-or-items, org-completing-read)
3946         (org-refile-get-location, org-olpath-completing-read, org-todo)
3947         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3948         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3949         (org-set-property, org-delete-property)
3950         (org-delete-property-globally): Use `org-ido-completing-read'.
3952         * org-remember.el (org-remember-apply-template): Use
3953         `org-ido-completing-read'.
3955         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3957         * org-colview.el (org-columns-edit-value, org-columns-new)
3958         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3960         * org-colview-xemacs.el (org-columns-edit-value)
3961         (org-columns-new, org-insert-columns-dblock): Use
3962         `org-ido-completing-read'.
3964         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3965         `org-ido-completing-read'.
3967         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3968         `org-ido-completing-read'.
3970         * org.el (org-time-today): New function.
3971         (org-matcher-time): Use `org-time-today'.  Add special treatment
3972         for "<tomorrow>" and "<yesterday>".
3973         (org-ido-completing-read): New function.
3974         (org-completion-use-ido): New option.
3976         * org-exp.el (org-export-format-source-code): Fix bug in require
3977         htmlize code.
3978         (org-export-target-internal-links): Fix bug in search for text
3979         property.
3981 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3983         * org-export-latex.el (org-export-latex-subcontent): Interprete
3984         target aliases as additonal labels.
3986         * org-exp.el (org-export-target-aliases): New variable.
3987         (org-export-preprocess-string)
3988         (org-export-handle-invisible-targets): Fill the alias alist.
3989         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3990         assign an id.
3991         (org-html-level-start): Insert the target aliases as additonal
3992         anchors.
3994         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3995         picture area.
3997 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3999         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4000         when following a link with the mouse from the agenda.
4002         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4003         headlines are created.
4005 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4007         * org-exp.el (org-export-preprocess-string): Reorder so that we
4008         can still see ID properties when we collect targets.
4009         (org-export-target-internal-links): Also store targets for ID's.
4011         * org.el (org-link-translation-function): New option.
4012         (org-open-at-point): Call `org-link-translation-function' if
4013         non-nil.
4014         (org-translate-link): New function.
4015         (org-translate-link-from-planner): New function.
4016         (org-open-at-point): Allow interactive commands in elisp links.
4018         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4019         iCalendar quoting.  The new one seems to caus problems with
4020         applications.
4022         * org.el (org-yank): Set `this-command' to `yank', so that
4023         `yank-pop' will work.
4025 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4027         * org-id.el (org-id-search-archives): New option.
4029         * org.el (org-link-to-org-use-id): New option.
4030         (org-store-link): Use `org-link-to-org-use-id'.
4031         (org-id): Make org-id.el a standard component.
4033 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4035         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4036         hexified version of the tag.
4038         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4039         compliance as far as quoting is concerned.
4041         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4043         * org.el (org-up-heading-safe, org-forward-same-level): Always
4044         call `org-back-to-heading' instead of `outline-back-to-heading'.
4045         (org-back-to-heading): New wrapper around outline-back-to-heading,
4046         with a useful error message telling where the error happened.
4048         * org-list.el (org-update-checkbox-count): Always call
4049         `org-back-to-heading' instead of `outline-back-to-heading'.
4051         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4052         has an `alt' attribute, to ensure XHTML validation.
4054 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4056         * org-publish.el (org-publish-attachment): Allow publishing to
4057         overwrite attachment files.
4059         * org-agenda.el (org-agenda-timerange-leaders): New option.
4060         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4062         * org.el (org-edit-src-exit): Untabify ASCII image before
4063         returning.
4076 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4078         * org.el (org-yank): Make any prefix force normal yanking.
4079         Suppress folding if text would be swallowed into a folded
4080         subtree.
4081         (org-yank-folded-subtrees, org-yank): Docstring updates.
4083         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4084         defined as 0.
4086         * org-exp.el (org-export-language-setup): Add Catalan and
4087         Esperanto language entries.
4089 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4091         * org.el (org-refile): Allow refiling of entire regions.
4093         * org-clock.el (org-clock-time%): New function.
4095         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4096         retrieve property values.
4098 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4100         * org-agenda.el (org-agenda-list): Handle the value `only' of
4101         org-agenda-show-log'.
4102         (org-agenda-log-mode): Interpret a double prefix arg.
4104 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4106         * org-exp.el (org-export-html-footnotes-section): New variable.
4107         (org-export-as-html): Use `org-export-html-footnotes-section' to
4108         insert the footnotes.
4109         (org-export-language-setup): Add "Footnotes" to language words.
4111 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4113         * org.el (org-yank): Fix bug when not inserting a subtree.
4115 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4117         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4118         instead of `vm-beginning-of-message'.
4120         * org.el (org-make-link-regexps): Make sure that links to gnus can
4121         contain brackets.
4123 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4125         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4126         code.
4128         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4129         shell output.
4131         * org.el (org-link-abbrev-alist): Improve customization type.
4133         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4134         functions.
4136         * org-agenda.el (org-agenda-get-progress): Renamed from
4137         `org-get-closed'.  Implement searching for state changes as well.
4138         (org-agenda-log-mode-items): New option.
4139         (org-agenda-log-mode): New option prefix argument, interpreted as
4140         request to show all possible progress info.
4141         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4142         `org-get-closed'.
4143         (org-agenda-set-mode-name): Handle the more complex log mode
4144         settings.
4145         (org-get-closed): New alias, pointing to `org-get-progress'.
4147 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4149         * org.el (org-file-apps-defaults-gnu)
4150         (org-file-apps-defaults-macosx)
4151         (org-file-apps-defaults-windowsnt): Add an entry defining the
4152         system command.
4153         (org-file-apps): Allow `system' as key and value.
4154         (org-open-at-point): Explain the effect of a double prefix arg.
4155         (org-open-file): If the argument `in-emacs' is (16),
4156         i.e. corresponding to a double prefix argument, try to open the
4157         file externally.
4159 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4161         * org.el (org-insert-link): Abbreviate absolute files names in
4162         links.  Also, fix a bug in which the double C-u prefix would not
4163         be honored.
4165 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4167         * org.el (org-insert-heading): If buffer does not end with a
4168         newline, add one if necessary to insert headline correctly.
4170         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4171         paragraphs, not inside.
4173         * org.el (org-todo): Quote
4174         `org-agenda-headline-snapshot-before-repeat'.
4176         * org-exp.el (org-export-as-html): Fully process link descriptions.
4177         (org-export-html-format-desc): New function.
4178         (org-export-as-html): Collect footnotes into the correct basket.
4179         (org-html-protect): No longer protect quotations marks here, this
4180         goes wrong.
4182         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4183         BEG.
4185         * org-compat.el (org-fit-window-to-buffer): New function (not
4186         really, a preliminary and incomplete version was present earlier,
4187         but not used).
4189         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4190         `org-fit-window-to-buffer'.
4192         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4194         * org-agenda.el (org-agenda-get-restriction-and-command)
4195         (org-fit-agenda-window, org-agenda-convert-date): Use
4196         `org-fit-window-to-buffer'.
4198         * org-exp.el (org-export-as-html): Process href links through
4199         `org-export-html-format-href'.
4200         (org-export-html-format-href): New function.
4202         * org-agenda.el (org-agenda-todo): Update only the current
4203         headline if this is a repeated TODO, marked done for today.
4204         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4205         only the current line.
4207         * org.el (org-todo): Take a snapshot of the headline if the
4208         repeater might change it.
4210 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4212         * org-publish.el (org-publish-find-title): Remove buffers visited
4213         only for extracting the title.
4215         * org-exp.el (org-export-html-style)
4216         (org-export-html-style-default): Mark style definitions as
4217         unparsed CDATA.
4219         * org-publish.el (org-publish-validate-link): Function
4220         re-introduced.
4222 2008-11-02  Charles Sebold  <csebold@gmail.com>
4224         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4225         property.
4226         (org-plot-quote-timestamp-field): New function.
4227         (org-plot-quote-tsv-field): Call timestamp field function when
4228         necessary rather than just quoting as a string.
4229         (org-plot/gnuplot-to-data): Pass in timefmt property.
4230         (org-plot/gnuplot-script): Supports timefmt property.
4231         (org-plot/gnuplot): Checks for timestamp column before checking
4232         for text index column.
4234 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4236         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4238         * org-publish.el (org-publish-org-index): Create a section in the
4239         index file.
4240         (org-publish-org-index): Stop linking to directories.
4242         * org.el (org-emphasis-alist): Use span instead of <u> to
4243         underline text.
4245         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4246         <pre> sections.
4248 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
4250         * org-jsinfo.el (org-infojs-template): Remove language attribute
4251         from script tag.
4253 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
4255         * org-agenda.el (org-agenda-remove-marked-text): New function.
4256         (org-agenda-mark-filtered-text)
4257         (org-agenda-unmark-filtered-text): New functions.
4258         (org-write-agenda): Remove fltered text.
4260         * org.el (org-make-tags-matcher): Give access to TODO "property"
4261         without speed penalty.
4263 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
4265         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4266         option.
4267         (org-store-link-props): Make sure adding to the plist works
4268         correctly.
4270         * org-gnus.el (org-gnus-no-new-news): New function.
4271         (org-gnus-follow-link): Allow the article ID to be a message-id,
4272         in addition to allowing article numbers.  Message IDs make much
4273         more roubust links.
4274         (org-gnus-store-link): Use message-id to create link.
4276 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
4278         * org.el (org-emphasize): Reverse the selection array.
4279         (org-emphasis-alist): Set <code> tags for the verbatim
4280         environment.
4282         * org-remember.el (org-remember-handler): Fix bug with
4283         prefix-related changing of the note storage target.
4285         * org-exp.el (org-print-icalendar-entries): Make the exported
4286         priorities compatible with RFC 2445.
4288         * org-clock.el (org-clock-save): Insert time stamp without
4289         dependence on time-stamp.el.
4291 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
4293         * org.el ("saveplace"): If saveplace puts point into an invisible
4294         location, make it visible.
4295         (org-make-tags-matcher): Allow inactive time stamps in time
4296         comparisons.
4297         (org-yank-adjusted-subtrees): New option.
4298         (org-yank): Incorporate adjusting trees.
4299         (org-paste-subtree): New argument FOR-YANK which will cause
4300         insertion at point without backing up over white lines, and leave
4301         point at the end of the inserted text.  Also if the cursor is
4302         at the beginning of a headline, use the same level or the inserted
4303         tree.
4305         * org-publish.el (org-publish-get-base-files-1): Deal correctly
4306         with broken symlinks
4308 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
4310         * org-exp.el (org-export-select-tags, org-get-current-options):
4311         Fix typo.
4313 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
4315         * org-agenda.el (org-format-agenda-item)
4316         (org-agenda-filter-make-matcher): Make sure tags are stored and
4317         compared donwcased.
4319 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
4321         * org.el (org-insert-todo-heading): Fix bug with force-heading
4322         argument.
4324 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
4326         * org-clock.el (org-clock-in-resume): Add a custom option to
4327         toggle starting the clock from an open clock line.
4328         (org-clock-in): When clocking in to an entry, if
4329         `org-clock-in-resume' is set, check if the first clock line is
4330         open and if so, start the clock from the time in the clock line.
4331         (org-clock-persist): Add a custom option to toggle clock
4332         persistence.
4333         (org-clock-persist-query-save): Add a custom option to toggle
4334         asking the user if they want to save the running clock when
4335         exiting.
4336         (org-clock-persist-query-resume): Add a custom option to toggle
4337         asking the user if they want to resume the saved clock when Emacs
4338         is restarted.
4339         (org-clock-save): Add a function to save clock data.
4340         This includes the contents of `org-clock-history' and the buffer
4341         and position of the currently clocked task, if any.
4342         (org-clock-load): Add a function to load clock data.
4343         This populates `org-clock-history', and resumes the saved clocked
4344         task if there is one.
4345         (org-clock-persistence-insinuate): Add a method to set up the
4346         hooks for clock persistence.
4348 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4350         * org-exp.el (org-export-as-ascii): Handle the case that we are
4351         publishing from an indirect buffer.
4353         * org-table.el (org-table-copy-down): Fix bug with time stamp
4354         increment.
4356         * org-mouse.el (org-mouse-features): New option.
4357         (org-mode-hook): Turn on features depending on
4358         `org-mouse-features'.
4360         * org.el (org-insert-heading-respect-content): Force heading
4361         creation.
4362         (org-insert-heading): keep the folding state of the heading before
4363         the inserted one.
4365 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4367         * org-archive.el (org-archive-to-archive-sibling): Handle top
4368         level headlines better.
4370 2008-10-21  Bastien Guerry  <bzg@altern.org>
4372         * org-export-latex.el (org-export-latex-classes): Added
4373         \usepackage{graphicx} to the default list of packages.
4375 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4377         * org-agenda.el (org-agenda-filter): Renamed from
4378         `org-agenda-filter-tags'.
4380 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4382         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4383         is not defined as a property in this entry.
4384         (org-add-log-note): Mask prefix argument when immediately storing
4385         the note.
4387         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4388         option.
4390 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4392         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4393         after drawers was skipping ahead one line too many, so notes were
4394         inserted after the first note instead of before it.
4396 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4398         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4399         New variables.
4400         (org-prepare-agenda): Reset the filter tags.
4401         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4402         Show filter tags in mode line.
4404         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4405         formatter.
4407         * org-export-latex.el (org-latex-entities-regexp): New constant.
4408         (org-export-as-pdf): Use two calls to `shell-command'.
4410 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4412         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4413         Honor the {} value of the subsuperscript setting.  Make sure that
4414         longer subsuperscripts are typeset in a roman font.
4416         * org.el (org-clock-update-time-maybe): Compute negative clock
4417         intervals correctly.
4419 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4421         * org.el (org-add-log-setup): Respect
4422         `org-log-state-notes-insert-after-drawers'.
4423         (org-log-state-notes-insert-after-drawers): New option.
4424         (org-todo-trigger-tag-changes): New function.
4425         (org-todo): Call `org-todo-trigger-tag-changes'.
4427 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4429         * org.el (org-add-log-setup): Only skip drawers if the are
4430         immediately after the scheduling keywords.
4432         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4433         function
4434         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4435         call it with the current todo state to get the state to switch to
4436         when clocking in.
4437         (org-clock-in): Use org-indent-line-function to indent clock lines.
4438         (org-clock-find-position): Fix indentation of empty clock drawers.
4440 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4442         * org-publish.el (org-publish-org-to): Handle case when
4443         org-export-to-pdf does return a file name, not a buffer.
4444         (org-publish-org-to-pdf): New function.
4446         * org-export-latex.el (org-export-as-pdf)
4447         (org-export-as-pdf-and-open): New commands.
4449         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4450         forms as ranges.
4452         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4453         things in protexted regions.
4455 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4457         * org-export-latex.el (org-export-latex-preprocess): Improve
4458         quoting of LaTeX environments.
4460 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4462         * org.el (org-edit-fixed-width-region): Exclude final newline from
4463         picture area.
4465         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4466         sections, to make internal links work.
4467         (org-export-latex-fontify-headline): Do not remove all text
4468         properties, to make sure that target properties survive this
4469         process.
4471         * org-exp.el (org-export-preprocess-string): Change sequence of
4472         modifications, to make sure links are prepared before the LaTeX
4473         conversions do happen.
4475 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4477         * org-attach.el (org-attach-delete-all): Renamed from
4478         `org-attch-delete'.  Add a security query before deleting the
4479         entire directory.  New optional argument FORCE can overrule the
4480         security query.
4481         (org-attach-delete-one): New command.
4483 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4485         * org-attach.el (org-attach-file-list): Fix bug with directory.
4487 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4489         * org.el (org-apps-regexp-alist): New function.
4490         (org-file-apps): Add auto-mode to the default value.
4491         (org-open-file): Use the new structure of org-file-apps.
4493         * org-attach.el (org-attach): Support the new keys.
4494         (org-attach-method): New option.
4496 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4498         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4499         March.
4501         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4502         of the list value o `org-use-tag-inheritance'.
4504         * org-attach.el (org-attach-auto-tag): New option.
4505         (org-attach-tag, org-attach-untag): New functions.
4506         (org-attach-attach, org-attach-new, org-attach-sync): Call
4507         `org-attach-tag'.
4508         (org-attach-delete): Call `org-attach-untag'.
4510 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4512         * org-table.el (orgtbl-self-insert-command): Make this work for
4513         the keypad as well.
4515 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4517         * org.el (org-add-log-setup): Limit searc for drawers to entry
4518         text, not to subtree.
4520         * org-clock.el (org-clock-heading-for-remember): New variable.
4521         (org-clock-in): Set `org-clock-heading-for-remember'.
4523 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
4525         * org-remember.el (org-remember-apply-template): Add new
4526         expansions: %k, %K for currently clocked task and a link to the
4527         currently clocked task, and %< to file notes in the currently
4528         clocked task.
4530 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
4532         * org-export-latex.el (org-export-latex-make-header): Also insert
4533         the content of the property :latex-header-extra.
4535         * org-exp.el (org-infile-export-plist): Put the content of
4536         #+LATEX_HEADER: into the property :latex-header-extra.
4538         * org-colview.el (org-columns-get-format-and-top-level): Remove
4539         resetting the marker.
4541         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4542         Remove resetting the marker.
4544         * org.el (org-entry-property-inherited-from): Improve docstring.
4545         (org-entry-get-with-inheritance): Reset marker before starting the
4546         search.
4548         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4550 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
4552         * org.el (org-entry-get-multivalued-property)
4553         (org-entry-protect-space, org-entry-restore-space): New
4554         functions.
4555         (org-file-apps-defaults-macosx): Let postscript files be opened by
4556         preview.
4557         (org-time-stamp-inactive): Call `org-time-stamp'.
4558         (org-time-stamp): New argument `inactive'.  Also edit inacive
4559         stamps. Convert time stamp type.
4560         (org-open-file): Interpret the `default' value for the `command'
4561         in `org-file-apps'.
4563         * org-id.el (org-id-int-to-b36-one-digit)
4564         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4565         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4566         b36.
4568 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
4570         * org-id.el (org-id-reverse-string): New function.
4571         (org-id-new): Use `org-id-reverse-string' to make sure the
4572         beginning chars of the ID are mutating fast.  This allows to use a
4573         directory structure to spread things better.
4574         (org-id-prefix): Changed default to nil.
4576         * org-list.el (org-move-item-down, org-move-item-up): Remember and
4577         restore the column of the cursor position.
4579         * org-remember.el (org-remember-apply-template): Remove properties
4580         from `initial'.
4582 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
4584         * org-wl.el (org-wl-open): Remove useless call to
4585         `wl-thread-open-all'.
4587         * org-remember.el (org-remember-handler): Fix bug with `bottom'
4588         location.
4590 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
4592         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4593         `org-bbdb-anniversaries'.
4595         * org.el (org-get-next-sibling, org-forward-same-level): New
4596         functions, similar to the outline versions, but invisible headings
4597         are OK.
4599 2008-09-25  Bastien Guerry  <bzg@altern.org>
4601         * org.el (org-auto-repeat-maybe): Insert a space between
4602         the timestamp's type and the timestamp itself.
4604 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
4606         * org-table.el (org-table-sum): Do not format the result with %g,
4607         it does rounding when there are too many digits.
4609         * org.el (org-map-entries): Protect the keyword-selecting variables.
4611 2008-09-23  Bastien Guerry  <bzg@altern.org>
4613         * org-agenda.el (org-agenda-to-appt): Make sure the function check
4614         against all agenda files.
4616 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
4618         * org-list.el: New file, aggregating list functions from org.el
4619         and org-export-latex.el.
4621         * org.el (org-edit-src-region-extra): New option.
4623 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
4625         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4626         time before 1am.
4628 2008-09-22  Bastien Guerry  <bzg@altern.org>
4630         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4632 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
4634         * org-plot.el (org-plot/gnuplot): Make tables starting with a
4635         hline work correctly.
4636         (org-plot/gnuplot-script): Put commas at the end of each script
4637         line.
4639 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
4641         * org.el (org-get-refile-targets): Replace links with their
4642         descriptions
4643         (org-imenu-get-tree): Replace links with their descriptions.
4645         * org-remember.el (org-remember-apply-template): Add a new
4646         expansion for adding properties to remember items.
4648         * org.el (org-add-log-setup): Skip over drawers (properties,
4649         clocks etc) when adding notes.
4651         * org-agenda.el (org-agenda-get-closed): show durations of clocked
4652         items as well as the start and end times.
4654         * org-compat.el (org-get-x-clipboard-compat): Add a compat
4655         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4657         * org-remember.el (org-get-x-clipboard): Use the compat
4658         function to get clipboard values when x-selection-value is
4659         unavailable. Use substring-no-properties instead of
4660         set-text-properties to remove text properties from the clipboard
4661         value.
4663         * lisp/org-clock.el (org-update-mode-line): Support limiting the
4664         modeline clock string, and display the full todo value in the
4665         tooltip. Set a local keymap so mouse-3 on the clock string goes to
4666         the currently clocked task.
4667         (org-clock-string-limit): Add a custom value for the maximum
4668         length of the clock string in the modeline.
4669         (org-clock-mode-map): Add a keymap for the modeline string
4671 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4673         * org-compat.el (org-propertize): New function.
4675 2008-09-20  Bastien Guerry  <bzg@altern.org>
4677         * org-export-latex.el (org-export-latex-tables): protect exported
4678         tables from further special chars conversion.
4679         (org-export-latex-preprocess): Preserve LaTeX environments.
4680         (org-list-parse-list): Parse descriptive lists.
4681         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4682         (org-list-to-texinfo): Export descriptive lists.
4683         (org-quote-chars): Remove.
4684         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4685         (org-export-latex-list-beginning-re): Rename to
4686         `org-list-beginning-re'
4687         (org-list-item-begin): Rename to `org-list-item-beginning'
4689 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4691         * org.el (org-refile): Allow refiling to the last entry in the
4692         buffer.
4693         (org-get-tags-at): Fix bug when inheritance is turned off.
4695 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4697         * org.el (org-indent-line-function): No longer check for src
4698         regions, this is too much overhead.
4700         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4701         matching.
4703         * org.el (org-scan-tags): Make sure that tags matching is not case
4704         sensitive.  TODO keyword matching is case sensitive, however, to
4705         avoid confusion with similar words that are not meant to be
4706         keywords.
4708 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4710         * org.el (org-get-local-tags-at): New function.
4711         (org-get-local-tags): New function.
4713         * org-exp.el (org-export-get-categories): New function.
4715         * org-agenda.el (org-sorting-choice)
4716         (org-agenda-sorting-strategy, org-agenda-get-todos)
4717         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4718         (org-agenda-get-scheduled, org-agenda-get-blocks)
4719         (org-entries-lessp): Implement sorting by TODO state.
4720         (org-cmp-todo-state): New defsubst.
4722         * org-colview.el (org-colview-construct-allowed-dates): New
4723         function.
4724         (org-columns-next-allowed-value): Use
4725         `org-colview-construct-allowed-dates'.
4727         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4728         function.
4729         (org-columns-next-allowed-value): Use
4730         `org-colview-construct-allowed-dates'.
4732 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4734         * org.el (org-protect-slash): New function.
4735         (org-get-refile-targets): Use `org-protect-slash'.
4737         * org-agenda.el (org-global-tags-completion-table): New variable.
4739         * org-exp.el (org-export-handle-export-tags): New function.
4740         (org-export-preprocess-string): Call
4741         `org-export-handle-export-tags'.
4743         * org-plot.el: New file.
4745         * org-publish.el (org-publish-expand-components): Function removed.
4746         (org-publish-expand-projects): Allow components to have components.
4748 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4750         * org.el (org-indent-line-function): Do not indent in regions that
4751         are external source code.
4752         (org-yank-and-fold-if-subtree): New function.
4754         * org-agenda.el (org-agenda-todayp): New function.
4755         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4756         `org-agenda-todayp'.
4758         * org.el (org-insert-heading-respect-content)
4759         (org-insert-todo-heading-respect-content): New commands.
4760         (org-insert-heading-respect-content): New option.
4761         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4763         * org-clock.el (org-clock-find-position): Make sure the note after
4764         the clock line gets moved into the new clock drawer.
4766 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4768         * org-id.el (org-id-new): New option.
4770 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4772         * org-table.el (org-table-copy-down): Avoid overflow during
4773         increment.  Use prefix argument 0 to temporarily disable the
4774         increment.
4776 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4778         * org-exp.el (org-export-as-html): Do not turn on the major mode
4779         if the buffer will be killed anyway.
4780         (org-get-current-options): Exclude the #+TEXT field.
4781         (org-export-as-html): Make sure text before the first headline is
4782         a paragraph.
4784         * org-publish.el (org-publish-org-to): Tell the exporter that this
4785         buffer will be killed, so it is not necessary to do major mode
4786         initialization.
4788         * org-archive.el (org-archive-to-archive-sibling): Show empty
4789         lines after folding the archive sibling.
4791         * org.el (org-log-note-extra): New variable.
4793 2008-09-05  Bastien Guerry  <bzg@altern.org>
4795         * org.el (org-additional-option-like-keywords): Added keywords for
4796         the _QUOTE, _VERSE and _SRC environments.
4798         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4799         exporting _QUOTE and _VERSE environments.
4801 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4803         * org-agenda.el (org-agenda-filter-by-tag): New command.
4805         * org-exp.el (org-get-current-options): Remove angular brackets
4806         from the date entry.
4808         * org.el (org-edit-fixed-width-region): New function.
4809         (org-edit-fixed-width-region): Also try
4810         `org-edit-fixed-width-region'.
4811         (org-edit-fixed-width-region-mode): New option.
4812         (org-activate-code): Only interprete lines starting with colon
4813         plus a space as example lines.
4815         * org-remember.el (org-remember-templates): Add nil instead of
4816         empty strings to fix the length of remember templates.
4818         * org-table.el (org-calc-default-modes): Fix the time format for
4819         calc, from 12 hour to 24 hour clock.
4821 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4823         * org-agenda.el (org-agenda-get-deadlines)
4824         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4825         entries that are pre-warnings of deadlines or reminders.
4827         * org.el (org-sort-entries-or-items): Make numeric and alpha
4828         comparisons ignore any TODO keyword and priority cookie.
4830         * org-remember.el (org-remember-handler): Reinterpretation of the
4831         prefix argument.
4833 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4835         * org-agenda.el (org-agenda-get-scheduled): Use new
4836         `org-scheduled' face.
4838         * org-faces.el (org-scheduled): New face.
4840         * org-wl.el (org-wl-open): Remove incorrect declaration.
4842         * org-gnus.el (org-gnus-store-link): Support for :to information
4843         in gnus links.
4845         * org-exp.el (org-export-as-html): Fixed typo in creator
4846         information.
4847         (org-export-protect-examples): New parameter indent.  Insert extra
4848         spaces only when this parameter is specified.
4849         (org-export-preprocess-string): Call `org-export-protect-examples'
4850         with an indentation parameter when exporting to ASCII.
4852         * org-remember.el (org-remember-templates)
4853         (org-remember-apply-template): Allow the file component to be a
4854         function.
4856         * org.el (org-goto-local-search-headings): Renamed from
4857         `org-goto-local-search-forward-headings'.  Added the possibility
4858         to search backwards.
4860 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4862         * org-export-latex.el (org-export-latex): New customization
4863         group.
4865         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4867 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4869         * org-exp.el (org-html-do-expand): Allow {} to terminate
4870         tex macro
4872 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4874         * org.el (org-buffer-list): Select buffers based on major mode,
4875         not on file name.
4877 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4879         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4880         face property.
4882         * org-colview.el (org-columns-display-here): Use
4883         `org-columns-modify-value-for-display-function'.
4885         * org-colview-xemacs.el (org-columns-display-here): Use
4886         `org-columns-modify-value-for-display-function'.
4888 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4890         * org.el (org-columns-modify-value-for-display-function): New option.
4902         * org-publish.el (org-publish-file): Make sure the directory match
4903         for the publishing directory works correctly.
4905         * org-agenda.el (org-agenda-execute-calendar-command)
4906         (org-agenda-diary-entry): Additional optional argument.
4908 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4910         * org-exp.el (org-export-as-html): Add attributes also in mailto
4911         and ftp links.
4913         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4922 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4924         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4925         sure that calls from `org-export-region-as-html' do not do the
4926         special check for a subtree.
4928 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4930         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4932 2008-07-20  Juri Linkov  <juri@jurta.org>
4934         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4935         new keymap `narrow-map' instead of binding "\C-xns".
4937 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4939         * org.el (org-open-file): Use
4940         `org-open-directory-means-index-dot-org'.
4941         (org-open-directory-means-index-dot-org): New option.
4943 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4945         * org.el (org-make-link-string): Remove link attributes from
4946         description.
4947         (org-open-at-point): Remove link attributes bevore using the path.
4949         * org-exp.el (org-export-as-html): Handle link attributes.
4951         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4953         * org-table.el (org-table-to-lisp): New function.
4955         * org.el (org-narrow-to-subtree): Do not include the final newline
4956         into the narrowed region.
4958         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4959         bug with user-define skipping condition.
4961 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4963         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4965 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4967         * org-exp.el (org-export-html-style-default): Automatic overflow
4968         handling for pre fields.
4969         (org-export-as-ascii, org-export-as-html): Change default format
4970         for time stamp.
4972         * org-table.el (org-table-export): Offer completion for translator
4973         functions, and do not require a heading above the table.
4975         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4976         Cater for the case of a list starting in the first line of the
4977         buffer.
4979 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4981         * org-publish.el (org-publish-find-title): Bug fix.
4982         (org-publish-org-index): Implement new :index-style option.
4984 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4986         * org-publish.el (org-publish-timestamp-filename): Use
4987         SHA1-encoded file names in the timestamp directory.
4989 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4991         * org-publish.el (org-publish-needed-p): Be verbose about files
4992         published and files skipped.
4994         * org-exp.el (org-export-preprocess-string): Swap link
4995         normalization and inernal link targeting.
4997         * org-publish.el (org-publish-needed-p): Create timestamp
4998         directory when it does not exist.
5000 2008-07-04  Bastien Guerry  <bzg@altern.org>
5002         * org-clock.el (org-clock-out-when-done): Doc fix.
5004         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5006         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5007         Ignore case when searching for the COMMENT cookie at export time.
5009 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5011         * org-exp.el (org-get-file-contents)
5012         (org-get-and-remove-property): New functions.
5013         (org-export-handle-include-files): Handle the new prefix options.
5014         (org-export-as-html): Fix the verse environment.
5016 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5018         * org.el (org-time=, org-time<, org-time<=, org-time>)
5019         (org-time>=, org-time<>, org-2ft): New functions.
5020         (org-op-to-function): Also provide for the time testing fucntions.
5022 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5024         * org-exp.el (org-export-html-style-default): New constant.
5026 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5028         * org-exp.el (org-export-html-style-extra): New variable.
5029         (org-export-splice-style): New function.
5031 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5033         * org-exp.el (org-export-plist-vars, org-export-as-html):
5034         Implement `org-export-creator-info'.
5035         (org-export-creator-info): New option.
5037 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5039         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5040         (org-property-drawer-re, org-clock-drawer-re): New constants.
5042 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5044         * org-exp.el (org-icalendar-use-deadline)
5045         (org-icalendar-use-scheduled): New options.
5046         (org-icalendar-include-todo): Default changed to t.
5047         (org-print-icalendar-entries): Implement better utilization of
5048         scheduling and deadline time stamps.
5049         (org-export-target-internal-links, org-export-as-html): Allow file
5050         lines without the "file:" prefix if the file path is an absolute
5051         path or starts with ".".
5053         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5054         lastweek etc.
5055         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5057 2008-06-18  Glenn Morris  <rgm@gnu.org>
5058         * org.el (org-map-entries): Let-bind `file'.
5060 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5062         * org.el (org-agenda-skip-archived-trees): Docstring now
5063         discourages using this.
5064         (org-scan-tags): Check for org-agenda-archives-mode.
5065         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5066         (org-agenda-files): Functionality of second arg changed.
5068         * org-agenda.el (org-agenda-archives-mode): New variable
5069         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5070         (org-search-view, org-todo-list, org-tags-view)
5071         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5072         `ifmode' argument.
5073         (org-agenda-quit): Reset the archives mode.
5074         (org-agenda-archives-mode): New command.
5075         (org-agenda-set-mode-name): Include archives info.
5077 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5079         * org.el (org-paste-subtree): Make sure the yanked headline is
5080         visible if it was yanked at a visible point.
5081         (org-move-item-up): Fix the bug with moving white space at the end
5082         of the item.
5083         (org-show-empty-lines-in-parent): New function.
5085 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5087         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5089         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5091         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5092         agenda prefix as well.
5094         * org-publish.el (org-publish-org-index): Make a properly indented
5095         list.
5097         * org.el (org-calendar-agenda-action-key): New option.
5098         (org-get-cursor-date): New function.
5099         (org-mark-entry-for-agenda-action): New command.
5100         (org-overriding-default-time): New variable.
5101         (org-read-date): Respect `org-overriding-default-time'.
5103         * org-remember.el (org-remember-apply-template): Respect the
5104         ovverriding default time.
5106         * org-agenda.el (org-agenda-action-marker): New variable.
5107         (org-agenda-action): New command.
5108         (org-agenda-do-action): New function.
5110 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5112         * org.el (org-schedule, org-deadline): Protect scheduled and
5113         deadline tasks against changes that accidently remove the
5114         repeater.  Also show a message with the new date when done.
5116 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5118         * org.el (org-beginning-of-line): Cater for the case when there
5119         are tags but no headline text.
5120         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5121         it set.
5123 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5125         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5126         the return value is nil instead of "nil" when there is no match.
5128         * org-exp.el (org-insert-centered): Use fill-column instead of
5129         80.
5130         (org-export-as-ascii): Use string-width to measure the width of
5131         the heading.
5133         * org.el (org-diary-to-ical-string): No longer kill buffer
5134         FROMBUF, this is now done by the caller.
5136         * org-exp.el (org-print-icalendar-entries): Move the call to
5137         `org-diary-to-ical-string' out of the loop, and kill the buffer
5138         afterwords.
5140         * org-remember.el (org-remember-visit-immediately): Position
5141         cursor after moving to the note.
5142         (org-remember-apply-template): Use a text property to record the
5143         cursor position.
5144         (org-remember-handler): Align tags after pasting the note.
5146 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5148         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5150         * org-agenda.el (org-agenda-open-link): If there is an
5151         org-bbdb-name property in the current line, jump to that bbdb
5152         entry.
5154         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5155         text property, so that the agenda knows where this entry comes
5156         from.
5158         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5159         interaction between clocking-in from the agenda, and  automatic
5160         task state switching.
5162         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5164         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5165         zmacs-region stays after this command in XEmacs.
5167 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5169         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5171         * org-remember.el (org-remember-templates): Fix bug in
5172         customization type definition.
5174         * org.el (org-map-entries): New function.
5176 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5178         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5179         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5181 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5183         * org-remember.el (org-jump-to-target-location): New variable.
5184         (org-remember-apply-template): Set
5185         `org-remember-apply-template' if requested by template.
5186         (org-remember-handler): Start an idle timer to jump to
5187         remember location.
5189         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5191         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5192         file tags.
5193         (org-get-tags-at): Add the content of `org-file-tags'.
5195         * org-exp.el (org-export-handle-comments): Fix bug with several
5196         comment lines after each other.
5197         (org-number-to-roman, org-number-to-counter): New functions.
5198         (org-export-section-number-format): New option.
5200 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5202         * org-exp.el (org-export-protect-examples): Catch the case of a
5203         missing end_example line.
5205         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5206         `org-file-tags' to nil.
5208         * org-colview.el (org-columns-next-allowed-value): Handle next
5209         argument NTH to directly select a value.
5211         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5212         argument NTH to directly select a value.
5214 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5216         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5218 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5220         * org.el (org-columns-ellipses): New option.
5222 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5224         * org-colview.el (org-columns-add-ellipses): New function.
5225         (org-columns-compact-links): New function.
5226         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5227         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5228         when in agenda.
5229         (org-columns-edit-value): Fixed bug with editing values from
5230         agenda column view.
5231         (org-columns-redo): Also redo the agenda itself.
5233 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5235         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5236         option.
5238         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5240         * org-exp.el (org-export-ascii-preprocess): Renamed from
5241         `org-export-ascii-clean-string'.
5242         (org-export-kill-licensed-text)
5243         (org-export-define-heading-targets)
5244         (org-export-handle-invisible-targets)
5245         (org-export-target-internal-links)
5246         (org-export-remove-or-extract-drawers)
5247         (org-export-remove-archived-trees)
5248         (org-export-protect-quoted-subtrees)
5249         (org-export-protect-verbatim, org-export-protect-examples)
5250         (org-export-select-backend-specific-text)
5251         (org-export-mark-blockquote-and-verse)
5252         (org-export-remove-comment-blocks-and-subtrees)
5253         (org-export-handle-comments, org-export-mark-radio-links)
5254         (org-export-remove-special-table-lines)
5255         (org-export-normalize-links)
5256         (org-export-concatenate-multiline-links)
5257         (org-export-concatenate-multiline-emphasis): New functions,
5258         obtained from spliiting the export preprocessor.
5260         * org-table.el (org-table-recalculate): Improve error message if
5261         the row number is invalid.
5263 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
5265         * org-archive.el (org-archive-save-context-info): Fix bugs in
5266         customization setup and docstring.
5268         * org-exp.el (org-export-html-style): Changed the size of in the
5269         <pre> element to 90%.
5271 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
5273         * org.el (org-find-src-example-start): Function removed.
5274         (org-edit-src-find-region-and-lang): New function.
5276 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
5278         * org.el (org-edit-src-exit): New function.
5279         (org-exit-edit-mode): New minor mode.
5281         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5282         comment-like lines from protected examples.
5284         * org.el (org-edit-src-example, org-find-src-example-start)
5285         (org-protect-source-example, org-edit-special): New functions.
5287 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
5289         * org-publish.el (org-publish-project-alist): Fix typo in
5290         docstring.
5291         (org-publish-project-alist): Handle :index-title property.
5293 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
5295         * org-export-latex.el (org-export-as-latex): Make sure region
5296         bounds are correct.  Parse subtree properties relating to export.
5298         * org-exp.el (org-export-add-options-to-plist): New function.
5299         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5301 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
5303         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5304         EXPORT_TITLE.
5306         * org-exp.el (org-export-get-title-from-subtree)
5307         (org-export-as-ascii, org-export-as-html): Make sure the original
5308         region-beginning and region-end are used, even after moving
5309         point.
5310         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5311         property.
5313         * org-remember.el (org-remember-last-stored-marker): New variable.
5314         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5315         (org-remember-handler): Also use marker to remember
5316         last-stored position.
5318         * org.el (org-goto-marker-or-bmk): New function.
5320 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
5322         * org.el (org-file-properties): Renamed from `org-local-properties'.
5323         (org-scan-tags): Take file tags into account.
5324         (org-tags-match-list-sublevels): Default changed to t.
5326         * org-exp.el (org-export-as-html): Close paragraph after a
5327         footnote.
5329         * org.el (org-update-parent-todo-statistics): New function.
5331         * org-exp.el (org-icalendar-store-UID): New option.
5332         (org-icalendar-force-UID): Option removed.
5333         (org-print-icalendar-entries): IMplement UIDs.
5335 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5337         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5339 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5341         * org-faces.el (org-column): Document how this face is being used
5342         and why sometimes the background faces shine through.
5344         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5346         * org-publish.el (org-publish-attachment): Create publishing
5347         directory if it does not yet exist.
5349         * org-table.el (org-calc-default-modes): Change default number
5350         format to (float 8).
5352         * org.el (org-olpath-completing-read): New function.
5353         (org-time-clocksum-format): New option.
5354         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5356         * org-clock.el (org-clock-display, org-clock-out)
5357         (org-update-mode-line): Use `org-time-clocksum-format'.
5359         * org-colview-xemacs.el (org-columns-number-to-string): Use
5360         `org-time-clocksum-format'.
5362         * org-colview.el (org-columns-number-to-string): Use
5363         `org-time-clocksum-format'.
5365 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5367         * org-id.el: New file, move from contrib to core.
5369         * org-exp.el (org-icalendar-force-UID): New option.
5371 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5373         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5374         shifted by one day if theere is a date range without an end
5375         time.
5377         * org.el (org-try-structure-completion): New function.
5379 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5381         * org.el (org-set-font-lock-defaults): Improve fontification of
5382         description lists.
5383         (org-insert-item): Handle description lists.
5384         (org-adaptive-fill-function): Improve auto indentation in
5385         description lists.
5387         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5388         Implement VERSE environment.
5389         (org-export-preprocess-string): Implement the COMMENT
5390         environment.
5392         * org-export-latex.el (org-export-latex-preprocess): Implement
5393         VERSE environment.
5395 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5397         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5398         option.
5400 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5402         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5404         * org.el (org-quote-csv-field): New functions.
5406         * org-table.el (org-table-export-default-format): Remove :splice
5407         from default format, we get the same effect by not specifying
5408         :tstart and :tend.
5409         (org-table-export): Improve setup, distinguish better between
5410         interactive and non-interactive use, allow specifying the format
5411         on the fly, better protection against wrong file names.
5412         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5413         and :tend when :splice is omitted.
5415 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5417         * org-clock.el (org-clock-select-task): Make sure the selection
5418         letters are 1-9 and A-Z, no special characters.
5420 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5422         * org-exp.el (org-export-htmlize): New group.
5423         (org-export-htmlize-output-type)
5424         (org-export-htmlize-css-font-prefix): New options.
5425         (org-export-htmlize-region-for-paste): New function.
5426         (org-export-htmlize-generate-css): New command.
5428 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5430         * org/org.el (org-modules, org-format-latex-options):
5431         * org/org-archive.el (org-archive-stamp-time)
5432         (org-archive-save-context-info):
5433         * org/org-faces.el (org-hide):
5434         * org/org-irc.el (org-irc-parse-link):
5435         * org/org-macs.el (org-call-with-arg, org-autoload):
5436         * org/org-mew.el (org-mew-store-link):
5437         * org/org-remember.el (org-remember-store-without-prompt)
5438         (org-remember-templates): Fix typos in docstrings.
5440         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5442         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5443         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5444         (org-bbdb-anniv-split): Fix typos in docstrings.
5446         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5447         (org-publish-use-timestamps-flag): Reflow docstring.
5448         (org-publish-files-alist): Fix typos in docstring.
5450 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5452         * org.el (org-set-visibility-according-to-property): New function.
5453         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5454         and compute the regular expressions, and update font-lock.
5455         (org-property-re): Allow a dash in property names.
5457         * org-archive.el (org-extract-archive-file): Insert the file name
5458         without the path into the format, to allow the location format to
5459         contain a subdirectory.
5461         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5462         of buffer, and the `org-agenda-type' property undefined, use the
5463         value from the character before.
5465         * org.el (org-add-planning-info): Don't let indentation for
5466         would-be timestamp become extra whitespace at the end of headline.
5468 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5470         * org.el (org-remove-double-quotes, org-file-contents): New
5471         functions.
5473         * org-exp.el (org-infile-export-plist): Also parse the
5474         contents of #+SETUPFILE files, recursively.
5476         * org.el (org-set-regexps-and-options): Also parse the
5477         contents of #+SETUPFILE files, recursively.
5479         * org-exp.el (org-export-handle-include-files): New function.
5480         (org-export-preprocess-string): Call
5481         `org-export-handle-include-files'.
5483         * org.el (org-delete-property-globally)
5484         (org-delete-property, org-set-property): Ignore case during
5485         completion.
5486         (org-set-property): Use `org-completing-read' instead of
5487         `completing-read'.
5489         * org.el (org-complete-expand-structure-template): New,
5490         experimental function.
5491         (org-structure-template-alist): New, experimental option.
5492         (org-complete): Call `org-complete-expand-structure-template'.
5494 2008-05-06  Bastien Guerry  <bzg@altern.org>
5496         * org-export-latex.el (org-export-latex-preprocess): Added
5497         support for blockquotes.
5499 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5501         * org.el (org-read-date-analyze): Catch the case where only a
5502         weekday is given.
5504 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5506         * org.el (org-set-font-lock-defaults): Make the description
5507         tag bold.
5509         * org-exp.el (org-export-as-html, org-close-li): Implement
5510         description lists.
5512 2008-05-04  Jason Riedy  <jason@acm.org>
5514         * org-table.el (*orgtbl-default-fmt*): New variable.
5515         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5516         when there is no other fmt available.
5518         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5519         :tend to suppress the appropriate string.
5521         (orgtbl-to-orgtbl): New function for translating to another orgtbl
5522         table.
5524 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
5526         * org.el (org-read-date-analyze): "." as an alias for "+0" in
5527         read date.
5529         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5530         New function.
5532         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5533         New function.
5535 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
5537         * org-clock.el (org-clock-find-position): Don't include notes
5538         into clock drawer.
5540         * org-archive.el (org-archive-subtree): No longer remove an
5541         extra line after cutting the subtree.  `org-cut-subtree' already
5542         takes care of this.
5544         * org-remember.el (org-remember-handler): Only kill the target
5545         buffer if it does not contain the running clock.
5547         * org.el (org-markers-to-move): New variable.
5548         (org-save-markers-in-region, org-check-and-save-marker)
5549         (org-reinstall-markers-in-region): New function.
5550         (org-move-subtree-down, org-copy-subtree): Remember relative
5551         marker positions before cutting.
5552         (org-move-subtree-down, org-paste-subtree): Restore relative
5553         marker positions after pasting.
5555         * org-remember.el (org-remember-clock-out-on-exit): New option.
5556         (org-remember-finalize): Clock out only if the setting in
5557         `org-remember-clock-out-on-exit' requires it.
5558         (org-remember-handler): Do the cleanup in the buffer, to make sure
5559         that the clock marker remains in tact.
5561 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
5563         * org-clock.el (org-clock-goto): Widen buffer if necessary.
5564         (org-clock-in): Make sure that also tasks outside the narrowed
5565         region will be clocked in correctly.
5566         (org-clock-insert-selection-line): Widen the buffer so that we can
5567         find the correct task heading.
5569         * org.el (org-base-buffer): New function.
5571         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5572         and ";" are escaped.
5573         (org-print-icalendar-entries): Also apply
5574         `org-icalendar-cleanup-string' to the headline, not only to the
5575         summary property.
5577 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
5579         * org-exp.el (org-export-preprocess-hook): New hook.
5580         (org-export-preprocess-string): Call
5581         `org-export-preprocess-hook'.
5583         * org.el (org-font-lock-hook): New variable.
5584         (org-font-lock-hook): New function.
5585         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5587 ;; Local Variables:
5588 ;; coding: utf-8
5589 ;; add-log-time-zone-rule: t
5590 ;; End:
5592     Copyright (C) 2008  Free Software Foundation, Inc.
5594   This file is part of GNU Emacs.
5596   GNU Emacs is free software: you can redistribute it and/or modify
5597   it under the terms of the GNU General Public License as published by
5598   the Free Software Foundation, either version 3 of the License, or
5599   (at your option) any later version.
5601   GNU Emacs is distributed in the hope that it will be useful,
5602   but WITHOUT ANY WARRANTY; without even the implied warranty of
5603   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5604   GNU General Public License for more details.
5606   You should have received a copy of the GNU General Public License
5607   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
5609 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c