Minor fixes to `org-indent-mode'.
[org-mode/org-tableheadings.git] / lisp / ChangeLog
blobe81e528b84bc0554bd740fd756bc52f1d474b0bd
1 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
4         variable.
5         (org-indent-mode): Remember and restore value of
6         org-hide-leading-stars before `org-indent-mode'.
8         * org-table.el (org-table-export): Also work in file-less
9         buffers.
11         * org.el (org-startup-indented): New option.
12         (org-startup-options): Add new options indent and noindent.
13         (org-unfontify-region): Remove line-prefix and wrap-prefix
14         properties.
15         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
16         hooks.
17         (org-promote, org-demote): Run the new hooks.
19         * org-table.el (org-table-align): Replace leading \n as well.
21         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
22         and `line-wrap' text properties.
24         * org-compat.el (org-kill-new): New function.
26         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
27         `line-wrap' text properties.
29         * org-indent.el: New file.
31 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
33         * org.el (org-provide-todo-statistics): Tweak docstring.
35         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
37 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
39         * org-exp.el (org-export-as-org): Insert the "-source" string
40         before the extension.
42         * org.el (org-read-date): Make sure the calendar is in the current
43         frame.
44         (org-set-emph-re): Remove the ? from the post-match.
45         (org-emphasis-regexp-components): Add backslash to the
46         postmatch class.
47         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
48         optional so that also lines at the end of the buffers will still
49         be matched as headlines.
51         * org-table.el (org-table-error-on-row-ref-crossing-hline):
52         Variable made obsolete.
53         (org-table-relative-ref-may-cross-hline): New option.
54         (org-table-find-row-type): Honow the new option
55         `org-table-relative-ref-may-cross-hline'.
57 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-table.el (org-table-cut-region, org-table-copy-region): Work
60         on single field if no active region.
62 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
64         * org-latex.el (org-export-latex-make-header): Only insert title
65         if one is defined.
67         * org.el (org-make-options-regexp): Allow empty values.
69         * org-html.el (org-export-as-html): Move hrule detection to after
70         plain list handling.
72 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org-html.el (org-format-org-table-html): Fix colgroup tags.
76 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
78         * org.el (org-cycle-internal-local): Improved version of finding
79         next visible line.
80         (org-cycle-hide-drawers): Only hide drawers if this is really
81         necessary.
82         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
83         org-version of this function in Org-mode.  We use advice to
84         implement this change, so that future changes to this function in
85         outline.el wil be handled properly.
86         (org-forward-same-level, org-backward-same-level): New commands.
88 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
90         * org.el (org-remove-empty-overlays-at)
91         (org-clean-visibility-after-subtree-move): New functons.
92         (org-move-subtree-down): Simplify cleanup of display.
94 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
96         * org-mac-message.el (org-mac-message-get-links): Improve
97         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
98         "s".  Fix the return value.
99         (org-mac-message-insert-flagged): Simplify.
101         * org.el (org-refile-get-location): Tamper with refile history o
102         that history contains compete matches instead of the entered
103         string.
105 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
107         * org.el (org-store-link): Never store a link to an inline task.
109         * org-inlinetask.el (org-inlinetask-insert-task): New command.
111         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
112         inline tasks when positioning footnotes.
114         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
115         function.
117         * org.el (org-refile): Remove the END line when archiving an
118         inline task that does have an END line.
120         * org-archive.el (org-archive-subtree): Remove the END line when
121         archiving an inline task that does have an END line.
123         * org-macs.el (org-with-limited-levels): New macro.
124         (org-get-limited-outline-regexp): New function.
126         * org-exp.el (org-export-format-source-code-or-example): Fix bug
127         that did not enumerate first line.
128         (org-export-mark-radio-links): Skip matches in links.
130 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
132         * org.el (org-activate-plain-links): Make single-match.
133         (org-adapt-indentation): Fix docstring.
135         * org-macs.el (org-unmodified): Turn of modification hooks while
136         running this macro.
138 2009-08-02  Bastien Guerry  <bzg@altern.org>
140         * org.el (org-adapt-indentation): Slightly improve the docstring.
141         (org-occur): Sends an error when the user inputs an empty string.
142         (org-priority): Bugfix: the tag alignement should happen within
143         save-excursion.
145 2009-07-31  Bastien Guerry  <bzg@altern.org>
147         * org.el (org-make-link-regexps): Don't exclude parentheses from
148         `org-plain-link-re'
149         (org-cycle-internal-local): When locally cycling, switch directly
150         from CHILDREN to FOLDED if there is no subtree
151         (org-cycle): Update the docstring to document the new behavior of
152         `org-cycle-internal-local'.
154 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
156         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
157         an abbreviated format for days.
159 2009-07-27  Bastien Guerry  <bzg@altern.org>
161         * org-protocol.el (org-protocol-default-template-key): New
162         option.
164         * org.el (org-refile): Bugfix: save-excursion before reading the
165         refile target, otherwise cursor moves might confuse `org-refile'.
167         * org-html.el (org-export-as-html): Bugfix: correctly convert the
168         footnote reference before the footnote itself.
170         * org.el (org-toggle-heading): Bugfix: correctly convert list
171         items before the first headline.
173         * org-html.el (org-export-html-footnote-format): New option for
174         formatting the footnote reference.
175         (org-export-as-html): Use the new option.
177         * org.el (org-provide-todo-statistics): Allow a list of TODO
178         keywords to compute statistics against headlines containing a
179         keyword from this list.
180         (org-update-parent-todo-statistics): Possibly use the new allowed
181         value of `org-provide-todo-statistics'.
183 2009-07-26  Bastien Guerry  <bzg@altern.org>
185         * org-timer.el: Add autoload cookie.
187         * org.el (org-occur-link-in-agenda-files): New function.
189         * org-timer.el (org-timer-last-timer): New variable.
191         * org-agenda.el (org-agenda-mode-map): New key for
192         org-timer-set-timer called from the agenda.
194         * org.el (org-mode-map): New key for org-timer-set-timer.
196         * org-timer.el (org-timer-reset-timers)
197         (org-timer-show-remaining-time, org-timer-set-timer): New
198         functions.
200         * org-clock.el (org-show-notification): Update the docstring.
202         * org.el (org-provide-todo-statistics): Allow new value
203         'all-headlines for this option, which includes entries with no
204         TODO keywords in the todo statistics.
205         (org-update-parent-todo-statistics): Possibly use the new
206         'all-headline value from `org-provide-todo-statistics'.
208 2009-07-25  Bastien Guerry  <bzg@altern.org>
210         * org-clock.el (org-dblock-write:clocktable): Add a new option
211         :timestamp which allows display of timestamps in clock reports.
213         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
214         list to a subtree, preserving the structure of the list.
215         (org-set-emph-re): Make the last element optional in the regexp.
216         This regexp now matches an emphasized string at the end of a line.
218         * org-list.el (org-list-goto-true-beginning)
219         (org-list-make-subtree, org-list-make-subtrees): New functions.
221         * org.el (org-eval-in-calendar): Select the right frame.
222         (org-save-frame-excursion): Remove this macro.
224 2009-07-24  Bastien Guerry  <bzg@altern.org>
226         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
227         trying to find the beginning of a list.
229         * org-exp.el (org-get-file-contents): Use a new argument: markup.
230         When present, tell org-get-file-contents not to protect org-like
231         lines.
233         * org-id.el (org-id-uuid-program): New option to set the name of
234         the uuidgen program.
235         (org-id-method): Use `org-id-uuid-program'.
236         (org-id-new): Use `org-id-uuid-program'.
238 2009-07-23  Bastien Guerry  <bzg@altern.org>
240         * org-exp.el (org-export-number-lines): Allow whitespace in code
241         references.  Allow the -r switch to remove the references in the
242         source code even when the lines are not numbered: the labels can
243         be explicit enough.
245         * org.el (org-fontify-whole-heading-line): New option.
246         (org-set-font-lock-defaults): Use the new option.
248         * org-clock.el (org-show-notification-handler): New option.
249         (org-show-notification): Use the new option.
251 2009-07-21  Bastien Guerry  <bzg@altern.org>
253         * org.el (org-eval-in-calendar): Fix a bug about calendar
254         navigation when `calendar-setup' value is 'calendar-only.
256 2009-07-19  Bastien Guerry  <bzg@altern.org>
258         * org.el (orgstruct++-mode): Fix typo in docstring.
259         (org-insert-link): Clean up: (or (...)) => (...)
260         (org-insert-link): Use TAB for stored links completion.
262 2009-07-18  Bastien Guerry  <bzg@altern.org>
264         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
265         building the list of targets.
267         * org-remember.el (org-remember-delete-empty-lines-at-end): New
268         option.
269         (org-remember-handler): Use the new option.
271 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
273         * org.el (org-tags-sort-function): New option for sorting tags.
274         (org-set-tags): Use the new option to sort tags.
276         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
277         premature deletion of the data when using org-plot in a script.
279 2009-07-17  Bastien Guerry  <bzg@altern.org>
281         * org-clock.el (org-clock-in-prepare-hook): New hook.
282         (org-clock-in): Use this new hook.
284 2009-07-16  Bastien Guerry  <bzg@altern.org>
286         * org.el (org-special-ctrl-a/e): Explicitely bind the value
287         'reversed for this option to the "true line boundary first"
288         behavior.
289         (org-tags-match-list-sublevels): Document the 'indented value for
290         this variable.
292         * org-latex.el (org-export-latex-first-lines): Fix problem with
293         publishing the region.
295         * org-exp.el (org-export-format-source-code-or-example): Fix
296         bad line numbering when exporting examples in HTML.
298 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
300         * org-clock.el (org-clock-goto): Find hidden headlines as well.
302         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
304         * org-plot.el (org-plot/add-options-to-plist): Add timeind
305         option.
307 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org-publish.el (org-publish-remove-all-timestamps): New function.
310         (org-publish-all): Remove all timestamp files if `org-publish-all'
311         is called with a prefix argument.
313         * org-list.el (org-indent-item): Fix typo.
314         (org-item-indent-positions): Normalize ordered bullet.
316         * org-html.el (org-export-html-home/up-format): New option.
317         (org-export-as-html): Insert the up and HOME links.
319 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
321         * org-html.el (org-export-as-html): Insert the title into the
322         option plist.
323         (org-export-html-insert-plist-item): New function.
324         (org-export-as-html): Call `org-export-html-insert-plist-item'.
326         * org-macs.el (org-set-local): Make a local variable, do not make
327         the variable buffer-local!
329         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
331         * org-html.el (org-export-as-html): Call `org-install-letbind'.
333         * org-docbook.el (org-export-as-docbook): Call
334         `org-install-letbind'.
336         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
338         * org-exp.el (org-infile-export-plist): Read BIND lines.
339         (org-install-letbind): New function.
340         (org-export-as-org, org-export-preprocess-string): Call
341         `org-install-letbind'.
343         * org-src.el (org-edit-src-exit): Untabify the example before
344         returning to Org.
346         * org-list.el (org-list-demote-modify-bullet): New option.
347         (org-first-list-item-p): Save point.
348         (org-fix-bullet-type): New optional argument FORCE-BULLET.
349         (org-indent-item): Honor `org-list-demote-modify-bullet'.
350         (org-item-indent-positions): Return bullet types along with
351         indentation.
353 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
355         * org.el (org-show-entry): Hide drawers.
357 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
359         * org-footnote.el (org-footnote-auto-adjust): New option.
360         (org-footnote-auto-adjust-maybe): New function.
361         (org-footnote-new, org-footnote-delete): Call
362         `org-footnote-auto-adjust-maybe'.
364         * org.el (org-startup-options): Add new footnote-related
365         keywords.
367         * org-publish.el (org-publish-timestamp-filename): Additional
368         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
369         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
370         TRUE-PUB-DIR.  Pass them through to
371         `org-publish-timestamp-filename'.
372         (org-publish-update-timestamp): Additional arguments PUB-DIR and
373         PUB-FUNC, which are included in the hash.
374         (org-publish-file): Delay timestamp test until the publishing
375         function is known.
377 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
379         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
380         setting the deadline.
382         * org.el (org-read-date-final-answer): New variable.
383         (org-read-date): Store the final answer string, including the date
384         from the calendar, for reuse by agenda bulk commands.
386         * org-publish.el (org-publish-attachment): Fix publishing of
387         attachments.
389         * org-latex.el (org-export-latex-quotation-marks): Fix export of
390         quotation makrs in parenthesis.
391         (org-remove-initial-hash): New function.
392         (org-export-latex-preprocess): Fix bug with infinite loop if
393         environment is not properly closed.
395         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
396         when indented.
398         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
399         highlight also when indented.
401 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
403         * org-footnote.el (org-footnote-renumber-fn:N): New command.
404         (org-footnote-action): Offer renumbering.
406         * org.el (org-cycle): Honor the `integrate' value of
407         org-cycle-include-plain-lists'.
409         * org-list.el (org-cycle-include-plain-lists): New allowed value
410         `internal'.  Improve the docstring.
412         * org.el (org-set-autofill-regexps): Improve the paragraph-start
413         regexp to work better with LaTeX commands.
415 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-feed.el (org-feed-update): fix problem with non-existing
418         buffer.
419         (org-feed-skip-http-headers): New function.
420         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
421         (org-feed-get-feed): Fix command line arguments for curl.
423 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
425         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
426         and eps extensions.
428 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
430         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
431         loaded.
433         * org.el (org-map-entries): No longer force
434         `org-tags-match-list-sublevels' to t during a todo-only tags
435         search.
437 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
439         * org-latex.el (org-export-latex-low-levels): Allow user-defined
440         environment.
441         (org-export-latex-subcontent): Handle user-defined environment.
443         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
444         the View dispatcher.
446         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
447         `make-overlay'.
449         * org-latex.el (org-export-as-pdf): Protect match data during call
450         to shell-quote-argument.
452         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
453         (org-agenda-view-mode-dispatch): New function.
455 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
457         * org-agenda.el (org-agenda-mode): Reset list of marks.
458         (org-agenda-mode-map): Define new keys for refile and bulk action.
459         (org-agenda-menu): Add menu itesm for refile and bulk action.
460         (org-agenda-refile): New function.
461         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
462         (org-agenda-marked-entries): New variable.
463         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
464         (org-agenda-remove-all-bulk-action-marks)
465         (org-agenda-bulk-action): New functions/commands.
467 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
469         * org-exp.el (org-get-file-contents): Protect org-like lines in
470         included files.
471         (org-export-format-source-code-or-example): Remove newlines.
473         * org-latex.el (org-export-latex-links): Check for no-description
474         marking.
476         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
477         argument separator back to comma.
478         (org-export-normalize-links): Mark links without description.
480 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-exp.el (org-infile-export-plist): Fix bug in macro
483         processing.
485         * org-agenda.el (org-agenda-clock-out): Update line after clocking
486         out.
487         (org-agenda-highlight-todo): Fix bug with highlighting.
489 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
491         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
492         new alignment strings.
494         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
495         command list.
496         (org-table-align): Check for forced align type.
498         * org.el (org-self-insert-command): Add yas/expand to command
499         list.
501         * org-clock.el (org-clock-in-hook): New hook.
502         (org-clock-in): Run `org-clock-in-hook.
503         (org-clock-out-hook): New hook.
504         (org-clock-out): Run `org-clock-out-hook.
505         (org-clock-cancel-hook): New hook.
506         (org-clock-cancel): Run `org-clock-cancel-hook.
507         (org-clock-goto-hook): New hook.
508         (org-clock-goto): Run `org-clock-goto-hook.
510 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
512         * org.el (org-store-link): Better default description for link to
513         Org-mode headline.
515         * org-exp.el (org-export-generic): Autoload the generic exporter
516         function.
517         (org-export): Implement the `g' key for the generic exporter.
519 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
521         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
522         and for zbacktab'.
524         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
526         * org-exp.el (org-infile-export-plist): Get macros also from
527         #+SETUPFILE.
529 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
531         * org-colview.el (org-columns-capture-view): Protect vertical bars
532         in column values.
533         (org-columns-capture-view): Exclude comment and archived trees.
535         * org-colview-xemacs.el (org-columns-capture-view): Protect
536         vertical bars in column values.
537         (org-columns-capture-view): Exclude comment and archived trees.
539         * org.el (org-quote-vert): New function.
541         * org-latex.el (org-export-latex-verbatim-wrap): New option.
543         * org-exp.el (org-export-format-source-code-or-example): Use
544         `org-export-latex-verbatim-wrap'.
546         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
547         time stamps.
549         * org-html.el (org-export-table-row-tags): New option.
550         (org-format-org-table-html): Rename `nlines' to `nline', use new
551         option.
554 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
556         * org-exp-blocks.el: Declare functions and variables.
558         * org-remember.el (org-remember-templates): Allow the headline
559         element to be a function.
560         (org-remember-apply-template): If the headline is a function, call
561         it to get the true function.
563         * org-clock.el (org-clock-menu): New function.
564         (org-clock-update-mode-line): Update help string.
565         (org-clock-modify-effort-estimate): New function.
566         (org-clock-mark-default-task): New function.
568         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
569         minutes as input.
570         (org-org-menu): Add new clocking stuff.
571         (org-clock-is-active): New function.
573 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
575         * org.el (org-open-non-existing-files): Improve docstring.
577 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
579         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
580         option.
581         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
583         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
585         * org-list.el (org-get-checkbox-statistics-face): Use the new
586         faces.
588         * org-faces.el (org-checkbox-statistics-todo)
589         (org-checkbox-statistics-done): New faces.
591 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
593         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
594         (org-edit-src-exit): Better cursor positioning when returning from
595         editing.
597         * org-latex.el (org-export-latex-use-verb): New variable.
598         (org-export-latex-emph-format): Prefer \texttt over \verb when
599         org-export-latex-use-verb is set.
601 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
603         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
604         at normal indentation.
606         * org-html.el (org-export-html-close-lists-maybe): Also look at
607         normal indentation.
609         * org-remember.el (org-remember-handler): Abort remember if the
610         buffer is empty.
612         * org-src.el (org-edit-src-content-indentation): New option.
613         (org-edit-src-exit): Apply extra indentation.
615         * org-exp.el (org-export-format-source-code-or-example): Run
616         `org-src-mode-hook'.
618         * org-src.el (org-src-mode-hook): New variable.
619         (org-edit-src-code): Run `org-src-mode-hook'.
621 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
623         * org.el (org-indent-line-function): Fix indentation of +#end lines.
625         * org-src.el (org-edit-src-get-indentation): New function.
626         (org-edit-src-code): Base indentation on the begin line.
628 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
630         * org-gnus.el (org-gnus-store-link): Require message.el in
631         org-gnus-store-link.
633 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
635         * org-src.el: New file, split out of org.el
637         * org-docbook.el (org-export-as-docbook): Better indentation
638         treatment.
640         * org-macs.el (org-replace-match-keep-properties): New function.
642         * org-exp.el (org-export-mark-blockquote-verse-center): Better
643         preprocessing of center and quote and verse blocks.
645         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
646         (org-export-as-docbook): Close lists when original indentation
647         mandates it.
649         * org-html.el (org-export-html-close-lists-maybe): New function.
650         (org-export-as-html): Close lists when original indentation
651         mandates it.
653         * org-list.el (org-list-end): Respect the stored "original"
654         indentation when determining the end of the list.
656         * org-exp.el (org-export-replace-src-segments-and-examples):
657         Remember indentation correctly.
659 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
661         * org-clock.el (org-clock-update-mode-line): Apply face
662         org-mode-line-clock.
664         * org-faces.el (org-mode-line-clock): New face.
666 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
668         * org-gnus.el (org-gnus-store-link): Fix bug where
669         `org-gnus-store-link' used wrong subject when called in an article
670         buffer.  Patch provided by fengli AT gmail DOT com.
672 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
674         * org-exp.el (org-export-format-source-code-or-example): Remember
675         the original indentation of source code snippets and examples.
677         * org-latex.el (org-export-as-latex): Relocate the table of
678         contents.
680         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
682         * org-agenda.el (org-run-agenda-series): Scope global options also
683         when creating the agenda buffer.
685 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
687         * org.el (org-adapt-indentation): Improve documentation.
688         (org-insert-property-drawer): Respect org-adapt-indentation when
689         inserting the drawer.
690         (org-remove-flyspell-overlays-in): New function.
691         (org-do-emphasis-faces, org-activate-plain-links)
692         (org-activate-code, org-fontify-meta-lines-and-blocks)
693         (org-activate-angle-links, org-activate-footnote-links)
694         (org-activate-bracket-links, org-activate-dates)
695         (org-activate-target-links, org-activate-tags): Remove flyspell
696         overlays.
698 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
700         * org.el (org-edit-src-save): New function.
702         * org-clock.el (org-clock-out-switch-to-state): New option.
703         (org-clock-out): Honor `org-clock-out-switch-to-state'.
705         * org-compat.el (org-compatible-face): Improve macro.
707         * org.el (org-global-properties-fixed): Add default for
708         CLOCK_MODELINE_TOTAL.
710         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
711         andd tend.
712         (org-clock-sum-current-item): Optional argument TSTART, pass it to
713         org-clock-sum.
714         (org-clock-get-sum-start): New function.
716         * org.el (org-startup-options): New keywords blockhide and
717         blockshow.
718         (org-mode): Add new invisibility spec.
719         (org-set-startup-visibility): Hide block on startup if so
720         desired.
721         (org-hide-block-startup): New option.
722         (org-block-regexp): New constant.
723         (org-hide-block-overlays): New variable.
724         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
725         (org-show-block-all, org-hide-block-toggle-maybe)
726         (org-hide-block-toggle): New functions.
727         (org-edit-src-exit): Do not quote lines starting with # and no +
728         behind it.
729         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
730         entry.
732 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
734         * org.el (org-buffer-property-keys): Add Effort property for
735         completion.
737 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
739         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
740         when retrieving total clocked time in the subtree.
742         * org.el (org-quoting-blocks): New variable.
744 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
746         * org-table.el (org-table-store-formulas)
747         (org-table-get-stored-formulas, org-table-fix-formulas)
748         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
749         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
751         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
752         indented #+TBLFM line.
754         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
755         indented #+TBLFM line.
757         * org-colview.el (org-dblock-write:columnview): Allow indented
758         #+TBLFM line.
760         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
761         indented #+TBLFM line.
763         * org-clock.el (org-dblock-write:clocktable): Allow indented
764         #+TBLFM line.
766 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
768         * org-exp.el (org-export-format-source-code-or-example): Make
769         editing indented blocks work correctly.
771         * org.el (org-edit-src-nindent): New variable.
772         (org-edit-src-code, org-edit-fixed-width-region)
773         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
774         editing indented blocks work correctly.
776 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
778         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
779         indented blocks.
780         (org-export-format-source-code-or-example): Fix indentation of
781         blocks.
782         (org-export-remove-indentation): New function.
783         (org-export-select-backend-specific-text): Allow backend-specific
784         code to be indented.
785         (org-export-mark-blockquote-verse-center): Allow markers to be
786         indented.
788         * org.el (org-fontify-meta-lines): New function.
789         (org-set-font-lock-defaults): Call the new fontification
790         function.
792         * org-faces.el (org-meta-line): New face
793         (org-block):  New face.
795 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
797         * org.el (org-treat-insert-todo-heading-as-state-change)
798         (org-treat-S-cursor-todo-selection-as-state-change): New
799         variables.
800         (org-insert-todo-heading): Honor
801         `org-treat-insert-todo-heading-as-state-change'.
802         (org-shiftright, org-shiftleft): Honor
803         `org-treat-S-cursor-todo-selection-as-state-change'.
804         (org-inhibit-logging): New variable.
806 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
808         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
809         range for marker position checking.
811         * org-latex.el (org-export-latex-first-lines): Fix bug when
812         exporting a region.
814 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
816         * org-exp.el (org-export-push-to-kill-ring): Protect using
817         x-set-selection, because that does not always work.
819         * org-agenda.el (org-agenda-list): Apply the new face
820         `org-agenda-date-today'.
822         * org-faces.el (org-agenda-date-today): New face.
824 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
826         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
827         creating appointments.
829         * org-latex.el (org-export-latex-low-levels): Fix customization
830         type.
832         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
833         priority commands.
835         * org-agenda.el (org-agenda-priority): Disable priority commands.
837         * org.el (org-enable-priority-commands): New option.
839         * org-colview-xemacs.el (org-columns-compute)
840         (org-columns-number-to-string): Fix problems with empty fields.
842         * org-colview.el (org-columns-compute)
843         (org-columns-number-to-string): Fix problems with empty fields.
845         * org-exp.el (org-export-push-to-kill-ring): New function.
846         (org-export-copy-to-kill-ring): New option.
848         * org-latex.el (org-export-as-latex): Call
849         `org-export-push-to-kill-ring'.
851         * org-html.el (org-export-as-html): Call
852         `org-export-push-to-kill-ring'.
854         * org-docbook.el (org-export-as-docbook): Call
855         `org-export-push-to-kill-ring'.
857         * org-ascii.el (org-export-as-ascii): Call
858         `org-export-push-to-kill-ring'.
860         * org-exp.el (org-export-show-temporary-export-buffer): New
861         option. 
863         * org-latex.el (org-export-as-latex): Use
864         `org-export-show-temporary-export-buffer'.
866         * org-html.el (org-export-as-html): Use
867         `org-export-show-temporary-export-buffer'.
869         * org-docbook.el (org-export-as-docbook): Use
870         `org-export-show-temporary-export-buffer'.
872         * org-ascii.el (org-export-as-ascii-to-buffer): Use
873         `org-export-show-temporary-export-buffer'.
875         * org-exp.el (org-export-show-temporary-export-buffer): New
876         option.
877         (org-export-push-to-kill-ring): New function.
879         * org-colview.el (org-columns-compile-map): New variable.
880         (org-columns-new, org-columns-compute)
881         (org-columns-number-to-string, org-columns-uncompile-format)
882         (org-columns-compile-format): Implement new operators.
884 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
886         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
888         * org-html.el (org-export-html-xml-declaration): New option.
889         (org-export-as-html): Use `org-export-html-xml-declaration'.
891         * org-list.el (org-update-checkbox-count): Make property
892         dependent.
894         * org.el (org-hierarchical-todo-statistics): New option.
895         (org-update-parent-todo-statistics): Modified to handle recursive
896         statistics.
898 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
900         * org-publish.el (org-publish): Make this function behave
901         correctly in interactive use when called with a prefix argument.
903         * org.el (org-todo-statistics-hook): New hook.
904         (org-update-parent-todo-statistics): Use new hook.
905         (org-log-into-drawer): New function.
906         (org-add-log-setup): Use the new `org-log-into-drawer' function to
907         determine if we should be logging into a drawer.
908         (org-log-into-drawer): Update docstring.
909         (org-default-properties): Add LOG_INTO_DRAWER as a property.
911         * org-list.el (org-checkbox-statistics-hook): New hook.
912         (org-update-checkbox-count-maybe): Use new hook.
914         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
915         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
916         to kill ring.
918 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
920         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
921         a line.
923 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
925         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
926         better bufer-generating mechanism.
927         (org-edit-src-find-buffer): New function.
929         * org-icalendar.el (org-print-icalendar-entries): Don't check for
930         archive tag, this is already done by `org-agenda-skip'.
931         data while constructing lost of tags.
933 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
935         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
936         as argument separator in macros.
938         * org-html.el (org-export-as-html): Add xml declaration.
940 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
942         * org.el (org-after-sorting-entries-or-items-hook): New hook.
943         (org-sort-entries-or-items): Run the new hook.
944         (org-after-refile-insert-hook): New hook.
945         (org-refile): Run `org-after-refile-insert-hook'.
947         * org-agenda.el (org-agenda-get-progress): Never take time of day
948         from headline when displaying progress.
950         * org-latex.el (org-export-latex-complex-heading-re): New variable.
951         (org-export-as-latex): Force the correct regexp in the
952         preprocessor buffer.
953         (org-export-latex-set-initial-vars): Set
954         `org-export-latex-complex-heading-re'.
956         * org-agenda.el (org-agenda-start-with-log-mode): New option.
957         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
959 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
961         * org-latex.el (org-export-latex-tables-centered): New option.
962         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
964         * org-exp.el (org-export-as-org): New command.
965         (org-export-as-org): New command.
967         * org-publish.el (org-publish-org-to-org): New function.
969 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
971         * org.el (org-yank): Just call `org-yank-generic'.
972         (org-yank-generic): New function, containing the formaer
973         functionality of `org-yank'.
975         * org-latex.el (org-export-latex-not-done-keywords)
976         (org-export-latex-done-keywords): New variables.
977         (org-export-latex-todo-keyword-markup): New option.
978         (org-export-latex-set-initial-vars): Remember the TODO keywords.
979         (org-export-latex-keywords-maybe): Apply the TODO markup.
981 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
983         * org-exp.el (org-infile-export-plist): Add more default macros.
984         (org-export-preprocess-apply-macros): Process macro arguments.
986 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
988         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
989         `unblocked'.
990         (org-print-icalendar-entries): Respect the new value of
991         `org-icalendar-include-todo'.
993         * org.el (org-link-try-special-completion)
994         (org-file-complete-link): New functions.
995         (org-insert-link): Add special completion support for some link
996         types.
998         * org-bbdb.el (org-bbdb-complete-link): New function.
1000 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1002         * org-list.el (org-update-checkbox-count): Allow recursive
1003         statistics.
1004         (org-hierarchical-checkbox-statistics): New option.
1006         * org.el (org-cycle): Remove erraneous space character.
1008         * org-icalendar.el (org-icalendar-timezone): Initialize from
1009         environment.
1011         * org-html.el (org-format-org-table-html): Specify the scope.
1012         (org-format-table-table-html): Specify the scope.
1013         (org-export-table-header-tags): Prepare the scope parameter.
1015 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1017         * org-html.el
1018         (org-export-html-table-use-header-tags-for-first-column): New
1019         option.
1021         * org.el (org-autoload): Fix autoloading of ascii export
1022         functions.
1023         (org-modules): Add org-special-blocks.
1025 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1027         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1028         (org-ical-timezone): New option.
1030         * org-exp.el (org-export-get-coderef-format): Use the description
1031         is present.
1033         * org.el (org-sort-entries-or-items): Improve docstring, and make
1034         better implementation for time sorting.
1036 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1038         * org.el (org-edit-src-persistent-message): New option.
1039         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1040         option.
1042         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1043         patch.
1045         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1046         separate buffer instead of indirect buffer to edit source code.
1047         (org-edit-src-exit): Make this function work with the new setup.
1049         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1050         are properly fontified before shown in the selection menu.
1052         * org.el (org-fontify-like-in-org-mode): New function.
1054         * org-latex.el (org-export-latex-links): Use the property list to
1055         retrieve the default image attributes.
1057         * org-exp.el (org-export-plist-vars): Add a new option.
1059 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1061         * org-exp.el (org-export, org-export-visible): Support ASCII
1062         export to buffer
1063         (org-export-normalize-links): Do not protect the description if it
1064         is explicitly given.
1066         * org-ascii.el (org-export-as-ascii-to-buffer)
1067         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1068         commands.
1069         (org-export-as-ascii): Add all the same parameters that are also
1070         supported by the other export functions.
1072         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1073         org-checklist.el.
1074         (org-reset-checkbox-state-subtree): Call
1075         `org-reset-checkbox-state-subtree'.
1077         * org-remember.el (org-select-remember-template): For the
1078         selection of a valid template.
1080         * org-latex.el (org-export-region-as-latex): Supply the
1081         force-no-subtree argument.
1082         (org-export-as-latex): Provide better limits when exporting the
1083         first line.  When exporting to string, we still want the first
1084         lines.
1085         (org-export-latex-first-lines): New argument END, to force the end
1086         of the region.
1087         (org-export-region-as-latex): Use the property list.
1088         (org-export-as-latex):
1090         * org-colview-xemacs.el (org-columns-remove-overlays)
1091         (org-columns): Fix call to `local-variable-p'.
1093 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1095         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1096         (org-export-as-html): Run the new hook.
1098         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1099         (org-export-latex-preprocess): Run the new hook.
1101         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1102         (org-export-preprocess-string): Run the new hook.
1104 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1106         * org-macs.el (org-check-external-command): New defsubst.
1108         * org.el (org-mode-map): New key for reload.
1109         (org-format-latex): Better error message when external programs
1110         are not available.
1112         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1114         * org.el (org-sort-entries-or-items): Explicit sorting function
1115         for priorities, needed for XEmacs compatibility.
1117         * org-remember.el (org-remember-apply-template): Improve auto-save
1118         behavior.
1120 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1122         * org-latex.el (org-export-latex-preprocess): Also protect
1123         environments ending in a star.
1125         * org-list.el (org-at-item-p): Fix regular expression.
1127 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1129         * org.el (org-end-of-subtree): Improve speed.
1131         * org-agenda.el (org-agenda-get-timestamps)
1132         (org-agenda-get-progress, org-agenda-get-deadlines)
1133         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1134         in particular, wait as long as possible to collect the tags.
1135         (org-stuck-projects): Improve docstring.
1137         * org.el (org-store-link): No errors when getting custom id before
1138         first headline.
1139         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1141 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1143         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1145         * org-protocol.el: Remove dependency on url.el.
1146         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1147         dependency on url.el.
1149         * org-latex.el (org-export-as-pdf): Use
1150         `org-latex-to-pdf-process'.
1152 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1154         * org-latex.el (org-latex-to-pdf-process): New option.
1156         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1157         New option.
1158         (org-agenda-get-timestamps): Honor
1159         `org-agenda-skip-additional-timestamps-same-entry'.
1161         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1162         (org-clock-goto): Find recent task only if
1163         `org-clock-goto-may-find-recent-task' allows it.
1165         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1166         drawers, and drawers that are missing the :END: line.
1168 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1170         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1171         clock is running.
1173 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1175         * org.el (org-update-parent-todo-statistics): Check for
1176         STATISTICS_FROM property.
1178         * org-list.el (org-update-checkbox-count): Check for
1179         STATISTICS_FROM property.
1181         * org.el (org-tab-first-hook)
1182         (org-tab-after-check-for-table-hook)
1183         (org-tab-after-check-for-cycling-hook): New hooks.
1184         (org-cycle-internal-global, org-cycle-internal-local): New
1185         functions, split out from `org-cycle'.
1186         (org-cycle): Call the new hooks.
1188 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-exp.el (org-export-preprocess-string): Reset the list of
1191         preferred targets for each run of the preprocessor.
1193         * org.el (org-refile-target-verify-function): Improve
1194         documentation.
1195         (org-get-refile-targets): Respect point being moved by the
1196         verification function.
1198         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1199         option.
1200         (org-export-latex-keywords): Use new option.
1202         * org.el (org-rear-nonsticky-at): New defsubst.
1203         (org-activate-plain-links, org-activate-angle-links)
1204         (org-activate-footnote-links, org-activate-bracket-links)
1205         (org-activate-dates, org-activate-target-links)
1206         (org-activate-tags): Place the rear-nonsticky properties at the
1207         correct location.
1209 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1211         * org-protocol.el (server-edit): Declare `server-edit'.
1212         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1213         functions.
1214         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1216         * org.el (org-default-properties): New default properteis for
1217         completion.
1219         * org-exp.el (org-export-add-subtree-options): Add new properties
1220         for subtree export.
1222         * org-docbook.el (org-export-docbook-keywords-markup)
1223         (org-export-docbook-timestamp-markup): New options.
1224         (org-export-docbook-protect-tags): New function.
1226 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1228         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1229         org-refile-target-verify-function for the duration of the command.
1231         * org.el (org-link-to-org-use-id): New possible value
1232         `create-if-interactive-and-no-custom-id'.
1233         (org-store-link): Use custom IDs.
1234         (org-link-search): Find custom ID properties from #link.
1235         (org-default-properties): Add CUSTOM_ID for property completion.
1236         (org-refile-target-verify-function): New option.
1237         (org-goto): Turn off org-refile-target-verify-function
1238         for the duration of the command.
1240 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1242         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1244         * org-exp.el (org-export-preferred-target-alist): New variable.
1245         (org-export-define-heading-targets): Find the new CUSTOM_ID
1246         property.
1247         (org-export-target-internal-links): Target the custom ids when
1248         possible.
1250         * org-latex.el (org-export-latex-preprocess): Better regexp for
1251         matching latex macros with arguments.
1253 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1255         * org-remember.el (org-remember-handler): Allow filing to non-org
1256         files.
1258 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1260         * org-feed.el (org-feed-alist): New keyword options.
1261         (org-feed-update): Use the new options.
1262         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1263         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1264         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1265         functions.
1267         * org-table.el (org-table-fix-formulas): Do not change references
1268         to remote tables.
1269         (org-table-get-remote-range): Convert standard coordinates to RC
1270         format.
1272         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1274 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1276         * org-compat.el (org-sha1-string): Function removed.
1278         * org.el (org-refile-allow-creating-parent-nodes): New option.
1279         (org-refile-get-location): New argument NEW-NODES.
1280         (org-refile): Call `org-refile-get-location' with the new
1281         argument.
1282         (org-refile-get-location): Arrange for adding a new child.
1283         (org-refile-new-child): New function.
1285         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1286         an additional span element.
1288         * org-clock.el: Fix a number of docstrings.
1289         (org-clock-find-position): New argument
1290         FIND-UNCLOSED to make the function find an unclosed clock in the
1291         entry.
1292         (org-clock-in): Call `org-clock-find-position' with the new
1293         argument if we might be resuming a clock.
1295 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1297         * org-latex.el (org-export-latex-display-custom-times): New variable.
1298         (org-export-latex-timestamp-markup): New option.
1299         (org-export-latex-set-initial-vars): Remember the local value of
1300         `org-display-custom-times'.
1301         (org-export-latex-content): Process time stamps.
1302         (org-export-latex-time-stamps): New function.
1304         * org-macs.el (org-maybe-intangible): Add intangible property
1305         again to invisible text.
1307 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1309         * org-exp.el (org-default-export-plist): Handle undefined
1310         variables.
1312 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1314         * org.el (org-sort-entries-or-items): Match TODO keywrds
1315         case-sensitively, when sorting.
1316         (org-priority): Do not match TODO keywords with wrong case.
1318 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1320         * org-feed.el (org-feed-update): Bind the variable
1321         `new-formatted'.
1323         * org-html.el (org-export-as-html): Start paragraphs after literal
1324         examples.
1326         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1327         literal examples.
1329 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1331         * org.el (org-todo): Honor the NOBLOCKING property.
1333         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1334         NOBLOCKING property.
1336         * org.el (org-scan-tags): Fix bug in tag scanner
1338 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1340         * org.el (org-modules): Mark obsolete packages.
1342         * org-html.el: New file, split out from org-exp.el.
1344         * org-icalendar.el: New file, split out from org-exp.el.
1346         * org-xoxo.el: New file, split out from org-exp.el.
1348         * org-ascii.el: New file, split out from org-exp.el.
1350 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1352         * org-compat.el (org-find-library-name): New function.
1354         * org.el (org-pre-cycle-hook): New hook.
1355         (org-cycle): Call the new hook in appropriate places.
1356         (org-reload): Only reload files that have been loaded before.
1358 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1360         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1361         after todo keyword.
1362         (org-todo): When changing TODO state, do matching
1363         case-sensitively.
1364         (org-map-continue-from): New variable.
1365         (org-scan-tags): Respect values in `org-map-continue-from'.
1366         (org-reload): Make XEmacs compatible.
1368 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org-protocol.el (org-protocol-flatten-greedy): New function.
1371         (org-protocol-flatten): New function.
1373         * org.el (org-open-link-from-string): Pass reference buffer to
1374         `org-open-at-point'.
1375         (org-open-at-point): New optional argument `reference-buffer'.
1377 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
1379         * org.el (org-scan-tags): Make tag scan find headline in first
1380         line, 2nd attempt.
1381         (org-get-refile-targets): Add the naked file name.
1382         (org-refile): Store as top-level entry when only file name was
1383         given.
1385         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1387         * org.el (org-block-todo-from-children-or-siblings-or-parent):
1388         Renamed from org-block-todo-from-children-or-siblings, and
1389         enhanced to look for the parent's status as well.
1391         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1392         (org-agenda-get-progress): Add first notes line to log entry if so
1393         desired.
1395 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
1397         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1398         (org-agenda-cleanup-fancy-diary): Call the new hook.
1400         * org-remember.el (org-remember-apply-template): Take the default
1401         for the annotation from the :annotation property.
1403         * org-mac-message.el (org-mac-message-get-link): Remove the
1404         quotes.
1405         (org-mac-message-get-link): Return the result.
1407 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
1409         * org.el (org-refile-get-location): Add file name only if not
1410         already included in outline path.
1412         * org-faces.el (org-n-level-faces): Fix customization type from
1413         number to integer.
1415         * org-exp.el (org-export-headline-levels): Fix customization type
1416         from number to integer.
1418         * org-agenda.el (org-agenda-confirm-kill)
1419         (org-agenda-custom-commands-local-options)
1420         (org-timeline-show-empty-dates, org-agenda-ndays)
1421         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1422         customization type from number to integer.
1424 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
1426         * org-protocol.el: Declare some functions.
1428         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1429         postion before inserting modified headline.
1431         * org-agenda.el (org-agenda-compare-effort): Honor
1432         `org-sort-agenda-noeffort-is-high'.
1433         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1434         (org-agenda-compare-effort): Implement the "?" operator for
1435         finding entries without effort setting.
1437         * org.el (org-extract-attributes-from-string): New function.
1439         * org-exp.el (org-export-splice-attributes): New function.
1441 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-mouse.el: XEmacs compatibility fixes
1445         * org-docbook.el (org-export-as-docbook): Process footnotes like
1446         normal text.
1448         * org.el (org-modules): Add org-inlinetasks.el
1449         (org-cycle): Implement limiting level on cycling.
1450         (org-move-subtree-down): Fix bug with swapping subtrees at end of
1451         buffer.
1453         * org-inlinetask.el: New file.
1455         * org.el (org-emphasis-regexp-components): Allow braces in
1456         emphasis pre and post match.
1458         * org-footnote.el (org-footnote-normalize): When only dorting, do
1459         not insert inline notes at the end.
1461         * org-docbook.el (org-id-find-id-file): Add function declaration.
1463         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1465         * org-docbook.el: New file.
1467 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org.el (org-reftex-citation): New command.
1471 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
1473         * org-agenda.el (org-agenda-cmp-user-defined): New option.
1474         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1475         sorting options.
1476         (org-entries-lessp): Apply the new sorting option.
1478         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1479         blocker code, when an older sibling has children.
1481         * org-mac-message.el (org-mac-message-get-link): Improve getting
1482         links from multiple selected messages.
1484 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
1486         * org-remember.el (org-remember-finalize): Do not set buffer file
1487         name to nil.
1488         (org-remember-handler): Mark buffer as unmodified.
1489         (org-remember-handler): Delete backup file and show message about
1490         remaining backup files.
1491         (org-remember-auto-remove-backup-files): New option.
1493         * org.el (org-store-link): Use buffer name as link description in
1494         w3-mode buffers.
1495         (org-ido-switchb): Fix argument bug for completion.
1497         * org-remember.el (org-remember-apply-template): Set local
1498         variable `auto-save-visited-file-name' instead of global one.
1500 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
1502         * org-feed.el: Re-write.
1504         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1505         (org-agenda-get-todos): Mark file tags as inherited.
1506         (org-agenda-list): Always search diary lines for a time.
1508 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
1510         * org-feed.el (org-feed-assume-stable): New option.
1511         (org-feed-before-adding-hook): New hook.
1513         * org-exp.el (org-export-as-html): Close local lists depending on
1514         indentation, also when starting a table.
1516         * org-remember.el (org-remember-backup-directory)
1517         (org-remember-backup-name): New internal variable.
1519 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
1521         * org-clock.el (org-clock-out-if-current): Make buffer detection
1522         work in indirect buffers as well.
1524         * org.el (org-emphasis-regexp-components): Add the exxclamation
1525         mark to the post-emphasis characters.
1527 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
1529         * org.el (org-read-date-minibiffer-septup-hook): New hook.
1530         (org-read-date): Run the new hook.
1532         * org-mac-message.el (org-mac-flagged-mail): New group.
1533         (org-mac-mail-account): New variable.
1534         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1535         commands.
1537         * org-remember.el (org-remember-backup-directory): New variable.
1538         (org-remember-apply-template): Write file to backup directory.
1540 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
1542         * org-mouse.el (org-mouse-todo-menu): New function.
1543         (org-mouse-todo-keywords): Function removed.
1544         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1546         * org-table.el (org-table-beginning-of-field)
1547         (org-table-end-of-field): New commands
1548         (org-table-previous-field, org-table-beginning-of-field): Better
1549         error messages.
1550         (orgtbl-setup): Include `M-a' and `M-e'.
1552         * org.el (org-backward-sentence, org-forward-sentence): New
1553         commands.
1555         * org-colview.el (org-colview-initial-truncate-line-value): New
1556         variable.
1557         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1558         (org-columns): Remember the value of `truncate-lines'.
1560         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1561         New variable.
1562         (org-columns-remove-overlays): Restore the value of
1563         `truncate-lines'.
1564         (org-columns): Remember the value of `truncate-lines'.
1566         * org.el (org-columns-skip-arrchived-trees): New option.
1568         * org-agenda.el (org-agenda-export-html-style): Define color for
1569         org-agenda-done face.
1570         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1571         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1573         * org.el (org-scan-tags): Use the new face.
1575         * org-faces.el (org-agenda-done): New face.
1577         * org.el (org-scan-tags): Test the value org
1578         `org-tags-match-list-sublevels'.
1579         (org-tags-match-list-sublevels): New allowed value: indented.
1581         * org-export-latex.el (org-export-latex-make-header): Apply macros
1582         in header.
1584         * org-exp.el (org-export-apply-macros-in-string): New function.
1586         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1587         with the definition of a checked box.
1589         * org-clock.el (org-clock-find-position): Fix drawer indentations.
1591         * org-export-latex.el (org-export-latex-low-levels): More options
1592         for how to process lower levels in LaTeX.
1593         (org-export-latex-subcontent): Better treatment for lists as a
1594         means of publishing lower levels.
1596 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
1598         * org.el (org-set-font-lock-defaults): Use new checkbox face.
1600         * org-faces.el (org-checkbox): New face.
1602         * org-exp.el (org-export-html-preprocess): Only create LaTeX
1603         fragement images if there is an export file.
1605 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
1607         * org-agenda.el (org-stuck-projects): Document that the subtree of
1608         projects that are not stuck will now be searched for stuck
1609         sub-projects.
1610         (org-agenda-skip-entry-when-regexp-matches)
1611         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1612         (org-agenda-list-stuck-projects): Use
1613         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1615         * org-export-latex.el (org-export-latex-preprocess): Improve
1616         export of verses.
1618         * org-exp.el (org-export-as-html): Implement centering as a div
1619         rather than a paragraph.  Do a better job with line-end in verse
1620         environments.
1622 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
1624         * org.el (org-open-at-point): Fix tags searches by mouse click.
1626 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
1628         * org-export-latex.el (org-export-latex-preprocess): Implement the
1629         centering markup.
1631         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1632         from `org-export-mark-blockquote-and-verse'.
1633         (org-export-as-html): Implement the centering markup.
1635         * org-export-latex.el (org-export-latex-tables): Fix vertical
1636         lines in tables.
1638 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
1640         * org.el (org-read-date-history): New variable.
1641         (org-read-date): Use new history variable.
1642         (org-toggle-heading): Fix bug when used before first headline.
1643         (org-store-log-note): Remove drawer if empty while note is
1644         aborted.
1645         (org-remove-empty-drawer-at): New function.
1646         (org-check-after-date): New command.
1647         (org-sparse-tree): New sparse tree command "a".
1649         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1651 2009-03-14  Bastien Guerry  <bzg@altern.org>
1653         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1654         column and a space, not only a column.
1656 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1658         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1659         defaults for verbose emphasis.
1660         (org-export-latex-emph-format): New function.
1661         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1663         * org-agenda.el (org-agenda-menu): Add new commands to menu.
1664         (org-agenda-do-date-later, org-agenda-do-date-earlier)
1665         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1666         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1667         commands.
1669         * org.el (org-timestamp-change): Move end-time along with start
1670         time.
1672 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
1674         * org-exp.el (org-export-target-internal-links)
1675         (org-export-as-html): Protect links specified as #name.
1677 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
1679         * org.el (org-clone-subtree-with-time-shift): New command.
1681         * org-export-latex.el (org-export-latex-special-chars)
1682         (org-export-latex-treat-sub-super-char): Fix subscript export.
1684         * org-exp.el (org-create-multibrace-regexp): Do not add
1685         backslashes to the class.
1687 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
1689         * org-colview.el (org-columns-map): Better functions for moving up
1690         and down a row, even if `truncate-line' is nil.
1692         * org.el (org-insert-todo-heading): Make sure the keyword is
1693         inserted at the correct position.
1695         * org-publish.el (org-publish-project-alist)
1696         (org-publish-projects, org-publish-org-index): Change default anme
1697         for the index of file names to "sitemap.org".
1699         * org-export-latex.el (org-export-latex-tables): Use
1700         `org-split-string', for Emacs 21 compatibility.
1702 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
1704         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1706 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
1708         * org-exp.el (org-export-page-description)
1709         (org-export-page-keywords): New variables.
1710         (org-export-plist-vars): Add entries for :keywords and
1711         :description.
1712         (org-infile-export-plist): Parse for new keywords.
1713         (org-get-current-options): Add new keywords
1714         (org-export-as-html): Publish description and keywords.
1716         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1717         option.
1718         (org-agenda-add-entry-text): Honor
1719         `org-agenda-add-entry-text-descriptive-links'.
1721         * org-export-latex.el (org-export-latex-preprocess): Make all
1722         external preprocess functions use a PARAMETER arg.
1724         * org-exp.el (org-export-preprocess-string)
1725         (org-export-select-backend-specific-text)
1726         (org-export-format-source-code-or-example)
1727         (org-format-org-table-html): Support docbook export.
1728         (org-export-preprocess-string): Make all external preprocess
1729         functions use a PARAMETER arg.
1731 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
1733         * org-exp.el (org-export-html-style-include-scripts): New option.
1734         (org-export-plist-vars): Add new option
1735         `org-export-html-style-include-scripts'.
1736         (org-export-as-html): Honor new option
1737         `org-export-html-style-include-scripts'.
1738         (org-export-html-scripts, org-export-html-style-default): Fix
1739         xml issues with the Safari browser.
1741 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
1743         * org-publish.el (org-publish-attachment): Only copy file when the
1744         directories differ.
1746 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
1748         * org-clock.el (org-clocktable-steps): Use inactive time stamps
1749         for clocktable steps.
1751         * org.el (org-additional-option-like-keywords): Add two more
1752         keywords.
1754 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
1756         * org-exp.el (org-export-format-source-code-or-example): Mark
1757         temporary buffer unmodified, so that it will be killed even if
1758         mode like message mode has decided to assign a file name.
1760         * org.el (org-scan-tags): Improve tag inheritance.
1761         (org-scan-tags, org-make-tags-matcher): Make tag comparison
1762         case-sensitive.
1763         (org-scan-tags): Use the internal tags list instead of creating it
1764         from scratch.
1765         (org-trust-scanner-tags, org-scanner-tags): New variables.
1766         (org-scan-tags): Set `org-scanner-tags'.
1767         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1768         (org-map-entries): Document the possible speedup using scanner
1769         tags.
1771 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
1773         * org.el (org-add-planning-info): Fix bug with looking for keyword
1774         only at column 0.
1776         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1777         option for tags filter preset.
1778         (org-prepare-agenda): Store filter preset as a property on the
1779         filter variable.
1780         (org-finalize-agenda): Call the filter, if there is a preset.
1781         (org-agenda-filter-by-tag): Filter again after clearing the
1782         filter, when there still is a preset.
1783         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1784         Include the preset filter.
1785         (org-agenda-redo): Apply the filter again, also the preset filter.
1787         * org-exp.el (org-export-as-html): Use IDs in the correct way.
1789         * org.el (org-uuidgen-p): New funtion.
1791         * org-agenda.el (org-agenda-fontify-priorities): New default value
1792         `cookies'.
1793         (org-agenda-fontify-priorities): Renamed from
1794         org-fontify-priorities.
1796         * org.el (org-set-font-lock-defaults): Call
1797         `org-font-lock-add-priority-faces'.
1798         (org-font-lock-add-priority-faces): New function.
1800         * org-faces.el: (org-set-tag-faces): New option.
1801         (org-priority-faces): New variable.
1803         * org-exp.el (org-export-as-html): Add a "content" div around the
1804         entire content of the body tag.
1805         (org-export-html-get-bibliography): New function.
1806         (org-export-html-validation-link): New variable.
1807         (org-export-as-html): Add validation link to exported page.
1809         * org.el (org-match-sparse-tree): Renamed from
1810         `org-tags-sparse-tree'.
1811         (org-tags-sparse-tree): New alias.
1813 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
1815         * org.el (org-get-valid-level): Catch the case where the level
1816         change is nil.
1818         * org-clock.el (org-clock-find-position): Better indentation of
1819         new clock drawers.
1821 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
1823         * org-agenda.el (org-agenda-quit): Delete window only when the
1824         frame-setup was not `current-window'.
1826         * org.el (org-tag-persistent-alist): New option.
1827         (org-startup-options): Add keyword `noptag'.
1828         (org-fast-todo-selection): Handle :newline correctly.
1829         (org-set-tags): Handle :newline correctly.
1830         (org-fast-tag-selection): Handle :newline correctly.
1832 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
1834         * org-exp.el (org-export-as-ascii): Reverse link buffer before
1835         outputting it.
1836         (org-export-ascii-push-links): Fix bug with pussing links into the
1837         export buffer.
1839 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
1841         * org-archive.el (org-archive-subtree): Do not add 1 to level if
1842         pasting at top level.
1844         * org-bbdb.el: Improve documentation.
1846 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
1848         * org-list.el (org-insert-item): Only consider insert empty lines
1849         is `org-empty-line-terminates-plain-lists' is not nil.
1851         * org.el (org-blank-before-new-entry): Mention the dependence on
1852         `org-empty-line-terminates-plain-lists' in the docstring.
1854         * org-publish.el (org-publish-get-project-from-filename): New
1855         optional argument UP.  Only find the top project if UP is set.
1856         (org-publish-current-project): Find the top encloding project.
1858         * org-agenda.el (org-agenda-before-write-hook)
1859         (org-agenda-add-entry-text-maxlines): New options.
1860         (org-write-agenda): Run the new hook in the temporary buffer.
1861         (org-agenda-add-entry-text): New function.
1862         (org-write-agenda): Implement PDF export, using ps2pdf.
1864         * org.el (org-global-properties-fixed, org-global-properties):
1865         Improve documentation string.
1867         * org-exp.el (org-export-ascii-links-to-notes): New option.
1868         (org-export-as-ascii): Handle links better.
1869         (org-export-ascii-wrap, org-export-ascii-push-links): New
1870         functions.
1872 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
1874         * org-agenda.el (org-agenda): Make prefix arg optional.
1875         (org-agenda-search-headline-for-time): New option.
1876         (org-format-agenda-item): Honor
1877         `org-agenda-search-headline-for-time'.
1879         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1880         characters.
1882         * org.el (org-self-insert-cluster-for-undo): New option.
1883         (org-self-insert-command): Cluster undo for 20 characters.
1884         (org-self-insert-command-undo-counter): New variable.
1886 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
1888         * org-exp.el (org-export-as-html): Fix problem with closing colone
1889         example.
1891 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
1893         * org-export-latex.el (org-export-as-latex)
1894         (org-export-latex-first-lines): Avoid modification flag when
1895         adding or removing text properties.
1896         (org-export-latex-fontify): Catch error when org-emph-alist has
1897         entries that are not defined for LaTeX export.
1899         * org.el (orgstruct++-mode): New function.
1900         (turn-on-orgstruct++): Call `orgstruct++-mode'.
1901         (org-context-p): Allow detecting item context after the first line
1902         of an item.
1903         (orgstruct-make-binding): Detect if item-body context should be
1904         seen.
1905         (orgstruct-is-++): New variable.
1906         (org-add-planning-info): Catch the case when there is no planning
1907         info yet and the call does not want to add anything, only maybe
1908         tries to remove something.
1909         (org-special-ctrl-a/e): All value to be a cons cell with separate
1910         settings for `C-a. and `C-e'.
1911         (org-beginning-of-line, org-end-of-line): Honor separate values
1912         for `C-a' and `C-e'.
1914 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
1916         * org.el (org-reload): New command.
1918 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
1920         * org-exp.el (org-export-htm-get-tag-class-name)
1921         (org-export-htm-get-todo-kwd-class-name): New functions.
1922         (org-export-html-tag-class-prefix)
1923         (org-export-html-todo-kwd-class-prefix): New options.
1924         (org-export-as-html): Call
1925         `org-export-html-get-todo-kwd-class-name'.
1926         (org-html-level-start): Wrap tags into classes.
1927         (org-export-html-get-tag-class-name)
1928         (org-export-html-get-todo-kwd-class-name): New functions.
1930         * org-export-latex.el (org-export-latex-collect-header-macros):
1931         Remove fields that are used anyway.
1932         (org-export-latex-make-header): Insert the options earlier.
1934         * org-agenda.el (org-agenda-get-progress): Fix bug with state
1935         matching.
1937         * org-list.el (org-indent-item): Allow point to be at the end of
1938         the region.
1940         * org.el (org-metaleft, org-metaright): Be more accurate about
1941         detecting a region where commands apply.
1943         * org-compat.el (org-cursor-to-region-beginning): New function.
1945         * org.el (org-priority): Also find invisible heading.
1947         * org-colview-xemacs.el (org-columns-edit-value): No special
1948         treatment for `org-todo' prefix.
1950         * org-colview.el (org-columns-edit-value): No special treatment
1951         for `org-todo' prefix.
1953         * org-remember.el (org-remember-apply-template): Use
1954         `org-completing-read-no-ido'.
1956         * org.el (org-completing-read-no-ido): New function.
1957         (org-make-tags-matcher, org-set-property): Use
1958         `org-completing-read-no-ido'.
1960         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1961         New option.
1962         (org-export-as-latex): Import in-buffer settings as TeX macros.
1963         (org-export-latex-make-header): Additional parameter OPT-DEFS.
1964         (org-export-latex-collect-header-macros): New function.
1966         * org.el (org-refile-get-location): Turn off
1967         `partial-completion-mode'.
1969 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
1971         * org.el (org-block-todo-from-checkboxes): Announce that
1972         checkboxes are the culprit.
1973         (org-block-todo-from-children-or-siblings): Call
1974         `org-up-heading-all instead' of `outline-up-heading'.
1976         * org-agenda.el (org-agenda-show-1): Renamed from
1977         `org-agenda-show'.
1978         (org-agenda-show): Re-install the old version for now.
1979         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
1980         variable into the blokker hook, so that the checkbox checker can
1981         anounce that it caused the blocking.
1983         * org.el (org-track-ordered-property-with-tag): New option.
1984         (org-toggle-ordered-property): Honor
1985         `org-track-ordered-property-with-tag'.
1986         (org-tag-alist): Add newline options.
1987         (org-set-regexps-and-options): Separate option lines imply a
1988         newline.
1989         (org-set-regexps-and-options, org-assign-fast-keys)
1990         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1991         option.
1992         (org-indent-line-function): Make sure this works even if there is
1993         not `org-drawer-regexp' defined.  This can happen when
1994         orgstruct-mode is used in a non-org buffer.
1996         * org-list.el (org-checkbox-blocked-p): New function.
1997         (org-toggle-checkbox): Check for blocking.
1999         * org.el (org-modules): Add an entry for org-R.el.
2001         * org-agenda.el (org-agenda-todo-ignore-with-date)
2002         (org-agenda-todo-ignore-scheduled)
2003         (org-agenda-todo-ignore-deadlines): Mention the variable
2004         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2006         * org.el (org-get-wdays): Find the warning period also if it is in
2007         the wrong place.
2008         (org-ido-completing-read): Provide the correct arguments to
2009         ido-completing-read and bind `ido-enter-matching-directory' to
2010         nil.
2012 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2014         * org.el (org-olpath-completing-read): Never use ido for this
2015         one.
2017         * org-exp.el (org-export-normalize-links): Use new macro.
2019         * org-macs.el (org-if-unprotected-at): New macro.
2021         * org-agenda.el (org-agenda-show): Allow numerical prefix
2022         arguments to specify how much context should be shown.
2023         (org-agenda-cycle-show): New command, could be bound to SPC in
2024         org-agenda-mode-map.
2026         * org-exp.el (org-html-level-start): Space after section number.
2028 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2030         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2031         property, for sorting.
2032         (org-cmp-todo-state): Get the applicable TODO keywords directly
2033         from the buffer.
2034         (org-run-agenda-series, org-agenda-list, org-search-view)
2035         (org-todo-list, org-tags-view): Only fit agenda window when the
2036         whole series is done.
2038         * org.el (org-scan-tags): Add todo state as property, for sorting.
2040         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2041         `org-agenda-overriding-header' as an option.
2042         (org-agenda-list): Honor org-agenda-overriding-header'.
2044 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2046         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2047         after removing a checkbox.
2049         * org.el (org-show-entry): Make this work correctly also if it is
2050         the last entry in the file.
2051         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2052         falling back to normal, default command.
2053         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2054         item, call the checkbox toggler to get a box.
2056         * org-list.el (org-toggle-checkbox): Make double prefix set the
2057         checkbox to "[-]".
2058         (org-fix-bullet-type): Only replace bullet if it is changed.
2059         (org-renumber-ordered-list): Handle case when first item does not
2060         have a number.
2062         * org.el (org-add-log-setup): Fix positioning when
2063         `org-log-states-order-reversed' is nil.
2065         * org-clock.el (org-clock-in): Fix positioning when
2066         `org-log-states-order-reversed' is nil.
2067         (org-clock-find-position): Fix positioning when
2068         `org-log-states-order-reversed' is nil.
2070 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2072         * org-clock.el (org-clock-into-drawer): Take default from
2073         `org-log-into-drawer'.
2074         (org-clock-find-position): Look for the correct drawer.
2076         * org.el (org-log-into-drawer): Renamed from
2077         `org-log-state-notes-into-drawer'.
2078         (org-log-state-notes-into-drawer): New variable alias.
2079         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2080         CLOCK.
2081         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2083 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2085         * org-agenda.el (org-agenda): Fix docstring.
2087         * org.el ("org-plot"): Help loading org-plot.
2088         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2089         (org-metadown-hook, org-shiftmetaleft-hook)
2090         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2091         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2092         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2093         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2094         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2096         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2097         for selecting files with any (and even without) extension.
2099         * org.el (org-save-all-org-buffers): Also save id locations.
2100         (org-revert-all-org-buffers): Also load id locations.
2102 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2103         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2104         (org-log-state-notes-into-drawer): New option.
2105         (org-add-log-setup): Place the sate note marker into the drawer,
2106         create drawer when necessary.
2107         (org-refile-targets): Document special interpretation of LEVEL
2108         when odd-levels are used.
2110 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2112         * org.el (org-store-log-note): Fix note indentation when adding
2113         notes to end of list.
2115         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2116         class, so that each keyword can get special colors through CSS.
2118         * org-clock.el (org-clock-out): Add another nil for the previous
2119         state into the call to `org-add-log-setup'.
2121         * org.el (org-log-note-previous-state): New variable.
2122         (org-log-note-headings): New %S escape for old state.
2123         (org-todo): Call the note setup with the old state as an
2124         argument.
2125         (org-add-note): Add another nil for the previous state into the
2126         call to `org-add-log-setup'.
2127         (org-add-log-setup): New argument PREV-STATE.
2128         (org-add-log-note): Handle new %S escape.
2129         (org-store-log-note): Handle new %S escape.
2131 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2133         * org-clock.el (org-clock-find-position): Do not swallow an item
2134         less indented than the CLOCK line itself.
2135         (org-clock-in): Push markers to lin after the clock line.
2136         (org-clock-find-position): Handle values of
2137         `org-clock-into-drawer' smaller than 2.
2139         * org-exp.el (org-html-level-start): Add a CSS class to section
2140         numbers.
2141         (org-export-html-toplevel-hlevel): Better documentation of the
2142         influence of this variables on H levels and css classes in
2143         export.
2145 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2147         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2148         timestamp and nottimestamp to the chooe menu.
2150         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2151         (org-revert-all-org-buffers): New command.
2153 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2155         * org.el (org-return): Implement `org-return-follows-link' in the
2156         function org-return.  This is more robust than using the mouse
2157         map, I think.
2158         (org-set-regexps-and-options): Match more general #+TODO lines.
2159         (org-make-options-regexp): New optional argument EXTRA, for an
2160         extra regexp.
2161         (org-tab-follows-link): Mark as deprecated.
2163 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2165         * org-exp.el (org-export-preprocess-string): Remove clock lines
2166         earlier, so that they cannot cotribute to verbatim snippets.
2168 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2170         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2171         for finding drawers.
2172         (org-export-as-ascii, org-export-as-html): Count levels relative
2173         to the subtree header.
2174         (org-get-min-level): New optional argument OFFSET.
2175         (org-export): Make sure point is restored after popping up that
2176         window.
2178         * org.el (org-do-sort): Also take an inactive timestamp if no
2179         active one is found.
2181         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2182         deleting duplicates.
2184         * org-colview.el (org-columns-capture-view): Copy before
2185         deleting duplicates.
2187         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2188         text before first headline.
2190         * org.el (org-format-latex): Do not convert LaTeX fragments in
2191         protected examples.
2193 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2195         * org-exp.el (org-export-html-style-default): Use color values
2196         instead of names for XHTML validation.
2198         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2199         functions.
2200         (org-return-follows-link): Revert making this the default untile
2201         issues are resolved.
2203         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2204         nottimestamp.
2206 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2208         * org.el (org-mode): Make dependence stuff work more reliably.
2209         (org-update-parent-todo-statistics): Fix bug with updating
2210         statistics cookie.
2212         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2213         ~ as verbatim delimiters.
2215         * org-exp.el (org-export-html-format-image): New argument
2216         PAR-OPEN.
2217         (org-export-as-html): Pass par-open to
2218         `org-export-html-format-image'.
2220 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2222         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2223         (org-use-fast-todo-selection, org-tags-column): New default
2224         setting for variables, based on a poll what typical uses use.
2226         * org-agenda.el (org-agenda-sorting-strategy)
2227         (org-agenda-tags-column): New default setting for variables, based
2228         on a poll what typical uses use.
2230 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2232         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2233         blocked entries from setting the blocked tag.
2235         * org-exp.el (org-export-html-footnotes-section): Use a more
2236         consistent id for footnotes.
2238         * org-export-latex.el (org-export-latex-classes): Remove the
2239         a4paper option from the default styles.
2241 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2243         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2244         (org-block-todo-from-checkboxes): New function.
2245         (org-todo): Make tripple prefix arg circumvent blocking.
2247         * org-timer.el (org-timer): Provide the timer feature.
2249         * org.el (org-require-autoloaded-modules): Add a few more files to
2250         the list of autoloaded modules.
2252         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2254 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2256         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2257         drawers that are unprotected.
2258         (org-export-html-format-image): Make sure inlined LaTeX fragment
2259         images remain inlined.
2261         * org.el (org-toggle-ordered-property): New function.
2262         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2263         (org-org-menu): Add menu entries for TODO dependencies.
2265 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2267         * org.el (org-default-properties): Add ORDERED to the default
2268         properties, to get completion support for it.
2270         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2272         * org.el (org-update-parent-todo-statistics): Update more than one
2273         cookie.
2275         * org-agenda.el (org-agenda-get-todos): Start search from correct
2276         position.
2278         * org.el (org-fast-todo-selection): Make sure TODO selection does
2279         not change buffer position.
2281         * org-list.el (org-toggle-checkbox): Implement adding or removing
2282         checkboxes from line or region when called with a prefix
2283         argument.
2285         * org-rmail.el (org-rmail-store-link): Protect the call to
2286         `rmail-narrow-to-non-pruned-header'.
2288         * org-clock.el (org-clock-special-range): Fix week display in
2289         clock tables.
2291         * org-exp.el (org-get-current-options): Fix bug when in indirect
2292         buffer.
2294 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2296         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2297         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2298         (org-agenda-dim-blocked-tasks): New function.
2300         * org.el (org-enforce-todo-dependencies): New option.
2301         (org-block-todo-from-children-or-siblings): New function.
2303         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2305         * org.el (org-todo): Return correct state type even if the blocker
2306         throws an error.
2307         (org-modifier-cursor-error): Renamed from
2308         `org-shiftcursor-error'.
2309         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2310         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2312         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2313         to get real errors from the blocker hook.
2315         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2316         functions.
2317         (org-set-visibility-according-to-property): Turn off the setting
2318         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2319         property.
2321 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2323         * org.el (org-support-shift-select): New option.
2324         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2325         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2326         selection outside contexts.
2328         * org-list.el (org-at-item-bullet-p): New function.
2330         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2331         variables.
2333         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2334         variable.
2335         (org-insert-footnote-reference-near-definition): Remove
2336         unnecessary let form.
2338         * org-export-latex.el (org-export-latex-first-lines): Add
2339         OPT-PLIST parameter.
2340         (org-export-as-latex): Call `org-export-latex-first-lines' with
2341         opt-plits parameter.
2342         (org-export-latex-preprocess): Remove unnecessary variables.
2344         * org-exp.el (org-infile-export-plist)
2345         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2346         (org-export-remove-headline-metadata)
2347         (org-export-get-title-from-subtree, org-get-min-level)
2348         (org-html-do-expand): Remove innecessary let form.
2350         * org-colview-xemacs.el (org-columns-display-here): Remove
2351         unnecessary variables.
2353         * org-colview.el (org-columns-display-here): Remove unnecessary
2354         variables.
2356         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2357         variables.
2359         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2360         unnecessary variables.
2362         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2363         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2364         variables.
2366         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2367         (org-compact-display-after-subtree-move): Remove unnecessary
2368         variables.
2369         (org-edit-fixed-width-region): Remove unnecessary variables.
2370         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2371         (org-olpath-completing-read): Remove unnecessary variable.
2372         (org-auto-repeat-maybe): Remove unnecessary variable.
2373         (org-map-entries): Remove unnecessary variable.
2374         (org-buffer-property-keys, org-imenu-get-tree)
2375         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2377 -----------------------------------------------------------------
2379 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2380         * org-exp.el (org-export-remove-timestamps): Never remove
2381         timestamps from tables.
2383         * org-export-latex.el (org-export-latex-first-lines): Add more
2384         options to the preprocessing of the text before the first
2385         headline.
2387 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
2389         * org-faces.el (org-clock-overlay): Make face compatible with
2390         XEmacs.
2392         * org.el (org-yank): Add property for delete-selection mode.
2394         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2396         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2397         variable.
2399         * org-table.el (org-table-insert-hline): Fix typo in fuction call
2400         to `backward-char'.
2402         * org-exp.el (org-export-as-html): Remove the initial space from
2403         colon examples.
2405         * org.el (org-scan-tags): Call
2406         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2408         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2409         customization groups.
2410         (org-agenda-tags-todo-honor-ignore-options): New option.
2411         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2412         New function.
2413         (org-agenda-get-todos): Use
2414         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2416 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
2418         * org-exp.el (org-export-format-source-code-or-example): Escape
2419         HTML characters also in examples that anre not treated with
2420         htmlize.  Also, just switch to EXAMPLE processing if we do not
2421         have a good version of htmlize.
2423         * org-rmail.el: Fix copyright notice.
2425         * org.el (org-activate-footnote-links): Improve footnote link
2426         highlighting.
2428         * org-footnote.el (org-footnote-normalize): Fix finding the end of
2429         a footnote definition at the end of the file.
2431         * org-table.el (org-table-get-specials): Add an imagined hline at
2432         the end of the table.  This can be useful for references that want
2433         to go to the end of the table.  Also fix bug when computing last
2434         row constants, in tables that do not start right at the right
2435         margin.
2436         (org-table-eval-formula): Match and replace remove references.
2437         (org-table-formula-substitute-names): Make sure that names inside
2438         a "remote" call are left alone, the will be replaced later when
2439         the remote call is handled.
2440         (org-table-convert-refs-to-rc): Do not convert things that might
2441         look like a reference, but are really part of an ID or namei n a
2442         remote reference.
2443         (org-table-get-remote-range): New function.
2445 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
2447         * org-faces.el (org-clock-overlay): Fix bug in face definition.
2449         * org-clock.el (org-clock-put-overlay): Use new face instead of
2450         `secondary-selection'.
2452         * org-faces.el (org-clock-overlay): New face.
2454 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
2456         * org-exp.el (org-get-current-options): Include the option for
2457         publishing time stamps.
2459         * org.el (org-toggle-heading): Renamed from
2460         `org-toggel-region-headings'.
2461         No longer needs a region defined, but will use it if there is one.
2462         (org-ctrl-c-star): Simplified, relying more on the internal
2463         workings of `org-toggle-heading'.
2464         (org-toggle-item): Renamed from `org-toggle-region-items'.
2465         No longer needs a region defined, but will use it if there is one.
2466         (org-ctrl-c-minus): Simplified, relying more on the inernal
2467         workings of `org-toggle-item'.
2469         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2470         environment detection.  Also, do real changes only in unprotected
2471         places.
2473 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
2475         * org-export-latex.el (org-export-latex-quotation-marks): Use
2476         `org-if-unprotected-1'.
2477         (org-export-latex-set-initial-vars): Check for class definition in
2478         property.
2480         * org-macs.el (org-if-unprotected-1): New macro.
2482 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
2484         * org-compat.el (org-count-lines): New function.
2486         * org-exp.el (org-export-format-source-code-or-example): Handle
2487         switches related to text areas.
2489         * org.el (org-activate-footnote-links): Don't allow match inside a
2490         link.
2492         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2494         * org-export-latex.el (org-export-latex-links): Keep a relative
2495         path relative also after export.
2497         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2499         * org.el (org-make-tags-matcher): Never use IDO for completing the
2500         tags matcher match string.
2501         (org-completing-read): Also remove the special biding for "?".
2503         * org-attach.el (org-attach-allow-inheritance): New option.
2504         (org-attach-inherited): New variable.
2505         (org-attach-dir): Handle properties related to the attachment
2506         directory.
2507         (org-attach-check-absolute-path): New function.
2508         (org-attach-set-directory, org-attach-set-inherit): New commands.
2509         (org-attach): Accommodate the new commands in the dispatcher.
2511 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
2513         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2514         `window-full-width-p'.
2516         * org-exp.el (org-export-as-html): Only check for images files
2517         that really can be inlined
2519         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2520         list of extensions to be a parameter.
2522         * org-exp.el (org-export-html-inline-image-extensions): New
2523         variable.
2525         * org-agenda.el (org-prepare-agenda): Use
2526         `org-agenda-block-separator'.
2527         (org-agenda-block-separator): New option.
2529 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
2531         * org-export-latex.el (org-export-latex-tables): Call
2532         `org-table-clean-before-export' with the new optional argument.
2534         * org-exp.el (org-table-clean-before-export): New optional
2535         parameter MAYBE-QUOTED, allows for quoted characters like \# in
2536         first column.
2538 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
2540         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2541         histograms.
2543         * org-colview.el (org-colview-construct-allowed-dates): Better
2544         error catching when a date/time property does not have allowed
2545         values defined.
2547         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2548         Better error catching when a date/time property does not have
2549         allowed values defined.
2551 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
2553         * org.el (org-map-entries): Restore point and restriction after
2554         `org-map-entries'.
2556 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
2558         * org.el (org-time=, org-time<, org-time<=, org-time>)
2559         (org-time>=, org-time<>): Make sure both values are dates.
2561 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
2563         * org-archive.el (org-extract-archive-heading): Allow %s for file
2564         name also in achive location heading.
2566 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
2568         * org-archive.el (org-add-archive-files): Uniquify the list before
2569         returning it.
2571 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
2573         * org-compat.el (org-fit-window-to-buffer): Use
2574         `window-full-width-p'.
2576         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2577         space after the colon in short examples.
2579         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2580         enforce a space after the colon.  However, we also allow lines
2581         that are *only* a colon.
2582         (org-export-as-html): Enforce the space after the colon in short
2583         examples.
2584         (org-export-preprocess-string): Do the colon example protection
2585         earlier.
2586         (org-export-remove-timestamps): Do not check for protection at the
2587         end of the line.
2589 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
2591         * org.el (org-format-latex-options): Add new matcher for single
2592         letters between dollars.
2593         (org-get-header): Function removed.
2594         (org-heading-components): New function.
2596         * org-exp.el (org-export-define-heading-targets): Record ID's also
2597         as alternative targets.
2598         (org-export-as-html): Interpret "id:" links to other files by
2599         preserving the relative path.
2601         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2602         is nil.
2604         * org-exp.el (org-export-normalize-links): Protect the main link,
2605         to avoid special character processing.
2607         * org-export-latex.el (org-export-latex-special-keyword-regexp):
2608         New variable.
2609         (org-export-latex-special-string-regexps): Variable removed.
2610         (org-export-latex-keywords): Use the new regexp.
2612         * org-exp.el (org-export-handle-include-files): Fetch switches and
2613         put them into the BEGIN statement.
2615         * org-timer.el (org-timer-mode-line-string): New variable.
2617         * org-clock.el (org-clock-mode-line-map): Renamed from
2618         `org-clock-mode-map'.
2619         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2620         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2621         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2622         (org-clock-remove-overlays): Renamed from
2623         `org-remove-clock-overlays'.
2625         * org-timer.el (org-timer-pause-or-continue): Implement stopping
2626         and mode line display.
2627         (org-timer-stop): New command.
2628         (org-timer-seconds): Return correct time when timer is paused.
2629         (org-timer-mode-line-timer): New variable.
2630         (org-timer-set-mode-line, org-timer-update-mode-line): New
2631         functions.
2633         * org.el (org-insert-heading):  Handle new value `auto' for
2634         `org-blank-before-new-entry'.
2635         (org-org-menu): Add new items for timer functions.
2637         * org-list.el (org-insert-item): Handle new value `auto' for
2638         `org-blank-before-new-entry'.
2640         * org.el (org-blank-before-new-entry): New value `auto', made
2641         default.
2643 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2645         * org-exp.el (org-export-normalize-links): If the link is also
2646         used as the description, protect the description.
2648 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2650         * org.el (org-closest-date): Fix bug with yearly repeats, in
2651         combination with preference of the past as it is used for deadline
2652         and scheduling search.
2654         * org-exp.el (org-html-handle-time-stamps): No longer check for
2655         the `org-export-with-timestamps' option, because the preprocesser
2656         has taken care of this already.
2658         * org.el (org-entry-properties): Catch the case when this is
2659         called in a non-org-mode file.
2661         * org-export-latex.el (org-export-latex-remove-from-headlines):
2662         Variable made obsolete, also LaTeX export now uses the standard
2663         variables.
2664         (org-export-as-latex): Add the timestamps parameter to the
2665         preprocessor parameter list.
2666         (org-export-latex-content): Export the remaining keywords without
2667         considering to remove them.
2668         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2669         Use bold font instead of tt font for the keywords.
2670         (org-export-latex-fontify-headline): Format headlines, assuming
2671         that all keywords still present should be published.
2672         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2673         publish what ever remains of the time stamps.
2674         (org-export-latex-list-parameters): New option.
2675         (org-export-latex-lists): Pass additional parameters to the list
2676         converter.
2678         * org-exp.el (org-export-preprocess-string): Remove clock lines
2679         and timestamps already in the preprocesor.
2680         (org-export-remove-timestamps, org-export-remove-clock-lines): New
2681         functions.
2682         (org-export-as-ascii, org-export-as-html): Add the timestamps
2683         parameter to the preprocessor parameter list.
2685         * org-list.el (org-list-parse-list): Parse for checkboxes.
2686         (org-list-to-generic): Introduce and handle new parameters :cbon
2687         and :cboff.
2688         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2689         optional parameter PARAMS.
2691         * org-export-latex.el (org-export-latex-special-chars): Fix
2692         problems with interpreting dollar signs.
2693         (org-inside-latex-math-p): New function.
2694         (org-export-latex-preprocess): Protect all the math fragments.
2696         * org.el (org-latex-regexps): Allow a dash after a dollar.
2698         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2699         mark after copying.
2701         * org-agenda.el (org-run-agenda-series): Have series options set
2702         when finalizing the agenda.
2704         * org-exp.el (org-export-format-source-code-or-example): Protect
2705         the converted examples.
2707         * org.el (org-set-regexps-and-options): Fix the regexp
2708         `org-complex-heading-regexp'.
2710 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
2712         * org.el (org-edit-src-get-label-format): New function.
2713         (org-coderef-label-format): New option.
2714         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2715         a label format specification and make sure it is used in the edit
2716         buffer.
2717         (org-edit-src-get-label-format): New function.
2718         (org-store-link): Handle new coderef formats.
2719         (org-link-search): Handle new coderef formats.
2721         * org-footnote.el (org-footnote-create-definition)
2722         (org-footnote-goto-local-insertion-point): Make footnote insertion
2723         work correctly when the "Footnotes" headline is the last line in
2724         the buffer.
2726         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2727         the location.
2729 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
2731         * org-w3m.el (org-w3m): New customization group.
2732         (org-w3m-deactivate-mark): New option.
2733         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2734         option say not to.
2736 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
2738         * org.el (org-set-font-lock-defaults): Trigger footnote
2739         fontification.
2740         (org-activate-footnote-links): New function.
2741         (org-activate-links): New entry `footnote'.
2743         * org-faces.el (org-footnote): New face.
2745 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
2747         * org-macs.el (org-re): Handle the [:word:] class.
2749         * org-exp.el (org-export-preprocess-string): Call
2750         `org-export-protect-colon-examples'.
2751         (org-export-protect-colon-examples): Renamed from
2752         `org-export-protect-examples', and scope limited to lines starting
2753         with a colon.
2755 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
2757         * org-exp.el (org-export-preprocess-string): Move the preprocess
2758         hook to after turning on Org-mode.
2759         (org-export-preprocess-after-include-files-hook)
2760         (org-export-preprocess-after-tree-selection-hook)
2761         (org-export-preprocess-before-backend-specifics-hook)
2762         (org-export-preprocess-final-hook): New hooks.
2763         (org-export-preprocess-string): Run the new hooks.
2765         * org.el (org-ctrl-c-minus): Fix indentation for new items.
2767         * org-footnote.el: New file.
2769         * org.el (org-footnote): Require footnote code.
2770         (org-startup-options): Add new footnote options.
2771         (org-mode-map): New keybindig for footnotes.
2772         (org-ctrl-c-ctrl-c): Add function at footnotes.
2773         (org-org-menu): New menu entries for footnotes.
2775         * org-export-latex.el (org-export-as-latex): Pass footnote
2776         variable to preprocessor.
2777         (org-export-latex-preprocess): Treat multiple references to a
2778         footnote.
2780         * org-exp.el (org-export-preprocess-string): Call
2781         `org-footnote-normalize'.
2782         (org-export-as-ascii, org-export-as-html): Pass footnote variable
2783         to preprocessor.
2784         (org-export-as-html): Treat multiple references to a footnote.
2786 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
2788         * org-export-latex.el (org-export-latex-links): Handle coderef
2789         links.
2791         * org.el (org-bracket-link-analytic-regexp++): New variable.
2792         (org-make-link-regexps): Initialize
2793         `org-bracket-link-analytic-regexp++'.
2794         (org-store-link): Implement special case in edit-src buffer.
2795         (org-insert-link): No use of ide to insert stored links.
2796         (org-link-search): Implement special case for coderefs.
2798         * org-exp.el (org-export-html-scripts): New constant.
2799         (org-export-html-style-default): Add a new style for highlighted
2800         code.
2801         (org-export-code-refs): New variable.
2802         (org-export-preprocess-string): Initialize `org-export-code-refs'.
2803         Call `org-export-replace-src-segments-and-examples'
2804         No longer call `org-export-protect-examples'.
2805         (org-export-target-internal-links): Take care of coderef targets.
2806         (org-export-last-code-line-counter-value): New variable.
2807         (org-export-replace-src-segments-and-examples): Renamed from
2808         `org-export-replace-src-segments', and modified.
2809         (org-export-format-source-code-or-example): Renamed from
2810         `org-export-format-source-code'.
2811         (org-export-number-lines): New function.
2812         (org-export-as-ascii, org-export-as-html): Handle coderef links.
2814 --------------------------------------------------------------------------
2816 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
2818         * org-remember.el (org-remember-handler): Safer way to get a new
2819         buffer accessing the target file.
2821         * org.el (org-refile-get-location): Handle case of current buffer
2822         not having a file associated with it.
2824 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
2826         * org-table.el (org-table-get-formula): Only ask to overwrite
2827         field formula if there really is one.
2829         * org-id.el (org-id-find): Allow the ID to be a symbol or a
2830         number, by converting these to a string.
2832         * org-colview.el (org-dblock-write:columnview): Allow ID to be
2833         located in a different file.
2835         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2836         org-colview.el.
2838 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
2840         * org.el (org-completion-use-ido): Enhance docstring of
2841         `org-completion-use-ido'.
2843         * org-export-latex.el (org-export-latex-make-header): Double the %
2844         in the time stamp format.
2845         (org-export-latex-special-chars): Handle case where there is no
2846         match group 3.
2848 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
2850         * org.el (org-get-refile-targets, org-refile-get-location): Use
2851         expanded file name to improve comparison.
2853 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
2855         * org.el (org-scan-tags): Rescan for tags, to get the correct
2856         upcase/downcase stuff.  This slows things down for now, but it
2857         works.
2858         (org-mode): Make sure the tag-faces regexp is initialized.
2860         * org-export-latex.el (org-export-latex-links): Fix bug with
2861         undefined label.
2863         * org-table.el (org-table-get-specials): Set
2864         `org-table-current-last-data-line'.
2865         (org-table-current-last-data-line): New variable.
2866         (org-table-insert-column, org-table-delete-column)
2867         (org-table-move-column, org-table-fix-formulas): Call
2868         `org-table-fix-formulas' a second time to fix the $LR references.
2869         (org-table-get-specials): Add the $LR references to the tables.
2870         (org-table-get-formula): Do not offer last-row names as LHS of
2871         formulas.
2873         * org.el (org-store-link): Capture link description from
2874         `org-id-store-link'.
2876         * org-exp.el (org-export-html-format-image): Add the / to the end
2877         of the <img> tag.
2878         (org-export-format-source-code): Surround example by empty lines,
2879         to make sure it will not be inside a paragraph.
2881         * org.el (org-ido-switchb): New function.
2883 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
2885         * org-agenda.el (org-agenda-show): New prefix argument
2886         FULL-ENTRY.
2888         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2889         argument.
2891         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2892         `org-agenda-change-all-lines'.
2893         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2894         tags are now retrieved locally.
2896 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-get-outline-path): Fix bug if level is not given.
2899         (org-org-menu): Do not quote function in menu vector.
2901         * org-agenda.el (org-finalize-agenda): Fix typo with variable
2902         name.
2904 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
2906         * org.el (org-refile): Avoid refiling to within the region to be
2907         refiled.
2909         * org-export-latex.el (org-export-latex-special-chars): Replace
2910         special characters also in tables.
2912         * org-agenda.el (org-agenda-change-all-lines): New argument
2913         FORCE-TAGS.
2914         (org-agenda-set-tags): Cet the new tags and pass them to
2915         `org-format-agenda-item'.
2917 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
2919         * org-export-latex.el (org-export-latex-classes): Add longable as
2920         a default package to all classes.
2921         (org-export-latex-tables): Handle the longtable attribute and the
2922         align attribute.
2924         * org-table.el (orgtbl-to-generic): Handle tables that start with
2925         a hline.
2927         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2928         \verb for colde-like snippets.
2929         (org-export-as-latex): Fix issues with region export.
2931         * org.el (org-up-heading-safe): Speed up function by using a
2932         direct regexp search.
2933         (org-olpa): New variable.
2934         (org-get-outline-path): Speed-up path constructions in cases where
2935         this is possible because the entire hierarchy is scanned anyway.
2936         (org-refile-get-location): Don't compare the truenames of files,
2937         this is too slow.
2938         (org-goto-max-level): New option.
2939         (org-goto): Use `org-goto-max-level'.
2941 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
2943         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2944         Strip angle brackets from message-ids in the former and don't do
2945         it in the latter.
2946         (org-gnus-follow-link): Open summary reliable, even if the last
2947         messages were deleted, and handle empty groups, too.
2949 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
2951         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2952         instead of \texttt for the =...= and ~===~ emphasis environments.
2953         (org-export-as-latex): Remove any old :org-license-to-kill text
2954         properties.
2955         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2956         (org-export-latex-make-header): Add some hard space after the
2957         table of contents.
2958         (org-export-latex-first-lines): Accept RBEG argument.  Mark
2959         exported text so that it will be excuded in further steps.
2961         * org-table.el (org-table-get-specials): Make @0 reference the
2962         last line in a table.
2963         (org-table-recalculate): Improve docstring.
2965 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
2967         * org.el (org-log-done): Fix docstring.
2969 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
2971         * org-exp.el (org-export-html-format-image): Fix bugs.
2973         * org-export-latex.el (org-export-latex-tables)
2974         (org-export-latex-links): Implement attribute, label, and caption
2975         handling.
2977         * org-exp.el (org-export-html-style-default): Add style
2978         definitions for the figure div.
2979         (org-export-preprocess-string, org-export-as-html): Implement
2980         attribute, label, and caption handling.
2981         (org-export-attach-captions-and-attributes): New function.
2982         (org-export-html-format-image): New function.
2983         (org-format-org-table-html): Implement attribute, label, and
2984         caption handling.
2986         * org.el (org-find-text-property-in-string): New function.
2987         (org-extract-attributes): Use the property org-attr instead of
2988         org-attrobutes, because this property is now set with the #+ATTR
2989         lines.
2991 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
2993         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2994         the case that FROM is nil.
2996         * org.el (org-before-first-heading-p): New function.
2998 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3000         * org-exp.el (org-export-as-html): Do not add a space before
3001         enforces line breaks.
3002         (org-export-as-html): Close paragraph before blockquote and verse
3003         tags.
3005 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org-id.el (org-id-locations-file): Wrap file name with
3008         `convert-standard-filename'.
3009         (org-id-files): New variable.
3010         (org-id-use-hash): New option.
3011         (org-id-update-id-locations): Also search in all files current
3012         listed in `org-id-files'.  Convert the resulting alist to a hash
3013         if the user customation says so.
3014         (org-id-locations-save): Handle he case if `org-id-locations' is a
3015         hash.
3016         (org-id-locations-load): Convert the alist to a hash.
3017         (org-id-add-location): Handle the hast case.
3018         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3019         exited.
3020         (org-id-hash-to-alist, org-id-alist-to-hash)
3021         (org-id-paste-tracker): New functions.
3023 -------------------------------------------------------------------------
3025 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3027         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3028         bindings of calendar variables.
3030         * org-table.el (org-table-find-row-type): Renamed from
3031         `org-find-row-type'.
3032         (org-table-rewrite-old-row-references): Renamed from
3033         `org-rewrite-old-row-references'.
3034         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3035         (org-table-cleanup-narrow-column-properties): Renamed from
3036         `org-cleanup-narrow-column-properties'.
3038 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3040         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3041         for better error messages.
3042         (org-table-get-descriptor-line): Supply the new arguments to
3043         `org-find-row-type'.
3044         (org-table-error-on-row-ref-crossing-hline): New option.
3046         * org.el (org-target-link-regexp): Make buffer-local.
3047         (org-move-subtree-down): Fix bug with trees at beginning of
3048         buffer.
3050 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3052         * org-faces.el (org-set-tag-faces): New function.
3053         (org-tags-special-faces-re): New variable.
3055         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3057         * org-faces.el (org-tag-faces): New option.
3058         (org-tag): Mention `org-tag-faces' in the docstring.
3060 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3062         * org-exp.el (org-export-html-style-default): Implement new
3063         quoting.
3065         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3067         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3068         command to the `w3m-minor-mode-map'.
3070         * org-archive.el (org-archive-to-archive-sibling): Protect
3071         `this-command' to avoid appending kills during archiving.
3073         * org-exp.el (org-export-with-priority): New variable.
3074         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3075         instead of internal list of strings and properties.
3076         (org-print-icalendar-entries): Retrieve the location property with
3077         inheritance.
3079 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3081         * org-exp.el (org-export-with-todo-keywords): New option.
3082         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3083         line.
3084         (org-default-export-plist, org-export-add-options-to-plist)
3085         (org-export-as-ascii, org-export-as-html): Use the new structure
3086         of `org-export-plist-vars'.
3088         * org.el (org-map-entries): Return all values.
3090 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3092         * org.el (org-matcher-time): Recognize more special values.
3094         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3096 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3098         * org.el (org-tags-exclude-from-inheritance): New option.
3099         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3100         `org-tags-exclude-from-inheritance'.
3102         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3103         (org-format-agenda-item): Add inherited tags to the agenda line
3104         string, and make sure that properties are kept when downcasing the
3105         tags list.
3106         (org-agenda-add-inherited-tags): New function.
3107         (org-downcase-keep-props): New function.
3109         * org.el (org-scan-tags): Mark inherited tags with a text
3110         property.
3111         (org-get-tags-at): Mark inherited tags with a text property.
3112         (org-add-prop-inherited): New function.
3114         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3115         (org-agenda-show-inherited-tags): New option.
3117 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3119         * org.el (org-modules): Add org-w3m to the default modules.
3121         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3122         orgtbl-mode.
3123         (orgtabl-create-or-convert-from-region): New command.
3125         * org-exp.el (org-export-as-ascii): Remove the handling of
3126         targets.
3127         (org-export-ascii-preprocess): Handle targets already in this
3128         function.
3130 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3132         * org-timer.el (org-timer-start-time): Define this variable.
3133         (org-timer-item): Make argument optional.
3135         * org-list.el (org-insert-item): Automatically insert a timer item
3136         if the current list is a timer list.
3138         * org-timer.el: New file.
3140         * org-publish.el (org-publish-org-index): Only exclude the index
3141         file in the main directory from being added to the site-map.
3142         (org-publish-get-project-from-filename): If the current project is
3143         a component, start publishing from the parent project.
3145 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3147         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3149         * org-publish.el (org-publish-org-index): Improve removal of
3150         temporary buffers.
3152         * org-agenda.el (org-get-closed): Re-apply changes
3153         accidentially overwritten by last commit to Emacs.
3155         * org.el (org-outline-path-complete-in-steps): New option.
3156         (org-refile-get-location): Honor
3157         `org-outline-path-complete-in-steps'.
3158         (org-agenda-change-all-lines, org-tags-sparse-tree)
3159         (org-time-string-to-absolute, org-small-year-to-year)
3160         (org-link-escape): Re-apply changes accidentially overwritten
3161         by last commit to Emacs.
3163 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3165         * org-clock.el (org-dblock-write:clocktable): Make sure the
3166         clocktable sees the first line.
3167         (org-clock-in): Warn if the clock cannot be resumed.
3169 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3171         * org.el (org-open-at-point): Fix mixup about interactive and
3172         non-interactive elisp links.
3174 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3176         * org-exp.el (org-export-preprocess-string): Allow one comment
3177         line before the first headline to always be included.  This is
3178         to not miss a commented target.
3180         * org-mouse.el (org-mouse-insert-item): Call
3181         `org-indent-to-column' instead of `indent-to', for XEmacs
3182         compatibility.
3184         * org.el (org-refile-targets): Fix customize definition so
3185         that it works also in XEmacs.
3186         (org-fixup-indentation): Call `org-indent-to-column' instead
3187         of `indent-to', for XEmacs compatibility.
3189 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3191         * org-mew.el (org-mew-store-link): Get the correct case folder
3192         for refiled messages.
3194 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3197         line break indicators.
3199         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3200         ido-completion propts.
3202 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3204         * org-remember.el (org-remember-apply-template): Use
3205         `org-substring-no-properties'.
3207         * org-compat.el (org-substring-no-properties): New function.
3209         * org-remember.el (org-remember-apply-template): Use
3210         `org-substring-no-properties' for compatibility.
3212         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3213         option.
3214         (org-fix-bullet-type): respect
3215         `org-list-two-spaces-after-bullet-regexp'.
3217         * org-clock.el (org-clock-load): Clean up the code.
3219         * org.el (org-adaptive-fill-function): Allow two spaces after
3220         "1." as a list bullet.
3222 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3224         * org-clock.el (org-clock-save, org-clock-load): Check for
3225         live buffers, existing files, and buffer file names to ensure
3226         consistent information.
3227         (org-clock-persist): Make `clock' a special value of this
3228         variable, and improve docstring.
3230         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3231         (org-get-string-indentation): Adapt indentation when the bullet
3232         width changes.
3234 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3236         * org-remember.el (org-remember-finalize): Make interactive.
3237         (org-remember-kill): New command.
3238         (org-remember-finish-immediately): Call `org-remember-finalize'
3239         directly.
3240         (org-remember-finalize): Make `org-remember-finalize' an interactive
3241         function.
3243 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3245         * org-remember.el (org-remember-apply-template): No ido completion
3246         for free prompts in remember templates.
3247         (org-remember-before-finalize-hook): New hook.
3248         (org-remember-mode): New minor mode.
3249         (org-remember-apply-template): Turn on `org-remember-mode'.
3251         * org-id.el (org-id-add-location): Avoid error when no file is
3252         given.
3254         * org-remember.el (org-remember-apply-template): Fix the way how
3255         the list of allowed properties is retrieved from the target file.
3257         * org.el (org-insert-link): Improve file link matching.
3259 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3261         * org-colview.el (org-columns-display-here): New argument
3262         DATELINE, to trigger using the new face.
3263         (org-agenda-colview-summarize): Call `org-columns-display-here'
3264         with the new argument.
3266         * org-faces.el (org-agenda-column-dateline): New face.
3268         * org-publish.el (org-publish-org-index): Use index-title at page
3269         title, not as section.
3271         * org-exp.el (org-export-html-format-desc): Respect the
3272         org-protect property.
3273         (org-export-as-html): Protect image specifiers that are in the
3274         description part of a link.
3276         * org.el (org-sort-entries-or-items, org-completing-read)
3277         (org-refile-get-location, org-olpath-completing-read, org-todo)
3278         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3279         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3280         (org-set-property, org-delete-property)
3281         (org-delete-property-globally): Use `org-ido-completing-read'.
3283         * org-remember.el (org-remember-apply-template): Use
3284         `org-ido-completing-read'.
3286         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3288         * org-colview.el (org-columns-edit-value, org-columns-new)
3289         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3291         * org-colview-xemacs.el (org-columns-edit-value)
3292         (org-columns-new, org-insert-columns-dblock): Use
3293         `org-ido-completing-read'.
3295         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3296         `org-ido-completing-read'.
3298         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3299         `org-ido-completing-read'.
3301         * org.el (org-time-today): New function.
3302         (org-matcher-time): Use `org-time-today'.  Add special treatment
3303         for "<tomorrow>" and "<yesterday>".
3304         (org-ido-completing-read): New function.
3305         (org-completion-use-ido): New option.
3307         * org-exp.el (org-export-format-source-code): Fix bug in require
3308         htmlize code.
3309         (org-export-target-internal-links): Fix bug in search for text
3310         property.
3312 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3314         * org-export-latex.el (org-export-latex-subcontent): Interprete
3315         target aliases as additonal labels.
3317         * org-exp.el (org-export-target-aliases): New variable.
3318         (org-export-preprocess-string)
3319         (org-export-handle-invisible-targets): Fill the alias alist.
3320         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3321         assign an id.
3322         (org-html-level-start): Insert the target aliases as additonal
3323         anchors.
3325         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3326         picture area.
3328 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3330         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3331         when following a link with the mouse from the agenda.
3333         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3334         headlines are created.
3336 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3338         * org-exp.el (org-export-preprocess-string): Reorder so that we
3339         can still see ID properties when we collect targets.
3340         (org-export-target-internal-links): Also store targets for ID's.
3342         * org.el (org-link-translation-function): New option.
3343         (org-open-at-point): Call `org-link-translation-function' if
3344         non-nil.
3345         (org-translate-link): New function.
3346         (org-translate-link-from-planner): New function.
3347         (org-open-at-point): Allow interactive commands in elisp links.
3349         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3350         iCalendar quoting.  The new one seems to caus problems with
3351         applications.
3353         * org.el (org-yank): Set `this-command' to `yank', so that
3354         `yank-pop' will work.
3356 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org-id.el (org-id-search-archives): New option.
3360         * org.el (org-link-to-org-use-id): New option.
3361         (org-store-link): Use `org-link-to-org-use-id'.
3362         (org-id): Make org-id.el a standard component.
3364 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3366         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3367         hexified version of the tag.
3369         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3370         compliance as far as quoting is concerned.
3372         * org-vm.el (org-vm-follow-link): Require `vm-search'.
3374         * org.el (org-up-heading-safe, org-forward-same-level): Always
3375         call `org-back-to-heading' instead of `outline-back-to-heading'.
3376         (org-back-to-heading): New wrapper around outline-back-to-heading,
3377         with a useful error message telling where the error happened.
3379         * org-list.el (org-update-checkbox-count): Always call
3380         `org-back-to-heading' instead of `outline-back-to-heading'.
3382         * org-exp.el (org-export-as-html): Make sure that each <img> tag
3383         has an `alt' attribute, to ensure XHTML validation.
3385 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3387         * org-publish.el (org-publish-attachment): Allow publishing to
3388         overwrite attachment files.
3390         * org-agenda.el (org-agenda-timerange-leaders): New option.
3391         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3393         * org.el (org-edit-src-exit): Untabify ASCII image before
3394         returning.
3407 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
3409         * org.el (org-yank): Make any prefix force normal yanking.
3410         Suppress folding if text would be swallowed into a folded
3411         subtree.
3412         (org-yank-folded-subtrees, org-yank): Docstring updates.
3414         * org-agenda.el (org-agenda-compare-effort): Treat no effort
3415         defined as 0.
3417         * org-exp.el (org-export-language-setup): Add Catalan and
3418         Esperanto language entries.
3420 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
3422         * org.el (org-refile): Allow refiling of entire regions.
3424         * org-clock.el (org-clock-time%): New function.
3426         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3427         retrieve property values.
3429 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3431         * org-agenda.el (org-agenda-list): Handle the value `only' of
3432         org-agenda-show-log'.
3433         (org-agenda-log-mode): Interpret a double prefix arg.
3435 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
3437         * org-exp.el (org-export-html-footnotes-section): New variable.
3438         (org-export-as-html): Use `org-export-html-footnotes-section' to
3439         insert the footnotes.
3440         (org-export-language-setup): Add "Footnotes" to language words.
3442 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
3444         * org.el (org-yank): Fix bug when not inserting a subtree.
3446 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
3448         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3449         instead of `vm-beginning-of-message'.
3451         * org.el (org-make-link-regexps): Make sure that links to gnus can
3452         contain brackets.
3454 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
3456         * org-attach.el (org-attach-dir): Remove duplicate ID creation
3457         code.
3459         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3460         shell output.
3462         * org.el (org-link-abbrev-alist): Improve customization type.
3464         * org-attach.el (org-attach-expand-link, org-attach-expand): New
3465         functions.
3467         * org-agenda.el (org-agenda-get-progress): Renamed from
3468         `org-get-closed'.  Implement searching for state changes as well.
3469         (org-agenda-log-mode-items): New option.
3470         (org-agenda-log-mode): New option prefix argument, interpreted as
3471         request to show all possible progress info.
3472         (org-agenda-get-day-entries): Call `org-get-progress' instead of
3473         `org-get-closed'.
3474         (org-agenda-set-mode-name): Handle the more complex log mode
3475         settings.
3476         (org-get-closed): New alias, pointing to `org-get-progress'.
3478 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
3480         * org.el (org-file-apps-defaults-gnu)
3481         (org-file-apps-defaults-macosx)
3482         (org-file-apps-defaults-windowsnt): Add an entry defining the
3483         system command.
3484         (org-file-apps): Allow `system' as key and value.
3485         (org-open-at-point): Explain the effect of a double prefix arg.
3486         (org-open-file): If the argument `in-emacs' is (16),
3487         i.e. corresponding to a double prefix argument, try to open the
3488         file externally.
3490 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
3492         * org.el (org-insert-link): Abbreviate absolute files names in
3493         links.  Also, fix a bug in which the double C-u prefix would not
3494         be honored.
3496 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
3498         * org.el (org-insert-heading): If buffer does not end with a
3499         newline, add one if necessary to insert headline correctly.
3501         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3502         paragraphs, not inside.
3504         * org.el (org-todo): Quote
3505         `org-agenda-headline-snapshot-before-repeat'.
3507         * org-exp.el (org-export-as-html): Fully process link descriptions.
3508         (org-export-html-format-desc): New function.
3509         (org-export-as-html): Collect footnotes into the correct basket.
3510         (org-html-protect): No longer protect quotations marks here, this
3511         goes wrong.
3513         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3514         BEG.
3516         * org-compat.el (org-fit-window-to-buffer): New function (not
3517         really, a preliminary and incomplete version was present earlier,
3518         but not used).
3520         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3521         `org-fit-window-to-buffer'.
3523         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3525         * org-agenda.el (org-agenda-get-restriction-and-command)
3526         (org-fit-agenda-window, org-agenda-convert-date): Use
3527         `org-fit-window-to-buffer'.
3529         * org-exp.el (org-export-as-html): Process href links through
3530         `org-export-html-format-href'.
3531         (org-export-html-format-href): New function.
3533         * org-agenda.el (org-agenda-todo): Update only the current
3534         headline if this is a repeated TODO, marked done for today.
3535         (org-agenda-change-all-lines): New argument JUST-THIS, to change
3536         only the current line.
3538         * org.el (org-todo): Take a snapshot of the headline if the
3539         repeater might change it.
3541 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3543         * org-publish.el (org-publish-find-title): Remove buffers visited
3544         only for extracting the title.
3546         * org-exp.el (org-export-html-style)
3547         (org-export-html-style-default): Mark style definitions as
3548         unparsed CDATA.
3550         * org-publish.el (org-publish-validate-link): Function
3551         re-introduced.
3553 2008-11-02  Charles Sebold  <csebold@gmail.com>
3555         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3556         property.
3557         (org-plot-quote-timestamp-field): New function.
3558         (org-plot-quote-tsv-field): Call timestamp field function when
3559         necessary rather than just quoting as a string.
3560         (org-plot/gnuplot-to-data): Pass in timefmt property.
3561         (org-plot/gnuplot-script): Supports timefmt property.
3562         (org-plot/gnuplot): Checks for timestamp column before checking
3563         for text index column.
3565 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3567         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3569         * org-publish.el (org-publish-org-index): Create a section in the
3570         index file.
3571         (org-publish-org-index): Stop linking to directories.
3573         * org.el (org-emphasis-alist): Use span instead of <u> to
3574         underline text.
3576         * org-exp.el (org-export-as-html): Make sure <p> is closed before
3577         <pre> sections.
3579 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
3581         * org-jsinfo.el (org-infojs-template): Remove language attribute
3582         from script tag.
3584 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
3586         * org-agenda.el (org-agenda-remove-marked-text): New function.
3587         (org-agenda-mark-filtered-text)
3588         (org-agenda-unmark-filtered-text): New functions.
3589         (org-write-agenda): Remove fltered text.
3591         * org.el (org-make-tags-matcher): Give access to TODO "property"
3592         without speed penalty.
3594 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
3596         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3597         option.
3598         (org-store-link-props): Make sure adding to the plist works
3599         correctly.
3601         * org-gnus.el (org-gnus-no-new-news): New function.
3602         (org-gnus-follow-link): Allow the article ID to be a message-id,
3603         in addition to allowing article numbers.  Message IDs make much
3604         more roubust links.
3605         (org-gnus-store-link): Use message-id to create link.
3607 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
3609         * org.el (org-emphasize): Reverse the selection array.
3610         (org-emphasis-alist): Set <code> tags for the verbatim
3611         environment.
3613         * org-remember.el (org-remember-handler): Fix bug with
3614         prefix-related changing of the note storage target.
3616         * org-exp.el (org-print-icalendar-entries): Make the exported
3617         priorities compatible with RFC 2445.
3619         * org-clock.el (org-clock-save): Insert time stamp without
3620         dependence on time-stamp.el.
3622 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
3624         * org.el ("saveplace"): If saveplace puts point into an invisible
3625         location, make it visible.
3626         (org-make-tags-matcher): Allow inactive time stamps in time
3627         comparisons.
3628         (org-yank-adjusted-subtrees): New option.
3629         (org-yank): Incorporate adjusting trees.
3630         (org-paste-subtree): New argument FOR-YANK which will cause
3631         insertion at point without backing up over white lines, and leave
3632         point at the end of the inserted text.  Also if the cursor is
3633         at the beginning of a headline, use the same level or the inserted
3634         tree.
3636         * org-publish.el (org-publish-get-base-files-1): Deal correctly
3637         with broken symlinks
3639 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
3641         * org-exp.el (org-export-select-tags, org-get-current-options):
3642         Fix typo.
3644 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3646         * org-agenda.el (org-format-agenda-item)
3647         (org-agenda-filter-make-matcher): Make sure tags are stored and
3648         compared donwcased.
3650 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3652         * org.el (org-insert-todo-heading): Fix bug with force-heading
3653         argument.
3655 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3657         * org-clock.el (org-clock-in-resume): Add a custom option to
3658         toggle starting the clock from an open clock line.
3659         (org-clock-in): When clocking in to an entry, if
3660         `org-clock-in-resume' is set, check if the first clock line is
3661         open and if so, start the clock from the time in the clock line.
3662         (org-clock-persist): Add a custom option to toggle clock
3663         persistence.
3664         (org-clock-persist-query-save): Add a custom option to toggle
3665         asking the user if they want to save the running clock when
3666         exiting.
3667         (org-clock-persist-query-resume): Add a custom option to toggle
3668         asking the user if they want to resume the saved clock when Emacs
3669         is restarted.
3670         (org-clock-save): Add a function to save clock data.
3671         This includes the contents of `org-clock-history' and the buffer
3672         and position of the currently clocked task, if any.
3673         (org-clock-load): Add a function to load clock data.
3674         This populates `org-clock-history', and resumes the saved clocked
3675         task if there is one.
3676         (org-clock-persistence-insinuate): Add a method to set up the
3677         hooks for clock persistence.
3679 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
3681         * org-exp.el (org-export-as-ascii): Handle the case that we are
3682         publishing from an indirect buffer.
3684         * org-table.el (org-table-copy-down): Fix bug with time stamp
3685         increment.
3687         * org-mouse.el (org-mouse-features): New option.
3688         (org-mode-hook): Turn on features depending on
3689         `org-mouse-features'.
3691         * org.el (org-insert-heading-respect-content): Force heading
3692         creation.
3693         (org-insert-heading): keep the folding state of the heading before
3694         the inserted one.
3696 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3698         * org-archive.el (org-archive-to-archive-sibling): Handle top
3699         level headlines better.
3701 2008-10-21  Bastien Guerry  <bzg@altern.org>
3703         * org-export-latex.el (org-export-latex-classes): Added
3704         \usepackage{graphicx} to the default list of packages.
3706 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3708         * org-agenda.el (org-agenda-filter): Renamed from
3709         `org-agenda-filter-tags'.
3711 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
3713         * org.el (org-entry-properties): Add CATEGORY property, iven if it
3714         is not defined as a property in this entry.
3715         (org-add-log-note): Mask prefix argument when immediately storing
3716         the note.
3718         * org-agenda.el (org-agenda-filter-effort-default-operator): New
3719         option.
3721 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
3723         * org.el (org-add-log-setup): Bugfix; code to find insertion point
3724         after drawers was skipping ahead one line too many, so notes were
3725         inserted after the first note instead of before it.
3727 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
3729         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3730         New variables.
3731         (org-prepare-agenda): Reset the filter tags.
3732         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3733         Show filter tags in mode line.
3735         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3736         formatter.
3738         * org-export-latex.el (org-latex-entities-regexp): New constant.
3739         (org-export-as-pdf): Use two calls to `shell-command'.
3741 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3743         * org-export-latex.el (org-export-latex-treat-sub-super-char):
3744         Honor the {} value of the subsuperscript setting.  Make sure that
3745         longer subsuperscripts are typeset in a roman font.
3747         * org.el (org-clock-update-time-maybe): Compute negative clock
3748         intervals correctly.
3750 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
3752         * org.el (org-add-log-setup): Respect
3753         `org-log-state-notes-insert-after-drawers'.
3754         (org-log-state-notes-insert-after-drawers): New option.
3755         (org-todo-trigger-tag-changes): New function.
3756         (org-todo): Call `org-todo-trigger-tag-changes'.
3758 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
3760         * org.el (org-add-log-setup): Only skip drawers if the are
3761         immediately after the scheduling keywords.
3763         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3764         function
3765         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3766         call it with the current todo state to get the state to switch to
3767         when clocking in.
3768         (org-clock-in): Use org-indent-line-function to indent clock lines.
3769         (org-clock-find-position): Fix indentation of empty clock drawers.
3771 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
3773         * org-publish.el (org-publish-org-to): Handle case when
3774         org-export-to-pdf does return a file name, not a buffer.
3775         (org-publish-org-to-pdf): New function.
3777         * org-export-latex.el (org-export-as-pdf)
3778         (org-export-as-pdf-and-open): New commands.
3780         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3781         forms as ranges.
3783         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3784         things in protexted regions.
3786 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
3788         * org-export-latex.el (org-export-latex-preprocess): Improve
3789         quoting of LaTeX environments.
3791 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
3793         * org.el (org-edit-fixed-width-region): Exclude final newline from
3794         picture area.
3796         * org-export-latex.el (org-export-latex-subcontent): Add labels to
3797         sections, to make internal links work.
3798         (org-export-latex-fontify-headline): Do not remove all text
3799         properties, to make sure that target properties survive this
3800         process.
3802         * org-exp.el (org-export-preprocess-string): Change sequence of
3803         modifications, to make sure links are prepared before the LaTeX
3804         conversions do happen.
3806 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
3808         * org-attach.el (org-attach-delete-all): Renamed from
3809         `org-attch-delete'.  Add a security query before deleting the
3810         entire directory.  New optional argument FORCE can overrule the
3811         security query.
3812         (org-attach-delete-one): New command.
3814 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
3816         * org-attach.el (org-attach-file-list): Fix bug with directory.
3818 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
3820         * org.el (org-apps-regexp-alist): New function.
3821         (org-file-apps): Add auto-mode to the default value.
3822         (org-open-file): Use the new structure of org-file-apps.
3824         * org-attach.el (org-attach): Support the new keys.
3825         (org-attach-method): New option.
3827 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
3829         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3830         March.
3832         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3833         of the list value o `org-use-tag-inheritance'.
3835         * org-attach.el (org-attach-auto-tag): New option.
3836         (org-attach-tag, org-attach-untag): New functions.
3837         (org-attach-attach, org-attach-new, org-attach-sync): Call
3838         `org-attach-tag'.
3839         (org-attach-delete): Call `org-attach-untag'.
3841 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
3843         * org-table.el (orgtbl-self-insert-command): Make this work for
3844         the keypad as well.
3846 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
3848         * org.el (org-add-log-setup): Limit searc for drawers to entry
3849         text, not to subtree.
3851         * org-clock.el (org-clock-heading-for-remember): New variable.
3852         (org-clock-in): Set `org-clock-heading-for-remember'.
3854 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
3856         * org-remember.el (org-remember-apply-template): Add new
3857         expansions: %k, %K for currently clocked task and a link to the
3858         currently clocked task, and %< to file notes in the currently
3859         clocked task.
3861 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
3863         * org-export-latex.el (org-export-latex-make-header): Also insert
3864         the content of the property :latex-header-extra.
3866         * org-exp.el (org-infile-export-plist): Put the content of
3867         #+LATEX_HEADER: into the property :latex-header-extra.
3869         * org-colview.el (org-columns-get-format-and-top-level): Remove
3870         resetting the marker.
3872         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3873         Remove resetting the marker.
3875         * org.el (org-entry-property-inherited-from): Improve docstring.
3876         (org-entry-get-with-inheritance): Reset marker before starting the
3877         search.
3879         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3881 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
3883         * org.el (org-entry-get-multivalued-property)
3884         (org-entry-protect-space, org-entry-restore-space): New
3885         functions.
3886         (org-file-apps-defaults-macosx): Let postscript files be opened by
3887         preview.
3888         (org-time-stamp-inactive): Call `org-time-stamp'.
3889         (org-time-stamp): New argument `inactive'.  Also edit inacive
3890         stamps. Convert time stamp type.
3891         (org-open-file): Interpret the `default' value for the `command'
3892         in `org-file-apps'.
3894         * org-id.el (org-id-int-to-b36-one-digit)
3895         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3896         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3897         b36.
3899 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
3901         * org-id.el (org-id-reverse-string): New function.
3902         (org-id-new): Use `org-id-reverse-string' to make sure the
3903         beginning chars of the ID are mutating fast.  This allows to use a
3904         directory structure to spread things better.
3905         (org-id-prefix): Changed default to nil.
3907         * org-list.el (org-move-item-down, org-move-item-up): Remember and
3908         restore the column of the cursor position.
3910         * org-remember.el (org-remember-apply-template): Remove properties
3911         from `initial'.
3913 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
3915         * org-wl.el (org-wl-open): Remove useless call to
3916         `wl-thread-open-all'.
3918         * org-remember.el (org-remember-handler): Fix bug with `bottom'
3919         location.
3921 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
3923         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3924         `org-bbdb-anniversaries'.
3926         * org.el (org-get-next-sibling, org-forward-same-level): New
3927         functions, similar to the outline versions, but invisible headings
3928         are OK.
3930 2008-09-25  Bastien Guerry  <bzg@altern.org>
3932         * org.el (org-auto-repeat-maybe): Insert a space between
3933         the timestamp's type and the timestamp itself.
3935 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
3937         * org-table.el (org-table-sum): Do not format the result with %g,
3938         it does rounding when there are too many digits.
3940         * org.el (org-map-entries): Protect the keyword-selecting variables.
3942 2008-09-23  Bastien Guerry  <bzg@altern.org>
3944         * org-agenda.el (org-agenda-to-appt): Make sure the function check
3945         against all agenda files.
3947 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
3949         * org-list.el: New file, aggregating list functions from org.el
3950         and org-export-latex.el.
3952         * org.el (org-edit-src-region-extra): New option.
3954 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
3956         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3957         time before 1am.
3959 2008-09-22  Bastien Guerry  <bzg@altern.org>
3961         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3963 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
3965         * org-plot.el (org-plot/gnuplot): Make tables starting with a
3966         hline work correctly.
3967         (org-plot/gnuplot-script): Put commas at the end of each script
3968         line.
3970 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
3972         * org.el (org-get-refile-targets): Replace links with their
3973         descriptions
3974         (org-imenu-get-tree): Replace links with their descriptions.
3976         * org-remember.el (org-remember-apply-template): Add a new
3977         expansion for adding properties to remember items.
3979         * org.el (org-add-log-setup): Skip over drawers (properties,
3980         clocks etc) when adding notes.
3982         * org-agenda.el (org-agenda-get-closed): show durations of clocked
3983         items as well as the start and end times.
3985         * org-compat.el (org-get-x-clipboard-compat): Add a compat
3986         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3988         * org-remember.el (org-get-x-clipboard): Use the compat
3989         function to get clipboard values when x-selection-value is
3990         unavailable. Use substring-no-properties instead of
3991         set-text-properties to remove text properties from the clipboard
3992         value.
3994         * lisp/org-clock.el (org-update-mode-line): Support limiting the
3995         modeline clock string, and display the full todo value in the
3996         tooltip. Set a local keymap so mouse-3 on the clock string goes to
3997         the currently clocked task.
3998         (org-clock-string-limit): Add a custom value for the maximum
3999         length of the clock string in the modeline.
4000         (org-clock-mode-map): Add a keymap for the modeline string
4002 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4004         * org-compat.el (org-propertize): New function.
4006 2008-09-20  Bastien Guerry  <bzg@altern.org>
4008         * org-export-latex.el (org-export-latex-tables): protect exported
4009         tables from further special chars conversion.
4010         (org-export-latex-preprocess): Preserve LaTeX environments.
4011         (org-list-parse-list): Parse descriptive lists.
4012         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4013         (org-list-to-texinfo): Export descriptive lists.
4014         (org-quote-chars): Remove.
4015         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4016         (org-export-latex-list-beginning-re): Rename to
4017         `org-list-beginning-re'
4018         (org-list-item-begin): Rename to `org-list-item-beginning'
4020 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4022         * org.el (org-refile): Allow refiling to the last entry in the
4023         buffer.
4024         (org-get-tags-at): Fix bug when inheritance is turned off.
4026 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4028         * org.el (org-indent-line-function): No longer check for src
4029         regions, this is too much overhead.
4031         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4032         matching.
4034         * org.el (org-scan-tags): Make sure that tags matching is not case
4035         sensitive.  TODO keyword matching is case sensitive, however, to
4036         avoid confusion with similar words that are not meant to be
4037         keywords.
4039 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4041         * org.el (org-get-local-tags-at): New function.
4042         (org-get-local-tags): New function.
4044         * org-exp.el (org-export-get-categories): New function.
4046         * org-agenda.el (org-sorting-choice)
4047         (org-agenda-sorting-strategy, org-agenda-get-todos)
4048         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4049         (org-agenda-get-scheduled, org-agenda-get-blocks)
4050         (org-entries-lessp): Implement sorting by TODO state.
4051         (org-cmp-todo-state): New defsubst.
4053         * org-colview.el (org-colview-construct-allowed-dates): New
4054         function.
4055         (org-columns-next-allowed-value): Use
4056         `org-colview-construct-allowed-dates'.
4058         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4059         function.
4060         (org-columns-next-allowed-value): Use
4061         `org-colview-construct-allowed-dates'.
4063 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4065         * org.el (org-protect-slash): New function.
4066         (org-get-refile-targets): Use `org-protect-slash'.
4068         * org-agenda.el (org-global-tags-completion-table): New variable.
4070         * org-exp.el (org-export-handle-export-tags): New function.
4071         (org-export-preprocess-string): Call
4072         `org-export-handle-export-tags'.
4074         * org-plot.el: New file.
4076         * org-publish.el (org-publish-expand-components): Function removed.
4077         (org-publish-expand-projects): Allow components to have components.
4079 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4081         * org.el (org-indent-line-function): Do not indent in regions that
4082         are external source code.
4083         (org-yank-and-fold-if-subtree): New function.
4085         * org-agenda.el (org-agenda-todayp): New function.
4086         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4087         `org-agenda-todayp'.
4089         * org.el (org-insert-heading-respect-content)
4090         (org-insert-todo-heading-respect-content): New commands.
4091         (org-insert-heading-respect-content): New option.
4092         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4094         * org-clock.el (org-clock-find-position): Make sure the note after
4095         the clock line gets moved into the new clock drawer.
4097 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4099         * org-id.el (org-id-new): New option.
4101 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4103         * org-table.el (org-table-copy-down): Avoid overflow during
4104         increment.  Use prefix argument 0 to temporarily disable the
4105         increment.
4107 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4109         * org-exp.el (org-export-as-html): Do not turn on the major mode
4110         if the buffer will be killed anyway.
4111         (org-get-current-options): Exclude the #+TEXT field.
4112         (org-export-as-html): Make sure text before the first headline is
4113         a paragraph.
4115         * org-publish.el (org-publish-org-to): Tell the exporter that this
4116         buffer will be killed, so it is not necessary to do major mode
4117         initialization.
4119         * org-archive.el (org-archive-to-archive-sibling): Show empty
4120         lines after folding the archive sibling.
4122         * org.el (org-log-note-extra): New variable.
4124 2008-09-05  Bastien Guerry  <bzg@altern.org>
4126         * org.el (org-additional-option-like-keywords): Added keywords for
4127         the _QUOTE, _VERSE and _SRC environments.
4129         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4130         exporting _QUOTE and _VERSE environments.
4132 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4134         * org-agenda.el (org-agenda-filter-by-tag): New command.
4136         * org-exp.el (org-get-current-options): Remove angular brackets
4137         from the date entry.
4139         * org.el (org-edit-fixed-width-region): New function.
4140         (org-edit-fixed-width-region): Also try
4141         `org-edit-fixed-width-region'.
4142         (org-edit-fixed-width-region-mode): New option.
4143         (org-activate-code): Only interprete lines starting with colon
4144         plus a space as example lines.
4146         * org-remember.el (org-remember-templates): Add nil instead of
4147         empty strings to fix the length of remember templates.
4149         * org-table.el (org-calc-default-modes): Fix the time format for
4150         calc, from 12 hour to 24 hour clock.
4152 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4154         * org-agenda.el (org-agenda-get-deadlines)
4155         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4156         entries that are pre-warnings of deadlines or reminders.
4158         * org.el (org-sort-entries-or-items): Make numeric and alpha
4159         comparisons ignore any TODO keyword and priority cookie.
4161         * org-remember.el (org-remember-handler): Reinterpretation of the
4162         prefix argument.
4164 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4166         * org-agenda.el (org-agenda-get-scheduled): Use new
4167         `org-scheduled' face.
4169         * org-faces.el (org-scheduled): New face.
4171         * org-wl.el (org-wl-open): Remove incorrect declaration.
4173         * org-gnus.el (org-gnus-store-link): Support for :to information
4174         in gnus links.
4176         * org-exp.el (org-export-as-html): Fixed typo in creator
4177         information.
4178         (org-export-protect-examples): New parameter indent.  Insert extra
4179         spaces only when this parameter is specified.
4180         (org-export-preprocess-string): Call `org-export-protect-examples'
4181         with an indentation parameter when exporting to ASCII.
4183         * org-remember.el (org-remember-templates)
4184         (org-remember-apply-template): Allow the file component to be a
4185         function.
4187         * org.el (org-goto-local-search-headings): Renamed from
4188         `org-goto-local-search-forward-headings'.  Added the possibility
4189         to search backwards.
4191 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4193         * org-export-latex.el (org-export-latex): New customization
4194         group.
4196         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4198 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4200         * org-exp.el (org-html-do-expand): Allow {} to terminate
4201         tex macro
4203 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4205         * org.el (org-buffer-list): Select buffers based on major mode,
4206         not on file name.
4208 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4210         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4211         face property.
4213         * org-colview.el (org-columns-display-here): Use
4214         `org-columns-modify-value-for-display-function'.
4216         * org-colview-xemacs.el (org-columns-display-here): Use
4217         `org-columns-modify-value-for-display-function'.
4219 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4221         * org.el (org-columns-modify-value-for-display-function): New option.
4233         * org-publish.el (org-publish-file): Make sure the directory match
4234         for the publishing directory works correctly.
4236         * org-agenda.el (org-agenda-execute-calendar-command)
4237         (org-agenda-diary-entry): Additional optional argument.
4239 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4241         * org-exp.el (org-export-as-html): Add attributes also in mailto
4242         and ftp links.
4244         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4253 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4255         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4256         sure that calls from `org-export-region-as-html' do not do the
4257         special check for a subtree.
4259 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4261         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4263 2008-07-20  Juri Linkov  <juri@jurta.org>
4265         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4266         new keymap `narrow-map' instead of binding "\C-xns".
4268 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4270         * org.el (org-open-file): Use
4271         `org-open-directory-means-index-dot-org'.
4272         (org-open-directory-means-index-dot-org): New option.
4274 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4276         * org.el (org-make-link-string): Remove link attributes from
4277         description.
4278         (org-open-at-point): Remove link attributes bevore using the path.
4280         * org-exp.el (org-export-as-html): Handle link attributes.
4282         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4284         * org-table.el (org-table-to-lisp): New function.
4286         * org.el (org-narrow-to-subtree): Do not include the final newline
4287         into the narrowed region.
4289         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4290         bug with user-define skipping condition.
4292 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4294         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4296 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4298         * org-exp.el (org-export-html-style-default): Automatic overflow
4299         handling for pre fields.
4300         (org-export-as-ascii, org-export-as-html): Change default format
4301         for time stamp.
4303         * org-table.el (org-table-export): Offer completion for translator
4304         functions, and do not require a heading above the table.
4306         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4307         Cater for the case of a list starting in the first line of the
4308         buffer.
4310 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4312         * org-publish.el (org-publish-find-title): Bug fix.
4313         (org-publish-org-index): Implement new :index-style option.
4315 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4317         * org-publish.el (org-publish-timestamp-filename): Use
4318         SHA1-encoded file names in the timestamp directory.
4320 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4322         * org-publish.el (org-publish-needed-p): Be verbose about files
4323         published and files skipped.
4325         * org-exp.el (org-export-preprocess-string): Swap link
4326         normalization and inernal link targeting.
4328         * org-publish.el (org-publish-needed-p): Create timestamp
4329         directory when it does not exist.
4331 2008-07-04  Bastien Guerry  <bzg@altern.org>
4333         * org-clock.el (org-clock-out-when-done): Doc fix.
4335         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4337         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4338         Ignore case when searching for the COMMENT cookie at export time.
4340 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4342         * org-exp.el (org-get-file-contents)
4343         (org-get-and-remove-property): New functions.
4344         (org-export-handle-include-files): Handle the new prefix options.
4345         (org-export-as-html): Fix the verse environment.
4347 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4349         * org.el (org-time=, org-time<, org-time<=, org-time>)
4350         (org-time>=, org-time<>, org-2ft): New functions.
4351         (org-op-to-function): Also provide for the time testing fucntions.
4353 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4355         * org-exp.el (org-export-html-style-default): New constant.
4357 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4359         * org-exp.el (org-export-html-style-extra): New variable.
4360         (org-export-splice-style): New function.
4362 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4364         * org-exp.el (org-export-plist-vars, org-export-as-html):
4365         Implement `org-export-creator-info'.
4366         (org-export-creator-info): New option.
4368 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
4370         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4371         (org-property-drawer-re, org-clock-drawer-re): New constants.
4373 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
4375         * org-exp.el (org-icalendar-use-deadline)
4376         (org-icalendar-use-scheduled): New options.
4377         (org-icalendar-include-todo): Default changed to t.
4378         (org-print-icalendar-entries): Implement better utilization of
4379         scheduling and deadline time stamps.
4380         (org-export-target-internal-links, org-export-as-html): Allow file
4381         lines without the "file:" prefix if the file path is an absolute
4382         path or starts with ".".
4384         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4385         lastweek etc.
4386         (org-clock-special-range): Also undertand yesterday, lastweek etc.
4388 2008-06-18  Glenn Morris  <rgm@gnu.org>
4389         * org.el (org-map-entries): Let-bind `file'.
4391 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
4393         * org.el (org-agenda-skip-archived-trees): Docstring now
4394         discourages using this.
4395         (org-scan-tags): Check for org-agenda-archives-mode.
4396         (org-map-entries): Make sure org-agenda-archives-mode is nil.
4397         (org-agenda-files): Functionality of second arg changed.
4399         * org-agenda.el (org-agenda-archives-mode): New variable
4400         (org-write-agenda, org-prepare-agenda, org-agenda-list)
4401         (org-search-view, org-todo-list, org-tags-view)
4402         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4403         `ifmode' argument.
4404         (org-agenda-quit): Reset the archives mode.
4405         (org-agenda-archives-mode): New command.
4406         (org-agenda-set-mode-name): Include archives info.
4408 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
4410         * org.el (org-paste-subtree): Make sure the yanked headline is
4411         visible if it was yanked at a visible point.
4412         (org-move-item-up): Fix the bug with moving white space at the end
4413         of the item.
4414         (org-show-empty-lines-in-parent): New function.
4416 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
4418         * org-colview.el (org-columns-next-allowed-value): Bug fix.
4420         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4422         * org-agenda.el (org-agenda-get-closed): Get the end time into the
4423         agenda prefix as well.
4425         * org-publish.el (org-publish-org-index): Make a properly indented
4426         list.
4428         * org.el (org-calendar-agenda-action-key): New option.
4429         (org-get-cursor-date): New function.
4430         (org-mark-entry-for-agenda-action): New command.
4431         (org-overriding-default-time): New variable.
4432         (org-read-date): Respect `org-overriding-default-time'.
4434         * org-remember.el (org-remember-apply-template): Respect the
4435         ovverriding default time.
4437         * org-agenda.el (org-agenda-action-marker): New variable.
4438         (org-agenda-action): New command.
4439         (org-agenda-do-action): New function.
4441 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4443         * org.el (org-schedule, org-deadline): Protect scheduled and
4444         deadline tasks against changes that accidently remove the
4445         repeater.  Also show a message with the new date when done.
4447 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4449         * org.el (org-beginning-of-line): Cater for the case when there
4450         are tags but no headline text.
4451         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4452         it set.
4454 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
4456         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4457         the return value is nil instead of "nil" when there is no match.
4459         * org-exp.el (org-insert-centered): Use fill-column instead of
4460         80.
4461         (org-export-as-ascii): Use string-width to measure the width of
4462         the heading.
4464         * org.el (org-diary-to-ical-string): No longer kill buffer
4465         FROMBUF, this is now done by the caller.
4467         * org-exp.el (org-print-icalendar-entries): Move the call to
4468         `org-diary-to-ical-string' out of the loop, and kill the buffer
4469         afterwords.
4471         * org-remember.el (org-remember-visit-immediately): Position
4472         cursor after moving to the note.
4473         (org-remember-apply-template): Use a text property to record the
4474         cursor position.
4475         (org-remember-handler): Align tags after pasting the note.
4477 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
4479         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4481         * org-agenda.el (org-agenda-open-link): If there is an
4482         org-bbdb-name property in the current line, jump to that bbdb
4483         entry.
4485         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4486         text property, so that the agenda knows where this entry comes
4487         from.
4489         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4490         interaction between clocking-in from the agenda, and  automatic
4491         task state switching.
4493         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4495         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4496         zmacs-region stays after this command in XEmacs.
4498 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
4500         * org.el (org-scan-tags): Allow new values for ACTION parameter.
4502         * org-remember.el (org-remember-templates): Fix bug in
4503         customization type definition.
4505         * org.el (org-map-entries): New function.
4507 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
4509         * org-agenda.el (org-agenda-skip-comment-trees): New option.
4510         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4512 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
4514         * org-remember.el (org-jump-to-target-location): New variable.
4515         (org-remember-apply-template): Set
4516         `org-remember-apply-template' if requested by template.
4517         (org-remember-handler): Start an idle timer to jump to
4518         remember location.
4520         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4522         * org.el (org-set-regexps-and-options): Fix bug with parsing of
4523         file tags.
4524         (org-get-tags-at): Add the content of `org-file-tags'.
4526         * org-exp.el (org-export-handle-comments): Fix bug with several
4527         comment lines after each other.
4528         (org-number-to-roman, org-number-to-counter): New functions.
4529         (org-export-section-number-format): New option.
4531 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
4533         * org-exp.el (org-export-protect-examples): Catch the case of a
4534         missing end_example line.
4536         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4537         `org-file-tags' to nil.
4539         * org-colview.el (org-columns-next-allowed-value): Handle next
4540         argument NTH to directly select a value.
4542         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4543         argument NTH to directly select a value.
4545 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
4547         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4549 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
4551         * org.el (org-columns-ellipses): New option.
4553 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
4555         * org-colview.el (org-columns-add-ellipses): New function.
4556         (org-columns-compact-links): New function.
4557         (org-columns-cleanup-item): Call `org-columns-compact-links'.
4558         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4559         when in agenda.
4560         (org-columns-edit-value): Fixed bug with editing values from
4561         agenda column view.
4562         (org-columns-redo): Also redo the agenda itself.
4564 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
4566         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4567         option.
4569         * org-colview.el (org-agenda-columns-cleanup-item): New function.
4571         * org-exp.el (org-export-ascii-preprocess): Renamed from
4572         `org-export-ascii-clean-string'.
4573         (org-export-kill-licensed-text)
4574         (org-export-define-heading-targets)
4575         (org-export-handle-invisible-targets)
4576         (org-export-target-internal-links)
4577         (org-export-remove-or-extract-drawers)
4578         (org-export-remove-archived-trees)
4579         (org-export-protect-quoted-subtrees)
4580         (org-export-protect-verbatim, org-export-protect-examples)
4581         (org-export-select-backend-specific-text)
4582         (org-export-mark-blockquote-and-verse)
4583         (org-export-remove-comment-blocks-and-subtrees)
4584         (org-export-handle-comments, org-export-mark-radio-links)
4585         (org-export-remove-special-table-lines)
4586         (org-export-normalize-links)
4587         (org-export-concatenate-multiline-links)
4588         (org-export-concatenate-multiline-emphasis): New functions,
4589         obtained from spliiting the export preprocessor.
4591         * org-table.el (org-table-recalculate): Improve error message if
4592         the row number is invalid.
4594 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
4596         * org-archive.el (org-archive-save-context-info): Fix bugs in
4597         customization setup and docstring.
4599         * org-exp.el (org-export-html-style): Changed the size of in the
4600         <pre> element to 90%.
4602 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
4604         * org.el (org-find-src-example-start): Function removed.
4605         (org-edit-src-find-region-and-lang): New function.
4607 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
4609         * org.el (org-edit-src-exit): New function.
4610         (org-exit-edit-mode): New minor mode.
4612         * org-exp.el (org-export-preprocess-string): Fix bug with removing
4613         comment-like lines from protected examples.
4615         * org.el (org-edit-src-example, org-find-src-example-start)
4616         (org-protect-source-example, org-edit-special): New functions.
4618 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
4620         * org-publish.el (org-publish-project-alist): Fix typo in
4621         docstring.
4622         (org-publish-project-alist): Handle :index-title property.
4624 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
4626         * org-export-latex.el (org-export-as-latex): Make sure region
4627         bounds are correct.  Parse subtree properties relating to export.
4629         * org-exp.el (org-export-add-options-to-plist): New function.
4630         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4632 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
4634         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4635         EXPORT_TITLE.
4637         * org-exp.el (org-export-get-title-from-subtree)
4638         (org-export-as-ascii, org-export-as-html): Make sure the original
4639         region-beginning and region-end are used, even after moving
4640         point.
4641         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4642         property.
4644         * org-remember.el (org-remember-last-stored-marker): New variable.
4645         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4646         (org-remember-handler): Also use marker to remember
4647         last-stored position.
4649         * org.el (org-goto-marker-or-bmk): New function.
4651 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4653         * org.el (org-file-properties): Renamed from `org-local-properties'.
4654         (org-scan-tags): Take file tags into account.
4655         (org-tags-match-list-sublevels): Default changed to t.
4657         * org-exp.el (org-export-as-html): Close paragraph after a
4658         footnote.
4660         * org.el (org-update-parent-todo-statistics): New function.
4662         * org-exp.el (org-icalendar-store-UID): New option.
4663         (org-icalendar-force-UID): Option removed.
4664         (org-print-icalendar-entries): IMplement UIDs.
4666 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
4668         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4670 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
4672         * org-faces.el (org-column): Document how this face is being used
4673         and why sometimes the background faces shine through.
4675         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4677         * org-publish.el (org-publish-attachment): Create publishing
4678         directory if it does not yet exist.
4680         * org-table.el (org-calc-default-modes): Change default number
4681         format to (float 8).
4683         * org.el (org-olpath-completing-read): New function.
4684         (org-time-clocksum-format): New option.
4685         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4687         * org-clock.el (org-clock-display, org-clock-out)
4688         (org-update-mode-line): Use `org-time-clocksum-format'.
4690         * org-colview-xemacs.el (org-columns-number-to-string): Use
4691         `org-time-clocksum-format'.
4693         * org-colview.el (org-columns-number-to-string): Use
4694         `org-time-clocksum-format'.
4696 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
4698         * org-id.el: New file, move from contrib to core.
4700         * org-exp.el (org-icalendar-force-UID): New option.
4702 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
4704         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4705         shifted by one day if theere is a date range without an end
4706         time.
4708         * org.el (org-try-structure-completion): New function.
4710 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
4712         * org.el (org-set-font-lock-defaults): Improve fontification of
4713         description lists.
4714         (org-insert-item): Handle description lists.
4715         (org-adaptive-fill-function): Improve auto indentation in
4716         description lists.
4718         * org-exp.el (org-export-as-html, org-export-preprocess-string):
4719         Implement VERSE environment.
4720         (org-export-preprocess-string): Implement the COMMENT
4721         environment.
4723         * org-export-latex.el (org-export-latex-preprocess): Implement
4724         VERSE environment.
4726 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
4728         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4729         option.
4731 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
4733         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4735         * org.el (org-quote-csv-field): New functions.
4737         * org-table.el (org-table-export-default-format): Remove :splice
4738         from default format, we get the same effect by not specifying
4739         :tstart and :tend.
4740         (org-table-export): Improve setup, distinguish better between
4741         interactive and non-interactive use, allow specifying the format
4742         on the fly, better protection against wrong file names.
4743         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
4744         and :tend when :splice is omitted.
4746 2008-05-09  Bernt Hansen  <bernt@norang.ca>
4748         * org-clock.el (org-clock-select-task): Make sure the selection
4749         letters are 1-9 and A-Z, no special characters.
4751 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
4753         * org-exp.el (org-export-htmlize): New group.
4754         (org-export-htmlize-output-type)
4755         (org-export-htmlize-css-font-prefix): New options.
4756         (org-export-htmlize-region-for-paste): New function.
4757         (org-export-htmlize-generate-css): New command.
4759 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4761         * org/org.el (org-modules, org-format-latex-options):
4762         * org/org-archive.el (org-archive-stamp-time)
4763         (org-archive-save-context-info):
4764         * org/org-faces.el (org-hide):
4765         * org/org-irc.el (org-irc-parse-link):
4766         * org/org-macs.el (org-call-with-arg, org-autoload):
4767         * org/org-mew.el (org-mew-store-link):
4768         * org/org-remember.el (org-remember-store-without-prompt)
4769         (org-remember-templates): Fix typos in docstrings.
4771         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4773         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4774         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4775         (org-bbdb-anniv-split): Fix typos in docstrings.
4777         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4778         (org-publish-use-timestamps-flag): Reflow docstring.
4779         (org-publish-files-alist): Fix typos in docstring.
4781 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4783         * org.el (org-set-visibility-according-to-property): New function.
4784         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4785         and compute the regular expressions, and update font-lock.
4786         (org-property-re): Allow a dash in property names.
4788         * org-archive.el (org-extract-archive-file): Insert the file name
4789         without the path into the format, to allow the location format to
4790         contain a subdirectory.
4792         * org-agenda.el (org-agenda-post-command-hook): If point is at end
4793         of buffer, and the `org-agenda-type' property undefined, use the
4794         value from the character before.
4796         * org.el (org-add-planning-info): Don't let indentation for
4797         would-be timestamp become extra whitespace at the end of headline.
4799 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
4801         * org.el (org-remove-double-quotes, org-file-contents): New
4802         functions.
4804         * org-exp.el (org-infile-export-plist): Also parse the
4805         contents of #+SETUPFILE files, recursively.
4807         * org.el (org-set-regexps-and-options): Also parse the
4808         contents of #+SETUPFILE files, recursively.
4810         * org-exp.el (org-export-handle-include-files): New function.
4811         (org-export-preprocess-string): Call
4812         `org-export-handle-include-files'.
4814         * org.el (org-delete-property-globally)
4815         (org-delete-property, org-set-property): Ignore case during
4816         completion.
4817         (org-set-property): Use `org-completing-read' instead of
4818         `completing-read'.
4820         * org.el (org-complete-expand-structure-template): New,
4821         experimental function.
4822         (org-structure-template-alist): New, experimental option.
4823         (org-complete): Call `org-complete-expand-structure-template'.
4825 2008-05-06  Bastien Guerry  <bzg@altern.org>
4827         * org-export-latex.el (org-export-latex-preprocess): Added
4828         support for blockquotes.
4830 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
4832         * org.el (org-read-date-analyze): Catch the case where only a
4833         weekday is given.
4835 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
4837         * org.el (org-set-font-lock-defaults): Make the description
4838         tag bold.
4840         * org-exp.el (org-export-as-html, org-close-li): Implement
4841         description lists.
4843 2008-05-04  Jason Riedy  <jason@acm.org>
4845         * org-table.el (*orgtbl-default-fmt*): New variable.
4846         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4847         when there is no other fmt available.
4849         (orgtbl-to-generic): Allow an explicitly nil :tstart or
4850         :tend to suppress the appropriate string.
4852         (orgtbl-to-orgtbl): New function for translating to another orgtbl
4853         table.
4855 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
4857         * org.el (org-read-date-analyze): "." as an alias for "+0" in
4858         read date.
4860         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4861         New function.
4863         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4864         New function.
4866 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
4868         * org-clock.el (org-clock-find-position): Don't include notes
4869         into clock drawer.
4871         * org-archive.el (org-archive-subtree): No longer remove an
4872         extra line after cutting the subtree.  `org-cut-subtree' already
4873         takes care of this.
4875         * org-remember.el (org-remember-handler): Only kill the target
4876         buffer if it does not contain the running clock.
4878         * org.el (org-markers-to-move): New variable.
4879         (org-save-markers-in-region, org-check-and-save-marker)
4880         (org-reinstall-markers-in-region): New function.
4881         (org-move-subtree-down, org-copy-subtree): Remember relative
4882         marker positions before cutting.
4883         (org-move-subtree-down, org-paste-subtree): Restore relative
4884         marker positions after pasting.
4886         * org-remember.el (org-remember-clock-out-on-exit): New option.
4887         (org-remember-finalize): Clock out only if the setting in
4888         `org-remember-clock-out-on-exit' requires it.
4889         (org-remember-handler): Do the cleanup in the buffer, to make sure
4890         that the clock marker remains in tact.
4892 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
4894         * org-clock.el (org-clock-goto): Widen buffer if necessary.
4895         (org-clock-in): Make sure that also tasks outside the narrowed
4896         region will be clocked in correctly.
4897         (org-clock-insert-selection-line): Widen the buffer so that we can
4898         find the correct task heading.
4900         * org.el (org-base-buffer): New function.
4902         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4903         and ";" are escaped.
4904         (org-print-icalendar-entries): Also apply
4905         `org-icalendar-cleanup-string' to the headline, not only to the
4906         summary property.
4908 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
4910         * org-exp.el (org-export-preprocess-hook): New hook.
4911         (org-export-preprocess-string): Call
4912         `org-export-preprocess-hook'.
4914         * org.el (org-font-lock-hook): New variable.
4915         (org-font-lock-hook): New function.
4916         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4918 ;; Local Variables:
4919 ;; coding: utf-8
4920 ;; add-log-time-zone-rule: t
4921 ;; End:
4923     Copyright (C) 2008  Free Software Foundation, Inc.
4925   This file is part of GNU Emacs.
4927   GNU Emacs is free software: you can redistribute it and/or modify
4928   it under the terms of the GNU General Public License as published by
4929   the Free Software Foundation, either version 3 of the License, or
4930   (at your option) any later version.
4932   GNU Emacs is distributed in the hope that it will be useful,
4933   but WITHOUT ANY WARRANTY; without even the implied warranty of
4934   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4935   GNU General Public License for more details.
4937   You should have received a copy of the GNU General Public License
4938   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
4940 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c