New minor mode org-indent-mode
[org-mode.git] / lisp / ChangeLog
blob7002522c1206c7ca017f6108a16f5e6730aaa102
1 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-startup-indented): New option.
4         (org-startup-options): Add new options indent and noindent.
5         (org-unfontify-region): Remove line-prefix and wrap-prefix
6         properties.
7         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
8         hooks.
9         (org-promote, org-demote): Run the new hooks.
11         * org-table.el (org-table-align): Replace leading \n as well.
13         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
14         and `line-wrap' text properties.
16         * org-compat.el (org-kill-new): New function.
18         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
19         `line-wrap' text properties.
21         * org-indent.el: New file.
23 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
25         * org.el (org-provide-todo-statistics): Tweak docstring.
27         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
29 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
31         * org-exp.el (org-export-as-org): Insert the "-source" string
32         before the extension.
34         * org.el (org-read-date): Make sure the calendar is in the current
35         frame.
36         (org-set-emph-re): Remove the ? from the post-match.
37         (org-emphasis-regexp-components): Add backslash to the
38         postmatch class.
39         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
40         optional so that also lines at the end of the buffers will still
41         be matched as headlines.
43         * org-table.el (org-table-error-on-row-ref-crossing-hline):
44         Variable made obsolete.
45         (org-table-relative-ref-may-cross-hline): New option.
46         (org-table-find-row-type): Honow the new option
47         `org-table-relative-ref-may-cross-hline'.
49 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
51         * org-table.el (org-table-cut-region, org-table-copy-region): Work
52         on single field if no active region.
54 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
56         * org-latex.el (org-export-latex-make-header): Only insert title
57         if one is defined.
59         * org.el (org-make-options-regexp): Allow empty values.
61         * org-html.el (org-export-as-html): Move hrule detection to after
62         plain list handling.
64 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
66         * org-html.el (org-format-org-table-html): Fix colgroup tags.
68 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
70         * org.el (org-cycle-internal-local): Improved version of finding
71         next visible line.
72         (org-cycle-hide-drawers): Only hide drawers if this is really
73         necessary.
74         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
75         org-version of this function in Org-mode.  We use advice to
76         implement this change, so that future changes to this function in
77         outline.el wil be handled properly.
78         (org-forward-same-level, org-backward-same-level): New commands.
80 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
82         * org.el (org-remove-empty-overlays-at)
83         (org-clean-visibility-after-subtree-move): New functons.
84         (org-move-subtree-down): Simplify cleanup of display.
86 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
88         * org-mac-message.el (org-mac-message-get-links): Improve
89         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
90         "s".  Fix the return value.
91         (org-mac-message-insert-flagged): Simplify.
93         * org.el (org-refile-get-location): Tamper with refile history o
94         that history contains compete matches instead of the entered
95         string.
97 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
99         * org.el (org-store-link): Never store a link to an inline task.
101         * org-inlinetask.el (org-inlinetask-insert-task): New command.
103         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
104         inline tasks when positioning footnotes.
106         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
107         function.
109         * org.el (org-refile): Remove the END line when archiving an
110         inline task that does have an END line.
112         * org-archive.el (org-archive-subtree): Remove the END line when
113         archiving an inline task that does have an END line.
115         * org-macs.el (org-with-limited-levels): New macro.
116         (org-get-limited-outline-regexp): New function.
118         * org-exp.el (org-export-format-source-code-or-example): Fix bug
119         that did not enumerate first line.
120         (org-export-mark-radio-links): Skip matches in links.
122 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
124         * org.el (org-activate-plain-links): Make single-match.
125         (org-adapt-indentation): Fix docstring.
127         * org-macs.el (org-unmodified): Turn of modification hooks while
128         running this macro.
130 2009-08-02  Bastien Guerry  <bzg@altern.org>
132         * org.el (org-adapt-indentation): Slightly improve the docstring.
133         (org-occur): Sends an error when the user inputs an empty string.
134         (org-priority): Bugfix: the tag alignement should happen within
135         save-excursion.
137 2009-07-31  Bastien Guerry  <bzg@altern.org>
139         * org.el (org-make-link-regexps): Don't exclude parentheses from
140         `org-plain-link-re'
141         (org-cycle-internal-local): When locally cycling, switch directly
142         from CHILDREN to FOLDED if there is no subtree
143         (org-cycle): Update the docstring to document the new behavior of
144         `org-cycle-internal-local'.
146 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
148         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
149         an abbreviated format for days.
151 2009-07-27  Bastien Guerry  <bzg@altern.org>
153         * org-protocol.el (org-protocol-default-template-key): New
154         option.
156         * org.el (org-refile): Bugfix: save-excursion before reading the
157         refile target, otherwise cursor moves might confuse `org-refile'.
159         * org-html.el (org-export-as-html): Bugfix: correctly convert the
160         footnote reference before the footnote itself.
162         * org.el (org-toggle-heading): Bugfix: correctly convert list
163         items before the first headline.
165         * org-html.el (org-export-html-footnote-format): New option for
166         formatting the footnote reference.
167         (org-export-as-html): Use the new option.
169         * org.el (org-provide-todo-statistics): Allow a list of TODO
170         keywords to compute statistics against headlines containing a
171         keyword from this list.
172         (org-update-parent-todo-statistics): Possibly use the new allowed
173         value of `org-provide-todo-statistics'.
175 2009-07-26  Bastien Guerry  <bzg@altern.org>
177         * org-timer.el: Add autoload cookie.
179         * org.el (org-occur-link-in-agenda-files): New function.
181         * org-timer.el (org-timer-last-timer): New variable.
183         * org-agenda.el (org-agenda-mode-map): New key for
184         org-timer-set-timer called from the agenda.
186         * org.el (org-mode-map): New key for org-timer-set-timer.
188         * org-timer.el (org-timer-reset-timers)
189         (org-timer-show-remaining-time, org-timer-set-timer): New
190         functions.
192         * org-clock.el (org-show-notification): Update the docstring.
194         * org.el (org-provide-todo-statistics): Allow new value
195         'all-headlines for this option, which includes entries with no
196         TODO keywords in the todo statistics.
197         (org-update-parent-todo-statistics): Possibly use the new
198         'all-headline value from `org-provide-todo-statistics'.
200 2009-07-25  Bastien Guerry  <bzg@altern.org>
202         * org-clock.el (org-dblock-write:clocktable): Add a new option
203         :timestamp which allows display of timestamps in clock reports.
205         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
206         list to a subtree, preserving the structure of the list.
207         (org-set-emph-re): Make the last element optional in the regexp.
208         This regexp now matches an emphasized string at the end of a line.
210         * org-list.el (org-list-goto-true-beginning)
211         (org-list-make-subtree, org-list-make-subtrees): New functions.
213         * org.el (org-eval-in-calendar): Select the right frame.
214         (org-save-frame-excursion): Remove this macro.
216 2009-07-24  Bastien Guerry  <bzg@altern.org>
218         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
219         trying to find the beginning of a list.
221         * org-exp.el (org-get-file-contents): Use a new argument: markup.
222         When present, tell org-get-file-contents not to protect org-like
223         lines.
225         * org-id.el (org-id-uuid-program): New option to set the name of
226         the uuidgen program.
227         (org-id-method): Use `org-id-uuid-program'.
228         (org-id-new): Use `org-id-uuid-program'.
230 2009-07-23  Bastien Guerry  <bzg@altern.org>
232         * org-exp.el (org-export-number-lines): Allow whitespace in code
233         references.  Allow the -r switch to remove the references in the
234         source code even when the lines are not numbered: the labels can
235         be explicit enough.
237         * org.el (org-fontify-whole-heading-line): New option.
238         (org-set-font-lock-defaults): Use the new option.
240         * org-clock.el (org-show-notification-handler): New option.
241         (org-show-notification): Use the new option.
243 2009-07-21  Bastien Guerry  <bzg@altern.org>
245         * org.el (org-eval-in-calendar): Fix a bug about calendar
246         navigation when `calendar-setup' value is 'calendar-only.
248 2009-07-19  Bastien Guerry  <bzg@altern.org>
250         * org.el (orgstruct++-mode): Fix typo in docstring.
251         (org-insert-link): Clean up: (or (...)) => (...)
252         (org-insert-link): Use TAB for stored links completion.
254 2009-07-18  Bastien Guerry  <bzg@altern.org>
256         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
257         building the list of targets.
259         * org-remember.el (org-remember-delete-empty-lines-at-end): New
260         option.
261         (org-remember-handler): Use the new option.
263 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
265         * org.el (org-tags-sort-function): New option for sorting tags.
266         (org-set-tags): Use the new option to sort tags.
268         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
269         premature deletion of the data when using org-plot in a script.
271 2009-07-17  Bastien Guerry  <bzg@altern.org>
273         * org-clock.el (org-clock-in-prepare-hook): New hook.
274         (org-clock-in): Use this new hook.
276 2009-07-16  Bastien Guerry  <bzg@altern.org>
278         * org.el (org-special-ctrl-a/e): Explicitely bind the value
279         'reversed for this option to the "true line boundary first"
280         behavior.
281         (org-tags-match-list-sublevels): Document the 'indented value for
282         this variable.
284         * org-latex.el (org-export-latex-first-lines): Fix problem with
285         publishing the region.
287         * org-exp.el (org-export-format-source-code-or-example): Fix
288         bad line numbering when exporting examples in HTML.
290 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
292         * org-clock.el (org-clock-goto): Find hidden headlines as well.
294         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
296         * org-plot.el (org-plot/add-options-to-plist): Add timeind
297         option.
299 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
301         * org-publish.el (org-publish-remove-all-timestamps): New function.
302         (org-publish-all): Remove all timestamp files if `org-publish-all'
303         is called with a prefix argument.
305         * org-list.el (org-indent-item): Fix typo.
306         (org-item-indent-positions): Normalize ordered bullet.
308         * org-html.el (org-export-html-home/up-format): New option.
309         (org-export-as-html): Insert the up and HOME links.
311 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
313         * org-html.el (org-export-as-html): Insert the title into the
314         option plist.
315         (org-export-html-insert-plist-item): New function.
316         (org-export-as-html): Call `org-export-html-insert-plist-item'.
318         * org-macs.el (org-set-local): Make a local variable, do not make
319         the variable buffer-local!
321         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
323         * org-html.el (org-export-as-html): Call `org-install-letbind'.
325         * org-docbook.el (org-export-as-docbook): Call
326         `org-install-letbind'.
328         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
330         * org-exp.el (org-infile-export-plist): Read BIND lines.
331         (org-install-letbind): New function.
332         (org-export-as-org, org-export-preprocess-string): Call
333         `org-install-letbind'.
335         * org-src.el (org-edit-src-exit): Untabify the example before
336         returning to Org.
338         * org-list.el (org-list-demote-modify-bullet): New option.
339         (org-first-list-item-p): Save point.
340         (org-fix-bullet-type): New optional argument FORCE-BULLET.
341         (org-indent-item): Honor `org-list-demote-modify-bullet'.
342         (org-item-indent-positions): Return bullet types along with
343         indentation.
345 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
347         * org.el (org-show-entry): Hide drawers.
349 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
351         * org-footnote.el (org-footnote-auto-adjust): New option.
352         (org-footnote-auto-adjust-maybe): New function.
353         (org-footnote-new, org-footnote-delete): Call
354         `org-footnote-auto-adjust-maybe'.
356         * org.el (org-startup-options): Add new footnote-related
357         keywords.
359         * org-publish.el (org-publish-timestamp-filename): Additional
360         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
361         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
362         TRUE-PUB-DIR.  Pass them through to
363         `org-publish-timestamp-filename'.
364         (org-publish-update-timestamp): Additional arguments PUB-DIR and
365         PUB-FUNC, which are included in the hash.
366         (org-publish-file): Delay timestamp test until the publishing
367         function is known.
369 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
372         setting the deadline.
374         * org.el (org-read-date-final-answer): New variable.
375         (org-read-date): Store the final answer string, including the date
376         from the calendar, for reuse by agenda bulk commands.
378         * org-publish.el (org-publish-attachment): Fix publishing of
379         attachments.
381         * org-latex.el (org-export-latex-quotation-marks): Fix export of
382         quotation makrs in parenthesis.
383         (org-remove-initial-hash): New function.
384         (org-export-latex-preprocess): Fix bug with infinite loop if
385         environment is not properly closed.
387         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
388         when indented.
390         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
391         highlight also when indented.
393 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
395         * org-footnote.el (org-footnote-renumber-fn:N): New command.
396         (org-footnote-action): Offer renumbering.
398         * org.el (org-cycle): Honor the `integrate' value of
399         org-cycle-include-plain-lists'.
401         * org-list.el (org-cycle-include-plain-lists): New allowed value
402         `internal'.  Improve the docstring.
404         * org.el (org-set-autofill-regexps): Improve the paragraph-start
405         regexp to work better with LaTeX commands.
407 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
409         * org-feed.el (org-feed-update): fix problem with non-existing
410         buffer.
411         (org-feed-skip-http-headers): New function.
412         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
413         (org-feed-get-feed): Fix command line arguments for curl.
415 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
418         and eps extensions.
420 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
422         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
423         loaded.
425         * org.el (org-map-entries): No longer force
426         `org-tags-match-list-sublevels' to t during a todo-only tags
427         search.
429 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
431         * org-latex.el (org-export-latex-low-levels): Allow user-defined
432         environment.
433         (org-export-latex-subcontent): Handle user-defined environment.
435         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
436         the View dispatcher.
438         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
439         `make-overlay'.
441         * org-latex.el (org-export-as-pdf): Protect match data during call
442         to shell-quote-argument.
444         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
445         (org-agenda-view-mode-dispatch): New function.
447 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
449         * org-agenda.el (org-agenda-mode): Reset list of marks.
450         (org-agenda-mode-map): Define new keys for refile and bulk action.
451         (org-agenda-menu): Add menu itesm for refile and bulk action.
452         (org-agenda-refile): New function.
453         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
454         (org-agenda-marked-entries): New variable.
455         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
456         (org-agenda-remove-all-bulk-action-marks)
457         (org-agenda-bulk-action): New functions/commands.
459 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
461         * org-exp.el (org-get-file-contents): Protect org-like lines in
462         included files.
463         (org-export-format-source-code-or-example): Remove newlines.
465         * org-latex.el (org-export-latex-links): Check for no-description
466         marking.
468         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
469         argument separator back to comma.
470         (org-export-normalize-links): Mark links without description.
472 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
474         * org-exp.el (org-infile-export-plist): Fix bug in macro
475         processing.
477         * org-agenda.el (org-agenda-clock-out): Update line after clocking
478         out.
479         (org-agenda-highlight-todo): Fix bug with highlighting.
481 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
483         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
484         new alignment strings.
486         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
487         command list.
488         (org-table-align): Check for forced align type.
490         * org.el (org-self-insert-command): Add yas/expand to command
491         list.
493         * org-clock.el (org-clock-in-hook): New hook.
494         (org-clock-in): Run `org-clock-in-hook.
495         (org-clock-out-hook): New hook.
496         (org-clock-out): Run `org-clock-out-hook.
497         (org-clock-cancel-hook): New hook.
498         (org-clock-cancel): Run `org-clock-cancel-hook.
499         (org-clock-goto-hook): New hook.
500         (org-clock-goto): Run `org-clock-goto-hook.
502 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
504         * org.el (org-store-link): Better default description for link to
505         Org-mode headline.
507         * org-exp.el (org-export-generic): Autoload the generic exporter
508         function.
509         (org-export): Implement the `g' key for the generic exporter.
511 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
513         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
514         and for zbacktab'.
516         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
518         * org-exp.el (org-infile-export-plist): Get macros also from
519         #+SETUPFILE.
521 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
523         * org-colview.el (org-columns-capture-view): Protect vertical bars
524         in column values.
525         (org-columns-capture-view): Exclude comment and archived trees.
527         * org-colview-xemacs.el (org-columns-capture-view): Protect
528         vertical bars in column values.
529         (org-columns-capture-view): Exclude comment and archived trees.
531         * org.el (org-quote-vert): New function.
533         * org-latex.el (org-export-latex-verbatim-wrap): New option.
535         * org-exp.el (org-export-format-source-code-or-example): Use
536         `org-export-latex-verbatim-wrap'.
538         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
539         time stamps.
541         * org-html.el (org-export-table-row-tags): New option.
542         (org-format-org-table-html): Rename `nlines' to `nline', use new
543         option.
546 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
548         * org-exp-blocks.el: Declare functions and variables.
550         * org-remember.el (org-remember-templates): Allow the headline
551         element to be a function.
552         (org-remember-apply-template): If the headline is a function, call
553         it to get the true function.
555         * org-clock.el (org-clock-menu): New function.
556         (org-clock-update-mode-line): Update help string.
557         (org-clock-modify-effort-estimate): New function.
558         (org-clock-mark-default-task): New function.
560         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
561         minutes as input.
562         (org-org-menu): Add new clocking stuff.
563         (org-clock-is-active): New function.
565 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
567         * org.el (org-open-non-existing-files): Improve docstring.
569 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
571         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
572         option.
573         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
575         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
577         * org-list.el (org-get-checkbox-statistics-face): Use the new
578         faces.
580         * org-faces.el (org-checkbox-statistics-todo)
581         (org-checkbox-statistics-done): New faces.
583 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
585         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
586         (org-edit-src-exit): Better cursor positioning when returning from
587         editing.
589         * org-latex.el (org-export-latex-use-verb): New variable.
590         (org-export-latex-emph-format): Prefer \texttt over \verb when
591         org-export-latex-use-verb is set.
593 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
595         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
596         at normal indentation.
598         * org-html.el (org-export-html-close-lists-maybe): Also look at
599         normal indentation.
601         * org-remember.el (org-remember-handler): Abort remember if the
602         buffer is empty.
604         * org-src.el (org-edit-src-content-indentation): New option.
605         (org-edit-src-exit): Apply extra indentation.
607         * org-exp.el (org-export-format-source-code-or-example): Run
608         `org-src-mode-hook'.
610         * org-src.el (org-src-mode-hook): New variable.
611         (org-edit-src-code): Run `org-src-mode-hook'.
613 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
615         * org.el (org-indent-line-function): Fix indentation of +#end lines.
617         * org-src.el (org-edit-src-get-indentation): New function.
618         (org-edit-src-code): Base indentation on the begin line.
620 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
622         * org-gnus.el (org-gnus-store-link): Require message.el in
623         org-gnus-store-link.
625 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
627         * org-src.el: New file, split out of org.el
629         * org-docbook.el (org-export-as-docbook): Better indentation
630         treatment.
632         * org-macs.el (org-replace-match-keep-properties): New function.
634         * org-exp.el (org-export-mark-blockquote-verse-center): Better
635         preprocessing of center and quote and verse blocks.
637         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
638         (org-export-as-docbook): Close lists when original indentation
639         mandates it.
641         * org-html.el (org-export-html-close-lists-maybe): New function.
642         (org-export-as-html): Close lists when original indentation
643         mandates it.
645         * org-list.el (org-list-end): Respect the stored "original"
646         indentation when determining the end of the list.
648         * org-exp.el (org-export-replace-src-segments-and-examples):
649         Remember indentation correctly.
651 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
653         * org-clock.el (org-clock-update-mode-line): Apply face
654         org-mode-line-clock.
656         * org-faces.el (org-mode-line-clock): New face.
658 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
660         * org-gnus.el (org-gnus-store-link): Fix bug where
661         `org-gnus-store-link' used wrong subject when called in an article
662         buffer.  Patch provided by fengli AT gmail DOT com.
664 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
666         * org-exp.el (org-export-format-source-code-or-example): Remember
667         the original indentation of source code snippets and examples.
669         * org-latex.el (org-export-as-latex): Relocate the table of
670         contents.
672         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
674         * org-agenda.el (org-run-agenda-series): Scope global options also
675         when creating the agenda buffer.
677 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
679         * org.el (org-adapt-indentation): Improve documentation.
680         (org-insert-property-drawer): Respect org-adapt-indentation when
681         inserting the drawer.
682         (org-remove-flyspell-overlays-in): New function.
683         (org-do-emphasis-faces, org-activate-plain-links)
684         (org-activate-code, org-fontify-meta-lines-and-blocks)
685         (org-activate-angle-links, org-activate-footnote-links)
686         (org-activate-bracket-links, org-activate-dates)
687         (org-activate-target-links, org-activate-tags): Remove flyspell
688         overlays.
690 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
692         * org.el (org-edit-src-save): New function.
694         * org-clock.el (org-clock-out-switch-to-state): New option.
695         (org-clock-out): Honor `org-clock-out-switch-to-state'.
697         * org-compat.el (org-compatible-face): Improve macro.
699         * org.el (org-global-properties-fixed): Add default for
700         CLOCK_MODELINE_TOTAL.
702         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
703         andd tend.
704         (org-clock-sum-current-item): Optional argument TSTART, pass it to
705         org-clock-sum.
706         (org-clock-get-sum-start): New function.
708         * org.el (org-startup-options): New keywords blockhide and
709         blockshow.
710         (org-mode): Add new invisibility spec.
711         (org-set-startup-visibility): Hide block on startup if so
712         desired.
713         (org-hide-block-startup): New option.
714         (org-block-regexp): New constant.
715         (org-hide-block-overlays): New variable.
716         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
717         (org-show-block-all, org-hide-block-toggle-maybe)
718         (org-hide-block-toggle): New functions.
719         (org-edit-src-exit): Do not quote lines starting with # and no +
720         behind it.
721         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
722         entry.
724 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
726         * org.el (org-buffer-property-keys): Add Effort property for
727         completion.
729 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
731         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
732         when retrieving total clocked time in the subtree.
734         * org.el (org-quoting-blocks): New variable.
736 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-table.el (org-table-store-formulas)
739         (org-table-get-stored-formulas, org-table-fix-formulas)
740         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
741         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
743         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
744         indented #+TBLFM line.
746         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
747         indented #+TBLFM line.
749         * org-colview.el (org-dblock-write:columnview): Allow indented
750         #+TBLFM line.
752         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
753         indented #+TBLFM line.
755         * org-clock.el (org-dblock-write:clocktable): Allow indented
756         #+TBLFM line.
758 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
760         * org-exp.el (org-export-format-source-code-or-example): Make
761         editing indented blocks work correctly.
763         * org.el (org-edit-src-nindent): New variable.
764         (org-edit-src-code, org-edit-fixed-width-region)
765         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
766         editing indented blocks work correctly.
768 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
770         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
771         indented blocks.
772         (org-export-format-source-code-or-example): Fix indentation of
773         blocks.
774         (org-export-remove-indentation): New function.
775         (org-export-select-backend-specific-text): Allow backend-specific
776         code to be indented.
777         (org-export-mark-blockquote-verse-center): Allow markers to be
778         indented.
780         * org.el (org-fontify-meta-lines): New function.
781         (org-set-font-lock-defaults): Call the new fontification
782         function.
784         * org-faces.el (org-meta-line): New face
785         (org-block):  New face.
787 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
789         * org.el (org-treat-insert-todo-heading-as-state-change)
790         (org-treat-S-cursor-todo-selection-as-state-change): New
791         variables.
792         (org-insert-todo-heading): Honor
793         `org-treat-insert-todo-heading-as-state-change'.
794         (org-shiftright, org-shiftleft): Honor
795         `org-treat-S-cursor-todo-selection-as-state-change'.
796         (org-inhibit-logging): New variable.
798 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
800         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
801         range for marker position checking.
803         * org-latex.el (org-export-latex-first-lines): Fix bug when
804         exporting a region.
806 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
808         * org-exp.el (org-export-push-to-kill-ring): Protect using
809         x-set-selection, because that does not always work.
811         * org-agenda.el (org-agenda-list): Apply the new face
812         `org-agenda-date-today'.
814         * org-faces.el (org-agenda-date-today): New face.
816 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
818         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
819         creating appointments.
821         * org-latex.el (org-export-latex-low-levels): Fix customization
822         type.
824         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
825         priority commands.
827         * org-agenda.el (org-agenda-priority): Disable priority commands.
829         * org.el (org-enable-priority-commands): New option.
831         * org-colview-xemacs.el (org-columns-compute)
832         (org-columns-number-to-string): Fix problems with empty fields.
834         * org-colview.el (org-columns-compute)
835         (org-columns-number-to-string): Fix problems with empty fields.
837         * org-exp.el (org-export-push-to-kill-ring): New function.
838         (org-export-copy-to-kill-ring): New option.
840         * org-latex.el (org-export-as-latex): Call
841         `org-export-push-to-kill-ring'.
843         * org-html.el (org-export-as-html): Call
844         `org-export-push-to-kill-ring'.
846         * org-docbook.el (org-export-as-docbook): Call
847         `org-export-push-to-kill-ring'.
849         * org-ascii.el (org-export-as-ascii): Call
850         `org-export-push-to-kill-ring'.
852         * org-exp.el (org-export-show-temporary-export-buffer): New
853         option. 
855         * org-latex.el (org-export-as-latex): Use
856         `org-export-show-temporary-export-buffer'.
858         * org-html.el (org-export-as-html): Use
859         `org-export-show-temporary-export-buffer'.
861         * org-docbook.el (org-export-as-docbook): Use
862         `org-export-show-temporary-export-buffer'.
864         * org-ascii.el (org-export-as-ascii-to-buffer): Use
865         `org-export-show-temporary-export-buffer'.
867         * org-exp.el (org-export-show-temporary-export-buffer): New
868         option.
869         (org-export-push-to-kill-ring): New function.
871         * org-colview.el (org-columns-compile-map): New variable.
872         (org-columns-new, org-columns-compute)
873         (org-columns-number-to-string, org-columns-uncompile-format)
874         (org-columns-compile-format): Implement new operators.
876 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
878         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
880         * org-html.el (org-export-html-xml-declaration): New option.
881         (org-export-as-html): Use `org-export-html-xml-declaration'.
883         * org-list.el (org-update-checkbox-count): Make property
884         dependent.
886         * org.el (org-hierarchical-todo-statistics): New option.
887         (org-update-parent-todo-statistics): Modified to handle recursive
888         statistics.
890 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
892         * org-publish.el (org-publish): Make this function behave
893         correctly in interactive use when called with a prefix argument.
895         * org.el (org-todo-statistics-hook): New hook.
896         (org-update-parent-todo-statistics): Use new hook.
897         (org-log-into-drawer): New function.
898         (org-add-log-setup): Use the new `org-log-into-drawer' function to
899         determine if we should be logging into a drawer.
900         (org-log-into-drawer): Update docstring.
901         (org-default-properties): Add LOG_INTO_DRAWER as a property.
903         * org-list.el (org-checkbox-statistics-hook): New hook.
904         (org-update-checkbox-count-maybe): Use new hook.
906         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
907         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
908         to kill ring.
910 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
912         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
913         a line.
915 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
917         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
918         better bufer-generating mechanism.
919         (org-edit-src-find-buffer): New function.
921         * org-icalendar.el (org-print-icalendar-entries): Don't check for
922         archive tag, this is already done by `org-agenda-skip'.
923         data while constructing lost of tags.
925 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
927         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
928         as argument separator in macros.
930         * org-html.el (org-export-as-html): Add xml declaration.
932 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
934         * org.el (org-after-sorting-entries-or-items-hook): New hook.
935         (org-sort-entries-or-items): Run the new hook.
936         (org-after-refile-insert-hook): New hook.
937         (org-refile): Run `org-after-refile-insert-hook'.
939         * org-agenda.el (org-agenda-get-progress): Never take time of day
940         from headline when displaying progress.
942         * org-latex.el (org-export-latex-complex-heading-re): New variable.
943         (org-export-as-latex): Force the correct regexp in the
944         preprocessor buffer.
945         (org-export-latex-set-initial-vars): Set
946         `org-export-latex-complex-heading-re'.
948         * org-agenda.el (org-agenda-start-with-log-mode): New option.
949         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
951 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
953         * org-latex.el (org-export-latex-tables-centered): New option.
954         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
956         * org-exp.el (org-export-as-org): New command.
957         (org-export-as-org): New command.
959         * org-publish.el (org-publish-org-to-org): New function.
961 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
963         * org.el (org-yank): Just call `org-yank-generic'.
964         (org-yank-generic): New function, containing the formaer
965         functionality of `org-yank'.
967         * org-latex.el (org-export-latex-not-done-keywords)
968         (org-export-latex-done-keywords): New variables.
969         (org-export-latex-todo-keyword-markup): New option.
970         (org-export-latex-set-initial-vars): Remember the TODO keywords.
971         (org-export-latex-keywords-maybe): Apply the TODO markup.
973 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
975         * org-exp.el (org-infile-export-plist): Add more default macros.
976         (org-export-preprocess-apply-macros): Process macro arguments.
978 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
980         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
981         `unblocked'.
982         (org-print-icalendar-entries): Respect the new value of
983         `org-icalendar-include-todo'.
985         * org.el (org-link-try-special-completion)
986         (org-file-complete-link): New functions.
987         (org-insert-link): Add special completion support for some link
988         types.
990         * org-bbdb.el (org-bbdb-complete-link): New function.
992 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
994         * org-list.el (org-update-checkbox-count): Allow recursive
995         statistics.
996         (org-hierarchical-checkbox-statistics): New option.
998         * org.el (org-cycle): Remove erraneous space character.
1000         * org-icalendar.el (org-icalendar-timezone): Initialize from
1001         environment.
1003         * org-html.el (org-format-org-table-html): Specify the scope.
1004         (org-format-table-table-html): Specify the scope.
1005         (org-export-table-header-tags): Prepare the scope parameter.
1007 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1009         * org-html.el
1010         (org-export-html-table-use-header-tags-for-first-column): New
1011         option.
1013         * org.el (org-autoload): Fix autoloading of ascii export
1014         functions.
1015         (org-modules): Add org-special-blocks.
1017 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1019         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1020         (org-ical-timezone): New option.
1022         * org-exp.el (org-export-get-coderef-format): Use the description
1023         is present.
1025         * org.el (org-sort-entries-or-items): Improve docstring, and make
1026         better implementation for time sorting.
1028 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1030         * org.el (org-edit-src-persistent-message): New option.
1031         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1032         option.
1034         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1035         patch.
1037         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1038         separate buffer instead of indirect buffer to edit source code.
1039         (org-edit-src-exit): Make this function work with the new setup.
1041         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1042         are properly fontified before shown in the selection menu.
1044         * org.el (org-fontify-like-in-org-mode): New function.
1046         * org-latex.el (org-export-latex-links): Use the property list to
1047         retrieve the default image attributes.
1049         * org-exp.el (org-export-plist-vars): Add a new option.
1051 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1053         * org-exp.el (org-export, org-export-visible): Support ASCII
1054         export to buffer
1055         (org-export-normalize-links): Do not protect the description if it
1056         is explicitly given.
1058         * org-ascii.el (org-export-as-ascii-to-buffer)
1059         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1060         commands.
1061         (org-export-as-ascii): Add all the same parameters that are also
1062         supported by the other export functions.
1064         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1065         org-checklist.el.
1066         (org-reset-checkbox-state-subtree): Call
1067         `org-reset-checkbox-state-subtree'.
1069         * org-remember.el (org-select-remember-template): For the
1070         selection of a valid template.
1072         * org-latex.el (org-export-region-as-latex): Supply the
1073         force-no-subtree argument.
1074         (org-export-as-latex): Provide better limits when exporting the
1075         first line.  When exporting to string, we still want the first
1076         lines.
1077         (org-export-latex-first-lines): New argument END, to force the end
1078         of the region.
1079         (org-export-region-as-latex): Use the property list.
1080         (org-export-as-latex):
1082         * org-colview-xemacs.el (org-columns-remove-overlays)
1083         (org-columns): Fix call to `local-variable-p'.
1085 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1087         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1088         (org-export-as-html): Run the new hook.
1090         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1091         (org-export-latex-preprocess): Run the new hook.
1093         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1094         (org-export-preprocess-string): Run the new hook.
1096 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1098         * org-macs.el (org-check-external-command): New defsubst.
1100         * org.el (org-mode-map): New key for reload.
1101         (org-format-latex): Better error message when external programs
1102         are not available.
1104         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1106         * org.el (org-sort-entries-or-items): Explicit sorting function
1107         for priorities, needed for XEmacs compatibility.
1109         * org-remember.el (org-remember-apply-template): Improve auto-save
1110         behavior.
1112 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org-latex.el (org-export-latex-preprocess): Also protect
1115         environments ending in a star.
1117         * org-list.el (org-at-item-p): Fix regular expression.
1119 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1121         * org.el (org-end-of-subtree): Improve speed.
1123         * org-agenda.el (org-agenda-get-timestamps)
1124         (org-agenda-get-progress, org-agenda-get-deadlines)
1125         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1126         in particular, wait as long as possible to collect the tags.
1127         (org-stuck-projects): Improve docstring.
1129         * org.el (org-store-link): No errors when getting custom id before
1130         first headline.
1131         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1133 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1135         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1137         * org-protocol.el: Remove dependency on url.el.
1138         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1139         dependency on url.el.
1141         * org-latex.el (org-export-as-pdf): Use
1142         `org-latex-to-pdf-process'.
1144 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1146         * org-latex.el (org-latex-to-pdf-process): New option.
1148         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1149         New option.
1150         (org-agenda-get-timestamps): Honor
1151         `org-agenda-skip-additional-timestamps-same-entry'.
1153         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1154         (org-clock-goto): Find recent task only if
1155         `org-clock-goto-may-find-recent-task' allows it.
1157         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1158         drawers, and drawers that are missing the :END: line.
1160 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1162         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1163         clock is running.
1165 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1167         * org.el (org-update-parent-todo-statistics): Check for
1168         STATISTICS_FROM property.
1170         * org-list.el (org-update-checkbox-count): Check for
1171         STATISTICS_FROM property.
1173         * org.el (org-tab-first-hook)
1174         (org-tab-after-check-for-table-hook)
1175         (org-tab-after-check-for-cycling-hook): New hooks.
1176         (org-cycle-internal-global, org-cycle-internal-local): New
1177         functions, split out from `org-cycle'.
1178         (org-cycle): Call the new hooks.
1180 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1182         * org-exp.el (org-export-preprocess-string): Reset the list of
1183         preferred targets for each run of the preprocessor.
1185         * org.el (org-refile-target-verify-function): Improve
1186         documentation.
1187         (org-get-refile-targets): Respect point being moved by the
1188         verification function.
1190         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1191         option.
1192         (org-export-latex-keywords): Use new option.
1194         * org.el (org-rear-nonsticky-at): New defsubst.
1195         (org-activate-plain-links, org-activate-angle-links)
1196         (org-activate-footnote-links, org-activate-bracket-links)
1197         (org-activate-dates, org-activate-target-links)
1198         (org-activate-tags): Place the rear-nonsticky properties at the
1199         correct location.
1201 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1203         * org-protocol.el (server-edit): Declare `server-edit'.
1204         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1205         functions.
1206         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1208         * org.el (org-default-properties): New default properteis for
1209         completion.
1211         * org-exp.el (org-export-add-subtree-options): Add new properties
1212         for subtree export.
1214         * org-docbook.el (org-export-docbook-keywords-markup)
1215         (org-export-docbook-timestamp-markup): New options.
1216         (org-export-docbook-protect-tags): New function.
1218 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1220         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1221         org-refile-target-verify-function for the duration of the command.
1223         * org.el (org-link-to-org-use-id): New possible value
1224         `create-if-interactive-and-no-custom-id'.
1225         (org-store-link): Use custom IDs.
1226         (org-link-search): Find custom ID properties from #link.
1227         (org-default-properties): Add CUSTOM_ID for property completion.
1228         (org-refile-target-verify-function): New option.
1229         (org-goto): Turn off org-refile-target-verify-function
1230         for the duration of the command.
1232 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1234         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1236         * org-exp.el (org-export-preferred-target-alist): New variable.
1237         (org-export-define-heading-targets): Find the new CUSTOM_ID
1238         property.
1239         (org-export-target-internal-links): Target the custom ids when
1240         possible.
1242         * org-latex.el (org-export-latex-preprocess): Better regexp for
1243         matching latex macros with arguments.
1245 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1247         * org-remember.el (org-remember-handler): Allow filing to non-org
1248         files.
1250 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1252         * org-feed.el (org-feed-alist): New keyword options.
1253         (org-feed-update): Use the new options.
1254         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1255         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1256         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1257         functions.
1259         * org-table.el (org-table-fix-formulas): Do not change references
1260         to remote tables.
1261         (org-table-get-remote-range): Convert standard coordinates to RC
1262         format.
1264         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1266 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1268         * org-compat.el (org-sha1-string): Function removed.
1270         * org.el (org-refile-allow-creating-parent-nodes): New option.
1271         (org-refile-get-location): New argument NEW-NODES.
1272         (org-refile): Call `org-refile-get-location' with the new
1273         argument.
1274         (org-refile-get-location): Arrange for adding a new child.
1275         (org-refile-new-child): New function.
1277         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1278         an additional span element.
1280         * org-clock.el: Fix a number of docstrings.
1281         (org-clock-find-position): New argument
1282         FIND-UNCLOSED to make the function find an unclosed clock in the
1283         entry.
1284         (org-clock-in): Call `org-clock-find-position' with the new
1285         argument if we might be resuming a clock.
1287 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1289         * org-latex.el (org-export-latex-display-custom-times): New variable.
1290         (org-export-latex-timestamp-markup): New option.
1291         (org-export-latex-set-initial-vars): Remember the local value of
1292         `org-display-custom-times'.
1293         (org-export-latex-content): Process time stamps.
1294         (org-export-latex-time-stamps): New function.
1296         * org-macs.el (org-maybe-intangible): Add intangible property
1297         again to invisible text.
1299 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-exp.el (org-default-export-plist): Handle undefined
1302         variables.
1304 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1306         * org.el (org-sort-entries-or-items): Match TODO keywrds
1307         case-sensitively, when sorting.
1308         (org-priority): Do not match TODO keywords with wrong case.
1310 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1312         * org-feed.el (org-feed-update): Bind the variable
1313         `new-formatted'.
1315         * org-html.el (org-export-as-html): Start paragraphs after literal
1316         examples.
1318         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1319         literal examples.
1321 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1323         * org.el (org-todo): Honor the NOBLOCKING property.
1325         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1326         NOBLOCKING property.
1328         * org.el (org-scan-tags): Fix bug in tag scanner
1330 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1332         * org.el (org-modules): Mark obsolete packages.
1334         * org-html.el: New file, split out from org-exp.el.
1336         * org-icalendar.el: New file, split out from org-exp.el.
1338         * org-xoxo.el: New file, split out from org-exp.el.
1340         * org-ascii.el: New file, split out from org-exp.el.
1342 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1344         * org-compat.el (org-find-library-name): New function.
1346         * org.el (org-pre-cycle-hook): New hook.
1347         (org-cycle): Call the new hook in appropriate places.
1348         (org-reload): Only reload files that have been loaded before.
1350 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1352         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1353         after todo keyword.
1354         (org-todo): When changing TODO state, do matching
1355         case-sensitively.
1356         (org-map-continue-from): New variable.
1357         (org-scan-tags): Respect values in `org-map-continue-from'.
1358         (org-reload): Make XEmacs compatible.
1360 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
1362         * org-protocol.el (org-protocol-flatten-greedy): New function.
1363         (org-protocol-flatten): New function.
1365         * org.el (org-open-link-from-string): Pass reference buffer to
1366         `org-open-at-point'.
1367         (org-open-at-point): New optional argument `reference-buffer'.
1369 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
1371         * org.el (org-scan-tags): Make tag scan find headline in first
1372         line, 2nd attempt.
1373         (org-get-refile-targets): Add the naked file name.
1374         (org-refile): Store as top-level entry when only file name was
1375         given.
1377         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1379         * org.el (org-block-todo-from-children-or-siblings-or-parent):
1380         Renamed from org-block-todo-from-children-or-siblings, and
1381         enhanced to look for the parent's status as well.
1383         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1384         (org-agenda-get-progress): Add first notes line to log entry if so
1385         desired.
1387 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1390         (org-agenda-cleanup-fancy-diary): Call the new hook.
1392         * org-remember.el (org-remember-apply-template): Take the default
1393         for the annotation from the :annotation property.
1395         * org-mac-message.el (org-mac-message-get-link): Remove the
1396         quotes.
1397         (org-mac-message-get-link): Return the result.
1399 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
1401         * org.el (org-refile-get-location): Add file name only if not
1402         already included in outline path.
1404         * org-faces.el (org-n-level-faces): Fix customization type from
1405         number to integer.
1407         * org-exp.el (org-export-headline-levels): Fix customization type
1408         from number to integer.
1410         * org-agenda.el (org-agenda-confirm-kill)
1411         (org-agenda-custom-commands-local-options)
1412         (org-timeline-show-empty-dates, org-agenda-ndays)
1413         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1414         customization type from number to integer.
1416 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org-protocol.el: Declare some functions.
1420         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1421         postion before inserting modified headline.
1423         * org-agenda.el (org-agenda-compare-effort): Honor
1424         `org-sort-agenda-noeffort-is-high'.
1425         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1426         (org-agenda-compare-effort): Implement the "?" operator for
1427         finding entries without effort setting.
1429         * org.el (org-extract-attributes-from-string): New function.
1431         * org-exp.el (org-export-splice-attributes): New function.
1433 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
1435         * org-mouse.el: XEmacs compatibility fixes
1437         * org-docbook.el (org-export-as-docbook): Process footnotes like
1438         normal text.
1440         * org.el (org-modules): Add org-inlinetasks.el
1441         (org-cycle): Implement limiting level on cycling.
1442         (org-move-subtree-down): Fix bug with swapping subtrees at end of
1443         buffer.
1445         * org-inlinetask.el: New file.
1447         * org.el (org-emphasis-regexp-components): Allow braces in
1448         emphasis pre and post match.
1450         * org-footnote.el (org-footnote-normalize): When only dorting, do
1451         not insert inline notes at the end.
1453         * org-docbook.el (org-id-find-id-file): Add function declaration.
1455         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1457         * org-docbook.el: New file.
1459 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
1461         * org.el (org-reftex-citation): New command.
1463 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
1465         * org-agenda.el (org-agenda-cmp-user-defined): New option.
1466         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1467         sorting options.
1468         (org-entries-lessp): Apply the new sorting option.
1470         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1471         blocker code, when an older sibling has children.
1473         * org-mac-message.el (org-mac-message-get-link): Improve getting
1474         links from multiple selected messages.
1476 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
1478         * org-remember.el (org-remember-finalize): Do not set buffer file
1479         name to nil.
1480         (org-remember-handler): Mark buffer as unmodified.
1481         (org-remember-handler): Delete backup file and show message about
1482         remaining backup files.
1483         (org-remember-auto-remove-backup-files): New option.
1485         * org.el (org-store-link): Use buffer name as link description in
1486         w3-mode buffers.
1487         (org-ido-switchb): Fix argument bug for completion.
1489         * org-remember.el (org-remember-apply-template): Set local
1490         variable `auto-save-visited-file-name' instead of global one.
1492 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
1494         * org-feed.el: Re-write.
1496         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1497         (org-agenda-get-todos): Mark file tags as inherited.
1498         (org-agenda-list): Always search diary lines for a time.
1500 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
1502         * org-feed.el (org-feed-assume-stable): New option.
1503         (org-feed-before-adding-hook): New hook.
1505         * org-exp.el (org-export-as-html): Close local lists depending on
1506         indentation, also when starting a table.
1508         * org-remember.el (org-remember-backup-directory)
1509         (org-remember-backup-name): New internal variable.
1511 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org-clock.el (org-clock-out-if-current): Make buffer detection
1514         work in indirect buffers as well.
1516         * org.el (org-emphasis-regexp-components): Add the exxclamation
1517         mark to the post-emphasis characters.
1519 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
1521         * org.el (org-read-date-minibiffer-septup-hook): New hook.
1522         (org-read-date): Run the new hook.
1524         * org-mac-message.el (org-mac-flagged-mail): New group.
1525         (org-mac-mail-account): New variable.
1526         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1527         commands.
1529         * org-remember.el (org-remember-backup-directory): New variable.
1530         (org-remember-apply-template): Write file to backup directory.
1532 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
1534         * org-mouse.el (org-mouse-todo-menu): New function.
1535         (org-mouse-todo-keywords): Function removed.
1536         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1538         * org-table.el (org-table-beginning-of-field)
1539         (org-table-end-of-field): New commands
1540         (org-table-previous-field, org-table-beginning-of-field): Better
1541         error messages.
1542         (orgtbl-setup): Include `M-a' and `M-e'.
1544         * org.el (org-backward-sentence, org-forward-sentence): New
1545         commands.
1547         * org-colview.el (org-colview-initial-truncate-line-value): New
1548         variable.
1549         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1550         (org-columns): Remember the value of `truncate-lines'.
1552         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1553         New variable.
1554         (org-columns-remove-overlays): Restore the value of
1555         `truncate-lines'.
1556         (org-columns): Remember the value of `truncate-lines'.
1558         * org.el (org-columns-skip-arrchived-trees): New option.
1560         * org-agenda.el (org-agenda-export-html-style): Define color for
1561         org-agenda-done face.
1562         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1563         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1565         * org.el (org-scan-tags): Use the new face.
1567         * org-faces.el (org-agenda-done): New face.
1569         * org.el (org-scan-tags): Test the value org
1570         `org-tags-match-list-sublevels'.
1571         (org-tags-match-list-sublevels): New allowed value: indented.
1573         * org-export-latex.el (org-export-latex-make-header): Apply macros
1574         in header.
1576         * org-exp.el (org-export-apply-macros-in-string): New function.
1578         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1579         with the definition of a checked box.
1581         * org-clock.el (org-clock-find-position): Fix drawer indentations.
1583         * org-export-latex.el (org-export-latex-low-levels): More options
1584         for how to process lower levels in LaTeX.
1585         (org-export-latex-subcontent): Better treatment for lists as a
1586         means of publishing lower levels.
1588 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org.el (org-set-font-lock-defaults): Use new checkbox face.
1592         * org-faces.el (org-checkbox): New face.
1594         * org-exp.el (org-export-html-preprocess): Only create LaTeX
1595         fragement images if there is an export file.
1597 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
1599         * org-agenda.el (org-stuck-projects): Document that the subtree of
1600         projects that are not stuck will now be searched for stuck
1601         sub-projects.
1602         (org-agenda-skip-entry-when-regexp-matches)
1603         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1604         (org-agenda-list-stuck-projects): Use
1605         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1607         * org-export-latex.el (org-export-latex-preprocess): Improve
1608         export of verses.
1610         * org-exp.el (org-export-as-html): Implement centering as a div
1611         rather than a paragraph.  Do a better job with line-end in verse
1612         environments.
1614 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org.el (org-open-at-point): Fix tags searches by mouse click.
1618 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
1620         * org-export-latex.el (org-export-latex-preprocess): Implement the
1621         centering markup.
1623         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1624         from `org-export-mark-blockquote-and-verse'.
1625         (org-export-as-html): Implement the centering markup.
1627         * org-export-latex.el (org-export-latex-tables): Fix vertical
1628         lines in tables.
1630 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
1632         * org.el (org-read-date-history): New variable.
1633         (org-read-date): Use new history variable.
1634         (org-toggle-heading): Fix bug when used before first headline.
1635         (org-store-log-note): Remove drawer if empty while note is
1636         aborted.
1637         (org-remove-empty-drawer-at): New function.
1638         (org-check-after-date): New command.
1639         (org-sparse-tree): New sparse tree command "a".
1641         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1643 2009-03-14  Bastien Guerry  <bzg@altern.org>
1645         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1646         column and a space, not only a column.
1648 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1650         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1651         defaults for verbose emphasis.
1652         (org-export-latex-emph-format): New function.
1653         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1655         * org-agenda.el (org-agenda-menu): Add new commands to menu.
1656         (org-agenda-do-date-later, org-agenda-do-date-earlier)
1657         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1658         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1659         commands.
1661         * org.el (org-timestamp-change): Move end-time along with start
1662         time.
1664 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
1666         * org-exp.el (org-export-target-internal-links)
1667         (org-export-as-html): Protect links specified as #name.
1669 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
1671         * org.el (org-clone-subtree-with-time-shift): New command.
1673         * org-export-latex.el (org-export-latex-special-chars)
1674         (org-export-latex-treat-sub-super-char): Fix subscript export.
1676         * org-exp.el (org-create-multibrace-regexp): Do not add
1677         backslashes to the class.
1679 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
1681         * org-colview.el (org-columns-map): Better functions for moving up
1682         and down a row, even if `truncate-line' is nil.
1684         * org.el (org-insert-todo-heading): Make sure the keyword is
1685         inserted at the correct position.
1687         * org-publish.el (org-publish-project-alist)
1688         (org-publish-projects, org-publish-org-index): Change default anme
1689         for the index of file names to "sitemap.org".
1691         * org-export-latex.el (org-export-latex-tables): Use
1692         `org-split-string', for Emacs 21 compatibility.
1694 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
1696         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1698 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
1700         * org-exp.el (org-export-page-description)
1701         (org-export-page-keywords): New variables.
1702         (org-export-plist-vars): Add entries for :keywords and
1703         :description.
1704         (org-infile-export-plist): Parse for new keywords.
1705         (org-get-current-options): Add new keywords
1706         (org-export-as-html): Publish description and keywords.
1708         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1709         option.
1710         (org-agenda-add-entry-text): Honor
1711         `org-agenda-add-entry-text-descriptive-links'.
1713         * org-export-latex.el (org-export-latex-preprocess): Make all
1714         external preprocess functions use a PARAMETER arg.
1716         * org-exp.el (org-export-preprocess-string)
1717         (org-export-select-backend-specific-text)
1718         (org-export-format-source-code-or-example)
1719         (org-format-org-table-html): Support docbook export.
1720         (org-export-preprocess-string): Make all external preprocess
1721         functions use a PARAMETER arg.
1723 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
1725         * org-exp.el (org-export-html-style-include-scripts): New option.
1726         (org-export-plist-vars): Add new option
1727         `org-export-html-style-include-scripts'.
1728         (org-export-as-html): Honor new option
1729         `org-export-html-style-include-scripts'.
1730         (org-export-html-scripts, org-export-html-style-default): Fix
1731         xml issues with the Safari browser.
1733 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
1735         * org-publish.el (org-publish-attachment): Only copy file when the
1736         directories differ.
1738 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
1740         * org-clock.el (org-clocktable-steps): Use inactive time stamps
1741         for clocktable steps.
1743         * org.el (org-additional-option-like-keywords): Add two more
1744         keywords.
1746 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
1748         * org-exp.el (org-export-format-source-code-or-example): Mark
1749         temporary buffer unmodified, so that it will be killed even if
1750         mode like message mode has decided to assign a file name.
1752         * org.el (org-scan-tags): Improve tag inheritance.
1753         (org-scan-tags, org-make-tags-matcher): Make tag comparison
1754         case-sensitive.
1755         (org-scan-tags): Use the internal tags list instead of creating it
1756         from scratch.
1757         (org-trust-scanner-tags, org-scanner-tags): New variables.
1758         (org-scan-tags): Set `org-scanner-tags'.
1759         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1760         (org-map-entries): Document the possible speedup using scanner
1761         tags.
1763 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
1765         * org.el (org-add-planning-info): Fix bug with looking for keyword
1766         only at column 0.
1768         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1769         option for tags filter preset.
1770         (org-prepare-agenda): Store filter preset as a property on the
1771         filter variable.
1772         (org-finalize-agenda): Call the filter, if there is a preset.
1773         (org-agenda-filter-by-tag): Filter again after clearing the
1774         filter, when there still is a preset.
1775         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1776         Include the preset filter.
1777         (org-agenda-redo): Apply the filter again, also the preset filter.
1779         * org-exp.el (org-export-as-html): Use IDs in the correct way.
1781         * org.el (org-uuidgen-p): New funtion.
1783         * org-agenda.el (org-agenda-fontify-priorities): New default value
1784         `cookies'.
1785         (org-agenda-fontify-priorities): Renamed from
1786         org-fontify-priorities.
1788         * org.el (org-set-font-lock-defaults): Call
1789         `org-font-lock-add-priority-faces'.
1790         (org-font-lock-add-priority-faces): New function.
1792         * org-faces.el: (org-set-tag-faces): New option.
1793         (org-priority-faces): New variable.
1795         * org-exp.el (org-export-as-html): Add a "content" div around the
1796         entire content of the body tag.
1797         (org-export-html-get-bibliography): New function.
1798         (org-export-html-validation-link): New variable.
1799         (org-export-as-html): Add validation link to exported page.
1801         * org.el (org-match-sparse-tree): Renamed from
1802         `org-tags-sparse-tree'.
1803         (org-tags-sparse-tree): New alias.
1805 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
1807         * org.el (org-get-valid-level): Catch the case where the level
1808         change is nil.
1810         * org-clock.el (org-clock-find-position): Better indentation of
1811         new clock drawers.
1813 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
1815         * org-agenda.el (org-agenda-quit): Delete window only when the
1816         frame-setup was not `current-window'.
1818         * org.el (org-tag-persistent-alist): New option.
1819         (org-startup-options): Add keyword `noptag'.
1820         (org-fast-todo-selection): Handle :newline correctly.
1821         (org-set-tags): Handle :newline correctly.
1822         (org-fast-tag-selection): Handle :newline correctly.
1824 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
1826         * org-exp.el (org-export-as-ascii): Reverse link buffer before
1827         outputting it.
1828         (org-export-ascii-push-links): Fix bug with pussing links into the
1829         export buffer.
1831 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
1833         * org-archive.el (org-archive-subtree): Do not add 1 to level if
1834         pasting at top level.
1836         * org-bbdb.el: Improve documentation.
1838 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
1840         * org-list.el (org-insert-item): Only consider insert empty lines
1841         is `org-empty-line-terminates-plain-lists' is not nil.
1843         * org.el (org-blank-before-new-entry): Mention the dependence on
1844         `org-empty-line-terminates-plain-lists' in the docstring.
1846         * org-publish.el (org-publish-get-project-from-filename): New
1847         optional argument UP.  Only find the top project if UP is set.
1848         (org-publish-current-project): Find the top encloding project.
1850         * org-agenda.el (org-agenda-before-write-hook)
1851         (org-agenda-add-entry-text-maxlines): New options.
1852         (org-write-agenda): Run the new hook in the temporary buffer.
1853         (org-agenda-add-entry-text): New function.
1854         (org-write-agenda): Implement PDF export, using ps2pdf.
1856         * org.el (org-global-properties-fixed, org-global-properties):
1857         Improve documentation string.
1859         * org-exp.el (org-export-ascii-links-to-notes): New option.
1860         (org-export-as-ascii): Handle links better.
1861         (org-export-ascii-wrap, org-export-ascii-push-links): New
1862         functions.
1864 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
1866         * org-agenda.el (org-agenda): Make prefix arg optional.
1867         (org-agenda-search-headline-for-time): New option.
1868         (org-format-agenda-item): Honor
1869         `org-agenda-search-headline-for-time'.
1871         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1872         characters.
1874         * org.el (org-self-insert-cluster-for-undo): New option.
1875         (org-self-insert-command): Cluster undo for 20 characters.
1876         (org-self-insert-command-undo-counter): New variable.
1878 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
1880         * org-exp.el (org-export-as-html): Fix problem with closing colone
1881         example.
1883 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
1885         * org-export-latex.el (org-export-as-latex)
1886         (org-export-latex-first-lines): Avoid modification flag when
1887         adding or removing text properties.
1888         (org-export-latex-fontify): Catch error when org-emph-alist has
1889         entries that are not defined for LaTeX export.
1891         * org.el (orgstruct++-mode): New function.
1892         (turn-on-orgstruct++): Call `orgstruct++-mode'.
1893         (org-context-p): Allow detecting item context after the first line
1894         of an item.
1895         (orgstruct-make-binding): Detect if item-body context should be
1896         seen.
1897         (orgstruct-is-++): New variable.
1898         (org-add-planning-info): Catch the case when there is no planning
1899         info yet and the call does not want to add anything, only maybe
1900         tries to remove something.
1901         (org-special-ctrl-a/e): All value to be a cons cell with separate
1902         settings for `C-a. and `C-e'.
1903         (org-beginning-of-line, org-end-of-line): Honor separate values
1904         for `C-a' and `C-e'.
1906 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
1908         * org.el (org-reload): New command.
1910 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
1912         * org-exp.el (org-export-htm-get-tag-class-name)
1913         (org-export-htm-get-todo-kwd-class-name): New functions.
1914         (org-export-html-tag-class-prefix)
1915         (org-export-html-todo-kwd-class-prefix): New options.
1916         (org-export-as-html): Call
1917         `org-export-html-get-todo-kwd-class-name'.
1918         (org-html-level-start): Wrap tags into classes.
1919         (org-export-html-get-tag-class-name)
1920         (org-export-html-get-todo-kwd-class-name): New functions.
1922         * org-export-latex.el (org-export-latex-collect-header-macros):
1923         Remove fields that are used anyway.
1924         (org-export-latex-make-header): Insert the options earlier.
1926         * org-agenda.el (org-agenda-get-progress): Fix bug with state
1927         matching.
1929         * org-list.el (org-indent-item): Allow point to be at the end of
1930         the region.
1932         * org.el (org-metaleft, org-metaright): Be more accurate about
1933         detecting a region where commands apply.
1935         * org-compat.el (org-cursor-to-region-beginning): New function.
1937         * org.el (org-priority): Also find invisible heading.
1939         * org-colview-xemacs.el (org-columns-edit-value): No special
1940         treatment for `org-todo' prefix.
1942         * org-colview.el (org-columns-edit-value): No special treatment
1943         for `org-todo' prefix.
1945         * org-remember.el (org-remember-apply-template): Use
1946         `org-completing-read-no-ido'.
1948         * org.el (org-completing-read-no-ido): New function.
1949         (org-make-tags-matcher, org-set-property): Use
1950         `org-completing-read-no-ido'.
1952         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1953         New option.
1954         (org-export-as-latex): Import in-buffer settings as TeX macros.
1955         (org-export-latex-make-header): Additional parameter OPT-DEFS.
1956         (org-export-latex-collect-header-macros): New function.
1958         * org.el (org-refile-get-location): Turn off
1959         `partial-completion-mode'.
1961 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org.el (org-block-todo-from-checkboxes): Announce that
1964         checkboxes are the culprit.
1965         (org-block-todo-from-children-or-siblings): Call
1966         `org-up-heading-all instead' of `outline-up-heading'.
1968         * org-agenda.el (org-agenda-show-1): Renamed from
1969         `org-agenda-show'.
1970         (org-agenda-show): Re-install the old version for now.
1971         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
1972         variable into the blokker hook, so that the checkbox checker can
1973         anounce that it caused the blocking.
1975         * org.el (org-track-ordered-property-with-tag): New option.
1976         (org-toggle-ordered-property): Honor
1977         `org-track-ordered-property-with-tag'.
1978         (org-tag-alist): Add newline options.
1979         (org-set-regexps-and-options): Separate option lines imply a
1980         newline.
1981         (org-set-regexps-and-options, org-assign-fast-keys)
1982         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1983         option.
1984         (org-indent-line-function): Make sure this works even if there is
1985         not `org-drawer-regexp' defined.  This can happen when
1986         orgstruct-mode is used in a non-org buffer.
1988         * org-list.el (org-checkbox-blocked-p): New function.
1989         (org-toggle-checkbox): Check for blocking.
1991         * org.el (org-modules): Add an entry for org-R.el.
1993         * org-agenda.el (org-agenda-todo-ignore-with-date)
1994         (org-agenda-todo-ignore-scheduled)
1995         (org-agenda-todo-ignore-deadlines): Mention the variable
1996         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
1998         * org.el (org-get-wdays): Find the warning period also if it is in
1999         the wrong place.
2000         (org-ido-completing-read): Provide the correct arguments to
2001         ido-completing-read and bind `ido-enter-matching-directory' to
2002         nil.
2004 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2006         * org.el (org-olpath-completing-read): Never use ido for this
2007         one.
2009         * org-exp.el (org-export-normalize-links): Use new macro.
2011         * org-macs.el (org-if-unprotected-at): New macro.
2013         * org-agenda.el (org-agenda-show): Allow numerical prefix
2014         arguments to specify how much context should be shown.
2015         (org-agenda-cycle-show): New command, could be bound to SPC in
2016         org-agenda-mode-map.
2018         * org-exp.el (org-html-level-start): Space after section number.
2020 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2022         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2023         property, for sorting.
2024         (org-cmp-todo-state): Get the applicable TODO keywords directly
2025         from the buffer.
2026         (org-run-agenda-series, org-agenda-list, org-search-view)
2027         (org-todo-list, org-tags-view): Only fit agenda window when the
2028         whole series is done.
2030         * org.el (org-scan-tags): Add todo state as property, for sorting.
2032         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2033         `org-agenda-overriding-header' as an option.
2034         (org-agenda-list): Honor org-agenda-overriding-header'.
2036 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2038         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2039         after removing a checkbox.
2041         * org.el (org-show-entry): Make this work correctly also if it is
2042         the last entry in the file.
2043         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2044         falling back to normal, default command.
2045         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2046         item, call the checkbox toggler to get a box.
2048         * org-list.el (org-toggle-checkbox): Make double prefix set the
2049         checkbox to "[-]".
2050         (org-fix-bullet-type): Only replace bullet if it is changed.
2051         (org-renumber-ordered-list): Handle case when first item does not
2052         have a number.
2054         * org.el (org-add-log-setup): Fix positioning when
2055         `org-log-states-order-reversed' is nil.
2057         * org-clock.el (org-clock-in): Fix positioning when
2058         `org-log-states-order-reversed' is nil.
2059         (org-clock-find-position): Fix positioning when
2060         `org-log-states-order-reversed' is nil.
2062 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2064         * org-clock.el (org-clock-into-drawer): Take default from
2065         `org-log-into-drawer'.
2066         (org-clock-find-position): Look for the correct drawer.
2068         * org.el (org-log-into-drawer): Renamed from
2069         `org-log-state-notes-into-drawer'.
2070         (org-log-state-notes-into-drawer): New variable alias.
2071         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2072         CLOCK.
2073         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2075 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2077         * org-agenda.el (org-agenda): Fix docstring.
2079         * org.el ("org-plot"): Help loading org-plot.
2080         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2081         (org-metadown-hook, org-shiftmetaleft-hook)
2082         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2083         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2084         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2085         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2086         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2088         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2089         for selecting files with any (and even without) extension.
2091         * org.el (org-save-all-org-buffers): Also save id locations.
2092         (org-revert-all-org-buffers): Also load id locations.
2094 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2096         (org-log-state-notes-into-drawer): New option.
2097         (org-add-log-setup): Place the sate note marker into the drawer,
2098         create drawer when necessary.
2099         (org-refile-targets): Document special interpretation of LEVEL
2100         when odd-levels are used.
2102 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2104         * org.el (org-store-log-note): Fix note indentation when adding
2105         notes to end of list.
2107         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2108         class, so that each keyword can get special colors through CSS.
2110         * org-clock.el (org-clock-out): Add another nil for the previous
2111         state into the call to `org-add-log-setup'.
2113         * org.el (org-log-note-previous-state): New variable.
2114         (org-log-note-headings): New %S escape for old state.
2115         (org-todo): Call the note setup with the old state as an
2116         argument.
2117         (org-add-note): Add another nil for the previous state into the
2118         call to `org-add-log-setup'.
2119         (org-add-log-setup): New argument PREV-STATE.
2120         (org-add-log-note): Handle new %S escape.
2121         (org-store-log-note): Handle new %S escape.
2123 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2125         * org-clock.el (org-clock-find-position): Do not swallow an item
2126         less indented than the CLOCK line itself.
2127         (org-clock-in): Push markers to lin after the clock line.
2128         (org-clock-find-position): Handle values of
2129         `org-clock-into-drawer' smaller than 2.
2131         * org-exp.el (org-html-level-start): Add a CSS class to section
2132         numbers.
2133         (org-export-html-toplevel-hlevel): Better documentation of the
2134         influence of this variables on H levels and css classes in
2135         export.
2137 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2139         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2140         timestamp and nottimestamp to the chooe menu.
2142         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2143         (org-revert-all-org-buffers): New command.
2145 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2147         * org.el (org-return): Implement `org-return-follows-link' in the
2148         function org-return.  This is more robust than using the mouse
2149         map, I think.
2150         (org-set-regexps-and-options): Match more general #+TODO lines.
2151         (org-make-options-regexp): New optional argument EXTRA, for an
2152         extra regexp.
2153         (org-tab-follows-link): Mark as deprecated.
2155 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2157         * org-exp.el (org-export-preprocess-string): Remove clock lines
2158         earlier, so that they cannot cotribute to verbatim snippets.
2160 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2162         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2163         for finding drawers.
2164         (org-export-as-ascii, org-export-as-html): Count levels relative
2165         to the subtree header.
2166         (org-get-min-level): New optional argument OFFSET.
2167         (org-export): Make sure point is restored after popping up that
2168         window.
2170         * org.el (org-do-sort): Also take an inactive timestamp if no
2171         active one is found.
2173         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2174         deleting duplicates.
2176         * org-colview.el (org-columns-capture-view): Copy before
2177         deleting duplicates.
2179         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2180         text before first headline.
2182         * org.el (org-format-latex): Do not convert LaTeX fragments in
2183         protected examples.
2185 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2187         * org-exp.el (org-export-html-style-default): Use color values
2188         instead of names for XHTML validation.
2190         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2191         functions.
2192         (org-return-follows-link): Revert making this the default untile
2193         issues are resolved.
2195         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2196         nottimestamp.
2198 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2200         * org.el (org-mode): Make dependence stuff work more reliably.
2201         (org-update-parent-todo-statistics): Fix bug with updating
2202         statistics cookie.
2204         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2205         ~ as verbatim delimiters.
2207         * org-exp.el (org-export-html-format-image): New argument
2208         PAR-OPEN.
2209         (org-export-as-html): Pass par-open to
2210         `org-export-html-format-image'.
2212 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2214         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2215         (org-use-fast-todo-selection, org-tags-column): New default
2216         setting for variables, based on a poll what typical uses use.
2218         * org-agenda.el (org-agenda-sorting-strategy)
2219         (org-agenda-tags-column): New default setting for variables, based
2220         on a poll what typical uses use.
2222 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2224         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2225         blocked entries from setting the blocked tag.
2227         * org-exp.el (org-export-html-footnotes-section): Use a more
2228         consistent id for footnotes.
2230         * org-export-latex.el (org-export-latex-classes): Remove the
2231         a4paper option from the default styles.
2233 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2235         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2236         (org-block-todo-from-checkboxes): New function.
2237         (org-todo): Make tripple prefix arg circumvent blocking.
2239         * org-timer.el (org-timer): Provide the timer feature.
2241         * org.el (org-require-autoloaded-modules): Add a few more files to
2242         the list of autoloaded modules.
2244         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2246 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2248         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2249         drawers that are unprotected.
2250         (org-export-html-format-image): Make sure inlined LaTeX fragment
2251         images remain inlined.
2253         * org.el (org-toggle-ordered-property): New function.
2254         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2255         (org-org-menu): Add menu entries for TODO dependencies.
2257 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2259         * org.el (org-default-properties): Add ORDERED to the default
2260         properties, to get completion support for it.
2262         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2264         * org.el (org-update-parent-todo-statistics): Update more than one
2265         cookie.
2267         * org-agenda.el (org-agenda-get-todos): Start search from correct
2268         position.
2270         * org.el (org-fast-todo-selection): Make sure TODO selection does
2271         not change buffer position.
2273         * org-list.el (org-toggle-checkbox): Implement adding or removing
2274         checkboxes from line or region when called with a prefix
2275         argument.
2277         * org-rmail.el (org-rmail-store-link): Protect the call to
2278         `rmail-narrow-to-non-pruned-header'.
2280         * org-clock.el (org-clock-special-range): Fix week display in
2281         clock tables.
2283         * org-exp.el (org-get-current-options): Fix bug when in indirect
2284         buffer.
2286 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2288         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2289         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2290         (org-agenda-dim-blocked-tasks): New function.
2292         * org.el (org-enforce-todo-dependencies): New option.
2293         (org-block-todo-from-children-or-siblings): New function.
2295         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2297         * org.el (org-todo): Return correct state type even if the blocker
2298         throws an error.
2299         (org-modifier-cursor-error): Renamed from
2300         `org-shiftcursor-error'.
2301         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2302         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2304         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2305         to get real errors from the blocker hook.
2307         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2308         functions.
2309         (org-set-visibility-according-to-property): Turn off the setting
2310         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2311         property.
2313 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2315         * org.el (org-support-shift-select): New option.
2316         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2317         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2318         selection outside contexts.
2320         * org-list.el (org-at-item-bullet-p): New function.
2322         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2323         variables.
2325         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2326         variable.
2327         (org-insert-footnote-reference-near-definition): Remove
2328         unnecessary let form.
2330         * org-export-latex.el (org-export-latex-first-lines): Add
2331         OPT-PLIST parameter.
2332         (org-export-as-latex): Call `org-export-latex-first-lines' with
2333         opt-plits parameter.
2334         (org-export-latex-preprocess): Remove unnecessary variables.
2336         * org-exp.el (org-infile-export-plist)
2337         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2338         (org-export-remove-headline-metadata)
2339         (org-export-get-title-from-subtree, org-get-min-level)
2340         (org-html-do-expand): Remove innecessary let form.
2342         * org-colview-xemacs.el (org-columns-display-here): Remove
2343         unnecessary variables.
2345         * org-colview.el (org-columns-display-here): Remove unnecessary
2346         variables.
2348         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2349         variables.
2351         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2352         unnecessary variables.
2354         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2355         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2356         variables.
2358         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2359         (org-compact-display-after-subtree-move): Remove unnecessary
2360         variables.
2361         (org-edit-fixed-width-region): Remove unnecessary variables.
2362         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2363         (org-olpath-completing-read): Remove unnecessary variable.
2364         (org-auto-repeat-maybe): Remove unnecessary variable.
2365         (org-map-entries): Remove unnecessary variable.
2366         (org-buffer-property-keys, org-imenu-get-tree)
2367         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2369 -----------------------------------------------------------------
2371 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2372         * org-exp.el (org-export-remove-timestamps): Never remove
2373         timestamps from tables.
2375         * org-export-latex.el (org-export-latex-first-lines): Add more
2376         options to the preprocessing of the text before the first
2377         headline.
2379 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
2381         * org-faces.el (org-clock-overlay): Make face compatible with
2382         XEmacs.
2384         * org.el (org-yank): Add property for delete-selection mode.
2386         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2388         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2389         variable.
2391         * org-table.el (org-table-insert-hline): Fix typo in fuction call
2392         to `backward-char'.
2394         * org-exp.el (org-export-as-html): Remove the initial space from
2395         colon examples.
2397         * org.el (org-scan-tags): Call
2398         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2400         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2401         customization groups.
2402         (org-agenda-tags-todo-honor-ignore-options): New option.
2403         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2404         New function.
2405         (org-agenda-get-todos): Use
2406         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2408 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
2410         * org-exp.el (org-export-format-source-code-or-example): Escape
2411         HTML characters also in examples that anre not treated with
2412         htmlize.  Also, just switch to EXAMPLE processing if we do not
2413         have a good version of htmlize.
2415         * org-rmail.el: Fix copyright notice.
2417         * org.el (org-activate-footnote-links): Improve footnote link
2418         highlighting.
2420         * org-footnote.el (org-footnote-normalize): Fix finding the end of
2421         a footnote definition at the end of the file.
2423         * org-table.el (org-table-get-specials): Add an imagined hline at
2424         the end of the table.  This can be useful for references that want
2425         to go to the end of the table.  Also fix bug when computing last
2426         row constants, in tables that do not start right at the right
2427         margin.
2428         (org-table-eval-formula): Match and replace remove references.
2429         (org-table-formula-substitute-names): Make sure that names inside
2430         a "remote" call are left alone, the will be replaced later when
2431         the remote call is handled.
2432         (org-table-convert-refs-to-rc): Do not convert things that might
2433         look like a reference, but are really part of an ID or namei n a
2434         remote reference.
2435         (org-table-get-remote-range): New function.
2437 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
2439         * org-faces.el (org-clock-overlay): Fix bug in face definition.
2441         * org-clock.el (org-clock-put-overlay): Use new face instead of
2442         `secondary-selection'.
2444         * org-faces.el (org-clock-overlay): New face.
2446 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
2448         * org-exp.el (org-get-current-options): Include the option for
2449         publishing time stamps.
2451         * org.el (org-toggle-heading): Renamed from
2452         `org-toggel-region-headings'.
2453         No longer needs a region defined, but will use it if there is one.
2454         (org-ctrl-c-star): Simplified, relying more on the internal
2455         workings of `org-toggle-heading'.
2456         (org-toggle-item): Renamed from `org-toggle-region-items'.
2457         No longer needs a region defined, but will use it if there is one.
2458         (org-ctrl-c-minus): Simplified, relying more on the inernal
2459         workings of `org-toggle-item'.
2461         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2462         environment detection.  Also, do real changes only in unprotected
2463         places.
2465 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
2467         * org-export-latex.el (org-export-latex-quotation-marks): Use
2468         `org-if-unprotected-1'.
2469         (org-export-latex-set-initial-vars): Check for class definition in
2470         property.
2472         * org-macs.el (org-if-unprotected-1): New macro.
2474 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
2476         * org-compat.el (org-count-lines): New function.
2478         * org-exp.el (org-export-format-source-code-or-example): Handle
2479         switches related to text areas.
2481         * org.el (org-activate-footnote-links): Don't allow match inside a
2482         link.
2484         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2486         * org-export-latex.el (org-export-latex-links): Keep a relative
2487         path relative also after export.
2489         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2491         * org.el (org-make-tags-matcher): Never use IDO for completing the
2492         tags matcher match string.
2493         (org-completing-read): Also remove the special biding for "?".
2495         * org-attach.el (org-attach-allow-inheritance): New option.
2496         (org-attach-inherited): New variable.
2497         (org-attach-dir): Handle properties related to the attachment
2498         directory.
2499         (org-attach-check-absolute-path): New function.
2500         (org-attach-set-directory, org-attach-set-inherit): New commands.
2501         (org-attach): Accommodate the new commands in the dispatcher.
2503 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
2505         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2506         `window-full-width-p'.
2508         * org-exp.el (org-export-as-html): Only check for images files
2509         that really can be inlined
2511         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2512         list of extensions to be a parameter.
2514         * org-exp.el (org-export-html-inline-image-extensions): New
2515         variable.
2517         * org-agenda.el (org-prepare-agenda): Use
2518         `org-agenda-block-separator'.
2519         (org-agenda-block-separator): New option.
2521 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
2523         * org-export-latex.el (org-export-latex-tables): Call
2524         `org-table-clean-before-export' with the new optional argument.
2526         * org-exp.el (org-table-clean-before-export): New optional
2527         parameter MAYBE-QUOTED, allows for quoted characters like \# in
2528         first column.
2530 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
2532         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2533         histograms.
2535         * org-colview.el (org-colview-construct-allowed-dates): Better
2536         error catching when a date/time property does not have allowed
2537         values defined.
2539         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2540         Better error catching when a date/time property does not have
2541         allowed values defined.
2543 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
2545         * org.el (org-map-entries): Restore point and restriction after
2546         `org-map-entries'.
2548 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
2550         * org.el (org-time=, org-time<, org-time<=, org-time>)
2551         (org-time>=, org-time<>): Make sure both values are dates.
2553 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
2555         * org-archive.el (org-extract-archive-heading): Allow %s for file
2556         name also in achive location heading.
2558 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org-archive.el (org-add-archive-files): Uniquify the list before
2561         returning it.
2563 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
2565         * org-compat.el (org-fit-window-to-buffer): Use
2566         `window-full-width-p'.
2568         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2569         space after the colon in short examples.
2571         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2572         enforce a space after the colon.  However, we also allow lines
2573         that are *only* a colon.
2574         (org-export-as-html): Enforce the space after the colon in short
2575         examples.
2576         (org-export-preprocess-string): Do the colon example protection
2577         earlier.
2578         (org-export-remove-timestamps): Do not check for protection at the
2579         end of the line.
2581 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
2583         * org.el (org-format-latex-options): Add new matcher for single
2584         letters between dollars.
2585         (org-get-header): Function removed.
2586         (org-heading-components): New function.
2588         * org-exp.el (org-export-define-heading-targets): Record ID's also
2589         as alternative targets.
2590         (org-export-as-html): Interpret "id:" links to other files by
2591         preserving the relative path.
2593         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2594         is nil.
2596         * org-exp.el (org-export-normalize-links): Protect the main link,
2597         to avoid special character processing.
2599         * org-export-latex.el (org-export-latex-special-keyword-regexp):
2600         New variable.
2601         (org-export-latex-special-string-regexps): Variable removed.
2602         (org-export-latex-keywords): Use the new regexp.
2604         * org-exp.el (org-export-handle-include-files): Fetch switches and
2605         put them into the BEGIN statement.
2607         * org-timer.el (org-timer-mode-line-string): New variable.
2609         * org-clock.el (org-clock-mode-line-map): Renamed from
2610         `org-clock-mode-map'.
2611         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2612         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2613         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2614         (org-clock-remove-overlays): Renamed from
2615         `org-remove-clock-overlays'.
2617         * org-timer.el (org-timer-pause-or-continue): Implement stopping
2618         and mode line display.
2619         (org-timer-stop): New command.
2620         (org-timer-seconds): Return correct time when timer is paused.
2621         (org-timer-mode-line-timer): New variable.
2622         (org-timer-set-mode-line, org-timer-update-mode-line): New
2623         functions.
2625         * org.el (org-insert-heading):  Handle new value `auto' for
2626         `org-blank-before-new-entry'.
2627         (org-org-menu): Add new items for timer functions.
2629         * org-list.el (org-insert-item): Handle new value `auto' for
2630         `org-blank-before-new-entry'.
2632         * org.el (org-blank-before-new-entry): New value `auto', made
2633         default.
2635 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2637         * org-exp.el (org-export-normalize-links): If the link is also
2638         used as the description, protect the description.
2640 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2642         * org.el (org-closest-date): Fix bug with yearly repeats, in
2643         combination with preference of the past as it is used for deadline
2644         and scheduling search.
2646         * org-exp.el (org-html-handle-time-stamps): No longer check for
2647         the `org-export-with-timestamps' option, because the preprocesser
2648         has taken care of this already.
2650         * org.el (org-entry-properties): Catch the case when this is
2651         called in a non-org-mode file.
2653         * org-export-latex.el (org-export-latex-remove-from-headlines):
2654         Variable made obsolete, also LaTeX export now uses the standard
2655         variables.
2656         (org-export-as-latex): Add the timestamps parameter to the
2657         preprocessor parameter list.
2658         (org-export-latex-content): Export the remaining keywords without
2659         considering to remove them.
2660         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2661         Use bold font instead of tt font for the keywords.
2662         (org-export-latex-fontify-headline): Format headlines, assuming
2663         that all keywords still present should be published.
2664         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2665         publish what ever remains of the time stamps.
2666         (org-export-latex-list-parameters): New option.
2667         (org-export-latex-lists): Pass additional parameters to the list
2668         converter.
2670         * org-exp.el (org-export-preprocess-string): Remove clock lines
2671         and timestamps already in the preprocesor.
2672         (org-export-remove-timestamps, org-export-remove-clock-lines): New
2673         functions.
2674         (org-export-as-ascii, org-export-as-html): Add the timestamps
2675         parameter to the preprocessor parameter list.
2677         * org-list.el (org-list-parse-list): Parse for checkboxes.
2678         (org-list-to-generic): Introduce and handle new parameters :cbon
2679         and :cboff.
2680         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2681         optional parameter PARAMS.
2683         * org-export-latex.el (org-export-latex-special-chars): Fix
2684         problems with interpreting dollar signs.
2685         (org-inside-latex-math-p): New function.
2686         (org-export-latex-preprocess): Protect all the math fragments.
2688         * org.el (org-latex-regexps): Allow a dash after a dollar.
2690         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2691         mark after copying.
2693         * org-agenda.el (org-run-agenda-series): Have series options set
2694         when finalizing the agenda.
2696         * org-exp.el (org-export-format-source-code-or-example): Protect
2697         the converted examples.
2699         * org.el (org-set-regexps-and-options): Fix the regexp
2700         `org-complex-heading-regexp'.
2702 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
2704         * org.el (org-edit-src-get-label-format): New function.
2705         (org-coderef-label-format): New option.
2706         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2707         a label format specification and make sure it is used in the edit
2708         buffer.
2709         (org-edit-src-get-label-format): New function.
2710         (org-store-link): Handle new coderef formats.
2711         (org-link-search): Handle new coderef formats.
2713         * org-footnote.el (org-footnote-create-definition)
2714         (org-footnote-goto-local-insertion-point): Make footnote insertion
2715         work correctly when the "Footnotes" headline is the last line in
2716         the buffer.
2718         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2719         the location.
2721 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
2723         * org-w3m.el (org-w3m): New customization group.
2724         (org-w3m-deactivate-mark): New option.
2725         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2726         option say not to.
2728 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
2730         * org.el (org-set-font-lock-defaults): Trigger footnote
2731         fontification.
2732         (org-activate-footnote-links): New function.
2733         (org-activate-links): New entry `footnote'.
2735         * org-faces.el (org-footnote): New face.
2737 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
2739         * org-macs.el (org-re): Handle the [:word:] class.
2741         * org-exp.el (org-export-preprocess-string): Call
2742         `org-export-protect-colon-examples'.
2743         (org-export-protect-colon-examples): Renamed from
2744         `org-export-protect-examples', and scope limited to lines starting
2745         with a colon.
2747 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
2749         * org-exp.el (org-export-preprocess-string): Move the preprocess
2750         hook to after turning on Org-mode.
2751         (org-export-preprocess-after-include-files-hook)
2752         (org-export-preprocess-after-tree-selection-hook)
2753         (org-export-preprocess-before-backend-specifics-hook)
2754         (org-export-preprocess-final-hook): New hooks.
2755         (org-export-preprocess-string): Run the new hooks.
2757         * org.el (org-ctrl-c-minus): Fix indentation for new items.
2759         * org-footnote.el: New file.
2761         * org.el (org-footnote): Require footnote code.
2762         (org-startup-options): Add new footnote options.
2763         (org-mode-map): New keybindig for footnotes.
2764         (org-ctrl-c-ctrl-c): Add function at footnotes.
2765         (org-org-menu): New menu entries for footnotes.
2767         * org-export-latex.el (org-export-as-latex): Pass footnote
2768         variable to preprocessor.
2769         (org-export-latex-preprocess): Treat multiple references to a
2770         footnote.
2772         * org-exp.el (org-export-preprocess-string): Call
2773         `org-footnote-normalize'.
2774         (org-export-as-ascii, org-export-as-html): Pass footnote variable
2775         to preprocessor.
2776         (org-export-as-html): Treat multiple references to a footnote.
2778 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
2780         * org-export-latex.el (org-export-latex-links): Handle coderef
2781         links.
2783         * org.el (org-bracket-link-analytic-regexp++): New variable.
2784         (org-make-link-regexps): Initialize
2785         `org-bracket-link-analytic-regexp++'.
2786         (org-store-link): Implement special case in edit-src buffer.
2787         (org-insert-link): No use of ide to insert stored links.
2788         (org-link-search): Implement special case for coderefs.
2790         * org-exp.el (org-export-html-scripts): New constant.
2791         (org-export-html-style-default): Add a new style for highlighted
2792         code.
2793         (org-export-code-refs): New variable.
2794         (org-export-preprocess-string): Initialize `org-export-code-refs'.
2795         Call `org-export-replace-src-segments-and-examples'
2796         No longer call `org-export-protect-examples'.
2797         (org-export-target-internal-links): Take care of coderef targets.
2798         (org-export-last-code-line-counter-value): New variable.
2799         (org-export-replace-src-segments-and-examples): Renamed from
2800         `org-export-replace-src-segments', and modified.
2801         (org-export-format-source-code-or-example): Renamed from
2802         `org-export-format-source-code'.
2803         (org-export-number-lines): New function.
2804         (org-export-as-ascii, org-export-as-html): Handle coderef links.
2806 --------------------------------------------------------------------------
2808 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
2810         * org-remember.el (org-remember-handler): Safer way to get a new
2811         buffer accessing the target file.
2813         * org.el (org-refile-get-location): Handle case of current buffer
2814         not having a file associated with it.
2816 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
2818         * org-table.el (org-table-get-formula): Only ask to overwrite
2819         field formula if there really is one.
2821         * org-id.el (org-id-find): Allow the ID to be a symbol or a
2822         number, by converting these to a string.
2824         * org-colview.el (org-dblock-write:columnview): Allow ID to be
2825         located in a different file.
2827         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2828         org-colview.el.
2830 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
2832         * org.el (org-completion-use-ido): Enhance docstring of
2833         `org-completion-use-ido'.
2835         * org-export-latex.el (org-export-latex-make-header): Double the %
2836         in the time stamp format.
2837         (org-export-latex-special-chars): Handle case where there is no
2838         match group 3.
2840 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
2842         * org.el (org-get-refile-targets, org-refile-get-location): Use
2843         expanded file name to improve comparison.
2845 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
2847         * org.el (org-scan-tags): Rescan for tags, to get the correct
2848         upcase/downcase stuff.  This slows things down for now, but it
2849         works.
2850         (org-mode): Make sure the tag-faces regexp is initialized.
2852         * org-export-latex.el (org-export-latex-links): Fix bug with
2853         undefined label.
2855         * org-table.el (org-table-get-specials): Set
2856         `org-table-current-last-data-line'.
2857         (org-table-current-last-data-line): New variable.
2858         (org-table-insert-column, org-table-delete-column)
2859         (org-table-move-column, org-table-fix-formulas): Call
2860         `org-table-fix-formulas' a second time to fix the $LR references.
2861         (org-table-get-specials): Add the $LR references to the tables.
2862         (org-table-get-formula): Do not offer last-row names as LHS of
2863         formulas.
2865         * org.el (org-store-link): Capture link description from
2866         `org-id-store-link'.
2868         * org-exp.el (org-export-html-format-image): Add the / to the end
2869         of the <img> tag.
2870         (org-export-format-source-code): Surround example by empty lines,
2871         to make sure it will not be inside a paragraph.
2873         * org.el (org-ido-switchb): New function.
2875 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
2877         * org-agenda.el (org-agenda-show): New prefix argument
2878         FULL-ENTRY.
2880         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2881         argument.
2883         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2884         `org-agenda-change-all-lines'.
2885         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2886         tags are now retrieved locally.
2888 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
2890         * org.el (org-get-outline-path): Fix bug if level is not given.
2891         (org-org-menu): Do not quote function in menu vector.
2893         * org-agenda.el (org-finalize-agenda): Fix typo with variable
2894         name.
2896 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-refile): Avoid refiling to within the region to be
2899         refiled.
2901         * org-export-latex.el (org-export-latex-special-chars): Replace
2902         special characters also in tables.
2904         * org-agenda.el (org-agenda-change-all-lines): New argument
2905         FORCE-TAGS.
2906         (org-agenda-set-tags): Cet the new tags and pass them to
2907         `org-format-agenda-item'.
2909 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
2911         * org-export-latex.el (org-export-latex-classes): Add longable as
2912         a default package to all classes.
2913         (org-export-latex-tables): Handle the longtable attribute and the
2914         align attribute.
2916         * org-table.el (orgtbl-to-generic): Handle tables that start with
2917         a hline.
2919         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2920         \verb for colde-like snippets.
2921         (org-export-as-latex): Fix issues with region export.
2923         * org.el (org-up-heading-safe): Speed up function by using a
2924         direct regexp search.
2925         (org-olpa): New variable.
2926         (org-get-outline-path): Speed-up path constructions in cases where
2927         this is possible because the entire hierarchy is scanned anyway.
2928         (org-refile-get-location): Don't compare the truenames of files,
2929         this is too slow.
2930         (org-goto-max-level): New option.
2931         (org-goto): Use `org-goto-max-level'.
2933 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
2935         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2936         Strip angle brackets from message-ids in the former and don't do
2937         it in the latter.
2938         (org-gnus-follow-link): Open summary reliable, even if the last
2939         messages were deleted, and handle empty groups, too.
2941 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
2943         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2944         instead of \texttt for the =...= and ~===~ emphasis environments.
2945         (org-export-as-latex): Remove any old :org-license-to-kill text
2946         properties.
2947         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2948         (org-export-latex-make-header): Add some hard space after the
2949         table of contents.
2950         (org-export-latex-first-lines): Accept RBEG argument.  Mark
2951         exported text so that it will be excuded in further steps.
2953         * org-table.el (org-table-get-specials): Make @0 reference the
2954         last line in a table.
2955         (org-table-recalculate): Improve docstring.
2957 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
2959         * org.el (org-log-done): Fix docstring.
2961 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-exp.el (org-export-html-format-image): Fix bugs.
2965         * org-export-latex.el (org-export-latex-tables)
2966         (org-export-latex-links): Implement attribute, label, and caption
2967         handling.
2969         * org-exp.el (org-export-html-style-default): Add style
2970         definitions for the figure div.
2971         (org-export-preprocess-string, org-export-as-html): Implement
2972         attribute, label, and caption handling.
2973         (org-export-attach-captions-and-attributes): New function.
2974         (org-export-html-format-image): New function.
2975         (org-format-org-table-html): Implement attribute, label, and
2976         caption handling.
2978         * org.el (org-find-text-property-in-string): New function.
2979         (org-extract-attributes): Use the property org-attr instead of
2980         org-attrobutes, because this property is now set with the #+ATTR
2981         lines.
2983 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
2985         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2986         the case that FROM is nil.
2988         * org.el (org-before-first-heading-p): New function.
2990 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
2992         * org-exp.el (org-export-as-html): Do not add a space before
2993         enforces line breaks.
2994         (org-export-as-html): Close paragraph before blockquote and verse
2995         tags.
2997 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
2999         * org-id.el (org-id-locations-file): Wrap file name with
3000         `convert-standard-filename'.
3001         (org-id-files): New variable.
3002         (org-id-use-hash): New option.
3003         (org-id-update-id-locations): Also search in all files current
3004         listed in `org-id-files'.  Convert the resulting alist to a hash
3005         if the user customation says so.
3006         (org-id-locations-save): Handle he case if `org-id-locations' is a
3007         hash.
3008         (org-id-locations-load): Convert the alist to a hash.
3009         (org-id-add-location): Handle the hast case.
3010         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3011         exited.
3012         (org-id-hash-to-alist, org-id-alist-to-hash)
3013         (org-id-paste-tracker): New functions.
3015 -------------------------------------------------------------------------
3017 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3019         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3020         bindings of calendar variables.
3022         * org-table.el (org-table-find-row-type): Renamed from
3023         `org-find-row-type'.
3024         (org-table-rewrite-old-row-references): Renamed from
3025         `org-rewrite-old-row-references'.
3026         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3027         (org-table-cleanup-narrow-column-properties): Renamed from
3028         `org-cleanup-narrow-column-properties'.
3030 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3032         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3033         for better error messages.
3034         (org-table-get-descriptor-line): Supply the new arguments to
3035         `org-find-row-type'.
3036         (org-table-error-on-row-ref-crossing-hline): New option.
3038         * org.el (org-target-link-regexp): Make buffer-local.
3039         (org-move-subtree-down): Fix bug with trees at beginning of
3040         buffer.
3042 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3044         * org-faces.el (org-set-tag-faces): New function.
3045         (org-tags-special-faces-re): New variable.
3047         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3049         * org-faces.el (org-tag-faces): New option.
3050         (org-tag): Mention `org-tag-faces' in the docstring.
3052 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3054         * org-exp.el (org-export-html-style-default): Implement new
3055         quoting.
3057         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3059         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3060         command to the `w3m-minor-mode-map'.
3062         * org-archive.el (org-archive-to-archive-sibling): Protect
3063         `this-command' to avoid appending kills during archiving.
3065         * org-exp.el (org-export-with-priority): New variable.
3066         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3067         instead of internal list of strings and properties.
3068         (org-print-icalendar-entries): Retrieve the location property with
3069         inheritance.
3071 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3073         * org-exp.el (org-export-with-todo-keywords): New option.
3074         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3075         line.
3076         (org-default-export-plist, org-export-add-options-to-plist)
3077         (org-export-as-ascii, org-export-as-html): Use the new structure
3078         of `org-export-plist-vars'.
3080         * org.el (org-map-entries): Return all values.
3082 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3084         * org.el (org-matcher-time): Recognize more special values.
3086         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3088 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3090         * org.el (org-tags-exclude-from-inheritance): New option.
3091         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3092         `org-tags-exclude-from-inheritance'.
3094         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3095         (org-format-agenda-item): Add inherited tags to the agenda line
3096         string, and make sure that properties are kept when downcasing the
3097         tags list.
3098         (org-agenda-add-inherited-tags): New function.
3099         (org-downcase-keep-props): New function.
3101         * org.el (org-scan-tags): Mark inherited tags with a text
3102         property.
3103         (org-get-tags-at): Mark inherited tags with a text property.
3104         (org-add-prop-inherited): New function.
3106         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3107         (org-agenda-show-inherited-tags): New option.
3109 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3111         * org.el (org-modules): Add org-w3m to the default modules.
3113         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3114         orgtbl-mode.
3115         (orgtabl-create-or-convert-from-region): New command.
3117         * org-exp.el (org-export-as-ascii): Remove the handling of
3118         targets.
3119         (org-export-ascii-preprocess): Handle targets already in this
3120         function.
3122 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3124         * org-timer.el (org-timer-start-time): Define this variable.
3125         (org-timer-item): Make argument optional.
3127         * org-list.el (org-insert-item): Automatically insert a timer item
3128         if the current list is a timer list.
3130         * org-timer.el: New file.
3132         * org-publish.el (org-publish-org-index): Only exclude the index
3133         file in the main directory from being added to the site-map.
3134         (org-publish-get-project-from-filename): If the current project is
3135         a component, start publishing from the parent project.
3137 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3139         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3141         * org-publish.el (org-publish-org-index): Improve removal of
3142         temporary buffers.
3144         * org-agenda.el (org-get-closed): Re-apply changes
3145         accidentially overwritten by last commit to Emacs.
3147         * org.el (org-outline-path-complete-in-steps): New option.
3148         (org-refile-get-location): Honor
3149         `org-outline-path-complete-in-steps'.
3150         (org-agenda-change-all-lines, org-tags-sparse-tree)
3151         (org-time-string-to-absolute, org-small-year-to-year)
3152         (org-link-escape): Re-apply changes accidentially overwritten
3153         by last commit to Emacs.
3155 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3157         * org-clock.el (org-dblock-write:clocktable): Make sure the
3158         clocktable sees the first line.
3159         (org-clock-in): Warn if the clock cannot be resumed.
3161 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3163         * org.el (org-open-at-point): Fix mixup about interactive and
3164         non-interactive elisp links.
3166 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3168         * org-exp.el (org-export-preprocess-string): Allow one comment
3169         line before the first headline to always be included.  This is
3170         to not miss a commented target.
3172         * org-mouse.el (org-mouse-insert-item): Call
3173         `org-indent-to-column' instead of `indent-to', for XEmacs
3174         compatibility.
3176         * org.el (org-refile-targets): Fix customize definition so
3177         that it works also in XEmacs.
3178         (org-fixup-indentation): Call `org-indent-to-column' instead
3179         of `indent-to', for XEmacs compatibility.
3181 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3183         * org-mew.el (org-mew-store-link): Get the correct case folder
3184         for refiled messages.
3186 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3188         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3189         line break indicators.
3191         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3192         ido-completion propts.
3194 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org-remember.el (org-remember-apply-template): Use
3197         `org-substring-no-properties'.
3199         * org-compat.el (org-substring-no-properties): New function.
3201         * org-remember.el (org-remember-apply-template): Use
3202         `org-substring-no-properties' for compatibility.
3204         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3205         option.
3206         (org-fix-bullet-type): respect
3207         `org-list-two-spaces-after-bullet-regexp'.
3209         * org-clock.el (org-clock-load): Clean up the code.
3211         * org.el (org-adaptive-fill-function): Allow two spaces after
3212         "1." as a list bullet.
3214 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3216         * org-clock.el (org-clock-save, org-clock-load): Check for
3217         live buffers, existing files, and buffer file names to ensure
3218         consistent information.
3219         (org-clock-persist): Make `clock' a special value of this
3220         variable, and improve docstring.
3222         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3223         (org-get-string-indentation): Adapt indentation when the bullet
3224         width changes.
3226 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3228         * org-remember.el (org-remember-finalize): Make interactive.
3229         (org-remember-kill): New command.
3230         (org-remember-finish-immediately): Call `org-remember-finalize'
3231         directly.
3232         (org-remember-finalize): Make `org-remember-finalize' an interactive
3233         function.
3235 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3237         * org-remember.el (org-remember-apply-template): No ido completion
3238         for free prompts in remember templates.
3239         (org-remember-before-finalize-hook): New hook.
3240         (org-remember-mode): New minor mode.
3241         (org-remember-apply-template): Turn on `org-remember-mode'.
3243         * org-id.el (org-id-add-location): Avoid error when no file is
3244         given.
3246         * org-remember.el (org-remember-apply-template): Fix the way how
3247         the list of allowed properties is retrieved from the target file.
3249         * org.el (org-insert-link): Improve file link matching.
3251 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3253         * org-colview.el (org-columns-display-here): New argument
3254         DATELINE, to trigger using the new face.
3255         (org-agenda-colview-summarize): Call `org-columns-display-here'
3256         with the new argument.
3258         * org-faces.el (org-agenda-column-dateline): New face.
3260         * org-publish.el (org-publish-org-index): Use index-title at page
3261         title, not as section.
3263         * org-exp.el (org-export-html-format-desc): Respect the
3264         org-protect property.
3265         (org-export-as-html): Protect image specifiers that are in the
3266         description part of a link.
3268         * org.el (org-sort-entries-or-items, org-completing-read)
3269         (org-refile-get-location, org-olpath-completing-read, org-todo)
3270         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3271         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3272         (org-set-property, org-delete-property)
3273         (org-delete-property-globally): Use `org-ido-completing-read'.
3275         * org-remember.el (org-remember-apply-template): Use
3276         `org-ido-completing-read'.
3278         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3280         * org-colview.el (org-columns-edit-value, org-columns-new)
3281         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3283         * org-colview-xemacs.el (org-columns-edit-value)
3284         (org-columns-new, org-insert-columns-dblock): Use
3285         `org-ido-completing-read'.
3287         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3288         `org-ido-completing-read'.
3290         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3291         `org-ido-completing-read'.
3293         * org.el (org-time-today): New function.
3294         (org-matcher-time): Use `org-time-today'.  Add special treatment
3295         for "<tomorrow>" and "<yesterday>".
3296         (org-ido-completing-read): New function.
3297         (org-completion-use-ido): New option.
3299         * org-exp.el (org-export-format-source-code): Fix bug in require
3300         htmlize code.
3301         (org-export-target-internal-links): Fix bug in search for text
3302         property.
3304 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3306         * org-export-latex.el (org-export-latex-subcontent): Interprete
3307         target aliases as additonal labels.
3309         * org-exp.el (org-export-target-aliases): New variable.
3310         (org-export-preprocess-string)
3311         (org-export-handle-invisible-targets): Fill the alias alist.
3312         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3313         assign an id.
3314         (org-html-level-start): Insert the target aliases as additonal
3315         anchors.
3317         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3318         picture area.
3320 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3322         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3323         when following a link with the mouse from the agenda.
3325         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3326         headlines are created.
3328 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3330         * org-exp.el (org-export-preprocess-string): Reorder so that we
3331         can still see ID properties when we collect targets.
3332         (org-export-target-internal-links): Also store targets for ID's.
3334         * org.el (org-link-translation-function): New option.
3335         (org-open-at-point): Call `org-link-translation-function' if
3336         non-nil.
3337         (org-translate-link): New function.
3338         (org-translate-link-from-planner): New function.
3339         (org-open-at-point): Allow interactive commands in elisp links.
3341         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3342         iCalendar quoting.  The new one seems to caus problems with
3343         applications.
3345         * org.el (org-yank): Set `this-command' to `yank', so that
3346         `yank-pop' will work.
3348 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3350         * org-id.el (org-id-search-archives): New option.
3352         * org.el (org-link-to-org-use-id): New option.
3353         (org-store-link): Use `org-link-to-org-use-id'.
3354         (org-id): Make org-id.el a standard component.
3356 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3359         hexified version of the tag.
3361         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3362         compliance as far as quoting is concerned.
3364         * org-vm.el (org-vm-follow-link): Require `vm-search'.
3366         * org.el (org-up-heading-safe, org-forward-same-level): Always
3367         call `org-back-to-heading' instead of `outline-back-to-heading'.
3368         (org-back-to-heading): New wrapper around outline-back-to-heading,
3369         with a useful error message telling where the error happened.
3371         * org-list.el (org-update-checkbox-count): Always call
3372         `org-back-to-heading' instead of `outline-back-to-heading'.
3374         * org-exp.el (org-export-as-html): Make sure that each <img> tag
3375         has an `alt' attribute, to ensure XHTML validation.
3377 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3379         * org-publish.el (org-publish-attachment): Allow publishing to
3380         overwrite attachment files.
3382         * org-agenda.el (org-agenda-timerange-leaders): New option.
3383         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3385         * org.el (org-edit-src-exit): Untabify ASCII image before
3386         returning.
3399 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org.el (org-yank): Make any prefix force normal yanking.
3402         Suppress folding if text would be swallowed into a folded
3403         subtree.
3404         (org-yank-folded-subtrees, org-yank): Docstring updates.
3406         * org-agenda.el (org-agenda-compare-effort): Treat no effort
3407         defined as 0.
3409         * org-exp.el (org-export-language-setup): Add Catalan and
3410         Esperanto language entries.
3412 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
3414         * org.el (org-refile): Allow refiling of entire regions.
3416         * org-clock.el (org-clock-time%): New function.
3418         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3419         retrieve property values.
3421 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3423         * org-agenda.el (org-agenda-list): Handle the value `only' of
3424         org-agenda-show-log'.
3425         (org-agenda-log-mode): Interpret a double prefix arg.
3427 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
3429         * org-exp.el (org-export-html-footnotes-section): New variable.
3430         (org-export-as-html): Use `org-export-html-footnotes-section' to
3431         insert the footnotes.
3432         (org-export-language-setup): Add "Footnotes" to language words.
3434 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
3436         * org.el (org-yank): Fix bug when not inserting a subtree.
3438 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
3440         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3441         instead of `vm-beginning-of-message'.
3443         * org.el (org-make-link-regexps): Make sure that links to gnus can
3444         contain brackets.
3446 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
3448         * org-attach.el (org-attach-dir): Remove duplicate ID creation
3449         code.
3451         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3452         shell output.
3454         * org.el (org-link-abbrev-alist): Improve customization type.
3456         * org-attach.el (org-attach-expand-link, org-attach-expand): New
3457         functions.
3459         * org-agenda.el (org-agenda-get-progress): Renamed from
3460         `org-get-closed'.  Implement searching for state changes as well.
3461         (org-agenda-log-mode-items): New option.
3462         (org-agenda-log-mode): New option prefix argument, interpreted as
3463         request to show all possible progress info.
3464         (org-agenda-get-day-entries): Call `org-get-progress' instead of
3465         `org-get-closed'.
3466         (org-agenda-set-mode-name): Handle the more complex log mode
3467         settings.
3468         (org-get-closed): New alias, pointing to `org-get-progress'.
3470 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
3472         * org.el (org-file-apps-defaults-gnu)
3473         (org-file-apps-defaults-macosx)
3474         (org-file-apps-defaults-windowsnt): Add an entry defining the
3475         system command.
3476         (org-file-apps): Allow `system' as key and value.
3477         (org-open-at-point): Explain the effect of a double prefix arg.
3478         (org-open-file): If the argument `in-emacs' is (16),
3479         i.e. corresponding to a double prefix argument, try to open the
3480         file externally.
3482 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
3484         * org.el (org-insert-link): Abbreviate absolute files names in
3485         links.  Also, fix a bug in which the double C-u prefix would not
3486         be honored.
3488 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
3490         * org.el (org-insert-heading): If buffer does not end with a
3491         newline, add one if necessary to insert headline correctly.
3493         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3494         paragraphs, not inside.
3496         * org.el (org-todo): Quote
3497         `org-agenda-headline-snapshot-before-repeat'.
3499         * org-exp.el (org-export-as-html): Fully process link descriptions.
3500         (org-export-html-format-desc): New function.
3501         (org-export-as-html): Collect footnotes into the correct basket.
3502         (org-html-protect): No longer protect quotations marks here, this
3503         goes wrong.
3505         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3506         BEG.
3508         * org-compat.el (org-fit-window-to-buffer): New function (not
3509         really, a preliminary and incomplete version was present earlier,
3510         but not used).
3512         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3513         `org-fit-window-to-buffer'.
3515         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3517         * org-agenda.el (org-agenda-get-restriction-and-command)
3518         (org-fit-agenda-window, org-agenda-convert-date): Use
3519         `org-fit-window-to-buffer'.
3521         * org-exp.el (org-export-as-html): Process href links through
3522         `org-export-html-format-href'.
3523         (org-export-html-format-href): New function.
3525         * org-agenda.el (org-agenda-todo): Update only the current
3526         headline if this is a repeated TODO, marked done for today.
3527         (org-agenda-change-all-lines): New argument JUST-THIS, to change
3528         only the current line.
3530         * org.el (org-todo): Take a snapshot of the headline if the
3531         repeater might change it.
3533 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3535         * org-publish.el (org-publish-find-title): Remove buffers visited
3536         only for extracting the title.
3538         * org-exp.el (org-export-html-style)
3539         (org-export-html-style-default): Mark style definitions as
3540         unparsed CDATA.
3542         * org-publish.el (org-publish-validate-link): Function
3543         re-introduced.
3545 2008-11-02  Charles Sebold  <csebold@gmail.com>
3547         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3548         property.
3549         (org-plot-quote-timestamp-field): New function.
3550         (org-plot-quote-tsv-field): Call timestamp field function when
3551         necessary rather than just quoting as a string.
3552         (org-plot/gnuplot-to-data): Pass in timefmt property.
3553         (org-plot/gnuplot-script): Supports timefmt property.
3554         (org-plot/gnuplot): Checks for timestamp column before checking
3555         for text index column.
3557 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3559         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3561         * org-publish.el (org-publish-org-index): Create a section in the
3562         index file.
3563         (org-publish-org-index): Stop linking to directories.
3565         * org.el (org-emphasis-alist): Use span instead of <u> to
3566         underline text.
3568         * org-exp.el (org-export-as-html): Make sure <p> is closed before
3569         <pre> sections.
3571 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
3573         * org-jsinfo.el (org-infojs-template): Remove language attribute
3574         from script tag.
3576 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
3578         * org-agenda.el (org-agenda-remove-marked-text): New function.
3579         (org-agenda-mark-filtered-text)
3580         (org-agenda-unmark-filtered-text): New functions.
3581         (org-write-agenda): Remove fltered text.
3583         * org.el (org-make-tags-matcher): Give access to TODO "property"
3584         without speed penalty.
3586 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
3588         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3589         option.
3590         (org-store-link-props): Make sure adding to the plist works
3591         correctly.
3593         * org-gnus.el (org-gnus-no-new-news): New function.
3594         (org-gnus-follow-link): Allow the article ID to be a message-id,
3595         in addition to allowing article numbers.  Message IDs make much
3596         more roubust links.
3597         (org-gnus-store-link): Use message-id to create link.
3599 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
3601         * org.el (org-emphasize): Reverse the selection array.
3602         (org-emphasis-alist): Set <code> tags for the verbatim
3603         environment.
3605         * org-remember.el (org-remember-handler): Fix bug with
3606         prefix-related changing of the note storage target.
3608         * org-exp.el (org-print-icalendar-entries): Make the exported
3609         priorities compatible with RFC 2445.
3611         * org-clock.el (org-clock-save): Insert time stamp without
3612         dependence on time-stamp.el.
3614 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
3616         * org.el ("saveplace"): If saveplace puts point into an invisible
3617         location, make it visible.
3618         (org-make-tags-matcher): Allow inactive time stamps in time
3619         comparisons.
3620         (org-yank-adjusted-subtrees): New option.
3621         (org-yank): Incorporate adjusting trees.
3622         (org-paste-subtree): New argument FOR-YANK which will cause
3623         insertion at point without backing up over white lines, and leave
3624         point at the end of the inserted text.  Also if the cursor is
3625         at the beginning of a headline, use the same level or the inserted
3626         tree.
3628         * org-publish.el (org-publish-get-base-files-1): Deal correctly
3629         with broken symlinks
3631 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
3633         * org-exp.el (org-export-select-tags, org-get-current-options):
3634         Fix typo.
3636 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3638         * org-agenda.el (org-format-agenda-item)
3639         (org-agenda-filter-make-matcher): Make sure tags are stored and
3640         compared donwcased.
3642 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3644         * org.el (org-insert-todo-heading): Fix bug with force-heading
3645         argument.
3647 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3649         * org-clock.el (org-clock-in-resume): Add a custom option to
3650         toggle starting the clock from an open clock line.
3651         (org-clock-in): When clocking in to an entry, if
3652         `org-clock-in-resume' is set, check if the first clock line is
3653         open and if so, start the clock from the time in the clock line.
3654         (org-clock-persist): Add a custom option to toggle clock
3655         persistence.
3656         (org-clock-persist-query-save): Add a custom option to toggle
3657         asking the user if they want to save the running clock when
3658         exiting.
3659         (org-clock-persist-query-resume): Add a custom option to toggle
3660         asking the user if they want to resume the saved clock when Emacs
3661         is restarted.
3662         (org-clock-save): Add a function to save clock data.
3663         This includes the contents of `org-clock-history' and the buffer
3664         and position of the currently clocked task, if any.
3665         (org-clock-load): Add a function to load clock data.
3666         This populates `org-clock-history', and resumes the saved clocked
3667         task if there is one.
3668         (org-clock-persistence-insinuate): Add a method to set up the
3669         hooks for clock persistence.
3671 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
3673         * org-exp.el (org-export-as-ascii): Handle the case that we are
3674         publishing from an indirect buffer.
3676         * org-table.el (org-table-copy-down): Fix bug with time stamp
3677         increment.
3679         * org-mouse.el (org-mouse-features): New option.
3680         (org-mode-hook): Turn on features depending on
3681         `org-mouse-features'.
3683         * org.el (org-insert-heading-respect-content): Force heading
3684         creation.
3685         (org-insert-heading): keep the folding state of the heading before
3686         the inserted one.
3688 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3690         * org-archive.el (org-archive-to-archive-sibling): Handle top
3691         level headlines better.
3693 2008-10-21  Bastien Guerry  <bzg@altern.org>
3695         * org-export-latex.el (org-export-latex-classes): Added
3696         \usepackage{graphicx} to the default list of packages.
3698 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3700         * org-agenda.el (org-agenda-filter): Renamed from
3701         `org-agenda-filter-tags'.
3703 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
3705         * org.el (org-entry-properties): Add CATEGORY property, iven if it
3706         is not defined as a property in this entry.
3707         (org-add-log-note): Mask prefix argument when immediately storing
3708         the note.
3710         * org-agenda.el (org-agenda-filter-effort-default-operator): New
3711         option.
3713 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
3715         * org.el (org-add-log-setup): Bugfix; code to find insertion point
3716         after drawers was skipping ahead one line too many, so notes were
3717         inserted after the first note instead of before it.
3719 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
3721         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3722         New variables.
3723         (org-prepare-agenda): Reset the filter tags.
3724         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3725         Show filter tags in mode line.
3727         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3728         formatter.
3730         * org-export-latex.el (org-latex-entities-regexp): New constant.
3731         (org-export-as-pdf): Use two calls to `shell-command'.
3733 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3735         * org-export-latex.el (org-export-latex-treat-sub-super-char):
3736         Honor the {} value of the subsuperscript setting.  Make sure that
3737         longer subsuperscripts are typeset in a roman font.
3739         * org.el (org-clock-update-time-maybe): Compute negative clock
3740         intervals correctly.
3742 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
3744         * org.el (org-add-log-setup): Respect
3745         `org-log-state-notes-insert-after-drawers'.
3746         (org-log-state-notes-insert-after-drawers): New option.
3747         (org-todo-trigger-tag-changes): New function.
3748         (org-todo): Call `org-todo-trigger-tag-changes'.
3750 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
3752         * org.el (org-add-log-setup): Only skip drawers if the are
3753         immediately after the scheduling keywords.
3755         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3756         function
3757         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3758         call it with the current todo state to get the state to switch to
3759         when clocking in.
3760         (org-clock-in): Use org-indent-line-function to indent clock lines.
3761         (org-clock-find-position): Fix indentation of empty clock drawers.
3763 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
3765         * org-publish.el (org-publish-org-to): Handle case when
3766         org-export-to-pdf does return a file name, not a buffer.
3767         (org-publish-org-to-pdf): New function.
3769         * org-export-latex.el (org-export-as-pdf)
3770         (org-export-as-pdf-and-open): New commands.
3772         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3773         forms as ranges.
3775         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3776         things in protexted regions.
3778 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
3780         * org-export-latex.el (org-export-latex-preprocess): Improve
3781         quoting of LaTeX environments.
3783 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
3785         * org.el (org-edit-fixed-width-region): Exclude final newline from
3786         picture area.
3788         * org-export-latex.el (org-export-latex-subcontent): Add labels to
3789         sections, to make internal links work.
3790         (org-export-latex-fontify-headline): Do not remove all text
3791         properties, to make sure that target properties survive this
3792         process.
3794         * org-exp.el (org-export-preprocess-string): Change sequence of
3795         modifications, to make sure links are prepared before the LaTeX
3796         conversions do happen.
3798 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
3800         * org-attach.el (org-attach-delete-all): Renamed from
3801         `org-attch-delete'.  Add a security query before deleting the
3802         entire directory.  New optional argument FORCE can overrule the
3803         security query.
3804         (org-attach-delete-one): New command.
3806 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
3808         * org-attach.el (org-attach-file-list): Fix bug with directory.
3810 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
3812         * org.el (org-apps-regexp-alist): New function.
3813         (org-file-apps): Add auto-mode to the default value.
3814         (org-open-file): Use the new structure of org-file-apps.
3816         * org-attach.el (org-attach): Support the new keys.
3817         (org-attach-method): New option.
3819 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
3821         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3822         March.
3824         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3825         of the list value o `org-use-tag-inheritance'.
3827         * org-attach.el (org-attach-auto-tag): New option.
3828         (org-attach-tag, org-attach-untag): New functions.
3829         (org-attach-attach, org-attach-new, org-attach-sync): Call
3830         `org-attach-tag'.
3831         (org-attach-delete): Call `org-attach-untag'.
3833 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
3835         * org-table.el (orgtbl-self-insert-command): Make this work for
3836         the keypad as well.
3838 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
3840         * org.el (org-add-log-setup): Limit searc for drawers to entry
3841         text, not to subtree.
3843         * org-clock.el (org-clock-heading-for-remember): New variable.
3844         (org-clock-in): Set `org-clock-heading-for-remember'.
3846 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
3848         * org-remember.el (org-remember-apply-template): Add new
3849         expansions: %k, %K for currently clocked task and a link to the
3850         currently clocked task, and %< to file notes in the currently
3851         clocked task.
3853 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
3855         * org-export-latex.el (org-export-latex-make-header): Also insert
3856         the content of the property :latex-header-extra.
3858         * org-exp.el (org-infile-export-plist): Put the content of
3859         #+LATEX_HEADER: into the property :latex-header-extra.
3861         * org-colview.el (org-columns-get-format-and-top-level): Remove
3862         resetting the marker.
3864         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3865         Remove resetting the marker.
3867         * org.el (org-entry-property-inherited-from): Improve docstring.
3868         (org-entry-get-with-inheritance): Reset marker before starting the
3869         search.
3871         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3873 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
3875         * org.el (org-entry-get-multivalued-property)
3876         (org-entry-protect-space, org-entry-restore-space): New
3877         functions.
3878         (org-file-apps-defaults-macosx): Let postscript files be opened by
3879         preview.
3880         (org-time-stamp-inactive): Call `org-time-stamp'.
3881         (org-time-stamp): New argument `inactive'.  Also edit inacive
3882         stamps. Convert time stamp type.
3883         (org-open-file): Interpret the `default' value for the `command'
3884         in `org-file-apps'.
3886         * org-id.el (org-id-int-to-b36-one-digit)
3887         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3888         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3889         b36.
3891 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
3893         * org-id.el (org-id-reverse-string): New function.
3894         (org-id-new): Use `org-id-reverse-string' to make sure the
3895         beginning chars of the ID are mutating fast.  This allows to use a
3896         directory structure to spread things better.
3897         (org-id-prefix): Changed default to nil.
3899         * org-list.el (org-move-item-down, org-move-item-up): Remember and
3900         restore the column of the cursor position.
3902         * org-remember.el (org-remember-apply-template): Remove properties
3903         from `initial'.
3905 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
3907         * org-wl.el (org-wl-open): Remove useless call to
3908         `wl-thread-open-all'.
3910         * org-remember.el (org-remember-handler): Fix bug with `bottom'
3911         location.
3913 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
3915         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3916         `org-bbdb-anniversaries'.
3918         * org.el (org-get-next-sibling, org-forward-same-level): New
3919         functions, similar to the outline versions, but invisible headings
3920         are OK.
3922 2008-09-25  Bastien Guerry  <bzg@altern.org>
3924         * org.el (org-auto-repeat-maybe): Insert a space between
3925         the timestamp's type and the timestamp itself.
3927 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
3929         * org-table.el (org-table-sum): Do not format the result with %g,
3930         it does rounding when there are too many digits.
3932         * org.el (org-map-entries): Protect the keyword-selecting variables.
3934 2008-09-23  Bastien Guerry  <bzg@altern.org>
3936         * org-agenda.el (org-agenda-to-appt): Make sure the function check
3937         against all agenda files.
3939 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
3941         * org-list.el: New file, aggregating list functions from org.el
3942         and org-export-latex.el.
3944         * org.el (org-edit-src-region-extra): New option.
3946 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
3948         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3949         time before 1am.
3951 2008-09-22  Bastien Guerry  <bzg@altern.org>
3953         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3955 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
3957         * org-plot.el (org-plot/gnuplot): Make tables starting with a
3958         hline work correctly.
3959         (org-plot/gnuplot-script): Put commas at the end of each script
3960         line.
3962 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
3964         * org.el (org-get-refile-targets): Replace links with their
3965         descriptions
3966         (org-imenu-get-tree): Replace links with their descriptions.
3968         * org-remember.el (org-remember-apply-template): Add a new
3969         expansion for adding properties to remember items.
3971         * org.el (org-add-log-setup): Skip over drawers (properties,
3972         clocks etc) when adding notes.
3974         * org-agenda.el (org-agenda-get-closed): show durations of clocked
3975         items as well as the start and end times.
3977         * org-compat.el (org-get-x-clipboard-compat): Add a compat
3978         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3980         * org-remember.el (org-get-x-clipboard): Use the compat
3981         function to get clipboard values when x-selection-value is
3982         unavailable. Use substring-no-properties instead of
3983         set-text-properties to remove text properties from the clipboard
3984         value.
3986         * lisp/org-clock.el (org-update-mode-line): Support limiting the
3987         modeline clock string, and display the full todo value in the
3988         tooltip. Set a local keymap so mouse-3 on the clock string goes to
3989         the currently clocked task.
3990         (org-clock-string-limit): Add a custom value for the maximum
3991         length of the clock string in the modeline.
3992         (org-clock-mode-map): Add a keymap for the modeline string
3994 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
3996         * org-compat.el (org-propertize): New function.
3998 2008-09-20  Bastien Guerry  <bzg@altern.org>
4000         * org-export-latex.el (org-export-latex-tables): protect exported
4001         tables from further special chars conversion.
4002         (org-export-latex-preprocess): Preserve LaTeX environments.
4003         (org-list-parse-list): Parse descriptive lists.
4004         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4005         (org-list-to-texinfo): Export descriptive lists.
4006         (org-quote-chars): Remove.
4007         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4008         (org-export-latex-list-beginning-re): Rename to
4009         `org-list-beginning-re'
4010         (org-list-item-begin): Rename to `org-list-item-beginning'
4012 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4014         * org.el (org-refile): Allow refiling to the last entry in the
4015         buffer.
4016         (org-get-tags-at): Fix bug when inheritance is turned off.
4018 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4020         * org.el (org-indent-line-function): No longer check for src
4021         regions, this is too much overhead.
4023         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4024         matching.
4026         * org.el (org-scan-tags): Make sure that tags matching is not case
4027         sensitive.  TODO keyword matching is case sensitive, however, to
4028         avoid confusion with similar words that are not meant to be
4029         keywords.
4031 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4033         * org.el (org-get-local-tags-at): New function.
4034         (org-get-local-tags): New function.
4036         * org-exp.el (org-export-get-categories): New function.
4038         * org-agenda.el (org-sorting-choice)
4039         (org-agenda-sorting-strategy, org-agenda-get-todos)
4040         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4041         (org-agenda-get-scheduled, org-agenda-get-blocks)
4042         (org-entries-lessp): Implement sorting by TODO state.
4043         (org-cmp-todo-state): New defsubst.
4045         * org-colview.el (org-colview-construct-allowed-dates): New
4046         function.
4047         (org-columns-next-allowed-value): Use
4048         `org-colview-construct-allowed-dates'.
4050         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4051         function.
4052         (org-columns-next-allowed-value): Use
4053         `org-colview-construct-allowed-dates'.
4055 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4057         * org.el (org-protect-slash): New function.
4058         (org-get-refile-targets): Use `org-protect-slash'.
4060         * org-agenda.el (org-global-tags-completion-table): New variable.
4062         * org-exp.el (org-export-handle-export-tags): New function.
4063         (org-export-preprocess-string): Call
4064         `org-export-handle-export-tags'.
4066         * org-plot.el: New file.
4068         * org-publish.el (org-publish-expand-components): Function removed.
4069         (org-publish-expand-projects): Allow components to have components.
4071 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4073         * org.el (org-indent-line-function): Do not indent in regions that
4074         are external source code.
4075         (org-yank-and-fold-if-subtree): New function.
4077         * org-agenda.el (org-agenda-todayp): New function.
4078         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4079         `org-agenda-todayp'.
4081         * org.el (org-insert-heading-respect-content)
4082         (org-insert-todo-heading-respect-content): New commands.
4083         (org-insert-heading-respect-content): New option.
4084         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4086         * org-clock.el (org-clock-find-position): Make sure the note after
4087         the clock line gets moved into the new clock drawer.
4089 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4091         * org-id.el (org-id-new): New option.
4093 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4095         * org-table.el (org-table-copy-down): Avoid overflow during
4096         increment.  Use prefix argument 0 to temporarily disable the
4097         increment.
4099 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4101         * org-exp.el (org-export-as-html): Do not turn on the major mode
4102         if the buffer will be killed anyway.
4103         (org-get-current-options): Exclude the #+TEXT field.
4104         (org-export-as-html): Make sure text before the first headline is
4105         a paragraph.
4107         * org-publish.el (org-publish-org-to): Tell the exporter that this
4108         buffer will be killed, so it is not necessary to do major mode
4109         initialization.
4111         * org-archive.el (org-archive-to-archive-sibling): Show empty
4112         lines after folding the archive sibling.
4114         * org.el (org-log-note-extra): New variable.
4116 2008-09-05  Bastien Guerry  <bzg@altern.org>
4118         * org.el (org-additional-option-like-keywords): Added keywords for
4119         the _QUOTE, _VERSE and _SRC environments.
4121         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4122         exporting _QUOTE and _VERSE environments.
4124 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4126         * org-agenda.el (org-agenda-filter-by-tag): New command.
4128         * org-exp.el (org-get-current-options): Remove angular brackets
4129         from the date entry.
4131         * org.el (org-edit-fixed-width-region): New function.
4132         (org-edit-fixed-width-region): Also try
4133         `org-edit-fixed-width-region'.
4134         (org-edit-fixed-width-region-mode): New option.
4135         (org-activate-code): Only interprete lines starting with colon
4136         plus a space as example lines.
4138         * org-remember.el (org-remember-templates): Add nil instead of
4139         empty strings to fix the length of remember templates.
4141         * org-table.el (org-calc-default-modes): Fix the time format for
4142         calc, from 12 hour to 24 hour clock.
4144 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4146         * org-agenda.el (org-agenda-get-deadlines)
4147         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4148         entries that are pre-warnings of deadlines or reminders.
4150         * org.el (org-sort-entries-or-items): Make numeric and alpha
4151         comparisons ignore any TODO keyword and priority cookie.
4153         * org-remember.el (org-remember-handler): Reinterpretation of the
4154         prefix argument.
4156 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4158         * org-agenda.el (org-agenda-get-scheduled): Use new
4159         `org-scheduled' face.
4161         * org-faces.el (org-scheduled): New face.
4163         * org-wl.el (org-wl-open): Remove incorrect declaration.
4165         * org-gnus.el (org-gnus-store-link): Support for :to information
4166         in gnus links.
4168         * org-exp.el (org-export-as-html): Fixed typo in creator
4169         information.
4170         (org-export-protect-examples): New parameter indent.  Insert extra
4171         spaces only when this parameter is specified.
4172         (org-export-preprocess-string): Call `org-export-protect-examples'
4173         with an indentation parameter when exporting to ASCII.
4175         * org-remember.el (org-remember-templates)
4176         (org-remember-apply-template): Allow the file component to be a
4177         function.
4179         * org.el (org-goto-local-search-headings): Renamed from
4180         `org-goto-local-search-forward-headings'.  Added the possibility
4181         to search backwards.
4183 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4185         * org-export-latex.el (org-export-latex): New customization
4186         group.
4188         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4190 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4192         * org-exp.el (org-html-do-expand): Allow {} to terminate
4193         tex macro
4195 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4197         * org.el (org-buffer-list): Select buffers based on major mode,
4198         not on file name.
4200 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4202         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4203         face property.
4205         * org-colview.el (org-columns-display-here): Use
4206         `org-columns-modify-value-for-display-function'.
4208         * org-colview-xemacs.el (org-columns-display-here): Use
4209         `org-columns-modify-value-for-display-function'.
4211 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4213         * org.el (org-columns-modify-value-for-display-function): New option.
4225         * org-publish.el (org-publish-file): Make sure the directory match
4226         for the publishing directory works correctly.
4228         * org-agenda.el (org-agenda-execute-calendar-command)
4229         (org-agenda-diary-entry): Additional optional argument.
4231 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4233         * org-exp.el (org-export-as-html): Add attributes also in mailto
4234         and ftp links.
4236         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4245 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4247         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4248         sure that calls from `org-export-region-as-html' do not do the
4249         special check for a subtree.
4251 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4253         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4255 2008-07-20  Juri Linkov  <juri@jurta.org>
4257         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4258         new keymap `narrow-map' instead of binding "\C-xns".
4260 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4262         * org.el (org-open-file): Use
4263         `org-open-directory-means-index-dot-org'.
4264         (org-open-directory-means-index-dot-org): New option.
4266 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4268         * org.el (org-make-link-string): Remove link attributes from
4269         description.
4270         (org-open-at-point): Remove link attributes bevore using the path.
4272         * org-exp.el (org-export-as-html): Handle link attributes.
4274         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4276         * org-table.el (org-table-to-lisp): New function.
4278         * org.el (org-narrow-to-subtree): Do not include the final newline
4279         into the narrowed region.
4281         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4282         bug with user-define skipping condition.
4284 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4286         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4288 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4290         * org-exp.el (org-export-html-style-default): Automatic overflow
4291         handling for pre fields.
4292         (org-export-as-ascii, org-export-as-html): Change default format
4293         for time stamp.
4295         * org-table.el (org-table-export): Offer completion for translator
4296         functions, and do not require a heading above the table.
4298         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4299         Cater for the case of a list starting in the first line of the
4300         buffer.
4302 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4304         * org-publish.el (org-publish-find-title): Bug fix.
4305         (org-publish-org-index): Implement new :index-style option.
4307 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4309         * org-publish.el (org-publish-timestamp-filename): Use
4310         SHA1-encoded file names in the timestamp directory.
4312 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4314         * org-publish.el (org-publish-needed-p): Be verbose about files
4315         published and files skipped.
4317         * org-exp.el (org-export-preprocess-string): Swap link
4318         normalization and inernal link targeting.
4320         * org-publish.el (org-publish-needed-p): Create timestamp
4321         directory when it does not exist.
4323 2008-07-04  Bastien Guerry  <bzg@altern.org>
4325         * org-clock.el (org-clock-out-when-done): Doc fix.
4327         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4329         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4330         Ignore case when searching for the COMMENT cookie at export time.
4332 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4334         * org-exp.el (org-get-file-contents)
4335         (org-get-and-remove-property): New functions.
4336         (org-export-handle-include-files): Handle the new prefix options.
4337         (org-export-as-html): Fix the verse environment.
4339 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4341         * org.el (org-time=, org-time<, org-time<=, org-time>)
4342         (org-time>=, org-time<>, org-2ft): New functions.
4343         (org-op-to-function): Also provide for the time testing fucntions.
4345 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4347         * org-exp.el (org-export-html-style-default): New constant.
4349 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4351         * org-exp.el (org-export-html-style-extra): New variable.
4352         (org-export-splice-style): New function.
4354 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4356         * org-exp.el (org-export-plist-vars, org-export-as-html):
4357         Implement `org-export-creator-info'.
4358         (org-export-creator-info): New option.
4360 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
4362         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4363         (org-property-drawer-re, org-clock-drawer-re): New constants.
4365 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
4367         * org-exp.el (org-icalendar-use-deadline)
4368         (org-icalendar-use-scheduled): New options.
4369         (org-icalendar-include-todo): Default changed to t.
4370         (org-print-icalendar-entries): Implement better utilization of
4371         scheduling and deadline time stamps.
4372         (org-export-target-internal-links, org-export-as-html): Allow file
4373         lines without the "file:" prefix if the file path is an absolute
4374         path or starts with ".".
4376         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4377         lastweek etc.
4378         (org-clock-special-range): Also undertand yesterday, lastweek etc.
4380 2008-06-18  Glenn Morris  <rgm@gnu.org>
4381         * org.el (org-map-entries): Let-bind `file'.
4383 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
4385         * org.el (org-agenda-skip-archived-trees): Docstring now
4386         discourages using this.
4387         (org-scan-tags): Check for org-agenda-archives-mode.
4388         (org-map-entries): Make sure org-agenda-archives-mode is nil.
4389         (org-agenda-files): Functionality of second arg changed.
4391         * org-agenda.el (org-agenda-archives-mode): New variable
4392         (org-write-agenda, org-prepare-agenda, org-agenda-list)
4393         (org-search-view, org-todo-list, org-tags-view)
4394         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4395         `ifmode' argument.
4396         (org-agenda-quit): Reset the archives mode.
4397         (org-agenda-archives-mode): New command.
4398         (org-agenda-set-mode-name): Include archives info.
4400 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
4402         * org.el (org-paste-subtree): Make sure the yanked headline is
4403         visible if it was yanked at a visible point.
4404         (org-move-item-up): Fix the bug with moving white space at the end
4405         of the item.
4406         (org-show-empty-lines-in-parent): New function.
4408 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
4410         * org-colview.el (org-columns-next-allowed-value): Bug fix.
4412         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4414         * org-agenda.el (org-agenda-get-closed): Get the end time into the
4415         agenda prefix as well.
4417         * org-publish.el (org-publish-org-index): Make a properly indented
4418         list.
4420         * org.el (org-calendar-agenda-action-key): New option.
4421         (org-get-cursor-date): New function.
4422         (org-mark-entry-for-agenda-action): New command.
4423         (org-overriding-default-time): New variable.
4424         (org-read-date): Respect `org-overriding-default-time'.
4426         * org-remember.el (org-remember-apply-template): Respect the
4427         ovverriding default time.
4429         * org-agenda.el (org-agenda-action-marker): New variable.
4430         (org-agenda-action): New command.
4431         (org-agenda-do-action): New function.
4433 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4435         * org.el (org-schedule, org-deadline): Protect scheduled and
4436         deadline tasks against changes that accidently remove the
4437         repeater.  Also show a message with the new date when done.
4439 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4441         * org.el (org-beginning-of-line): Cater for the case when there
4442         are tags but no headline text.
4443         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4444         it set.
4446 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
4448         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4449         the return value is nil instead of "nil" when there is no match.
4451         * org-exp.el (org-insert-centered): Use fill-column instead of
4452         80.
4453         (org-export-as-ascii): Use string-width to measure the width of
4454         the heading.
4456         * org.el (org-diary-to-ical-string): No longer kill buffer
4457         FROMBUF, this is now done by the caller.
4459         * org-exp.el (org-print-icalendar-entries): Move the call to
4460         `org-diary-to-ical-string' out of the loop, and kill the buffer
4461         afterwords.
4463         * org-remember.el (org-remember-visit-immediately): Position
4464         cursor after moving to the note.
4465         (org-remember-apply-template): Use a text property to record the
4466         cursor position.
4467         (org-remember-handler): Align tags after pasting the note.
4469 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
4471         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4473         * org-agenda.el (org-agenda-open-link): If there is an
4474         org-bbdb-name property in the current line, jump to that bbdb
4475         entry.
4477         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4478         text property, so that the agenda knows where this entry comes
4479         from.
4481         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4482         interaction between clocking-in from the agenda, and  automatic
4483         task state switching.
4485         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4487         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4488         zmacs-region stays after this command in XEmacs.
4490 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
4492         * org.el (org-scan-tags): Allow new values for ACTION parameter.
4494         * org-remember.el (org-remember-templates): Fix bug in
4495         customization type definition.
4497         * org.el (org-map-entries): New function.
4499 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
4501         * org-agenda.el (org-agenda-skip-comment-trees): New option.
4502         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4504 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
4506         * org-remember.el (org-jump-to-target-location): New variable.
4507         (org-remember-apply-template): Set
4508         `org-remember-apply-template' if requested by template.
4509         (org-remember-handler): Start an idle timer to jump to
4510         remember location.
4512         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4514         * org.el (org-set-regexps-and-options): Fix bug with parsing of
4515         file tags.
4516         (org-get-tags-at): Add the content of `org-file-tags'.
4518         * org-exp.el (org-export-handle-comments): Fix bug with several
4519         comment lines after each other.
4520         (org-number-to-roman, org-number-to-counter): New functions.
4521         (org-export-section-number-format): New option.
4523 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
4525         * org-exp.el (org-export-protect-examples): Catch the case of a
4526         missing end_example line.
4528         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4529         `org-file-tags' to nil.
4531         * org-colview.el (org-columns-next-allowed-value): Handle next
4532         argument NTH to directly select a value.
4534         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4535         argument NTH to directly select a value.
4537 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
4539         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4541 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
4543         * org.el (org-columns-ellipses): New option.
4545 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
4547         * org-colview.el (org-columns-add-ellipses): New function.
4548         (org-columns-compact-links): New function.
4549         (org-columns-cleanup-item): Call `org-columns-compact-links'.
4550         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4551         when in agenda.
4552         (org-columns-edit-value): Fixed bug with editing values from
4553         agenda column view.
4554         (org-columns-redo): Also redo the agenda itself.
4556 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
4558         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4559         option.
4561         * org-colview.el (org-agenda-columns-cleanup-item): New function.
4563         * org-exp.el (org-export-ascii-preprocess): Renamed from
4564         `org-export-ascii-clean-string'.
4565         (org-export-kill-licensed-text)
4566         (org-export-define-heading-targets)
4567         (org-export-handle-invisible-targets)
4568         (org-export-target-internal-links)
4569         (org-export-remove-or-extract-drawers)
4570         (org-export-remove-archived-trees)
4571         (org-export-protect-quoted-subtrees)
4572         (org-export-protect-verbatim, org-export-protect-examples)
4573         (org-export-select-backend-specific-text)
4574         (org-export-mark-blockquote-and-verse)
4575         (org-export-remove-comment-blocks-and-subtrees)
4576         (org-export-handle-comments, org-export-mark-radio-links)
4577         (org-export-remove-special-table-lines)
4578         (org-export-normalize-links)
4579         (org-export-concatenate-multiline-links)
4580         (org-export-concatenate-multiline-emphasis): New functions,
4581         obtained from spliiting the export preprocessor.
4583         * org-table.el (org-table-recalculate): Improve error message if
4584         the row number is invalid.
4586 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
4588         * org-archive.el (org-archive-save-context-info): Fix bugs in
4589         customization setup and docstring.
4591         * org-exp.el (org-export-html-style): Changed the size of in the
4592         <pre> element to 90%.
4594 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
4596         * org.el (org-find-src-example-start): Function removed.
4597         (org-edit-src-find-region-and-lang): New function.
4599 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
4601         * org.el (org-edit-src-exit): New function.
4602         (org-exit-edit-mode): New minor mode.
4604         * org-exp.el (org-export-preprocess-string): Fix bug with removing
4605         comment-like lines from protected examples.
4607         * org.el (org-edit-src-example, org-find-src-example-start)
4608         (org-protect-source-example, org-edit-special): New functions.
4610 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
4612         * org-publish.el (org-publish-project-alist): Fix typo in
4613         docstring.
4614         (org-publish-project-alist): Handle :index-title property.
4616 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
4618         * org-export-latex.el (org-export-as-latex): Make sure region
4619         bounds are correct.  Parse subtree properties relating to export.
4621         * org-exp.el (org-export-add-options-to-plist): New function.
4622         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4624 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
4626         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4627         EXPORT_TITLE.
4629         * org-exp.el (org-export-get-title-from-subtree)
4630         (org-export-as-ascii, org-export-as-html): Make sure the original
4631         region-beginning and region-end are used, even after moving
4632         point.
4633         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4634         property.
4636         * org-remember.el (org-remember-last-stored-marker): New variable.
4637         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4638         (org-remember-handler): Also use marker to remember
4639         last-stored position.
4641         * org.el (org-goto-marker-or-bmk): New function.
4643 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4645         * org.el (org-file-properties): Renamed from `org-local-properties'.
4646         (org-scan-tags): Take file tags into account.
4647         (org-tags-match-list-sublevels): Default changed to t.
4649         * org-exp.el (org-export-as-html): Close paragraph after a
4650         footnote.
4652         * org.el (org-update-parent-todo-statistics): New function.
4654         * org-exp.el (org-icalendar-store-UID): New option.
4655         (org-icalendar-force-UID): Option removed.
4656         (org-print-icalendar-entries): IMplement UIDs.
4658 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
4660         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4662 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
4664         * org-faces.el (org-column): Document how this face is being used
4665         and why sometimes the background faces shine through.
4667         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4669         * org-publish.el (org-publish-attachment): Create publishing
4670         directory if it does not yet exist.
4672         * org-table.el (org-calc-default-modes): Change default number
4673         format to (float 8).
4675         * org.el (org-olpath-completing-read): New function.
4676         (org-time-clocksum-format): New option.
4677         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4679         * org-clock.el (org-clock-display, org-clock-out)
4680         (org-update-mode-line): Use `org-time-clocksum-format'.
4682         * org-colview-xemacs.el (org-columns-number-to-string): Use
4683         `org-time-clocksum-format'.
4685         * org-colview.el (org-columns-number-to-string): Use
4686         `org-time-clocksum-format'.
4688 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
4690         * org-id.el: New file, move from contrib to core.
4692         * org-exp.el (org-icalendar-force-UID): New option.
4694 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
4696         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4697         shifted by one day if theere is a date range without an end
4698         time.
4700         * org.el (org-try-structure-completion): New function.
4702 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
4704         * org.el (org-set-font-lock-defaults): Improve fontification of
4705         description lists.
4706         (org-insert-item): Handle description lists.
4707         (org-adaptive-fill-function): Improve auto indentation in
4708         description lists.
4710         * org-exp.el (org-export-as-html, org-export-preprocess-string):
4711         Implement VERSE environment.
4712         (org-export-preprocess-string): Implement the COMMENT
4713         environment.
4715         * org-export-latex.el (org-export-latex-preprocess): Implement
4716         VERSE environment.
4718 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
4720         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4721         option.
4723 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
4725         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4727         * org.el (org-quote-csv-field): New functions.
4729         * org-table.el (org-table-export-default-format): Remove :splice
4730         from default format, we get the same effect by not specifying
4731         :tstart and :tend.
4732         (org-table-export): Improve setup, distinguish better between
4733         interactive and non-interactive use, allow specifying the format
4734         on the fly, better protection against wrong file names.
4735         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
4736         and :tend when :splice is omitted.
4738 2008-05-09  Bernt Hansen  <bernt@norang.ca>
4740         * org-clock.el (org-clock-select-task): Make sure the selection
4741         letters are 1-9 and A-Z, no special characters.
4743 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
4745         * org-exp.el (org-export-htmlize): New group.
4746         (org-export-htmlize-output-type)
4747         (org-export-htmlize-css-font-prefix): New options.
4748         (org-export-htmlize-region-for-paste): New function.
4749         (org-export-htmlize-generate-css): New command.
4751 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4753         * org/org.el (org-modules, org-format-latex-options):
4754         * org/org-archive.el (org-archive-stamp-time)
4755         (org-archive-save-context-info):
4756         * org/org-faces.el (org-hide):
4757         * org/org-irc.el (org-irc-parse-link):
4758         * org/org-macs.el (org-call-with-arg, org-autoload):
4759         * org/org-mew.el (org-mew-store-link):
4760         * org/org-remember.el (org-remember-store-without-prompt)
4761         (org-remember-templates): Fix typos in docstrings.
4763         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4765         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4766         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4767         (org-bbdb-anniv-split): Fix typos in docstrings.
4769         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4770         (org-publish-use-timestamps-flag): Reflow docstring.
4771         (org-publish-files-alist): Fix typos in docstring.
4773 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4775         * org.el (org-set-visibility-according-to-property): New function.
4776         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4777         and compute the regular expressions, and update font-lock.
4778         (org-property-re): Allow a dash in property names.
4780         * org-archive.el (org-extract-archive-file): Insert the file name
4781         without the path into the format, to allow the location format to
4782         contain a subdirectory.
4784         * org-agenda.el (org-agenda-post-command-hook): If point is at end
4785         of buffer, and the `org-agenda-type' property undefined, use the
4786         value from the character before.
4788         * org.el (org-add-planning-info): Don't let indentation for
4789         would-be timestamp become extra whitespace at the end of headline.
4791 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
4793         * org.el (org-remove-double-quotes, org-file-contents): New
4794         functions.
4796         * org-exp.el (org-infile-export-plist): Also parse the
4797         contents of #+SETUPFILE files, recursively.
4799         * org.el (org-set-regexps-and-options): Also parse the
4800         contents of #+SETUPFILE files, recursively.
4802         * org-exp.el (org-export-handle-include-files): New function.
4803         (org-export-preprocess-string): Call
4804         `org-export-handle-include-files'.
4806         * org.el (org-delete-property-globally)
4807         (org-delete-property, org-set-property): Ignore case during
4808         completion.
4809         (org-set-property): Use `org-completing-read' instead of
4810         `completing-read'.
4812         * org.el (org-complete-expand-structure-template): New,
4813         experimental function.
4814         (org-structure-template-alist): New, experimental option.
4815         (org-complete): Call `org-complete-expand-structure-template'.
4817 2008-05-06  Bastien Guerry  <bzg@altern.org>
4819         * org-export-latex.el (org-export-latex-preprocess): Added
4820         support for blockquotes.
4822 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
4824         * org.el (org-read-date-analyze): Catch the case where only a
4825         weekday is given.
4827 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
4829         * org.el (org-set-font-lock-defaults): Make the description
4830         tag bold.
4832         * org-exp.el (org-export-as-html, org-close-li): Implement
4833         description lists.
4835 2008-05-04  Jason Riedy  <jason@acm.org>
4837         * org-table.el (*orgtbl-default-fmt*): New variable.
4838         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4839         when there is no other fmt available.
4841         (orgtbl-to-generic): Allow an explicitly nil :tstart or
4842         :tend to suppress the appropriate string.
4844         (orgtbl-to-orgtbl): New function for translating to another orgtbl
4845         table.
4847 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
4849         * org.el (org-read-date-analyze): "." as an alias for "+0" in
4850         read date.
4852         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4853         New function.
4855         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4856         New function.
4858 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
4860         * org-clock.el (org-clock-find-position): Don't include notes
4861         into clock drawer.
4863         * org-archive.el (org-archive-subtree): No longer remove an
4864         extra line after cutting the subtree.  `org-cut-subtree' already
4865         takes care of this.
4867         * org-remember.el (org-remember-handler): Only kill the target
4868         buffer if it does not contain the running clock.
4870         * org.el (org-markers-to-move): New variable.
4871         (org-save-markers-in-region, org-check-and-save-marker)
4872         (org-reinstall-markers-in-region): New function.
4873         (org-move-subtree-down, org-copy-subtree): Remember relative
4874         marker positions before cutting.
4875         (org-move-subtree-down, org-paste-subtree): Restore relative
4876         marker positions after pasting.
4878         * org-remember.el (org-remember-clock-out-on-exit): New option.
4879         (org-remember-finalize): Clock out only if the setting in
4880         `org-remember-clock-out-on-exit' requires it.
4881         (org-remember-handler): Do the cleanup in the buffer, to make sure
4882         that the clock marker remains in tact.
4884 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
4886         * org-clock.el (org-clock-goto): Widen buffer if necessary.
4887         (org-clock-in): Make sure that also tasks outside the narrowed
4888         region will be clocked in correctly.
4889         (org-clock-insert-selection-line): Widen the buffer so that we can
4890         find the correct task heading.
4892         * org.el (org-base-buffer): New function.
4894         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4895         and ";" are escaped.
4896         (org-print-icalendar-entries): Also apply
4897         `org-icalendar-cleanup-string' to the headline, not only to the
4898         summary property.
4900 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
4902         * org-exp.el (org-export-preprocess-hook): New hook.
4903         (org-export-preprocess-string): Call
4904         `org-export-preprocess-hook'.
4906         * org.el (org-font-lock-hook): New variable.
4907         (org-font-lock-hook): New function.
4908         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4910 ;; Local Variables:
4911 ;; coding: utf-8
4912 ;; add-log-time-zone-rule: t
4913 ;; End:
4915     Copyright (C) 2008  Free Software Foundation, Inc.
4917   This file is part of GNU Emacs.
4919   GNU Emacs is free software: you can redistribute it and/or modify
4920   it under the terms of the GNU General Public License as published by
4921   the Free Software Foundation, either version 3 of the License, or
4922   (at your option) any later version.
4924   GNU Emacs is distributed in the hope that it will be useful,
4925   but WITHOUT ANY WARRANTY; without even the implied warranty of
4926   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4927   GNU General Public License for more details.
4929   You should have received a copy of the GNU General Public License
4930   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
4932 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c