Avoid calling `goto-line' from lisp programs
[org-mode.git] / lisp / ChangeLog
blob30e9937e7673effdf66146043bc83b3967423f40
1 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-macs.el (org-goto-line): New defsubst.
5         * org.el (org-open-file, org-change-tag-in-region)
6         (org-fast-tag-show-exit): Don't use `goto-line'.
8         * org-table.el (org-table-align, org-table-insert-column)
9         (org-table-delete-column, org-table-move-column)
10         (org-table-sort-lines, org-table-copy-region)
11         (org-table-paste-rectangle, org-table-wrap-region)
12         (org-table-get-specials, org-table-rotate-recalc-marks)
13         (org-table-get-range, org-table-recalculate)
14         (org-table-edit-formulas, org-table-fedit-convert-buffer)
15         (org-table-show-reference, org-table-highlight-rectangle): Don't
16         use `goto-line'.
18         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
19         (org-edit-src-exit): Don't use `goto-line'.
21         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
23         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
24         Don't use `goto-line'.
26         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28         * org-colview.el (org-columns, org-columns-redo)
29         (org-agenda-columns): Don't use `goto-line'.
31         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
32         use `goto-line'.
34         * org-agenda.el (org-agenda-mode): Force visual line motion off.
35         (org-agenda-add-entry-text-maxlines): Improve docstring.
36         (org-agenda-start-with-entry-text-mode): New option.
37         (org-agenda-entry-text-maxlines): New option.
38         (org-agenda-entry-text-mode): New variable.
39         (org-agenda-mode): Set initial value of
40         `org-agenda-entry-text-mode'.
41         (org-agenda-mode-map): Add the `E' key.
42         (org-agenda-menu): Add entry text mode to the menu.
43         (org-agenda-get-some-entry-text): Fix line count bug.
44         (org-finalize-agenda): Apply entry text mode if appropriate.
45         (org-agenda-entry-text-show-here): New function.
46         (org-agenda-entry-text-show): New function.
47         (org-agenda-entry-text-hide): New function.
48         (org-agenda-view-mode-dispatch): Add entry text mode to the view
49         key menu.
50         (org-agenda-entry-text-mode): New command.
51         (org-agenda-set-mode-name): Add entry text mode to the mode line
52         string.
53         (org-agenda-undo, org-agenda-get-restriction-and-command)
54         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
55         `goto-line'.
57 2009-08-26  Bernt Hansen  <bernt@norang.ca>  (tiny change)
59         * org-clock.el (org-notify): Bugfix.
61 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
63         * org-agenda.el (org-agenda-open-link): Handle multiple links and
64         check for after-string.
66         * org-gnus.el (org-gnus-store-link): Simplify.
68         * org.el (org-latex-regexps): Don't add extra empty lines for
69         display formulas.
71 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
73         * org-agenda.el (org-agenda-get-some-entry-text): New function.
74         (org-agenda-add-entry-text): Use
75         `org-agenda-get-some-entry-text'.
77         * org.el (org-cycle-separator-lines): Update docstring.
78         (org-cycle-show-empty-lines): Handle negative values for
79         `org-cycle-show-empty-lines'.
81         * org-exp.el (org-export-protect-sub-super): New function.
82         (org-export-normalize-links): Protect the url of plain links from
83         supscript and superscript processing.
85         * org-remember.el (org-remember-escaped-%): New function.
86         (org-remember-apply-template): Use `org-remember-escaped-%' to
87         detect escaped % signs.
89 2009-08-23  Bastien Guerry  <bzg@altern.org>
91         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
92         sound when showing the notification.
94         * org-clock.el (org-notify): New function.
95         (org-clock-notify-once-if-expired): Use `org-notify'.
97         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
98         and `gnus-article-mode' separately.
99         (gnus-summary-article-header): Fix the declare-function.
101 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
103         * org-exp.el (org-export-format-source-code-or-example): Translate
104         language.
106         * org-src.el (org-src-lang-modes): New variable
107         (org-edit-src-code): Translate language.
109         * org-exp.el (org-export-format-source-code-or-example): Deal wit
110         the new structure of the `org-export-latex-listings-langs'
111         variable.
113         * org-latex.el (org-export-latex-listings-langs): Change structure
114         of the variable from plist to alist.
116 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
118         * org.el (org-in-commented-line): New function.
120 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
122         * org.el (org-hide-block-toggle): Make folded blocks searchable.
124 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
126         * org.el (org-flag-drawer): More useful error.
128 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
130         * org-remember.el (org-remember-apply-template): Use
131         org-icompleting-read.
133         * org-publish.el (org-publish): Use org-icompleting-read.
135         * org-colview.el (org-columns-edit-value, org-columns-new)
136         (org-insert-columns-dblock): Use org-icompleting-read.
138         * org-colview-xemacs.el (org-columns-edit-value)
139         (org-columns-new, org-insert-columns-dblock): Use
140         org-icompleting-read.
142         * org-attach.el (org-attach-delete-one, org-attach-open): Use
143         org-icompleting-read.
145 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
147         * org.el (org-hierarchical-todo-statistics): Improve docstring.
148         (org-version): Return the version text.
149         (org-org-menu): Add a menu entry for the new bug reporter.
150         (org-submit-bug-report): New command.
152         * org-list.el (org-hierarchical-checkbox-statistics): Improve
153         docstring.
155         * org.el (org-emphasis-regexp-components): Add "`" to set of
156         pre-emphasis characters.
158         * org-latex.el (org-export-latex-classes): Always include the soul
159         package.
160         (org-export-latex-emphasis-alist): Use \st for strikethough.
161         (org-export-latex-fontify): Fix emphasis in quotes.
163         * org-exp-blocks.el (org-export-blocks-preprocess): Use
164         `indent-code-rigidly' to indent.
166         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
167         properties only if MATCH really is a string.
169 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
171         * org-latex.el (org-export-latex-packages-alist): Fix
172         customization type.
174         * org.el (org-create-formula-image): Also use
175         `org-export-latex-packages-alist'.
177         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
178         (org-export-as-html): Format footnotes correctly.
180 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
182         * org.el (org-fast-tag-selection): Avoid text properties on tags
183         in the alist.
185         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
186         text properties on the match element.
188 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
190         * org.el (org-set-regexps-and-options): Make sure the list of done
191         keywords is not invalid.
193         * org-exp.el (org-export-interpolate-newlines): New function.
195 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
197         * org.el (org-format-latex): Avoid nested overlays.
199         * org-latex.el (org-export-latex-listings-langs): Add a few more
200         languages.
202         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
203         ignore newlines and space before the first macro argument.
205         * org-latex.el (org-export-latex-tables): Remove save-excursion
206         around `org-table-align'.
208 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
210         * org.el (org-export-html-special-string-regexps): Definition
211         moved into org.el
213         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
214         in macro calls.
216 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
218         * org-latex.el (org-export-latex-listings)
219         (org-export-latex-listings-langs): New options.
221         * org-exp.el (org-export-format-source-code-or-example): Use
222         listing package if requested by the user.
224 2009-08-08  Bastien Guerry  <bzg@altern.org>
226         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
227         command before actually switching to a buffer.
229 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org-exp.el (org-get-file-contents): Only quote org lines when
232         the markup is src or example.
234         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
235         New option
236         (org-agenda-get-day-entries): Remember deadline results and pass
237         them on into the function getting the scheduling information.
238         (org-agenda-get-scheduled): Accept deadline results as parameters
239         and maybe skip some entries.
240         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
242         * org.el (org-insert-heading): When respecting content, do not
243         convert current line to headline.
245         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
246         cheeeeeck the hd marker
247         (org-clock-in): Also set the hd marker.
248         (org-clock-out): Also set the hd marker.
249         (org-clock-cancel): Reset markers.
251         * org.el (org-clock-hd-marker): New marker.
253         * org-faces.el (org-agenda-clocking): New face.
255         * org-agenda.el (org-agenda-mark-clocking-task): New function.
256         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
258         * org.el (org-modules): Add org-track.el.
260         * org-agenda.el (org-agenda-bulk-marked-p): New function.
261         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
262         `org-agenda-bulk-marked-p'.
263         (org-agenda-bulk-toggle): New command.
265 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
267         * org.el (org-move-subtree-down): Hide subtree if it was folded,
268         not just the body.
270         * org-remember.el (org-remember-finalize): Avoid buffer-modified
271         messages.
273 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
275         * org-latex.el (org-export-latex-first-lines): Fix bug with
276         finding the end of the first lines.
278         * org.el (org-create-formula-image): Remove the -E option for
279         dvipng.
281         * org-exp.el (org-default-export-plist): Respect #+BIND.
282         (org-export-confirm-letbind): New function.
284         * org.el (org-paste-subtree): Test the kill ring entry if it is
285         going to be used.
286         (org-copy-subtree): Use `org-forward-same-level'.
287         (org-forward-same-level): Respect the `invisibe-ok' arg for
288         back-to-heading.
290 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
292         * org.el (org-table-map-tables): Make sure cursor is back at table
293         beginning after funcall.
295         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
296         handled before children, and do not error if an entry is not
297         found, probably because it hase been remove when the parent was
298         archived or refiled.
300         * org.el (org-ido-completing-read): Accept straight lists for
301         completion as well as alists.
303         * org-html.el (org-export-as-html): Fix parenthesis error in
304         footnore code.
306         * org-timer.el (org-timer-cancel-timers): Renamed from
307         `org-timer-cancel-timers'.
309         * org.el (org-cycle-internal-local): Fix problem with finding next
310         invisible line.
312 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org-list.el (org-list-send-list): Call
315         `org-list-goto-true-beginning' instead of
316         `org-list-find-true-beginning', which does not exist.
318         * org-timer.el (org-timer-reset-timers): Use `mapc'.
319         (org-timer-set-timer): Do not assign to heading.
321         * org-id.el (org-id-open): Quote function name.
323         * org-macs.el (org-unmodified): Turn off recording undo
324         information while running inside the macro.
326         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
327         variable.
328         (org-indent-mode): Remember and restore value of
329         org-hide-leading-stars before `org-indent-mode'.
331         * org-table.el (org-table-export): Also work in file-less
332         buffers.
334         * org.el (org-startup-indented): New option.
335         (org-startup-options): Add new options indent and noindent.
336         (org-unfontify-region): Remove line-prefix and wrap-prefix
337         properties.
338         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
339         hooks.
340         (org-promote, org-demote): Run the new hooks.
342         * org-table.el (org-table-align): Replace leading \n as well.
344         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
345         and `line-wrap' text properties.
347         * org-compat.el (org-kill-new): New function.
349         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
350         `line-wrap' text properties.
352         * org-indent.el: New file.
354 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
356         * org.el (org-provide-todo-statistics): Tweak docstring.
358         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
360 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
362         * org-exp.el (org-export-as-org): Insert the "-source" string
363         before the extension.
365         * org.el (org-read-date): Make sure the calendar is in the current
366         frame.
367         (org-set-emph-re): Remove the ? from the post-match.
368         (org-emphasis-regexp-components): Add backslash to the
369         postmatch class.
370         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
371         optional so that also lines at the end of the buffers will still
372         be matched as headlines.
374         * org-table.el (org-table-error-on-row-ref-crossing-hline):
375         Variable made obsolete.
376         (org-table-relative-ref-may-cross-hline): New option.
377         (org-table-find-row-type): Honow the new option
378         `org-table-relative-ref-may-cross-hline'.
380 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
382         * org-table.el (org-table-cut-region, org-table-copy-region): Work
383         on single field if no active region.
385 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
387         * org-latex.el (org-export-latex-make-header): Only insert title
388         if one is defined.
390         * org.el (org-make-options-regexp): Allow empty values.
392         * org-html.el (org-export-as-html): Move hrule detection to after
393         plain list handling.
395 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
397         * org-html.el (org-format-org-table-html): Fix colgroup tags.
399 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
401         * org.el (org-cycle-internal-local): Improved version of finding
402         next visible line.
403         (org-cycle-hide-drawers): Only hide drawers if this is really
404         necessary.
405         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
406         org-version of this function in Org-mode.  We use advice to
407         implement this change, so that future changes to this function in
408         outline.el wil be handled properly.
409         (org-forward-same-level, org-backward-same-level): New commands.
411 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
413         * org.el (org-remove-empty-overlays-at)
414         (org-clean-visibility-after-subtree-move): New functons.
415         (org-move-subtree-down): Simplify cleanup of display.
417 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
419         * org-mac-message.el (org-mac-message-get-links): Improve
420         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
421         "s".  Fix the return value.
422         (org-mac-message-insert-flagged): Simplify.
424         * org.el (org-refile-get-location): Tamper with refile history o
425         that history contains compete matches instead of the entered
426         string.
428 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
430         * org.el (org-store-link): Never store a link to an inline task.
432         * org-inlinetask.el (org-inlinetask-insert-task): New command.
434         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
435         inline tasks when positioning footnotes.
437         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
438         function.
440         * org.el (org-refile): Remove the END line when archiving an
441         inline task that does have an END line.
443         * org-archive.el (org-archive-subtree): Remove the END line when
444         archiving an inline task that does have an END line.
446         * org-macs.el (org-with-limited-levels): New macro.
447         (org-get-limited-outline-regexp): New function.
449         * org-exp.el (org-export-format-source-code-or-example): Fix bug
450         that did not enumerate first line.
451         (org-export-mark-radio-links): Skip matches in links.
453 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org.el (org-activate-plain-links): Make single-match.
456         (org-adapt-indentation): Fix docstring.
458         * org-macs.el (org-unmodified): Turn of modification hooks while
459         running this macro.
461 2009-08-02  Bastien Guerry  <bzg@altern.org>
463         * org.el (org-adapt-indentation): Slightly improve the docstring.
464         (org-occur): Sends an error when the user inputs an empty string.
465         (org-priority): Bugfix: the tag alignement should happen within
466         save-excursion.
468 2009-07-31  Bastien Guerry  <bzg@altern.org>
470         * org.el (org-make-link-regexps): Don't exclude parentheses from
471         `org-plain-link-re'
472         (org-cycle-internal-local): When locally cycling, switch directly
473         from CHILDREN to FOLDED if there is no subtree
474         (org-cycle): Update the docstring to document the new behavior of
475         `org-cycle-internal-local'.
477 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
479         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
480         an abbreviated format for days.
482 2009-07-27  Bastien Guerry  <bzg@altern.org>
484         * org-protocol.el (org-protocol-default-template-key): New
485         option.
487         * org.el (org-refile): Bugfix: save-excursion before reading the
488         refile target, otherwise cursor moves might confuse `org-refile'.
490         * org-html.el (org-export-as-html): Bugfix: correctly convert the
491         footnote reference before the footnote itself.
493         * org.el (org-toggle-heading): Bugfix: correctly convert list
494         items before the first headline.
496         * org-html.el (org-export-html-footnote-format): New option for
497         formatting the footnote reference.
498         (org-export-as-html): Use the new option.
500         * org.el (org-provide-todo-statistics): Allow a list of TODO
501         keywords to compute statistics against headlines containing a
502         keyword from this list.
503         (org-update-parent-todo-statistics): Possibly use the new allowed
504         value of `org-provide-todo-statistics'.
506 2009-07-26  Bastien Guerry  <bzg@altern.org>
508         * org-timer.el: Add autoload cookie.
510         * org.el (org-occur-link-in-agenda-files): New function.
512         * org-timer.el (org-timer-last-timer): New variable.
514         * org-agenda.el (org-agenda-mode-map): New key for
515         org-timer-set-timer called from the agenda.
517         * org.el (org-mode-map): New key for org-timer-set-timer.
519         * org-timer.el (org-timer-reset-timers)
520         (org-timer-show-remaining-time, org-timer-set-timer): New
521         functions.
523         * org-clock.el (org-show-notification): Update the docstring.
525         * org.el (org-provide-todo-statistics): Allow new value
526         'all-headlines for this option, which includes entries with no
527         TODO keywords in the todo statistics.
528         (org-update-parent-todo-statistics): Possibly use the new
529         'all-headline value from `org-provide-todo-statistics'.
531 2009-07-25  Bastien Guerry  <bzg@altern.org>
533         * org-clock.el (org-dblock-write:clocktable): Add a new option
534         :timestamp which allows display of timestamps in clock reports.
536         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
537         list to a subtree, preserving the structure of the list.
538         (org-set-emph-re): Make the last element optional in the regexp.
539         This regexp now matches an emphasized string at the end of a line.
541         * org-list.el (org-list-goto-true-beginning)
542         (org-list-make-subtree, org-list-make-subtrees): New functions.
544         * org.el (org-eval-in-calendar): Select the right frame.
545         (org-save-frame-excursion): Remove this macro.
547 2009-07-24  Bastien Guerry  <bzg@altern.org>
549         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
550         trying to find the beginning of a list.
552         * org-exp.el (org-get-file-contents): Use a new argument: markup.
553         When present, tell org-get-file-contents not to protect org-like
554         lines.
556         * org-id.el (org-id-uuid-program): New option to set the name of
557         the uuidgen program.
558         (org-id-method): Use `org-id-uuid-program'.
559         (org-id-new): Use `org-id-uuid-program'.
561 2009-07-23  Bastien Guerry  <bzg@altern.org>
563         * org-exp.el (org-export-number-lines): Allow whitespace in code
564         references.  Allow the -r switch to remove the references in the
565         source code even when the lines are not numbered: the labels can
566         be explicit enough.
568         * org.el (org-fontify-whole-heading-line): New option.
569         (org-set-font-lock-defaults): Use the new option.
571         * org-clock.el (org-show-notification-handler): New option.
572         (org-show-notification): Use the new option.
574 2009-07-21  Bastien Guerry  <bzg@altern.org>
576         * org.el (org-eval-in-calendar): Fix a bug about calendar
577         navigation when `calendar-setup' value is 'calendar-only.
579 2009-07-19  Bastien Guerry  <bzg@altern.org>
581         * org.el (orgstruct++-mode): Fix typo in docstring.
582         (org-insert-link): Clean up: (or (...)) => (...)
583         (org-insert-link): Use TAB for stored links completion.
585 2009-07-18  Bastien Guerry  <bzg@altern.org>
587         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
588         building the list of targets.
590         * org-remember.el (org-remember-delete-empty-lines-at-end): New
591         option.
592         (org-remember-handler): Use the new option.
594 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
596         * org.el (org-tags-sort-function): New option for sorting tags.
597         (org-set-tags): Use the new option to sort tags.
599         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
600         premature deletion of the data when using org-plot in a script.
602 2009-07-17  Bastien Guerry  <bzg@altern.org>
604         * org-clock.el (org-clock-in-prepare-hook): New hook.
605         (org-clock-in): Use this new hook.
607 2009-07-16  Bastien Guerry  <bzg@altern.org>
609         * org.el (org-special-ctrl-a/e): Explicitely bind the value
610         'reversed for this option to the "true line boundary first"
611         behavior.
612         (org-tags-match-list-sublevels): Document the 'indented value for
613         this variable.
615         * org-latex.el (org-export-latex-first-lines): Fix problem with
616         publishing the region.
618         * org-exp.el (org-export-format-source-code-or-example): Fix
619         bad line numbering when exporting examples in HTML.
621 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
623         * org-colview.el (org-format-time-period): Formats a time in
624         fractional days as days, hours, mins, seconds.
625         (org-columns-display-here): Add special handling for SINCE and
626         SINCE_IA to format for display.
628         * org.el (org-time-since): Add a function to get the time since an
629         org timestamp.
630         (org-entry-properties): Add two new special properties: SINCE and
631         SINCE_IA. These give the time since any active or inactive
632         timestamp in an entry.
633         (org-special-properties): Add SINCE, SINCE_IA.
634         (org-tags-sort-function): Add custom declaration for tags
635         sorting function.
636         (org-set-tags): Sort tags if org-tags-sort-function is set
638 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
640         * org-clock.el (org-clock-goto): Find hidden headlines as well.
642         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
644         * org-plot.el (org-plot/add-options-to-plist): Add timeind
645         option.
647 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
649         * org-publish.el (org-publish-remove-all-timestamps): New function.
650         (org-publish-all): Remove all timestamp files if `org-publish-all'
651         is called with a prefix argument.
653         * org-list.el (org-indent-item): Fix typo.
654         (org-item-indent-positions): Normalize ordered bullet.
656         * org-html.el (org-export-html-home/up-format): New option.
657         (org-export-as-html): Insert the up and HOME links.
659 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
661         * org-html.el (org-export-as-html): Insert the title into the
662         option plist.
663         (org-export-html-insert-plist-item): New function.
664         (org-export-as-html): Call `org-export-html-insert-plist-item'.
666         * org-macs.el (org-set-local): Make a local variable, do not make
667         the variable buffer-local!
669         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
671         * org-html.el (org-export-as-html): Call `org-install-letbind'.
673         * org-docbook.el (org-export-as-docbook): Call
674         `org-install-letbind'.
676         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
678         * org-exp.el (org-infile-export-plist): Read BIND lines.
679         (org-install-letbind): New function.
680         (org-export-as-org, org-export-preprocess-string): Call
681         `org-install-letbind'.
683         * org-src.el (org-edit-src-exit): Untabify the example before
684         returning to Org.
686         * org-list.el (org-list-demote-modify-bullet): New option.
687         (org-first-list-item-p): Save point.
688         (org-fix-bullet-type): New optional argument FORCE-BULLET.
689         (org-indent-item): Honor `org-list-demote-modify-bullet'.
690         (org-item-indent-positions): Return bullet types along with
691         indentation.
693 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
695         * org.el (org-show-entry): Hide drawers.
697 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
699         * org-footnote.el (org-footnote-auto-adjust): New option.
700         (org-footnote-auto-adjust-maybe): New function.
701         (org-footnote-new, org-footnote-delete): Call
702         `org-footnote-auto-adjust-maybe'.
704         * org.el (org-startup-options): Add new footnote-related
705         keywords.
707         * org-publish.el (org-publish-timestamp-filename): Additional
708         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
709         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
710         TRUE-PUB-DIR.  Pass them through to
711         `org-publish-timestamp-filename'.
712         (org-publish-update-timestamp): Additional arguments PUB-DIR and
713         PUB-FUNC, which are included in the hash.
714         (org-publish-file): Delay timestamp test until the publishing
715         function is known.
717 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
720         setting the deadline.
722         * org.el (org-read-date-final-answer): New variable.
723         (org-read-date): Store the final answer string, including the date
724         from the calendar, for reuse by agenda bulk commands.
726         * org-publish.el (org-publish-attachment): Fix publishing of
727         attachments.
729         * org-latex.el (org-export-latex-quotation-marks): Fix export of
730         quotation makrs in parenthesis.
731         (org-remove-initial-hash): New function.
732         (org-export-latex-preprocess): Fix bug with infinite loop if
733         environment is not properly closed.
735         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
736         when indented.
738         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
739         highlight also when indented.
741 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
743         * org-footnote.el (org-footnote-renumber-fn:N): New command.
744         (org-footnote-action): Offer renumbering.
746         * org.el (org-cycle): Honor the `integrate' value of
747         org-cycle-include-plain-lists'.
749         * org-list.el (org-cycle-include-plain-lists): New allowed value
750         `internal'.  Improve the docstring.
752         * org.el (org-set-autofill-regexps): Improve the paragraph-start
753         regexp to work better with LaTeX commands.
755 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
757         * org-feed.el (org-feed-update): fix problem with non-existing
758         buffer.
759         (org-feed-skip-http-headers): New function.
760         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
761         (org-feed-get-feed): Fix command line arguments for curl.
763 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
765         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
766         and eps extensions.
768 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
770         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
771         loaded.
773         * org.el (org-map-entries): No longer force
774         `org-tags-match-list-sublevels' to t during a todo-only tags
775         search.
777 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
779         * org-latex.el (org-export-latex-low-levels): Allow user-defined
780         environment.
781         (org-export-latex-subcontent): Handle user-defined environment.
783         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
784         the View dispatcher.
786         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
787         `make-overlay'.
789         * org-latex.el (org-export-as-pdf): Protect match data during call
790         to shell-quote-argument.
792         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
793         (org-agenda-view-mode-dispatch): New function.
795 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
797         * org-agenda.el (org-agenda-mode): Reset list of marks.
798         (org-agenda-mode-map): Define new keys for refile and bulk action.
799         (org-agenda-menu): Add menu itesm for refile and bulk action.
800         (org-agenda-refile): New function.
801         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
802         (org-agenda-marked-entries): New variable.
803         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
804         (org-agenda-remove-all-bulk-action-marks)
805         (org-agenda-bulk-action): New functions/commands.
807 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
809         * org-exp.el (org-get-file-contents): Protect org-like lines in
810         included files.
811         (org-export-format-source-code-or-example): Remove newlines.
813         * org-latex.el (org-export-latex-links): Check for no-description
814         marking.
816         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
817         argument separator back to comma.
818         (org-export-normalize-links): Mark links without description.
820 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
822         * org-exp.el (org-infile-export-plist): Fix bug in macro
823         processing.
825         * org-agenda.el (org-agenda-clock-out): Update line after clocking
826         out.
827         (org-agenda-highlight-todo): Fix bug with highlighting.
829 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
831         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
832         new alignment strings.
834         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
835         command list.
836         (org-table-align): Check for forced align type.
838         * org.el (org-self-insert-command): Add yas/expand to command
839         list.
841         * org-clock.el (org-clock-in-hook): New hook.
842         (org-clock-in): Run `org-clock-in-hook.
843         (org-clock-out-hook): New hook.
844         (org-clock-out): Run `org-clock-out-hook.
845         (org-clock-cancel-hook): New hook.
846         (org-clock-cancel): Run `org-clock-cancel-hook.
847         (org-clock-goto-hook): New hook.
848         (org-clock-goto): Run `org-clock-goto-hook.
850 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
852         * org.el (org-store-link): Better default description for link to
853         Org-mode headline.
855         * org-exp.el (org-export-generic): Autoload the generic exporter
856         function.
857         (org-export): Implement the `g' key for the generic exporter.
859 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
861         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
862         and for zbacktab'.
864         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
866         * org-exp.el (org-infile-export-plist): Get macros also from
867         #+SETUPFILE.
869 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-colview.el (org-columns-capture-view): Protect vertical bars
872         in column values.
873         (org-columns-capture-view): Exclude comment and archived trees.
875         * org-colview-xemacs.el (org-columns-capture-view): Protect
876         vertical bars in column values.
877         (org-columns-capture-view): Exclude comment and archived trees.
879         * org.el (org-quote-vert): New function.
881         * org-latex.el (org-export-latex-verbatim-wrap): New option.
883         * org-exp.el (org-export-format-source-code-or-example): Use
884         `org-export-latex-verbatim-wrap'.
886         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
887         time stamps.
889         * org-html.el (org-export-table-row-tags): New option.
890         (org-format-org-table-html): Rename `nlines' to `nline', use new
891         option.
894 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
896         * org-exp-blocks.el: Declare functions and variables.
898         * org-remember.el (org-remember-templates): Allow the headline
899         element to be a function.
900         (org-remember-apply-template): If the headline is a function, call
901         it to get the true function.
903         * org-clock.el (org-clock-menu): New function.
904         (org-clock-update-mode-line): Update help string.
905         (org-clock-modify-effort-estimate): New function.
906         (org-clock-mark-default-task): New function.
908         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
909         minutes as input.
910         (org-org-menu): Add new clocking stuff.
911         (org-clock-is-active): New function.
913 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
915         * org.el (org-open-non-existing-files): Improve docstring.
917 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
919         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
920         option.
921         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
923         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
925         * org-list.el (org-get-checkbox-statistics-face): Use the new
926         faces.
928         * org-faces.el (org-checkbox-statistics-todo)
929         (org-checkbox-statistics-done): New faces.
931 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
933         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
934         (org-edit-src-exit): Better cursor positioning when returning from
935         editing.
937         * org-latex.el (org-export-latex-use-verb): New variable.
938         (org-export-latex-emph-format): Prefer \texttt over \verb when
939         org-export-latex-use-verb is set.
941 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
943         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
944         at normal indentation.
946         * org-html.el (org-export-html-close-lists-maybe): Also look at
947         normal indentation.
949         * org-remember.el (org-remember-handler): Abort remember if the
950         buffer is empty.
952         * org-src.el (org-edit-src-content-indentation): New option.
953         (org-edit-src-exit): Apply extra indentation.
955         * org-exp.el (org-export-format-source-code-or-example): Run
956         `org-src-mode-hook'.
958         * org-src.el (org-src-mode-hook): New variable.
959         (org-edit-src-code): Run `org-src-mode-hook'.
961 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
963         * org.el (org-indent-line-function): Fix indentation of +#end lines.
965         * org-src.el (org-edit-src-get-indentation): New function.
966         (org-edit-src-code): Base indentation on the begin line.
968 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
970         * org-gnus.el (org-gnus-store-link): Require message.el in
971         org-gnus-store-link.
973 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
975         * org-src.el: New file, split out of org.el
977         * org-docbook.el (org-export-as-docbook): Better indentation
978         treatment.
980         * org-macs.el (org-replace-match-keep-properties): New function.
982         * org-exp.el (org-export-mark-blockquote-verse-center): Better
983         preprocessing of center and quote and verse blocks.
985         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
986         (org-export-as-docbook): Close lists when original indentation
987         mandates it.
989         * org-html.el (org-export-html-close-lists-maybe): New function.
990         (org-export-as-html): Close lists when original indentation
991         mandates it.
993         * org-list.el (org-list-end): Respect the stored "original"
994         indentation when determining the end of the list.
996         * org-exp.el (org-export-replace-src-segments-and-examples):
997         Remember indentation correctly.
999 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1001         * org-clock.el (org-clock-update-mode-line): Apply face
1002         org-mode-line-clock.
1004         * org-faces.el (org-mode-line-clock): New face.
1006 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1008         * org-gnus.el (org-gnus-store-link): Fix bug where
1009         `org-gnus-store-link' used wrong subject when called in an article
1010         buffer.  Patch provided by fengli AT gmail DOT com.
1012 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1014         * org-exp.el (org-export-format-source-code-or-example): Remember
1015         the original indentation of source code snippets and examples.
1017         * org-latex.el (org-export-as-latex): Relocate the table of
1018         contents.
1020         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1022         * org-agenda.el (org-run-agenda-series): Scope global options also
1023         when creating the agenda buffer.
1025 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1027         * org.el (org-adapt-indentation): Improve documentation.
1028         (org-insert-property-drawer): Respect org-adapt-indentation when
1029         inserting the drawer.
1030         (org-remove-flyspell-overlays-in): New function.
1031         (org-do-emphasis-faces, org-activate-plain-links)
1032         (org-activate-code, org-fontify-meta-lines-and-blocks)
1033         (org-activate-angle-links, org-activate-footnote-links)
1034         (org-activate-bracket-links, org-activate-dates)
1035         (org-activate-target-links, org-activate-tags): Remove flyspell
1036         overlays.
1038 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1040         * org.el (org-edit-src-save): New function.
1042         * org-clock.el (org-clock-out-switch-to-state): New option.
1043         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1045         * org-compat.el (org-compatible-face): Improve macro.
1047         * org.el (org-global-properties-fixed): Add default for
1048         CLOCK_MODELINE_TOTAL.
1050         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1051         andd tend.
1052         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1053         org-clock-sum.
1054         (org-clock-get-sum-start): New function.
1056         * org.el (org-startup-options): New keywords blockhide and
1057         blockshow.
1058         (org-mode): Add new invisibility spec.
1059         (org-set-startup-visibility): Hide block on startup if so
1060         desired.
1061         (org-hide-block-startup): New option.
1062         (org-block-regexp): New constant.
1063         (org-hide-block-overlays): New variable.
1064         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1065         (org-show-block-all, org-hide-block-toggle-maybe)
1066         (org-hide-block-toggle): New functions.
1067         (org-edit-src-exit): Do not quote lines starting with # and no +
1068         behind it.
1069         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1070         entry.
1072 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1074         * org.el (org-buffer-property-keys): Add Effort property for
1075         completion.
1077 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1079         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1080         when retrieving total clocked time in the subtree.
1082         * org.el (org-quoting-blocks): New variable.
1084 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1086         * org-table.el (org-table-store-formulas)
1087         (org-table-get-stored-formulas, org-table-fix-formulas)
1088         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1089         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1091         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1092         indented #+TBLFM line.
1094         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1095         indented #+TBLFM line.
1097         * org-colview.el (org-dblock-write:columnview): Allow indented
1098         #+TBLFM line.
1100         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1101         indented #+TBLFM line.
1103         * org-clock.el (org-dblock-write:clocktable): Allow indented
1104         #+TBLFM line.
1106 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1108         * org-exp.el (org-export-format-source-code-or-example): Make
1109         editing indented blocks work correctly.
1111         * org.el (org-edit-src-nindent): New variable.
1112         (org-edit-src-code, org-edit-fixed-width-region)
1113         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1114         editing indented blocks work correctly.
1116 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1118         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1119         indented blocks.
1120         (org-export-format-source-code-or-example): Fix indentation of
1121         blocks.
1122         (org-export-remove-indentation): New function.
1123         (org-export-select-backend-specific-text): Allow backend-specific
1124         code to be indented.
1125         (org-export-mark-blockquote-verse-center): Allow markers to be
1126         indented.
1128         * org.el (org-fontify-meta-lines): New function.
1129         (org-set-font-lock-defaults): Call the new fontification
1130         function.
1132         * org-faces.el (org-meta-line): New face
1133         (org-block):  New face.
1135 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1137         * org.el (org-treat-insert-todo-heading-as-state-change)
1138         (org-treat-S-cursor-todo-selection-as-state-change): New
1139         variables.
1140         (org-insert-todo-heading): Honor
1141         `org-treat-insert-todo-heading-as-state-change'.
1142         (org-shiftright, org-shiftleft): Honor
1143         `org-treat-S-cursor-todo-selection-as-state-change'.
1144         (org-inhibit-logging): New variable.
1146 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1148         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1149         range for marker position checking.
1151         * org-latex.el (org-export-latex-first-lines): Fix bug when
1152         exporting a region.
1154 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1156         * org-exp.el (org-export-push-to-kill-ring): Protect using
1157         x-set-selection, because that does not always work.
1159         * org-agenda.el (org-agenda-list): Apply the new face
1160         `org-agenda-date-today'.
1162         * org-faces.el (org-agenda-date-today): New face.
1164 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1166         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1167         creating appointments.
1169         * org-latex.el (org-export-latex-low-levels): Fix customization
1170         type.
1172         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1173         priority commands.
1175         * org-agenda.el (org-agenda-priority): Disable priority commands.
1177         * org.el (org-enable-priority-commands): New option.
1179         * org-colview-xemacs.el (org-columns-compute)
1180         (org-columns-number-to-string): Fix problems with empty fields.
1182         * org-colview.el (org-columns-compute)
1183         (org-columns-number-to-string): Fix problems with empty fields.
1185         * org-exp.el (org-export-push-to-kill-ring): New function.
1186         (org-export-copy-to-kill-ring): New option.
1188         * org-latex.el (org-export-as-latex): Call
1189         `org-export-push-to-kill-ring'.
1191         * org-html.el (org-export-as-html): Call
1192         `org-export-push-to-kill-ring'.
1194         * org-docbook.el (org-export-as-docbook): Call
1195         `org-export-push-to-kill-ring'.
1197         * org-ascii.el (org-export-as-ascii): Call
1198         `org-export-push-to-kill-ring'.
1200         * org-exp.el (org-export-show-temporary-export-buffer): New
1201         option.
1203         * org-latex.el (org-export-as-latex): Use
1204         `org-export-show-temporary-export-buffer'.
1206         * org-html.el (org-export-as-html): Use
1207         `org-export-show-temporary-export-buffer'.
1209         * org-docbook.el (org-export-as-docbook): Use
1210         `org-export-show-temporary-export-buffer'.
1212         * org-ascii.el (org-export-as-ascii-to-buffer): Use
1213         `org-export-show-temporary-export-buffer'.
1215         * org-exp.el (org-export-show-temporary-export-buffer): New
1216         option.
1217         (org-export-push-to-kill-ring): New function.
1219         * org-colview.el (org-columns-compile-map): New variable.
1220         (org-columns-new, org-columns-compute)
1221         (org-columns-number-to-string, org-columns-uncompile-format)
1222         (org-columns-compile-format): Implement new operators.
1224 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
1226         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1228         * org-html.el (org-export-html-xml-declaration): New option.
1229         (org-export-as-html): Use `org-export-html-xml-declaration'.
1231         * org-list.el (org-update-checkbox-count): Make property
1232         dependent.
1234         * org.el (org-hierarchical-todo-statistics): New option.
1235         (org-update-parent-todo-statistics): Modified to handle recursive
1236         statistics.
1238 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
1240         * org-publish.el (org-publish): Make this function behave
1241         correctly in interactive use when called with a prefix argument.
1243         * org.el (org-todo-statistics-hook): New hook.
1244         (org-update-parent-todo-statistics): Use new hook.
1245         (org-log-into-drawer): New function.
1246         (org-add-log-setup): Use the new `org-log-into-drawer' function to
1247         determine if we should be logging into a drawer.
1248         (org-log-into-drawer): Update docstring.
1249         (org-default-properties): Add LOG_INTO_DRAWER as a property.
1251         * org-list.el (org-checkbox-statistics-hook): New hook.
1252         (org-update-checkbox-count-maybe): Use new hook.
1254         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1255         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1256         to kill ring.
1258 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
1260         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1261         a line.
1263 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
1265         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1266         better bufer-generating mechanism.
1267         (org-edit-src-find-buffer): New function.
1269         * org-icalendar.el (org-print-icalendar-entries): Don't check for
1270         archive tag, this is already done by `org-agenda-skip'.
1271         data while constructing lost of tags.
1273 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
1275         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1276         as argument separator in macros.
1278         * org-html.el (org-export-as-html): Add xml declaration.
1280 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
1282         * org.el (org-after-sorting-entries-or-items-hook): New hook.
1283         (org-sort-entries-or-items): Run the new hook.
1284         (org-after-refile-insert-hook): New hook.
1285         (org-refile): Run `org-after-refile-insert-hook'.
1287         * org-agenda.el (org-agenda-get-progress): Never take time of day
1288         from headline when displaying progress.
1290         * org-latex.el (org-export-latex-complex-heading-re): New variable.
1291         (org-export-as-latex): Force the correct regexp in the
1292         preprocessor buffer.
1293         (org-export-latex-set-initial-vars): Set
1294         `org-export-latex-complex-heading-re'.
1296         * org-agenda.el (org-agenda-start-with-log-mode): New option.
1297         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1299 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-latex.el (org-export-latex-tables-centered): New option.
1302         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1304         * org-exp.el (org-export-as-org): New command.
1305         (org-export-as-org): New command.
1307         * org-publish.el (org-publish-org-to-org): New function.
1309 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
1311         * org.el (org-yank): Just call `org-yank-generic'.
1312         (org-yank-generic): New function, containing the formaer
1313         functionality of `org-yank'.
1315         * org-latex.el (org-export-latex-not-done-keywords)
1316         (org-export-latex-done-keywords): New variables.
1317         (org-export-latex-todo-keyword-markup): New option.
1318         (org-export-latex-set-initial-vars): Remember the TODO keywords.
1319         (org-export-latex-keywords-maybe): Apply the TODO markup.
1321 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
1323         * org-exp.el (org-infile-export-plist): Add more default macros.
1324         (org-export-preprocess-apply-macros): Process macro arguments.
1326 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
1328         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1329         `unblocked'.
1330         (org-print-icalendar-entries): Respect the new value of
1331         `org-icalendar-include-todo'.
1333         * org.el (org-link-try-special-completion)
1334         (org-file-complete-link): New functions.
1335         (org-insert-link): Add special completion support for some link
1336         types.
1338         * org-bbdb.el (org-bbdb-complete-link): New function.
1340 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1342         * org-list.el (org-update-checkbox-count): Allow recursive
1343         statistics.
1344         (org-hierarchical-checkbox-statistics): New option.
1346         * org.el (org-cycle): Remove erraneous space character.
1348         * org-icalendar.el (org-icalendar-timezone): Initialize from
1349         environment.
1351         * org-html.el (org-format-org-table-html): Specify the scope.
1352         (org-format-table-table-html): Specify the scope.
1353         (org-export-table-header-tags): Prepare the scope parameter.
1355 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1357         * org-html.el
1358         (org-export-html-table-use-header-tags-for-first-column): New
1359         option.
1361         * org.el (org-autoload): Fix autoloading of ascii export
1362         functions.
1363         (org-modules): Add org-special-blocks.
1365 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1367         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1368         (org-ical-timezone): New option.
1370         * org-exp.el (org-export-get-coderef-format): Use the description
1371         is present.
1373         * org.el (org-sort-entries-or-items): Improve docstring, and make
1374         better implementation for time sorting.
1376 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1378         * org.el (org-edit-src-persistent-message): New option.
1379         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1380         option.
1382         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1383         patch.
1385         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1386         separate buffer instead of indirect buffer to edit source code.
1387         (org-edit-src-exit): Make this function work with the new setup.
1389         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1390         are properly fontified before shown in the selection menu.
1392         * org.el (org-fontify-like-in-org-mode): New function.
1394         * org-latex.el (org-export-latex-links): Use the property list to
1395         retrieve the default image attributes.
1397         * org-exp.el (org-export-plist-vars): Add a new option.
1399 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1401         * org-exp.el (org-export, org-export-visible): Support ASCII
1402         export to buffer
1403         (org-export-normalize-links): Do not protect the description if it
1404         is explicitly given.
1406         * org-ascii.el (org-export-as-ascii-to-buffer)
1407         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1408         commands.
1409         (org-export-as-ascii): Add all the same parameters that are also
1410         supported by the other export functions.
1412         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1413         org-checklist.el.
1414         (org-reset-checkbox-state-subtree): Call
1415         `org-reset-checkbox-state-subtree'.
1417         * org-remember.el (org-select-remember-template): For the
1418         selection of a valid template.
1420         * org-latex.el (org-export-region-as-latex): Supply the
1421         force-no-subtree argument.
1422         (org-export-as-latex): Provide better limits when exporting the
1423         first line.  When exporting to string, we still want the first
1424         lines.
1425         (org-export-latex-first-lines): New argument END, to force the end
1426         of the region.
1427         (org-export-region-as-latex): Use the property list.
1428         (org-export-as-latex):
1430         * org-colview-xemacs.el (org-columns-remove-overlays)
1431         (org-columns): Fix call to `local-variable-p'.
1433 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1435         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1436         (org-export-as-html): Run the new hook.
1438         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1439         (org-export-latex-preprocess): Run the new hook.
1441         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1442         (org-export-preprocess-string): Run the new hook.
1444 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1446         * org-macs.el (org-check-external-command): New defsubst.
1448         * org.el (org-mode-map): New key for reload.
1449         (org-format-latex): Better error message when external programs
1450         are not available.
1452         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1454         * org.el (org-sort-entries-or-items): Explicit sorting function
1455         for priorities, needed for XEmacs compatibility.
1457         * org-remember.el (org-remember-apply-template): Improve auto-save
1458         behavior.
1460 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1462         * org-latex.el (org-export-latex-preprocess): Also protect
1463         environments ending in a star.
1465         * org-list.el (org-at-item-p): Fix regular expression.
1467 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org.el (org-end-of-subtree): Improve speed.
1471         * org-agenda.el (org-agenda-get-timestamps)
1472         (org-agenda-get-progress, org-agenda-get-deadlines)
1473         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1474         in particular, wait as long as possible to collect the tags.
1475         (org-stuck-projects): Improve docstring.
1477         * org.el (org-store-link): No errors when getting custom id before
1478         first headline.
1479         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1481 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1483         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1485         * org-protocol.el: Remove dependency on url.el.
1486         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1487         dependency on url.el.
1489         * org-latex.el (org-export-as-pdf): Use
1490         `org-latex-to-pdf-process'.
1492 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1494         * org-latex.el (org-latex-to-pdf-process): New option.
1496         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1497         New option.
1498         (org-agenda-get-timestamps): Honor
1499         `org-agenda-skip-additional-timestamps-same-entry'.
1501         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1502         (org-clock-goto): Find recent task only if
1503         `org-clock-goto-may-find-recent-task' allows it.
1505         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1506         drawers, and drawers that are missing the :END: line.
1508 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1510         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1511         clock is running.
1513 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1515         * org.el (org-update-parent-todo-statistics): Check for
1516         STATISTICS_FROM property.
1518         * org-list.el (org-update-checkbox-count): Check for
1519         STATISTICS_FROM property.
1521         * org.el (org-tab-first-hook)
1522         (org-tab-after-check-for-table-hook)
1523         (org-tab-after-check-for-cycling-hook): New hooks.
1524         (org-cycle-internal-global, org-cycle-internal-local): New
1525         functions, split out from `org-cycle'.
1526         (org-cycle): Call the new hooks.
1528 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1530         * org-exp.el (org-export-preprocess-string): Reset the list of
1531         preferred targets for each run of the preprocessor.
1533         * org.el (org-refile-target-verify-function): Improve
1534         documentation.
1535         (org-get-refile-targets): Respect point being moved by the
1536         verification function.
1538         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1539         option.
1540         (org-export-latex-keywords): Use new option.
1542         * org.el (org-rear-nonsticky-at): New defsubst.
1543         (org-activate-plain-links, org-activate-angle-links)
1544         (org-activate-footnote-links, org-activate-bracket-links)
1545         (org-activate-dates, org-activate-target-links)
1546         (org-activate-tags): Place the rear-nonsticky properties at the
1547         correct location.
1549 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1551         * org-protocol.el (server-edit): Declare `server-edit'.
1552         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1553         functions.
1554         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1556         * org.el (org-default-properties): New default properteis for
1557         completion.
1559         * org-exp.el (org-export-add-subtree-options): Add new properties
1560         for subtree export.
1562         * org-docbook.el (org-export-docbook-keywords-markup)
1563         (org-export-docbook-timestamp-markup): New options.
1564         (org-export-docbook-protect-tags): New function.
1566 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1568         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1569         org-refile-target-verify-function for the duration of the command.
1571         * org.el (org-link-to-org-use-id): New possible value
1572         `create-if-interactive-and-no-custom-id'.
1573         (org-store-link): Use custom IDs.
1574         (org-link-search): Find custom ID properties from #link.
1575         (org-default-properties): Add CUSTOM_ID for property completion.
1576         (org-refile-target-verify-function): New option.
1577         (org-goto): Turn off org-refile-target-verify-function
1578         for the duration of the command.
1580 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1582         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1584         * org-exp.el (org-export-preferred-target-alist): New variable.
1585         (org-export-define-heading-targets): Find the new CUSTOM_ID
1586         property.
1587         (org-export-target-internal-links): Target the custom ids when
1588         possible.
1590         * org-latex.el (org-export-latex-preprocess): Better regexp for
1591         matching latex macros with arguments.
1593 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1595         * org-remember.el (org-remember-handler): Allow filing to non-org
1596         files.
1598 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1600         * org-feed.el (org-feed-alist): New keyword options.
1601         (org-feed-update): Use the new options.
1602         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1603         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1604         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1605         functions.
1607         * org-table.el (org-table-fix-formulas): Do not change references
1608         to remote tables.
1609         (org-table-get-remote-range): Convert standard coordinates to RC
1610         format.
1612         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1614 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org-compat.el (org-sha1-string): Function removed.
1618         * org.el (org-refile-allow-creating-parent-nodes): New option.
1619         (org-refile-get-location): New argument NEW-NODES.
1620         (org-refile): Call `org-refile-get-location' with the new
1621         argument.
1622         (org-refile-get-location): Arrange for adding a new child.
1623         (org-refile-new-child): New function.
1625         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1626         an additional span element.
1628         * org-clock.el: Fix a number of docstrings.
1629         (org-clock-find-position): New argument
1630         FIND-UNCLOSED to make the function find an unclosed clock in the
1631         entry.
1632         (org-clock-in): Call `org-clock-find-position' with the new
1633         argument if we might be resuming a clock.
1635 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1637         * org-latex.el (org-export-latex-display-custom-times): New variable.
1638         (org-export-latex-timestamp-markup): New option.
1639         (org-export-latex-set-initial-vars): Remember the local value of
1640         `org-display-custom-times'.
1641         (org-export-latex-content): Process time stamps.
1642         (org-export-latex-time-stamps): New function.
1644         * org-macs.el (org-maybe-intangible): Add intangible property
1645         again to invisible text.
1647 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1649         * org-exp.el (org-default-export-plist): Handle undefined
1650         variables.
1652 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1654         * org.el (org-sort-entries-or-items): Match TODO keywrds
1655         case-sensitively, when sorting.
1656         (org-priority): Do not match TODO keywords with wrong case.
1658 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1660         * org-feed.el (org-feed-update): Bind the variable
1661         `new-formatted'.
1663         * org-html.el (org-export-as-html): Start paragraphs after literal
1664         examples.
1666         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1667         literal examples.
1669 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1671         * org.el (org-todo): Honor the NOBLOCKING property.
1673         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1674         NOBLOCKING property.
1676         * org.el (org-scan-tags): Fix bug in tag scanner
1678 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1680         * org.el (org-modules): Mark obsolete packages.
1682         * org-html.el: New file, split out from org-exp.el.
1684         * org-icalendar.el: New file, split out from org-exp.el.
1686         * org-xoxo.el: New file, split out from org-exp.el.
1688         * org-ascii.el: New file, split out from org-exp.el.
1690 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1692         * org-compat.el (org-find-library-name): New function.
1694         * org.el (org-pre-cycle-hook): New hook.
1695         (org-cycle): Call the new hook in appropriate places.
1696         (org-reload): Only reload files that have been loaded before.
1698 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1700         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1701         after todo keyword.
1702         (org-todo): When changing TODO state, do matching
1703         case-sensitively.
1704         (org-map-continue-from): New variable.
1705         (org-scan-tags): Respect values in `org-map-continue-from'.
1706         (org-reload): Make XEmacs compatible.
1708 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
1710         * org-protocol.el (org-protocol-flatten-greedy): New function.
1711         (org-protocol-flatten): New function.
1713         * org.el (org-open-link-from-string): Pass reference buffer to
1714         `org-open-at-point'.
1715         (org-open-at-point): New optional argument `reference-buffer'.
1717 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
1719         * org.el (org-scan-tags): Make tag scan find headline in first
1720         line, 2nd attempt.
1721         (org-get-refile-targets): Add the naked file name.
1722         (org-refile): Store as top-level entry when only file name was
1723         given.
1725         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1727         * org.el (org-block-todo-from-children-or-siblings-or-parent):
1728         Renamed from org-block-todo-from-children-or-siblings, and
1729         enhanced to look for the parent's status as well.
1731         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1732         (org-agenda-get-progress): Add first notes line to log entry if so
1733         desired.
1735 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
1737         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1738         (org-agenda-cleanup-fancy-diary): Call the new hook.
1740         * org-remember.el (org-remember-apply-template): Take the default
1741         for the annotation from the :annotation property.
1743         * org-mac-message.el (org-mac-message-get-link): Remove the
1744         quotes.
1745         (org-mac-message-get-link): Return the result.
1747 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
1749         * org.el (org-refile-get-location): Add file name only if not
1750         already included in outline path.
1752         * org-faces.el (org-n-level-faces): Fix customization type from
1753         number to integer.
1755         * org-exp.el (org-export-headline-levels): Fix customization type
1756         from number to integer.
1758         * org-agenda.el (org-agenda-confirm-kill)
1759         (org-agenda-custom-commands-local-options)
1760         (org-timeline-show-empty-dates, org-agenda-ndays)
1761         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1762         customization type from number to integer.
1764 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
1766         * org-protocol.el: Declare some functions.
1768         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1769         postion before inserting modified headline.
1771         * org-agenda.el (org-agenda-compare-effort): Honor
1772         `org-sort-agenda-noeffort-is-high'.
1773         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1774         (org-agenda-compare-effort): Implement the "?" operator for
1775         finding entries without effort setting.
1777         * org.el (org-extract-attributes-from-string): New function.
1779         * org-exp.el (org-export-splice-attributes): New function.
1781 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
1783         * org-mouse.el: XEmacs compatibility fixes
1785         * org-docbook.el (org-export-as-docbook): Process footnotes like
1786         normal text.
1788         * org.el (org-modules): Add org-inlinetasks.el
1789         (org-cycle): Implement limiting level on cycling.
1790         (org-move-subtree-down): Fix bug with swapping subtrees at end of
1791         buffer.
1793         * org-inlinetask.el: New file.
1795         * org.el (org-emphasis-regexp-components): Allow braces in
1796         emphasis pre and post match.
1798         * org-footnote.el (org-footnote-normalize): When only dorting, do
1799         not insert inline notes at the end.
1801         * org-docbook.el (org-id-find-id-file): Add function declaration.
1803         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1805         * org-docbook.el: New file.
1807 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
1809         * org.el (org-reftex-citation): New command.
1811 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
1813         * org-agenda.el (org-agenda-cmp-user-defined): New option.
1814         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1815         sorting options.
1816         (org-entries-lessp): Apply the new sorting option.
1818         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1819         blocker code, when an older sibling has children.
1821         * org-mac-message.el (org-mac-message-get-link): Improve getting
1822         links from multiple selected messages.
1824 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
1826         * org-remember.el (org-remember-finalize): Do not set buffer file
1827         name to nil.
1828         (org-remember-handler): Mark buffer as unmodified.
1829         (org-remember-handler): Delete backup file and show message about
1830         remaining backup files.
1831         (org-remember-auto-remove-backup-files): New option.
1833         * org.el (org-store-link): Use buffer name as link description in
1834         w3-mode buffers.
1835         (org-ido-switchb): Fix argument bug for completion.
1837         * org-remember.el (org-remember-apply-template): Set local
1838         variable `auto-save-visited-file-name' instead of global one.
1840 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
1842         * org-feed.el: Re-write.
1844         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1845         (org-agenda-get-todos): Mark file tags as inherited.
1846         (org-agenda-list): Always search diary lines for a time.
1848 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
1850         * org-feed.el (org-feed-assume-stable): New option.
1851         (org-feed-before-adding-hook): New hook.
1853         * org-exp.el (org-export-as-html): Close local lists depending on
1854         indentation, also when starting a table.
1856         * org-remember.el (org-remember-backup-directory)
1857         (org-remember-backup-name): New internal variable.
1859 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
1861         * org-clock.el (org-clock-out-if-current): Make buffer detection
1862         work in indirect buffers as well.
1864         * org.el (org-emphasis-regexp-components): Add the exxclamation
1865         mark to the post-emphasis characters.
1867 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
1869         * org.el (org-read-date-minibiffer-septup-hook): New hook.
1870         (org-read-date): Run the new hook.
1872         * org-mac-message.el (org-mac-flagged-mail): New group.
1873         (org-mac-mail-account): New variable.
1874         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1875         commands.
1877         * org-remember.el (org-remember-backup-directory): New variable.
1878         (org-remember-apply-template): Write file to backup directory.
1880 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
1882         * org-mouse.el (org-mouse-todo-menu): New function.
1883         (org-mouse-todo-keywords): Function removed.
1884         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1886         * org-table.el (org-table-beginning-of-field)
1887         (org-table-end-of-field): New commands
1888         (org-table-previous-field, org-table-beginning-of-field): Better
1889         error messages.
1890         (orgtbl-setup): Include `M-a' and `M-e'.
1892         * org.el (org-backward-sentence, org-forward-sentence): New
1893         commands.
1895         * org-colview.el (org-colview-initial-truncate-line-value): New
1896         variable.
1897         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1898         (org-columns): Remember the value of `truncate-lines'.
1900         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1901         New variable.
1902         (org-columns-remove-overlays): Restore the value of
1903         `truncate-lines'.
1904         (org-columns): Remember the value of `truncate-lines'.
1906         * org.el (org-columns-skip-arrchived-trees): New option.
1908         * org-agenda.el (org-agenda-export-html-style): Define color for
1909         org-agenda-done face.
1910         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1911         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1913         * org.el (org-scan-tags): Use the new face.
1915         * org-faces.el (org-agenda-done): New face.
1917         * org.el (org-scan-tags): Test the value org
1918         `org-tags-match-list-sublevels'.
1919         (org-tags-match-list-sublevels): New allowed value: indented.
1921         * org-export-latex.el (org-export-latex-make-header): Apply macros
1922         in header.
1924         * org-exp.el (org-export-apply-macros-in-string): New function.
1926         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1927         with the definition of a checked box.
1929         * org-clock.el (org-clock-find-position): Fix drawer indentations.
1931         * org-export-latex.el (org-export-latex-low-levels): More options
1932         for how to process lower levels in LaTeX.
1933         (org-export-latex-subcontent): Better treatment for lists as a
1934         means of publishing lower levels.
1936 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
1938         * org.el (org-set-font-lock-defaults): Use new checkbox face.
1940         * org-faces.el (org-checkbox): New face.
1942         * org-exp.el (org-export-html-preprocess): Only create LaTeX
1943         fragement images if there is an export file.
1945 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
1947         * org-agenda.el (org-stuck-projects): Document that the subtree of
1948         projects that are not stuck will now be searched for stuck
1949         sub-projects.
1950         (org-agenda-skip-entry-when-regexp-matches)
1951         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1952         (org-agenda-list-stuck-projects): Use
1953         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1955         * org-export-latex.el (org-export-latex-preprocess): Improve
1956         export of verses.
1958         * org-exp.el (org-export-as-html): Implement centering as a div
1959         rather than a paragraph.  Do a better job with line-end in verse
1960         environments.
1962 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
1964         * org.el (org-open-at-point): Fix tags searches by mouse click.
1966 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
1968         * org-export-latex.el (org-export-latex-preprocess): Implement the
1969         centering markup.
1971         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1972         from `org-export-mark-blockquote-and-verse'.
1973         (org-export-as-html): Implement the centering markup.
1975         * org-export-latex.el (org-export-latex-tables): Fix vertical
1976         lines in tables.
1978 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
1980         * org.el (org-read-date-history): New variable.
1981         (org-read-date): Use new history variable.
1982         (org-toggle-heading): Fix bug when used before first headline.
1983         (org-store-log-note): Remove drawer if empty while note is
1984         aborted.
1985         (org-remove-empty-drawer-at): New function.
1986         (org-check-after-date): New command.
1987         (org-sparse-tree): New sparse tree command "a".
1989         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1991 2009-03-14  Bastien Guerry  <bzg@altern.org>
1993         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1994         column and a space, not only a column.
1996 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1998         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1999         defaults for verbose emphasis.
2000         (org-export-latex-emph-format): New function.
2001         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2003         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2004         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2005         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2006         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2007         commands.
2009         * org.el (org-timestamp-change): Move end-time along with start
2010         time.
2012 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2014         * org-exp.el (org-export-target-internal-links)
2015         (org-export-as-html): Protect links specified as #name.
2017 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2019         * org.el (org-clone-subtree-with-time-shift): New command.
2021         * org-export-latex.el (org-export-latex-special-chars)
2022         (org-export-latex-treat-sub-super-char): Fix subscript export.
2024         * org-exp.el (org-create-multibrace-regexp): Do not add
2025         backslashes to the class.
2027 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org-colview.el (org-columns-map): Better functions for moving up
2030         and down a row, even if `truncate-line' is nil.
2032         * org.el (org-insert-todo-heading): Make sure the keyword is
2033         inserted at the correct position.
2035         * org-publish.el (org-publish-project-alist)
2036         (org-publish-projects, org-publish-org-index): Change default anme
2037         for the index of file names to "sitemap.org".
2039         * org-export-latex.el (org-export-latex-tables): Use
2040         `org-split-string', for Emacs 21 compatibility.
2042 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2044         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2046 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2048         * org-exp.el (org-export-page-description)
2049         (org-export-page-keywords): New variables.
2050         (org-export-plist-vars): Add entries for :keywords and
2051         :description.
2052         (org-infile-export-plist): Parse for new keywords.
2053         (org-get-current-options): Add new keywords
2054         (org-export-as-html): Publish description and keywords.
2056         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2057         option.
2058         (org-agenda-add-entry-text): Honor
2059         `org-agenda-add-entry-text-descriptive-links'.
2061         * org-export-latex.el (org-export-latex-preprocess): Make all
2062         external preprocess functions use a PARAMETER arg.
2064         * org-exp.el (org-export-preprocess-string)
2065         (org-export-select-backend-specific-text)
2066         (org-export-format-source-code-or-example)
2067         (org-format-org-table-html): Support docbook export.
2068         (org-export-preprocess-string): Make all external preprocess
2069         functions use a PARAMETER arg.
2071 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2073         * org-exp.el (org-export-html-style-include-scripts): New option.
2074         (org-export-plist-vars): Add new option
2075         `org-export-html-style-include-scripts'.
2076         (org-export-as-html): Honor new option
2077         `org-export-html-style-include-scripts'.
2078         (org-export-html-scripts, org-export-html-style-default): Fix
2079         xml issues with the Safari browser.
2081 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2083         * org-publish.el (org-publish-attachment): Only copy file when the
2084         directories differ.
2086 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2088         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2089         for clocktable steps.
2091         * org.el (org-additional-option-like-keywords): Add two more
2092         keywords.
2094 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2096         * org-exp.el (org-export-format-source-code-or-example): Mark
2097         temporary buffer unmodified, so that it will be killed even if
2098         mode like message mode has decided to assign a file name.
2100         * org.el (org-scan-tags): Improve tag inheritance.
2101         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2102         case-sensitive.
2103         (org-scan-tags): Use the internal tags list instead of creating it
2104         from scratch.
2105         (org-trust-scanner-tags, org-scanner-tags): New variables.
2106         (org-scan-tags): Set `org-scanner-tags'.
2107         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2108         (org-map-entries): Document the possible speedup using scanner
2109         tags.
2111 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2113         * org.el (org-add-planning-info): Fix bug with looking for keyword
2114         only at column 0.
2116         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2117         option for tags filter preset.
2118         (org-prepare-agenda): Store filter preset as a property on the
2119         filter variable.
2120         (org-finalize-agenda): Call the filter, if there is a preset.
2121         (org-agenda-filter-by-tag): Filter again after clearing the
2122         filter, when there still is a preset.
2123         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2124         Include the preset filter.
2125         (org-agenda-redo): Apply the filter again, also the preset filter.
2127         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2129         * org.el (org-uuidgen-p): New funtion.
2131         * org-agenda.el (org-agenda-fontify-priorities): New default value
2132         `cookies'.
2133         (org-agenda-fontify-priorities): Renamed from
2134         org-fontify-priorities.
2136         * org.el (org-set-font-lock-defaults): Call
2137         `org-font-lock-add-priority-faces'.
2138         (org-font-lock-add-priority-faces): New function.
2140         * org-faces.el: (org-set-tag-faces): New option.
2141         (org-priority-faces): New variable.
2143         * org-exp.el (org-export-as-html): Add a "content" div around the
2144         entire content of the body tag.
2145         (org-export-html-get-bibliography): New function.
2146         (org-export-html-validation-link): New variable.
2147         (org-export-as-html): Add validation link to exported page.
2149         * org.el (org-match-sparse-tree): Renamed from
2150         `org-tags-sparse-tree'.
2151         (org-tags-sparse-tree): New alias.
2153 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2155         * org.el (org-get-valid-level): Catch the case where the level
2156         change is nil.
2158         * org-clock.el (org-clock-find-position): Better indentation of
2159         new clock drawers.
2161 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2163         * org-agenda.el (org-agenda-quit): Delete window only when the
2164         frame-setup was not `current-window'.
2166         * org.el (org-tag-persistent-alist): New option.
2167         (org-startup-options): Add keyword `noptag'.
2168         (org-fast-todo-selection): Handle :newline correctly.
2169         (org-set-tags): Handle :newline correctly.
2170         (org-fast-tag-selection): Handle :newline correctly.
2172 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2174         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2175         outputting it.
2176         (org-export-ascii-push-links): Fix bug with pussing links into the
2177         export buffer.
2179 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2181         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2182         pasting at top level.
2184         * org-bbdb.el: Improve documentation.
2186 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2188         * org-list.el (org-insert-item): Only consider insert empty lines
2189         is `org-empty-line-terminates-plain-lists' is not nil.
2191         * org.el (org-blank-before-new-entry): Mention the dependence on
2192         `org-empty-line-terminates-plain-lists' in the docstring.
2194         * org-publish.el (org-publish-get-project-from-filename): New
2195         optional argument UP.  Only find the top project if UP is set.
2196         (org-publish-current-project): Find the top encloding project.
2198         * org-agenda.el (org-agenda-before-write-hook)
2199         (org-agenda-add-entry-text-maxlines): New options.
2200         (org-write-agenda): Run the new hook in the temporary buffer.
2201         (org-agenda-add-entry-text): New function.
2202         (org-write-agenda): Implement PDF export, using ps2pdf.
2204         * org.el (org-global-properties-fixed, org-global-properties):
2205         Improve documentation string.
2207         * org-exp.el (org-export-ascii-links-to-notes): New option.
2208         (org-export-as-ascii): Handle links better.
2209         (org-export-ascii-wrap, org-export-ascii-push-links): New
2210         functions.
2212 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
2214         * org-agenda.el (org-agenda): Make prefix arg optional.
2215         (org-agenda-search-headline-for-time): New option.
2216         (org-format-agenda-item): Honor
2217         `org-agenda-search-headline-for-time'.
2219         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2220         characters.
2222         * org.el (org-self-insert-cluster-for-undo): New option.
2223         (org-self-insert-command): Cluster undo for 20 characters.
2224         (org-self-insert-command-undo-counter): New variable.
2226 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
2228         * org-exp.el (org-export-as-html): Fix problem with closing colone
2229         example.
2231 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
2233         * org-export-latex.el (org-export-as-latex)
2234         (org-export-latex-first-lines): Avoid modification flag when
2235         adding or removing text properties.
2236         (org-export-latex-fontify): Catch error when org-emph-alist has
2237         entries that are not defined for LaTeX export.
2239         * org.el (orgstruct++-mode): New function.
2240         (turn-on-orgstruct++): Call `orgstruct++-mode'.
2241         (org-context-p): Allow detecting item context after the first line
2242         of an item.
2243         (orgstruct-make-binding): Detect if item-body context should be
2244         seen.
2245         (orgstruct-is-++): New variable.
2246         (org-add-planning-info): Catch the case when there is no planning
2247         info yet and the call does not want to add anything, only maybe
2248         tries to remove something.
2249         (org-special-ctrl-a/e): All value to be a cons cell with separate
2250         settings for `C-a. and `C-e'.
2251         (org-beginning-of-line, org-end-of-line): Honor separate values
2252         for `C-a' and `C-e'.
2254 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
2256         * org.el (org-reload): New command.
2258 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
2260         * org-exp.el (org-export-htm-get-tag-class-name)
2261         (org-export-htm-get-todo-kwd-class-name): New functions.
2262         (org-export-html-tag-class-prefix)
2263         (org-export-html-todo-kwd-class-prefix): New options.
2264         (org-export-as-html): Call
2265         `org-export-html-get-todo-kwd-class-name'.
2266         (org-html-level-start): Wrap tags into classes.
2267         (org-export-html-get-tag-class-name)
2268         (org-export-html-get-todo-kwd-class-name): New functions.
2270         * org-export-latex.el (org-export-latex-collect-header-macros):
2271         Remove fields that are used anyway.
2272         (org-export-latex-make-header): Insert the options earlier.
2274         * org-agenda.el (org-agenda-get-progress): Fix bug with state
2275         matching.
2277         * org-list.el (org-indent-item): Allow point to be at the end of
2278         the region.
2280         * org.el (org-metaleft, org-metaright): Be more accurate about
2281         detecting a region where commands apply.
2283         * org-compat.el (org-cursor-to-region-beginning): New function.
2285         * org.el (org-priority): Also find invisible heading.
2287         * org-colview-xemacs.el (org-columns-edit-value): No special
2288         treatment for `org-todo' prefix.
2290         * org-colview.el (org-columns-edit-value): No special treatment
2291         for `org-todo' prefix.
2293         * org-remember.el (org-remember-apply-template): Use
2294         `org-completing-read-no-ido'.
2296         * org.el (org-completing-read-no-ido): New function.
2297         (org-make-tags-matcher, org-set-property): Use
2298         `org-completing-read-no-ido'.
2300         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2301         New option.
2302         (org-export-as-latex): Import in-buffer settings as TeX macros.
2303         (org-export-latex-make-header): Additional parameter OPT-DEFS.
2304         (org-export-latex-collect-header-macros): New function.
2306         * org.el (org-refile-get-location): Turn off
2307         `partial-completion-mode'.
2309 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
2311         * org.el (org-block-todo-from-checkboxes): Announce that
2312         checkboxes are the culprit.
2313         (org-block-todo-from-children-or-siblings): Call
2314         `org-up-heading-all instead' of `outline-up-heading'.
2316         * org-agenda.el (org-agenda-show-1): Renamed from
2317         `org-agenda-show'.
2318         (org-agenda-show): Re-install the old version for now.
2319         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
2320         variable into the blokker hook, so that the checkbox checker can
2321         anounce that it caused the blocking.
2323         * org.el (org-track-ordered-property-with-tag): New option.
2324         (org-toggle-ordered-property): Honor
2325         `org-track-ordered-property-with-tag'.
2326         (org-tag-alist): Add newline options.
2327         (org-set-regexps-and-options): Separate option lines imply a
2328         newline.
2329         (org-set-regexps-and-options, org-assign-fast-keys)
2330         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2331         option.
2332         (org-indent-line-function): Make sure this works even if there is
2333         not `org-drawer-regexp' defined.  This can happen when
2334         orgstruct-mode is used in a non-org buffer.
2336         * org-list.el (org-checkbox-blocked-p): New function.
2337         (org-toggle-checkbox): Check for blocking.
2339         * org.el (org-modules): Add an entry for org-R.el.
2341         * org-agenda.el (org-agenda-todo-ignore-with-date)
2342         (org-agenda-todo-ignore-scheduled)
2343         (org-agenda-todo-ignore-deadlines): Mention the variable
2344         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2346         * org.el (org-get-wdays): Find the warning period also if it is in
2347         the wrong place.
2348         (org-ido-completing-read): Provide the correct arguments to
2349         ido-completing-read and bind `ido-enter-matching-directory' to
2350         nil.
2352 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2354         * org.el (org-olpath-completing-read): Never use ido for this
2355         one.
2357         * org-exp.el (org-export-normalize-links): Use new macro.
2359         * org-macs.el (org-if-unprotected-at): New macro.
2361         * org-agenda.el (org-agenda-show): Allow numerical prefix
2362         arguments to specify how much context should be shown.
2363         (org-agenda-cycle-show): New command, could be bound to SPC in
2364         org-agenda-mode-map.
2366         * org-exp.el (org-html-level-start): Space after section number.
2368 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2370         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2371         property, for sorting.
2372         (org-cmp-todo-state): Get the applicable TODO keywords directly
2373         from the buffer.
2374         (org-run-agenda-series, org-agenda-list, org-search-view)
2375         (org-todo-list, org-tags-view): Only fit agenda window when the
2376         whole series is done.
2378         * org.el (org-scan-tags): Add todo state as property, for sorting.
2380         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2381         `org-agenda-overriding-header' as an option.
2382         (org-agenda-list): Honor org-agenda-overriding-header'.
2384 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2386         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2387         after removing a checkbox.
2389         * org.el (org-show-entry): Make this work correctly also if it is
2390         the last entry in the file.
2391         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2392         falling back to normal, default command.
2393         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2394         item, call the checkbox toggler to get a box.
2396         * org-list.el (org-toggle-checkbox): Make double prefix set the
2397         checkbox to "[-]".
2398         (org-fix-bullet-type): Only replace bullet if it is changed.
2399         (org-renumber-ordered-list): Handle case when first item does not
2400         have a number.
2402         * org.el (org-add-log-setup): Fix positioning when
2403         `org-log-states-order-reversed' is nil.
2405         * org-clock.el (org-clock-in): Fix positioning when
2406         `org-log-states-order-reversed' is nil.
2407         (org-clock-find-position): Fix positioning when
2408         `org-log-states-order-reversed' is nil.
2410 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2412         * org-clock.el (org-clock-into-drawer): Take default from
2413         `org-log-into-drawer'.
2414         (org-clock-find-position): Look for the correct drawer.
2416         * org.el (org-log-into-drawer): Renamed from
2417         `org-log-state-notes-into-drawer'.
2418         (org-log-state-notes-into-drawer): New variable alias.
2419         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2420         CLOCK.
2421         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2423 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2425         * org-agenda.el (org-agenda): Fix docstring.
2427         * org.el ("org-plot"): Help loading org-plot.
2428         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2429         (org-metadown-hook, org-shiftmetaleft-hook)
2430         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2431         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2432         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2433         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2434         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2436         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2437         for selecting files with any (and even without) extension.
2439         * org.el (org-save-all-org-buffers): Also save id locations.
2440         (org-revert-all-org-buffers): Also load id locations.
2442 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2443         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2444         (org-log-state-notes-into-drawer): New option.
2445         (org-add-log-setup): Place the sate note marker into the drawer,
2446         create drawer when necessary.
2447         (org-refile-targets): Document special interpretation of LEVEL
2448         when odd-levels are used.
2450 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2452         * org.el (org-store-log-note): Fix note indentation when adding
2453         notes to end of list.
2455         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2456         class, so that each keyword can get special colors through CSS.
2458         * org-clock.el (org-clock-out): Add another nil for the previous
2459         state into the call to `org-add-log-setup'.
2461         * org.el (org-log-note-previous-state): New variable.
2462         (org-log-note-headings): New %S escape for old state.
2463         (org-todo): Call the note setup with the old state as an
2464         argument.
2465         (org-add-note): Add another nil for the previous state into the
2466         call to `org-add-log-setup'.
2467         (org-add-log-setup): New argument PREV-STATE.
2468         (org-add-log-note): Handle new %S escape.
2469         (org-store-log-note): Handle new %S escape.
2471 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2473         * org-clock.el (org-clock-find-position): Do not swallow an item
2474         less indented than the CLOCK line itself.
2475         (org-clock-in): Push markers to lin after the clock line.
2476         (org-clock-find-position): Handle values of
2477         `org-clock-into-drawer' smaller than 2.
2479         * org-exp.el (org-html-level-start): Add a CSS class to section
2480         numbers.
2481         (org-export-html-toplevel-hlevel): Better documentation of the
2482         influence of this variables on H levels and css classes in
2483         export.
2485 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2487         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2488         timestamp and nottimestamp to the chooe menu.
2490         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2491         (org-revert-all-org-buffers): New command.
2493 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2495         * org.el (org-return): Implement `org-return-follows-link' in the
2496         function org-return.  This is more robust than using the mouse
2497         map, I think.
2498         (org-set-regexps-and-options): Match more general #+TODO lines.
2499         (org-make-options-regexp): New optional argument EXTRA, for an
2500         extra regexp.
2501         (org-tab-follows-link): Mark as deprecated.
2503 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2505         * org-exp.el (org-export-preprocess-string): Remove clock lines
2506         earlier, so that they cannot cotribute to verbatim snippets.
2508 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2510         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2511         for finding drawers.
2512         (org-export-as-ascii, org-export-as-html): Count levels relative
2513         to the subtree header.
2514         (org-get-min-level): New optional argument OFFSET.
2515         (org-export): Make sure point is restored after popping up that
2516         window.
2518         * org.el (org-do-sort): Also take an inactive timestamp if no
2519         active one is found.
2521         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2522         deleting duplicates.
2524         * org-colview.el (org-columns-capture-view): Copy before
2525         deleting duplicates.
2527         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2528         text before first headline.
2530         * org.el (org-format-latex): Do not convert LaTeX fragments in
2531         protected examples.
2533 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2535         * org-exp.el (org-export-html-style-default): Use color values
2536         instead of names for XHTML validation.
2538         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2539         functions.
2540         (org-return-follows-link): Revert making this the default untile
2541         issues are resolved.
2543         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2544         nottimestamp.
2546 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2548         * org.el (org-mode): Make dependence stuff work more reliably.
2549         (org-update-parent-todo-statistics): Fix bug with updating
2550         statistics cookie.
2552         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2553         ~ as verbatim delimiters.
2555         * org-exp.el (org-export-html-format-image): New argument
2556         PAR-OPEN.
2557         (org-export-as-html): Pass par-open to
2558         `org-export-html-format-image'.
2560 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2562         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2563         (org-use-fast-todo-selection, org-tags-column): New default
2564         setting for variables, based on a poll what typical uses use.
2566         * org-agenda.el (org-agenda-sorting-strategy)
2567         (org-agenda-tags-column): New default setting for variables, based
2568         on a poll what typical uses use.
2570 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2572         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2573         blocked entries from setting the blocked tag.
2575         * org-exp.el (org-export-html-footnotes-section): Use a more
2576         consistent id for footnotes.
2578         * org-export-latex.el (org-export-latex-classes): Remove the
2579         a4paper option from the default styles.
2581 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2583         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2584         (org-block-todo-from-checkboxes): New function.
2585         (org-todo): Make tripple prefix arg circumvent blocking.
2587         * org-timer.el (org-timer): Provide the timer feature.
2589         * org.el (org-require-autoloaded-modules): Add a few more files to
2590         the list of autoloaded modules.
2592         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2594 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2596         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2597         drawers that are unprotected.
2598         (org-export-html-format-image): Make sure inlined LaTeX fragment
2599         images remain inlined.
2601         * org.el (org-toggle-ordered-property): New function.
2602         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2603         (org-org-menu): Add menu entries for TODO dependencies.
2605 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2607         * org.el (org-default-properties): Add ORDERED to the default
2608         properties, to get completion support for it.
2610         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2612         * org.el (org-update-parent-todo-statistics): Update more than one
2613         cookie.
2615         * org-agenda.el (org-agenda-get-todos): Start search from correct
2616         position.
2618         * org.el (org-fast-todo-selection): Make sure TODO selection does
2619         not change buffer position.
2621         * org-list.el (org-toggle-checkbox): Implement adding or removing
2622         checkboxes from line or region when called with a prefix
2623         argument.
2625         * org-rmail.el (org-rmail-store-link): Protect the call to
2626         `rmail-narrow-to-non-pruned-header'.
2628         * org-clock.el (org-clock-special-range): Fix week display in
2629         clock tables.
2631         * org-exp.el (org-get-current-options): Fix bug when in indirect
2632         buffer.
2634 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2636         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2637         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2638         (org-agenda-dim-blocked-tasks): New function.
2640         * org.el (org-enforce-todo-dependencies): New option.
2641         (org-block-todo-from-children-or-siblings): New function.
2643         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2645         * org.el (org-todo): Return correct state type even if the blocker
2646         throws an error.
2647         (org-modifier-cursor-error): Renamed from
2648         `org-shiftcursor-error'.
2649         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2650         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2652         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2653         to get real errors from the blocker hook.
2655         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2656         functions.
2657         (org-set-visibility-according-to-property): Turn off the setting
2658         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2659         property.
2661 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2663         * org.el (org-support-shift-select): New option.
2664         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2665         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2666         selection outside contexts.
2668         * org-list.el (org-at-item-bullet-p): New function.
2670         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2671         variables.
2673         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2674         variable.
2675         (org-insert-footnote-reference-near-definition): Remove
2676         unnecessary let form.
2678         * org-export-latex.el (org-export-latex-first-lines): Add
2679         OPT-PLIST parameter.
2680         (org-export-as-latex): Call `org-export-latex-first-lines' with
2681         opt-plits parameter.
2682         (org-export-latex-preprocess): Remove unnecessary variables.
2684         * org-exp.el (org-infile-export-plist)
2685         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2686         (org-export-remove-headline-metadata)
2687         (org-export-get-title-from-subtree, org-get-min-level)
2688         (org-html-do-expand): Remove innecessary let form.
2690         * org-colview-xemacs.el (org-columns-display-here): Remove
2691         unnecessary variables.
2693         * org-colview.el (org-columns-display-here): Remove unnecessary
2694         variables.
2696         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2697         variables.
2699         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2700         unnecessary variables.
2702         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2703         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2704         variables.
2706         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2707         (org-compact-display-after-subtree-move): Remove unnecessary
2708         variables.
2709         (org-edit-fixed-width-region): Remove unnecessary variables.
2710         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2711         (org-olpath-completing-read): Remove unnecessary variable.
2712         (org-auto-repeat-maybe): Remove unnecessary variable.
2713         (org-map-entries): Remove unnecessary variable.
2714         (org-buffer-property-keys, org-imenu-get-tree)
2715         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2717 -----------------------------------------------------------------
2719 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2720         * org-exp.el (org-export-remove-timestamps): Never remove
2721         timestamps from tables.
2723         * org-export-latex.el (org-export-latex-first-lines): Add more
2724         options to the preprocessing of the text before the first
2725         headline.
2727 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
2729         * org-faces.el (org-clock-overlay): Make face compatible with
2730         XEmacs.
2732         * org.el (org-yank): Add property for delete-selection mode.
2734         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2736         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2737         variable.
2739         * org-table.el (org-table-insert-hline): Fix typo in fuction call
2740         to `backward-char'.
2742         * org-exp.el (org-export-as-html): Remove the initial space from
2743         colon examples.
2745         * org.el (org-scan-tags): Call
2746         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2748         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2749         customization groups.
2750         (org-agenda-tags-todo-honor-ignore-options): New option.
2751         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2752         New function.
2753         (org-agenda-get-todos): Use
2754         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2756 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
2758         * org-exp.el (org-export-format-source-code-or-example): Escape
2759         HTML characters also in examples that anre not treated with
2760         htmlize.  Also, just switch to EXAMPLE processing if we do not
2761         have a good version of htmlize.
2763         * org-rmail.el: Fix copyright notice.
2765         * org.el (org-activate-footnote-links): Improve footnote link
2766         highlighting.
2768         * org-footnote.el (org-footnote-normalize): Fix finding the end of
2769         a footnote definition at the end of the file.
2771         * org-table.el (org-table-get-specials): Add an imagined hline at
2772         the end of the table.  This can be useful for references that want
2773         to go to the end of the table.  Also fix bug when computing last
2774         row constants, in tables that do not start right at the right
2775         margin.
2776         (org-table-eval-formula): Match and replace remove references.
2777         (org-table-formula-substitute-names): Make sure that names inside
2778         a "remote" call are left alone, the will be replaced later when
2779         the remote call is handled.
2780         (org-table-convert-refs-to-rc): Do not convert things that might
2781         look like a reference, but are really part of an ID or namei n a
2782         remote reference.
2783         (org-table-get-remote-range): New function.
2785 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org-faces.el (org-clock-overlay): Fix bug in face definition.
2789         * org-clock.el (org-clock-put-overlay): Use new face instead of
2790         `secondary-selection'.
2792         * org-faces.el (org-clock-overlay): New face.
2794 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
2796         * org-exp.el (org-get-current-options): Include the option for
2797         publishing time stamps.
2799         * org.el (org-toggle-heading): Renamed from
2800         `org-toggel-region-headings'.
2801         No longer needs a region defined, but will use it if there is one.
2802         (org-ctrl-c-star): Simplified, relying more on the internal
2803         workings of `org-toggle-heading'.
2804         (org-toggle-item): Renamed from `org-toggle-region-items'.
2805         No longer needs a region defined, but will use it if there is one.
2806         (org-ctrl-c-minus): Simplified, relying more on the inernal
2807         workings of `org-toggle-item'.
2809         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2810         environment detection.  Also, do real changes only in unprotected
2811         places.
2813 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
2815         * org-export-latex.el (org-export-latex-quotation-marks): Use
2816         `org-if-unprotected-1'.
2817         (org-export-latex-set-initial-vars): Check for class definition in
2818         property.
2820         * org-macs.el (org-if-unprotected-1): New macro.
2822 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
2824         * org-compat.el (org-count-lines): New function.
2826         * org-exp.el (org-export-format-source-code-or-example): Handle
2827         switches related to text areas.
2829         * org.el (org-activate-footnote-links): Don't allow match inside a
2830         link.
2832         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2834         * org-export-latex.el (org-export-latex-links): Keep a relative
2835         path relative also after export.
2837         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2839         * org.el (org-make-tags-matcher): Never use IDO for completing the
2840         tags matcher match string.
2841         (org-completing-read): Also remove the special biding for "?".
2843         * org-attach.el (org-attach-allow-inheritance): New option.
2844         (org-attach-inherited): New variable.
2845         (org-attach-dir): Handle properties related to the attachment
2846         directory.
2847         (org-attach-check-absolute-path): New function.
2848         (org-attach-set-directory, org-attach-set-inherit): New commands.
2849         (org-attach): Accommodate the new commands in the dispatcher.
2851 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
2853         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2854         `window-full-width-p'.
2856         * org-exp.el (org-export-as-html): Only check for images files
2857         that really can be inlined
2859         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2860         list of extensions to be a parameter.
2862         * org-exp.el (org-export-html-inline-image-extensions): New
2863         variable.
2865         * org-agenda.el (org-prepare-agenda): Use
2866         `org-agenda-block-separator'.
2867         (org-agenda-block-separator): New option.
2869 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
2871         * org-export-latex.el (org-export-latex-tables): Call
2872         `org-table-clean-before-export' with the new optional argument.
2874         * org-exp.el (org-table-clean-before-export): New optional
2875         parameter MAYBE-QUOTED, allows for quoted characters like \# in
2876         first column.
2878 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
2880         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2881         histograms.
2883         * org-colview.el (org-colview-construct-allowed-dates): Better
2884         error catching when a date/time property does not have allowed
2885         values defined.
2887         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2888         Better error catching when a date/time property does not have
2889         allowed values defined.
2891 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
2893         * org.el (org-map-entries): Restore point and restriction after
2894         `org-map-entries'.
2896 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-time=, org-time<, org-time<=, org-time>)
2899         (org-time>=, org-time<>): Make sure both values are dates.
2901 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
2903         * org-archive.el (org-extract-archive-heading): Allow %s for file
2904         name also in achive location heading.
2906 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
2908         * org-archive.el (org-add-archive-files): Uniquify the list before
2909         returning it.
2911 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
2913         * org-compat.el (org-fit-window-to-buffer): Use
2914         `window-full-width-p'.
2916         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2917         space after the colon in short examples.
2919         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2920         enforce a space after the colon.  However, we also allow lines
2921         that are *only* a colon.
2922         (org-export-as-html): Enforce the space after the colon in short
2923         examples.
2924         (org-export-preprocess-string): Do the colon example protection
2925         earlier.
2926         (org-export-remove-timestamps): Do not check for protection at the
2927         end of the line.
2929 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
2931         * org.el (org-format-latex-options): Add new matcher for single
2932         letters between dollars.
2933         (org-get-header): Function removed.
2934         (org-heading-components): New function.
2936         * org-exp.el (org-export-define-heading-targets): Record ID's also
2937         as alternative targets.
2938         (org-export-as-html): Interpret "id:" links to other files by
2939         preserving the relative path.
2941         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2942         is nil.
2944         * org-exp.el (org-export-normalize-links): Protect the main link,
2945         to avoid special character processing.
2947         * org-export-latex.el (org-export-latex-special-keyword-regexp):
2948         New variable.
2949         (org-export-latex-special-string-regexps): Variable removed.
2950         (org-export-latex-keywords): Use the new regexp.
2952         * org-exp.el (org-export-handle-include-files): Fetch switches and
2953         put them into the BEGIN statement.
2955         * org-timer.el (org-timer-mode-line-string): New variable.
2957         * org-clock.el (org-clock-mode-line-map): Renamed from
2958         `org-clock-mode-map'.
2959         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2960         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2961         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2962         (org-clock-remove-overlays): Renamed from
2963         `org-remove-clock-overlays'.
2965         * org-timer.el (org-timer-pause-or-continue): Implement stopping
2966         and mode line display.
2967         (org-timer-stop): New command.
2968         (org-timer-seconds): Return correct time when timer is paused.
2969         (org-timer-mode-line-timer): New variable.
2970         (org-timer-set-mode-line, org-timer-update-mode-line): New
2971         functions.
2973         * org.el (org-insert-heading):  Handle new value `auto' for
2974         `org-blank-before-new-entry'.
2975         (org-org-menu): Add new items for timer functions.
2977         * org-list.el (org-insert-item): Handle new value `auto' for
2978         `org-blank-before-new-entry'.
2980         * org.el (org-blank-before-new-entry): New value `auto', made
2981         default.
2983 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2985         * org-exp.el (org-export-normalize-links): If the link is also
2986         used as the description, protect the description.
2988 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2990         * org.el (org-closest-date): Fix bug with yearly repeats, in
2991         combination with preference of the past as it is used for deadline
2992         and scheduling search.
2994         * org-exp.el (org-html-handle-time-stamps): No longer check for
2995         the `org-export-with-timestamps' option, because the preprocesser
2996         has taken care of this already.
2998         * org.el (org-entry-properties): Catch the case when this is
2999         called in a non-org-mode file.
3001         * org-export-latex.el (org-export-latex-remove-from-headlines):
3002         Variable made obsolete, also LaTeX export now uses the standard
3003         variables.
3004         (org-export-as-latex): Add the timestamps parameter to the
3005         preprocessor parameter list.
3006         (org-export-latex-content): Export the remaining keywords without
3007         considering to remove them.
3008         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3009         Use bold font instead of tt font for the keywords.
3010         (org-export-latex-fontify-headline): Format headlines, assuming
3011         that all keywords still present should be published.
3012         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3013         publish what ever remains of the time stamps.
3014         (org-export-latex-list-parameters): New option.
3015         (org-export-latex-lists): Pass additional parameters to the list
3016         converter.
3018         * org-exp.el (org-export-preprocess-string): Remove clock lines
3019         and timestamps already in the preprocesor.
3020         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3021         functions.
3022         (org-export-as-ascii, org-export-as-html): Add the timestamps
3023         parameter to the preprocessor parameter list.
3025         * org-list.el (org-list-parse-list): Parse for checkboxes.
3026         (org-list-to-generic): Introduce and handle new parameters :cbon
3027         and :cboff.
3028         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3029         optional parameter PARAMS.
3031         * org-export-latex.el (org-export-latex-special-chars): Fix
3032         problems with interpreting dollar signs.
3033         (org-inside-latex-math-p): New function.
3034         (org-export-latex-preprocess): Protect all the math fragments.
3036         * org.el (org-latex-regexps): Allow a dash after a dollar.
3038         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3039         mark after copying.
3041         * org-agenda.el (org-run-agenda-series): Have series options set
3042         when finalizing the agenda.
3044         * org-exp.el (org-export-format-source-code-or-example): Protect
3045         the converted examples.
3047         * org.el (org-set-regexps-and-options): Fix the regexp
3048         `org-complex-heading-regexp'.
3050 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3052         * org.el (org-edit-src-get-label-format): New function.
3053         (org-coderef-label-format): New option.
3054         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3055         a label format specification and make sure it is used in the edit
3056         buffer.
3057         (org-edit-src-get-label-format): New function.
3058         (org-store-link): Handle new coderef formats.
3059         (org-link-search): Handle new coderef formats.
3061         * org-footnote.el (org-footnote-create-definition)
3062         (org-footnote-goto-local-insertion-point): Make footnote insertion
3063         work correctly when the "Footnotes" headline is the last line in
3064         the buffer.
3066         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3067         the location.
3069 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3071         * org-w3m.el (org-w3m): New customization group.
3072         (org-w3m-deactivate-mark): New option.
3073         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3074         option say not to.
3076 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3078         * org.el (org-set-font-lock-defaults): Trigger footnote
3079         fontification.
3080         (org-activate-footnote-links): New function.
3081         (org-activate-links): New entry `footnote'.
3083         * org-faces.el (org-footnote): New face.
3085 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3087         * org-macs.el (org-re): Handle the [:word:] class.
3089         * org-exp.el (org-export-preprocess-string): Call
3090         `org-export-protect-colon-examples'.
3091         (org-export-protect-colon-examples): Renamed from
3092         `org-export-protect-examples', and scope limited to lines starting
3093         with a colon.
3095 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3097         * org-exp.el (org-export-preprocess-string): Move the preprocess
3098         hook to after turning on Org-mode.
3099         (org-export-preprocess-after-include-files-hook)
3100         (org-export-preprocess-after-tree-selection-hook)
3101         (org-export-preprocess-before-backend-specifics-hook)
3102         (org-export-preprocess-final-hook): New hooks.
3103         (org-export-preprocess-string): Run the new hooks.
3105         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3107         * org-footnote.el: New file.
3109         * org.el (org-footnote): Require footnote code.
3110         (org-startup-options): Add new footnote options.
3111         (org-mode-map): New keybindig for footnotes.
3112         (org-ctrl-c-ctrl-c): Add function at footnotes.
3113         (org-org-menu): New menu entries for footnotes.
3115         * org-export-latex.el (org-export-as-latex): Pass footnote
3116         variable to preprocessor.
3117         (org-export-latex-preprocess): Treat multiple references to a
3118         footnote.
3120         * org-exp.el (org-export-preprocess-string): Call
3121         `org-footnote-normalize'.
3122         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3123         to preprocessor.
3124         (org-export-as-html): Treat multiple references to a footnote.
3126 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3128         * org-export-latex.el (org-export-latex-links): Handle coderef
3129         links.
3131         * org.el (org-bracket-link-analytic-regexp++): New variable.
3132         (org-make-link-regexps): Initialize
3133         `org-bracket-link-analytic-regexp++'.
3134         (org-store-link): Implement special case in edit-src buffer.
3135         (org-insert-link): No use of ide to insert stored links.
3136         (org-link-search): Implement special case for coderefs.
3138         * org-exp.el (org-export-html-scripts): New constant.
3139         (org-export-html-style-default): Add a new style for highlighted
3140         code.
3141         (org-export-code-refs): New variable.
3142         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3143         Call `org-export-replace-src-segments-and-examples'
3144         No longer call `org-export-protect-examples'.
3145         (org-export-target-internal-links): Take care of coderef targets.
3146         (org-export-last-code-line-counter-value): New variable.
3147         (org-export-replace-src-segments-and-examples): Renamed from
3148         `org-export-replace-src-segments', and modified.
3149         (org-export-format-source-code-or-example): Renamed from
3150         `org-export-format-source-code'.
3151         (org-export-number-lines): New function.
3152         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3154 --------------------------------------------------------------------------
3156 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3158         * org-remember.el (org-remember-handler): Safer way to get a new
3159         buffer accessing the target file.
3161         * org.el (org-refile-get-location): Handle case of current buffer
3162         not having a file associated with it.
3164 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3166         * org-table.el (org-table-get-formula): Only ask to overwrite
3167         field formula if there really is one.
3169         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3170         number, by converting these to a string.
3172         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3173         located in a different file.
3175         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3176         org-colview.el.
3178 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3180         * org.el (org-completion-use-ido): Enhance docstring of
3181         `org-completion-use-ido'.
3183         * org-export-latex.el (org-export-latex-make-header): Double the %
3184         in the time stamp format.
3185         (org-export-latex-special-chars): Handle case where there is no
3186         match group 3.
3188 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3190         * org.el (org-get-refile-targets, org-refile-get-location): Use
3191         expanded file name to improve comparison.
3193 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
3195         * org.el (org-scan-tags): Rescan for tags, to get the correct
3196         upcase/downcase stuff.  This slows things down for now, but it
3197         works.
3198         (org-mode): Make sure the tag-faces regexp is initialized.
3200         * org-export-latex.el (org-export-latex-links): Fix bug with
3201         undefined label.
3203         * org-table.el (org-table-get-specials): Set
3204         `org-table-current-last-data-line'.
3205         (org-table-current-last-data-line): New variable.
3206         (org-table-insert-column, org-table-delete-column)
3207         (org-table-move-column, org-table-fix-formulas): Call
3208         `org-table-fix-formulas' a second time to fix the $LR references.
3209         (org-table-get-specials): Add the $LR references to the tables.
3210         (org-table-get-formula): Do not offer last-row names as LHS of
3211         formulas.
3213         * org.el (org-store-link): Capture link description from
3214         `org-id-store-link'.
3216         * org-exp.el (org-export-html-format-image): Add the / to the end
3217         of the <img> tag.
3218         (org-export-format-source-code): Surround example by empty lines,
3219         to make sure it will not be inside a paragraph.
3221         * org.el (org-ido-switchb): New function.
3223 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
3225         * org-agenda.el (org-agenda-show): New prefix argument
3226         FULL-ENTRY.
3228         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3229         argument.
3231         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3232         `org-agenda-change-all-lines'.
3233         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3234         tags are now retrieved locally.
3236 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
3238         * org.el (org-get-outline-path): Fix bug if level is not given.
3239         (org-org-menu): Do not quote function in menu vector.
3241         * org-agenda.el (org-finalize-agenda): Fix typo with variable
3242         name.
3244 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3246         * org.el (org-refile): Avoid refiling to within the region to be
3247         refiled.
3249         * org-export-latex.el (org-export-latex-special-chars): Replace
3250         special characters also in tables.
3252         * org-agenda.el (org-agenda-change-all-lines): New argument
3253         FORCE-TAGS.
3254         (org-agenda-set-tags): Cet the new tags and pass them to
3255         `org-format-agenda-item'.
3257 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
3259         * org-export-latex.el (org-export-latex-classes): Add longable as
3260         a default package to all classes.
3261         (org-export-latex-tables): Handle the longtable attribute and the
3262         align attribute.
3264         * org-table.el (orgtbl-to-generic): Handle tables that start with
3265         a hline.
3267         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3268         \verb for colde-like snippets.
3269         (org-export-as-latex): Fix issues with region export.
3271         * org.el (org-up-heading-safe): Speed up function by using a
3272         direct regexp search.
3273         (org-olpa): New variable.
3274         (org-get-outline-path): Speed-up path constructions in cases where
3275         this is possible because the entire hierarchy is scanned anyway.
3276         (org-refile-get-location): Don't compare the truenames of files,
3277         this is too slow.
3278         (org-goto-max-level): New option.
3279         (org-goto): Use `org-goto-max-level'.
3281 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
3283         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3284         Strip angle brackets from message-ids in the former and don't do
3285         it in the latter.
3286         (org-gnus-follow-link): Open summary reliable, even if the last
3287         messages were deleted, and handle empty groups, too.
3289 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
3291         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3292         instead of \texttt for the =...= and ~===~ emphasis environments.
3293         (org-export-as-latex): Remove any old :org-license-to-kill text
3294         properties.
3295         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3296         (org-export-latex-make-header): Add some hard space after the
3297         table of contents.
3298         (org-export-latex-first-lines): Accept RBEG argument.  Mark
3299         exported text so that it will be excuded in further steps.
3301         * org-table.el (org-table-get-specials): Make @0 reference the
3302         last line in a table.
3303         (org-table-recalculate): Improve docstring.
3305 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
3307         * org.el (org-log-done): Fix docstring.
3309 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
3311         * org-exp.el (org-export-html-format-image): Fix bugs.
3313         * org-export-latex.el (org-export-latex-tables)
3314         (org-export-latex-links): Implement attribute, label, and caption
3315         handling.
3317         * org-exp.el (org-export-html-style-default): Add style
3318         definitions for the figure div.
3319         (org-export-preprocess-string, org-export-as-html): Implement
3320         attribute, label, and caption handling.
3321         (org-export-attach-captions-and-attributes): New function.
3322         (org-export-html-format-image): New function.
3323         (org-format-org-table-html): Implement attribute, label, and
3324         caption handling.
3326         * org.el (org-find-text-property-in-string): New function.
3327         (org-extract-attributes): Use the property org-attr instead of
3328         org-attrobutes, because this property is now set with the #+ATTR
3329         lines.
3331 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
3333         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3334         the case that FROM is nil.
3336         * org.el (org-before-first-heading-p): New function.
3338 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3340         * org-exp.el (org-export-as-html): Do not add a space before
3341         enforces line breaks.
3342         (org-export-as-html): Close paragraph before blockquote and verse
3343         tags.
3345 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3347         * org-id.el (org-id-locations-file): Wrap file name with
3348         `convert-standard-filename'.
3349         (org-id-files): New variable.
3350         (org-id-use-hash): New option.
3351         (org-id-update-id-locations): Also search in all files current
3352         listed in `org-id-files'.  Convert the resulting alist to a hash
3353         if the user customation says so.
3354         (org-id-locations-save): Handle he case if `org-id-locations' is a
3355         hash.
3356         (org-id-locations-load): Convert the alist to a hash.
3357         (org-id-add-location): Handle the hast case.
3358         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3359         exited.
3360         (org-id-hash-to-alist, org-id-alist-to-hash)
3361         (org-id-paste-tracker): New functions.
3363 -------------------------------------------------------------------------
3365 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3367         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3368         bindings of calendar variables.
3370         * org-table.el (org-table-find-row-type): Renamed from
3371         `org-find-row-type'.
3372         (org-table-rewrite-old-row-references): Renamed from
3373         `org-rewrite-old-row-references'.
3374         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3375         (org-table-cleanup-narrow-column-properties): Renamed from
3376         `org-cleanup-narrow-column-properties'.
3378 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3380         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3381         for better error messages.
3382         (org-table-get-descriptor-line): Supply the new arguments to
3383         `org-find-row-type'.
3384         (org-table-error-on-row-ref-crossing-hline): New option.
3386         * org.el (org-target-link-regexp): Make buffer-local.
3387         (org-move-subtree-down): Fix bug with trees at beginning of
3388         buffer.
3390 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3392         * org-faces.el (org-set-tag-faces): New function.
3393         (org-tags-special-faces-re): New variable.
3395         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3397         * org-faces.el (org-tag-faces): New option.
3398         (org-tag): Mention `org-tag-faces' in the docstring.
3400 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3402         * org-exp.el (org-export-html-style-default): Implement new
3403         quoting.
3405         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3407         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3408         command to the `w3m-minor-mode-map'.
3410         * org-archive.el (org-archive-to-archive-sibling): Protect
3411         `this-command' to avoid appending kills during archiving.
3413         * org-exp.el (org-export-with-priority): New variable.
3414         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3415         instead of internal list of strings and properties.
3416         (org-print-icalendar-entries): Retrieve the location property with
3417         inheritance.
3419 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3421         * org-exp.el (org-export-with-todo-keywords): New option.
3422         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3423         line.
3424         (org-default-export-plist, org-export-add-options-to-plist)
3425         (org-export-as-ascii, org-export-as-html): Use the new structure
3426         of `org-export-plist-vars'.
3428         * org.el (org-map-entries): Return all values.
3430 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3432         * org.el (org-matcher-time): Recognize more special values.
3434         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3436 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3438         * org.el (org-tags-exclude-from-inheritance): New option.
3439         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3440         `org-tags-exclude-from-inheritance'.
3442         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3443         (org-format-agenda-item): Add inherited tags to the agenda line
3444         string, and make sure that properties are kept when downcasing the
3445         tags list.
3446         (org-agenda-add-inherited-tags): New function.
3447         (org-downcase-keep-props): New function.
3449         * org.el (org-scan-tags): Mark inherited tags with a text
3450         property.
3451         (org-get-tags-at): Mark inherited tags with a text property.
3452         (org-add-prop-inherited): New function.
3454         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3455         (org-agenda-show-inherited-tags): New option.
3457 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3459         * org.el (org-modules): Add org-w3m to the default modules.
3461         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3462         orgtbl-mode.
3463         (orgtabl-create-or-convert-from-region): New command.
3465         * org-exp.el (org-export-as-ascii): Remove the handling of
3466         targets.
3467         (org-export-ascii-preprocess): Handle targets already in this
3468         function.
3470 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3472         * org-timer.el (org-timer-start-time): Define this variable.
3473         (org-timer-item): Make argument optional.
3475         * org-list.el (org-insert-item): Automatically insert a timer item
3476         if the current list is a timer list.
3478         * org-timer.el: New file.
3480         * org-publish.el (org-publish-org-index): Only exclude the index
3481         file in the main directory from being added to the site-map.
3482         (org-publish-get-project-from-filename): If the current project is
3483         a component, start publishing from the parent project.
3485 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3489         * org-publish.el (org-publish-org-index): Improve removal of
3490         temporary buffers.
3492         * org-agenda.el (org-get-closed): Re-apply changes
3493         accidentially overwritten by last commit to Emacs.
3495         * org.el (org-outline-path-complete-in-steps): New option.
3496         (org-refile-get-location): Honor
3497         `org-outline-path-complete-in-steps'.
3498         (org-agenda-change-all-lines, org-tags-sparse-tree)
3499         (org-time-string-to-absolute, org-small-year-to-year)
3500         (org-link-escape): Re-apply changes accidentially overwritten
3501         by last commit to Emacs.
3503 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3505         * org-clock.el (org-dblock-write:clocktable): Make sure the
3506         clocktable sees the first line.
3507         (org-clock-in): Warn if the clock cannot be resumed.
3509 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3511         * org.el (org-open-at-point): Fix mixup about interactive and
3512         non-interactive elisp links.
3514 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3516         * org-exp.el (org-export-preprocess-string): Allow one comment
3517         line before the first headline to always be included.  This is
3518         to not miss a commented target.
3520         * org-mouse.el (org-mouse-insert-item): Call
3521         `org-indent-to-column' instead of `indent-to', for XEmacs
3522         compatibility.
3524         * org.el (org-refile-targets): Fix customize definition so
3525         that it works also in XEmacs.
3526         (org-fixup-indentation): Call `org-indent-to-column' instead
3527         of `indent-to', for XEmacs compatibility.
3529 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3531         * org-mew.el (org-mew-store-link): Get the correct case folder
3532         for refiled messages.
3534 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3536         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3537         line break indicators.
3539         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3540         ido-completion propts.
3542 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3544         * org-remember.el (org-remember-apply-template): Use
3545         `org-substring-no-properties'.
3547         * org-compat.el (org-substring-no-properties): New function.
3549         * org-remember.el (org-remember-apply-template): Use
3550         `org-substring-no-properties' for compatibility.
3552         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3553         option.
3554         (org-fix-bullet-type): respect
3555         `org-list-two-spaces-after-bullet-regexp'.
3557         * org-clock.el (org-clock-load): Clean up the code.
3559         * org.el (org-adaptive-fill-function): Allow two spaces after
3560         "1." as a list bullet.
3562 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3564         * org-clock.el (org-clock-save, org-clock-load): Check for
3565         live buffers, existing files, and buffer file names to ensure
3566         consistent information.
3567         (org-clock-persist): Make `clock' a special value of this
3568         variable, and improve docstring.
3570         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3571         (org-get-string-indentation): Adapt indentation when the bullet
3572         width changes.
3574 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3576         * org-remember.el (org-remember-finalize): Make interactive.
3577         (org-remember-kill): New command.
3578         (org-remember-finish-immediately): Call `org-remember-finalize'
3579         directly.
3580         (org-remember-finalize): Make `org-remember-finalize' an interactive
3581         function.
3583 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3585         * org-remember.el (org-remember-apply-template): No ido completion
3586         for free prompts in remember templates.
3587         (org-remember-before-finalize-hook): New hook.
3588         (org-remember-mode): New minor mode.
3589         (org-remember-apply-template): Turn on `org-remember-mode'.
3591         * org-id.el (org-id-add-location): Avoid error when no file is
3592         given.
3594         * org-remember.el (org-remember-apply-template): Fix the way how
3595         the list of allowed properties is retrieved from the target file.
3597         * org.el (org-insert-link): Improve file link matching.
3599 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3601         * org-colview.el (org-columns-display-here): New argument
3602         DATELINE, to trigger using the new face.
3603         (org-agenda-colview-summarize): Call `org-columns-display-here'
3604         with the new argument.
3606         * org-faces.el (org-agenda-column-dateline): New face.
3608         * org-publish.el (org-publish-org-index): Use index-title at page
3609         title, not as section.
3611         * org-exp.el (org-export-html-format-desc): Respect the
3612         org-protect property.
3613         (org-export-as-html): Protect image specifiers that are in the
3614         description part of a link.
3616         * org.el (org-sort-entries-or-items, org-completing-read)
3617         (org-refile-get-location, org-olpath-completing-read, org-todo)
3618         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3619         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3620         (org-set-property, org-delete-property)
3621         (org-delete-property-globally): Use `org-ido-completing-read'.
3623         * org-remember.el (org-remember-apply-template): Use
3624         `org-ido-completing-read'.
3626         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3628         * org-colview.el (org-columns-edit-value, org-columns-new)
3629         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3631         * org-colview-xemacs.el (org-columns-edit-value)
3632         (org-columns-new, org-insert-columns-dblock): Use
3633         `org-ido-completing-read'.
3635         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3636         `org-ido-completing-read'.
3638         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3639         `org-ido-completing-read'.
3641         * org.el (org-time-today): New function.
3642         (org-matcher-time): Use `org-time-today'.  Add special treatment
3643         for "<tomorrow>" and "<yesterday>".
3644         (org-ido-completing-read): New function.
3645         (org-completion-use-ido): New option.
3647         * org-exp.el (org-export-format-source-code): Fix bug in require
3648         htmlize code.
3649         (org-export-target-internal-links): Fix bug in search for text
3650         property.
3652 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3654         * org-export-latex.el (org-export-latex-subcontent): Interprete
3655         target aliases as additonal labels.
3657         * org-exp.el (org-export-target-aliases): New variable.
3658         (org-export-preprocess-string)
3659         (org-export-handle-invisible-targets): Fill the alias alist.
3660         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3661         assign an id.
3662         (org-html-level-start): Insert the target aliases as additonal
3663         anchors.
3665         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3666         picture area.
3668 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3670         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3671         when following a link with the mouse from the agenda.
3673         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3674         headlines are created.
3676 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3678         * org-exp.el (org-export-preprocess-string): Reorder so that we
3679         can still see ID properties when we collect targets.
3680         (org-export-target-internal-links): Also store targets for ID's.
3682         * org.el (org-link-translation-function): New option.
3683         (org-open-at-point): Call `org-link-translation-function' if
3684         non-nil.
3685         (org-translate-link): New function.
3686         (org-translate-link-from-planner): New function.
3687         (org-open-at-point): Allow interactive commands in elisp links.
3689         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3690         iCalendar quoting.  The new one seems to caus problems with
3691         applications.
3693         * org.el (org-yank): Set `this-command' to `yank', so that
3694         `yank-pop' will work.
3696 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3698         * org-id.el (org-id-search-archives): New option.
3700         * org.el (org-link-to-org-use-id): New option.
3701         (org-store-link): Use `org-link-to-org-use-id'.
3702         (org-id): Make org-id.el a standard component.
3704 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3706         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3707         hexified version of the tag.
3709         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3710         compliance as far as quoting is concerned.
3712         * org-vm.el (org-vm-follow-link): Require `vm-search'.
3714         * org.el (org-up-heading-safe, org-forward-same-level): Always
3715         call `org-back-to-heading' instead of `outline-back-to-heading'.
3716         (org-back-to-heading): New wrapper around outline-back-to-heading,
3717         with a useful error message telling where the error happened.
3719         * org-list.el (org-update-checkbox-count): Always call
3720         `org-back-to-heading' instead of `outline-back-to-heading'.
3722         * org-exp.el (org-export-as-html): Make sure that each <img> tag
3723         has an `alt' attribute, to ensure XHTML validation.
3725 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org-publish.el (org-publish-attachment): Allow publishing to
3728         overwrite attachment files.
3730         * org-agenda.el (org-agenda-timerange-leaders): New option.
3731         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3733         * org.el (org-edit-src-exit): Untabify ASCII image before
3734         returning.
3747 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
3749         * org.el (org-yank): Make any prefix force normal yanking.
3750         Suppress folding if text would be swallowed into a folded
3751         subtree.
3752         (org-yank-folded-subtrees, org-yank): Docstring updates.
3754         * org-agenda.el (org-agenda-compare-effort): Treat no effort
3755         defined as 0.
3757         * org-exp.el (org-export-language-setup): Add Catalan and
3758         Esperanto language entries.
3760 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
3762         * org.el (org-refile): Allow refiling of entire regions.
3764         * org-clock.el (org-clock-time%): New function.
3766         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3767         retrieve property values.
3769 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3771         * org-agenda.el (org-agenda-list): Handle the value `only' of
3772         org-agenda-show-log'.
3773         (org-agenda-log-mode): Interpret a double prefix arg.
3775 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
3777         * org-exp.el (org-export-html-footnotes-section): New variable.
3778         (org-export-as-html): Use `org-export-html-footnotes-section' to
3779         insert the footnotes.
3780         (org-export-language-setup): Add "Footnotes" to language words.
3782 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
3784         * org.el (org-yank): Fix bug when not inserting a subtree.
3786 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
3788         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3789         instead of `vm-beginning-of-message'.
3791         * org.el (org-make-link-regexps): Make sure that links to gnus can
3792         contain brackets.
3794 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
3796         * org-attach.el (org-attach-dir): Remove duplicate ID creation
3797         code.
3799         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3800         shell output.
3802         * org.el (org-link-abbrev-alist): Improve customization type.
3804         * org-attach.el (org-attach-expand-link, org-attach-expand): New
3805         functions.
3807         * org-agenda.el (org-agenda-get-progress): Renamed from
3808         `org-get-closed'.  Implement searching for state changes as well.
3809         (org-agenda-log-mode-items): New option.
3810         (org-agenda-log-mode): New option prefix argument, interpreted as
3811         request to show all possible progress info.
3812         (org-agenda-get-day-entries): Call `org-get-progress' instead of
3813         `org-get-closed'.
3814         (org-agenda-set-mode-name): Handle the more complex log mode
3815         settings.
3816         (org-get-closed): New alias, pointing to `org-get-progress'.
3818 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
3820         * org.el (org-file-apps-defaults-gnu)
3821         (org-file-apps-defaults-macosx)
3822         (org-file-apps-defaults-windowsnt): Add an entry defining the
3823         system command.
3824         (org-file-apps): Allow `system' as key and value.
3825         (org-open-at-point): Explain the effect of a double prefix arg.
3826         (org-open-file): If the argument `in-emacs' is (16),
3827         i.e. corresponding to a double prefix argument, try to open the
3828         file externally.
3830 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
3832         * org.el (org-insert-link): Abbreviate absolute files names in
3833         links.  Also, fix a bug in which the double C-u prefix would not
3834         be honored.
3836 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
3838         * org.el (org-insert-heading): If buffer does not end with a
3839         newline, add one if necessary to insert headline correctly.
3841         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3842         paragraphs, not inside.
3844         * org.el (org-todo): Quote
3845         `org-agenda-headline-snapshot-before-repeat'.
3847         * org-exp.el (org-export-as-html): Fully process link descriptions.
3848         (org-export-html-format-desc): New function.
3849         (org-export-as-html): Collect footnotes into the correct basket.
3850         (org-html-protect): No longer protect quotations marks here, this
3851         goes wrong.
3853         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3854         BEG.
3856         * org-compat.el (org-fit-window-to-buffer): New function (not
3857         really, a preliminary and incomplete version was present earlier,
3858         but not used).
3860         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3861         `org-fit-window-to-buffer'.
3863         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3865         * org-agenda.el (org-agenda-get-restriction-and-command)
3866         (org-fit-agenda-window, org-agenda-convert-date): Use
3867         `org-fit-window-to-buffer'.
3869         * org-exp.el (org-export-as-html): Process href links through
3870         `org-export-html-format-href'.
3871         (org-export-html-format-href): New function.
3873         * org-agenda.el (org-agenda-todo): Update only the current
3874         headline if this is a repeated TODO, marked done for today.
3875         (org-agenda-change-all-lines): New argument JUST-THIS, to change
3876         only the current line.
3878         * org.el (org-todo): Take a snapshot of the headline if the
3879         repeater might change it.
3881 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3883         * org-publish.el (org-publish-find-title): Remove buffers visited
3884         only for extracting the title.
3886         * org-exp.el (org-export-html-style)
3887         (org-export-html-style-default): Mark style definitions as
3888         unparsed CDATA.
3890         * org-publish.el (org-publish-validate-link): Function
3891         re-introduced.
3893 2008-11-02  Charles Sebold  <csebold@gmail.com>
3895         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3896         property.
3897         (org-plot-quote-timestamp-field): New function.
3898         (org-plot-quote-tsv-field): Call timestamp field function when
3899         necessary rather than just quoting as a string.
3900         (org-plot/gnuplot-to-data): Pass in timefmt property.
3901         (org-plot/gnuplot-script): Supports timefmt property.
3902         (org-plot/gnuplot): Checks for timestamp column before checking
3903         for text index column.
3905 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3907         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3909         * org-publish.el (org-publish-org-index): Create a section in the
3910         index file.
3911         (org-publish-org-index): Stop linking to directories.
3913         * org.el (org-emphasis-alist): Use span instead of <u> to
3914         underline text.
3916         * org-exp.el (org-export-as-html): Make sure <p> is closed before
3917         <pre> sections.
3919 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
3921         * org-jsinfo.el (org-infojs-template): Remove language attribute
3922         from script tag.
3924 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
3926         * org-agenda.el (org-agenda-remove-marked-text): New function.
3927         (org-agenda-mark-filtered-text)
3928         (org-agenda-unmark-filtered-text): New functions.
3929         (org-write-agenda): Remove fltered text.
3931         * org.el (org-make-tags-matcher): Give access to TODO "property"
3932         without speed penalty.
3934 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
3936         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3937         option.
3938         (org-store-link-props): Make sure adding to the plist works
3939         correctly.
3941         * org-gnus.el (org-gnus-no-new-news): New function.
3942         (org-gnus-follow-link): Allow the article ID to be a message-id,
3943         in addition to allowing article numbers.  Message IDs make much
3944         more roubust links.
3945         (org-gnus-store-link): Use message-id to create link.
3947 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
3949         * org.el (org-emphasize): Reverse the selection array.
3950         (org-emphasis-alist): Set <code> tags for the verbatim
3951         environment.
3953         * org-remember.el (org-remember-handler): Fix bug with
3954         prefix-related changing of the note storage target.
3956         * org-exp.el (org-print-icalendar-entries): Make the exported
3957         priorities compatible with RFC 2445.
3959         * org-clock.el (org-clock-save): Insert time stamp without
3960         dependence on time-stamp.el.
3962 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
3964         * org.el ("saveplace"): If saveplace puts point into an invisible
3965         location, make it visible.
3966         (org-make-tags-matcher): Allow inactive time stamps in time
3967         comparisons.
3968         (org-yank-adjusted-subtrees): New option.
3969         (org-yank): Incorporate adjusting trees.
3970         (org-paste-subtree): New argument FOR-YANK which will cause
3971         insertion at point without backing up over white lines, and leave
3972         point at the end of the inserted text.  Also if the cursor is
3973         at the beginning of a headline, use the same level or the inserted
3974         tree.
3976         * org-publish.el (org-publish-get-base-files-1): Deal correctly
3977         with broken symlinks
3979 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
3981         * org-exp.el (org-export-select-tags, org-get-current-options):
3982         Fix typo.
3984 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3986         * org-agenda.el (org-format-agenda-item)
3987         (org-agenda-filter-make-matcher): Make sure tags are stored and
3988         compared donwcased.
3990 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3992         * org.el (org-insert-todo-heading): Fix bug with force-heading
3993         argument.
3995 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3997         * org-clock.el (org-clock-in-resume): Add a custom option to
3998         toggle starting the clock from an open clock line.
3999         (org-clock-in): When clocking in to an entry, if
4000         `org-clock-in-resume' is set, check if the first clock line is
4001         open and if so, start the clock from the time in the clock line.
4002         (org-clock-persist): Add a custom option to toggle clock
4003         persistence.
4004         (org-clock-persist-query-save): Add a custom option to toggle
4005         asking the user if they want to save the running clock when
4006         exiting.
4007         (org-clock-persist-query-resume): Add a custom option to toggle
4008         asking the user if they want to resume the saved clock when Emacs
4009         is restarted.
4010         (org-clock-save): Add a function to save clock data.
4011         This includes the contents of `org-clock-history' and the buffer
4012         and position of the currently clocked task, if any.
4013         (org-clock-load): Add a function to load clock data.
4014         This populates `org-clock-history', and resumes the saved clocked
4015         task if there is one.
4016         (org-clock-persistence-insinuate): Add a method to set up the
4017         hooks for clock persistence.
4019 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4021         * org-exp.el (org-export-as-ascii): Handle the case that we are
4022         publishing from an indirect buffer.
4024         * org-table.el (org-table-copy-down): Fix bug with time stamp
4025         increment.
4027         * org-mouse.el (org-mouse-features): New option.
4028         (org-mode-hook): Turn on features depending on
4029         `org-mouse-features'.
4031         * org.el (org-insert-heading-respect-content): Force heading
4032         creation.
4033         (org-insert-heading): keep the folding state of the heading before
4034         the inserted one.
4036 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4038         * org-archive.el (org-archive-to-archive-sibling): Handle top
4039         level headlines better.
4041 2008-10-21  Bastien Guerry  <bzg@altern.org>
4043         * org-export-latex.el (org-export-latex-classes): Added
4044         \usepackage{graphicx} to the default list of packages.
4046 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4048         * org-agenda.el (org-agenda-filter): Renamed from
4049         `org-agenda-filter-tags'.
4051 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4053         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4054         is not defined as a property in this entry.
4055         (org-add-log-note): Mask prefix argument when immediately storing
4056         the note.
4058         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4059         option.
4061 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4063         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4064         after drawers was skipping ahead one line too many, so notes were
4065         inserted after the first note instead of before it.
4067 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4069         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4070         New variables.
4071         (org-prepare-agenda): Reset the filter tags.
4072         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4073         Show filter tags in mode line.
4075         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4076         formatter.
4078         * org-export-latex.el (org-latex-entities-regexp): New constant.
4079         (org-export-as-pdf): Use two calls to `shell-command'.
4081 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4083         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4084         Honor the {} value of the subsuperscript setting.  Make sure that
4085         longer subsuperscripts are typeset in a roman font.
4087         * org.el (org-clock-update-time-maybe): Compute negative clock
4088         intervals correctly.
4090 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4092         * org.el (org-add-log-setup): Respect
4093         `org-log-state-notes-insert-after-drawers'.
4094         (org-log-state-notes-insert-after-drawers): New option.
4095         (org-todo-trigger-tag-changes): New function.
4096         (org-todo): Call `org-todo-trigger-tag-changes'.
4098 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4100         * org.el (org-add-log-setup): Only skip drawers if the are
4101         immediately after the scheduling keywords.
4103         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4104         function
4105         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4106         call it with the current todo state to get the state to switch to
4107         when clocking in.
4108         (org-clock-in): Use org-indent-line-function to indent clock lines.
4109         (org-clock-find-position): Fix indentation of empty clock drawers.
4111 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4113         * org-publish.el (org-publish-org-to): Handle case when
4114         org-export-to-pdf does return a file name, not a buffer.
4115         (org-publish-org-to-pdf): New function.
4117         * org-export-latex.el (org-export-as-pdf)
4118         (org-export-as-pdf-and-open): New commands.
4120         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4121         forms as ranges.
4123         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4124         things in protexted regions.
4126 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4128         * org-export-latex.el (org-export-latex-preprocess): Improve
4129         quoting of LaTeX environments.
4131 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4133         * org.el (org-edit-fixed-width-region): Exclude final newline from
4134         picture area.
4136         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4137         sections, to make internal links work.
4138         (org-export-latex-fontify-headline): Do not remove all text
4139         properties, to make sure that target properties survive this
4140         process.
4142         * org-exp.el (org-export-preprocess-string): Change sequence of
4143         modifications, to make sure links are prepared before the LaTeX
4144         conversions do happen.
4146 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4148         * org-attach.el (org-attach-delete-all): Renamed from
4149         `org-attch-delete'.  Add a security query before deleting the
4150         entire directory.  New optional argument FORCE can overrule the
4151         security query.
4152         (org-attach-delete-one): New command.
4154 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4156         * org-attach.el (org-attach-file-list): Fix bug with directory.
4158 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4160         * org.el (org-apps-regexp-alist): New function.
4161         (org-file-apps): Add auto-mode to the default value.
4162         (org-open-file): Use the new structure of org-file-apps.
4164         * org-attach.el (org-attach): Support the new keys.
4165         (org-attach-method): New option.
4167 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4169         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4170         March.
4172         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4173         of the list value o `org-use-tag-inheritance'.
4175         * org-attach.el (org-attach-auto-tag): New option.
4176         (org-attach-tag, org-attach-untag): New functions.
4177         (org-attach-attach, org-attach-new, org-attach-sync): Call
4178         `org-attach-tag'.
4179         (org-attach-delete): Call `org-attach-untag'.
4181 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4183         * org-table.el (orgtbl-self-insert-command): Make this work for
4184         the keypad as well.
4186 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4188         * org.el (org-add-log-setup): Limit searc for drawers to entry
4189         text, not to subtree.
4191         * org-clock.el (org-clock-heading-for-remember): New variable.
4192         (org-clock-in): Set `org-clock-heading-for-remember'.
4194 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
4196         * org-remember.el (org-remember-apply-template): Add new
4197         expansions: %k, %K for currently clocked task and a link to the
4198         currently clocked task, and %< to file notes in the currently
4199         clocked task.
4201 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
4203         * org-export-latex.el (org-export-latex-make-header): Also insert
4204         the content of the property :latex-header-extra.
4206         * org-exp.el (org-infile-export-plist): Put the content of
4207         #+LATEX_HEADER: into the property :latex-header-extra.
4209         * org-colview.el (org-columns-get-format-and-top-level): Remove
4210         resetting the marker.
4212         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4213         Remove resetting the marker.
4215         * org.el (org-entry-property-inherited-from): Improve docstring.
4216         (org-entry-get-with-inheritance): Reset marker before starting the
4217         search.
4219         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4221 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
4223         * org.el (org-entry-get-multivalued-property)
4224         (org-entry-protect-space, org-entry-restore-space): New
4225         functions.
4226         (org-file-apps-defaults-macosx): Let postscript files be opened by
4227         preview.
4228         (org-time-stamp-inactive): Call `org-time-stamp'.
4229         (org-time-stamp): New argument `inactive'.  Also edit inacive
4230         stamps. Convert time stamp type.
4231         (org-open-file): Interpret the `default' value for the `command'
4232         in `org-file-apps'.
4234         * org-id.el (org-id-int-to-b36-one-digit)
4235         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4236         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4237         b36.
4239 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
4241         * org-id.el (org-id-reverse-string): New function.
4242         (org-id-new): Use `org-id-reverse-string' to make sure the
4243         beginning chars of the ID are mutating fast.  This allows to use a
4244         directory structure to spread things better.
4245         (org-id-prefix): Changed default to nil.
4247         * org-list.el (org-move-item-down, org-move-item-up): Remember and
4248         restore the column of the cursor position.
4250         * org-remember.el (org-remember-apply-template): Remove properties
4251         from `initial'.
4253 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
4255         * org-wl.el (org-wl-open): Remove useless call to
4256         `wl-thread-open-all'.
4258         * org-remember.el (org-remember-handler): Fix bug with `bottom'
4259         location.
4261 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
4263         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4264         `org-bbdb-anniversaries'.
4266         * org.el (org-get-next-sibling, org-forward-same-level): New
4267         functions, similar to the outline versions, but invisible headings
4268         are OK.
4270 2008-09-25  Bastien Guerry  <bzg@altern.org>
4272         * org.el (org-auto-repeat-maybe): Insert a space between
4273         the timestamp's type and the timestamp itself.
4275 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
4277         * org-table.el (org-table-sum): Do not format the result with %g,
4278         it does rounding when there are too many digits.
4280         * org.el (org-map-entries): Protect the keyword-selecting variables.
4282 2008-09-23  Bastien Guerry  <bzg@altern.org>
4284         * org-agenda.el (org-agenda-to-appt): Make sure the function check
4285         against all agenda files.
4287 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
4289         * org-list.el: New file, aggregating list functions from org.el
4290         and org-export-latex.el.
4292         * org.el (org-edit-src-region-extra): New option.
4294 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
4296         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4297         time before 1am.
4299 2008-09-22  Bastien Guerry  <bzg@altern.org>
4301         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4303 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
4305         * org-plot.el (org-plot/gnuplot): Make tables starting with a
4306         hline work correctly.
4307         (org-plot/gnuplot-script): Put commas at the end of each script
4308         line.
4310 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
4312         * org.el (org-get-refile-targets): Replace links with their
4313         descriptions
4314         (org-imenu-get-tree): Replace links with their descriptions.
4316         * org-remember.el (org-remember-apply-template): Add a new
4317         expansion for adding properties to remember items.
4319         * org.el (org-add-log-setup): Skip over drawers (properties,
4320         clocks etc) when adding notes.
4322         * org-agenda.el (org-agenda-get-closed): show durations of clocked
4323         items as well as the start and end times.
4325         * org-compat.el (org-get-x-clipboard-compat): Add a compat
4326         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4328         * org-remember.el (org-get-x-clipboard): Use the compat
4329         function to get clipboard values when x-selection-value is
4330         unavailable. Use substring-no-properties instead of
4331         set-text-properties to remove text properties from the clipboard
4332         value.
4334         * lisp/org-clock.el (org-update-mode-line): Support limiting the
4335         modeline clock string, and display the full todo value in the
4336         tooltip. Set a local keymap so mouse-3 on the clock string goes to
4337         the currently clocked task.
4338         (org-clock-string-limit): Add a custom value for the maximum
4339         length of the clock string in the modeline.
4340         (org-clock-mode-map): Add a keymap for the modeline string
4342 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4344         * org-compat.el (org-propertize): New function.
4346 2008-09-20  Bastien Guerry  <bzg@altern.org>
4348         * org-export-latex.el (org-export-latex-tables): protect exported
4349         tables from further special chars conversion.
4350         (org-export-latex-preprocess): Preserve LaTeX environments.
4351         (org-list-parse-list): Parse descriptive lists.
4352         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4353         (org-list-to-texinfo): Export descriptive lists.
4354         (org-quote-chars): Remove.
4355         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4356         (org-export-latex-list-beginning-re): Rename to
4357         `org-list-beginning-re'
4358         (org-list-item-begin): Rename to `org-list-item-beginning'
4360 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4362         * org.el (org-refile): Allow refiling to the last entry in the
4363         buffer.
4364         (org-get-tags-at): Fix bug when inheritance is turned off.
4366 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4368         * org.el (org-indent-line-function): No longer check for src
4369         regions, this is too much overhead.
4371         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4372         matching.
4374         * org.el (org-scan-tags): Make sure that tags matching is not case
4375         sensitive.  TODO keyword matching is case sensitive, however, to
4376         avoid confusion with similar words that are not meant to be
4377         keywords.
4379 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4381         * org.el (org-get-local-tags-at): New function.
4382         (org-get-local-tags): New function.
4384         * org-exp.el (org-export-get-categories): New function.
4386         * org-agenda.el (org-sorting-choice)
4387         (org-agenda-sorting-strategy, org-agenda-get-todos)
4388         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4389         (org-agenda-get-scheduled, org-agenda-get-blocks)
4390         (org-entries-lessp): Implement sorting by TODO state.
4391         (org-cmp-todo-state): New defsubst.
4393         * org-colview.el (org-colview-construct-allowed-dates): New
4394         function.
4395         (org-columns-next-allowed-value): Use
4396         `org-colview-construct-allowed-dates'.
4398         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4399         function.
4400         (org-columns-next-allowed-value): Use
4401         `org-colview-construct-allowed-dates'.
4403 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4405         * org.el (org-protect-slash): New function.
4406         (org-get-refile-targets): Use `org-protect-slash'.
4408         * org-agenda.el (org-global-tags-completion-table): New variable.
4410         * org-exp.el (org-export-handle-export-tags): New function.
4411         (org-export-preprocess-string): Call
4412         `org-export-handle-export-tags'.
4414         * org-plot.el: New file.
4416         * org-publish.el (org-publish-expand-components): Function removed.
4417         (org-publish-expand-projects): Allow components to have components.
4419 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4421         * org.el (org-indent-line-function): Do not indent in regions that
4422         are external source code.
4423         (org-yank-and-fold-if-subtree): New function.
4425         * org-agenda.el (org-agenda-todayp): New function.
4426         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4427         `org-agenda-todayp'.
4429         * org.el (org-insert-heading-respect-content)
4430         (org-insert-todo-heading-respect-content): New commands.
4431         (org-insert-heading-respect-content): New option.
4432         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4434         * org-clock.el (org-clock-find-position): Make sure the note after
4435         the clock line gets moved into the new clock drawer.
4437 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4439         * org-id.el (org-id-new): New option.
4441 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4443         * org-table.el (org-table-copy-down): Avoid overflow during
4444         increment.  Use prefix argument 0 to temporarily disable the
4445         increment.
4447 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4449         * org-exp.el (org-export-as-html): Do not turn on the major mode
4450         if the buffer will be killed anyway.
4451         (org-get-current-options): Exclude the #+TEXT field.
4452         (org-export-as-html): Make sure text before the first headline is
4453         a paragraph.
4455         * org-publish.el (org-publish-org-to): Tell the exporter that this
4456         buffer will be killed, so it is not necessary to do major mode
4457         initialization.
4459         * org-archive.el (org-archive-to-archive-sibling): Show empty
4460         lines after folding the archive sibling.
4462         * org.el (org-log-note-extra): New variable.
4464 2008-09-05  Bastien Guerry  <bzg@altern.org>
4466         * org.el (org-additional-option-like-keywords): Added keywords for
4467         the _QUOTE, _VERSE and _SRC environments.
4469         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4470         exporting _QUOTE and _VERSE environments.
4472 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4474         * org-agenda.el (org-agenda-filter-by-tag): New command.
4476         * org-exp.el (org-get-current-options): Remove angular brackets
4477         from the date entry.
4479         * org.el (org-edit-fixed-width-region): New function.
4480         (org-edit-fixed-width-region): Also try
4481         `org-edit-fixed-width-region'.
4482         (org-edit-fixed-width-region-mode): New option.
4483         (org-activate-code): Only interprete lines starting with colon
4484         plus a space as example lines.
4486         * org-remember.el (org-remember-templates): Add nil instead of
4487         empty strings to fix the length of remember templates.
4489         * org-table.el (org-calc-default-modes): Fix the time format for
4490         calc, from 12 hour to 24 hour clock.
4492 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4494         * org-agenda.el (org-agenda-get-deadlines)
4495         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4496         entries that are pre-warnings of deadlines or reminders.
4498         * org.el (org-sort-entries-or-items): Make numeric and alpha
4499         comparisons ignore any TODO keyword and priority cookie.
4501         * org-remember.el (org-remember-handler): Reinterpretation of the
4502         prefix argument.
4504 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4506         * org-agenda.el (org-agenda-get-scheduled): Use new
4507         `org-scheduled' face.
4509         * org-faces.el (org-scheduled): New face.
4511         * org-wl.el (org-wl-open): Remove incorrect declaration.
4513         * org-gnus.el (org-gnus-store-link): Support for :to information
4514         in gnus links.
4516         * org-exp.el (org-export-as-html): Fixed typo in creator
4517         information.
4518         (org-export-protect-examples): New parameter indent.  Insert extra
4519         spaces only when this parameter is specified.
4520         (org-export-preprocess-string): Call `org-export-protect-examples'
4521         with an indentation parameter when exporting to ASCII.
4523         * org-remember.el (org-remember-templates)
4524         (org-remember-apply-template): Allow the file component to be a
4525         function.
4527         * org.el (org-goto-local-search-headings): Renamed from
4528         `org-goto-local-search-forward-headings'.  Added the possibility
4529         to search backwards.
4531 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4533         * org-export-latex.el (org-export-latex): New customization
4534         group.
4536         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4538 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4540         * org-exp.el (org-html-do-expand): Allow {} to terminate
4541         tex macro
4543 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4545         * org.el (org-buffer-list): Select buffers based on major mode,
4546         not on file name.
4548 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4550         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4551         face property.
4553         * org-colview.el (org-columns-display-here): Use
4554         `org-columns-modify-value-for-display-function'.
4556         * org-colview-xemacs.el (org-columns-display-here): Use
4557         `org-columns-modify-value-for-display-function'.
4559 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4561         * org.el (org-columns-modify-value-for-display-function): New option.
4573         * org-publish.el (org-publish-file): Make sure the directory match
4574         for the publishing directory works correctly.
4576         * org-agenda.el (org-agenda-execute-calendar-command)
4577         (org-agenda-diary-entry): Additional optional argument.
4579 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4581         * org-exp.el (org-export-as-html): Add attributes also in mailto
4582         and ftp links.
4584         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4593 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4595         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4596         sure that calls from `org-export-region-as-html' do not do the
4597         special check for a subtree.
4599 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4601         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4603 2008-07-20  Juri Linkov  <juri@jurta.org>
4605         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4606         new keymap `narrow-map' instead of binding "\C-xns".
4608 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4610         * org.el (org-open-file): Use
4611         `org-open-directory-means-index-dot-org'.
4612         (org-open-directory-means-index-dot-org): New option.
4614 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4616         * org.el (org-make-link-string): Remove link attributes from
4617         description.
4618         (org-open-at-point): Remove link attributes bevore using the path.
4620         * org-exp.el (org-export-as-html): Handle link attributes.
4622         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4624         * org-table.el (org-table-to-lisp): New function.
4626         * org.el (org-narrow-to-subtree): Do not include the final newline
4627         into the narrowed region.
4629         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4630         bug with user-define skipping condition.
4632 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4634         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4636 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4638         * org-exp.el (org-export-html-style-default): Automatic overflow
4639         handling for pre fields.
4640         (org-export-as-ascii, org-export-as-html): Change default format
4641         for time stamp.
4643         * org-table.el (org-table-export): Offer completion for translator
4644         functions, and do not require a heading above the table.
4646         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4647         Cater for the case of a list starting in the first line of the
4648         buffer.
4650 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4652         * org-publish.el (org-publish-find-title): Bug fix.
4653         (org-publish-org-index): Implement new :index-style option.
4655 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4657         * org-publish.el (org-publish-timestamp-filename): Use
4658         SHA1-encoded file names in the timestamp directory.
4660 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4662         * org-publish.el (org-publish-needed-p): Be verbose about files
4663         published and files skipped.
4665         * org-exp.el (org-export-preprocess-string): Swap link
4666         normalization and inernal link targeting.
4668         * org-publish.el (org-publish-needed-p): Create timestamp
4669         directory when it does not exist.
4671 2008-07-04  Bastien Guerry  <bzg@altern.org>
4673         * org-clock.el (org-clock-out-when-done): Doc fix.
4675         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4677         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4678         Ignore case when searching for the COMMENT cookie at export time.
4680 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4682         * org-exp.el (org-get-file-contents)
4683         (org-get-and-remove-property): New functions.
4684         (org-export-handle-include-files): Handle the new prefix options.
4685         (org-export-as-html): Fix the verse environment.
4687 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4689         * org.el (org-time=, org-time<, org-time<=, org-time>)
4690         (org-time>=, org-time<>, org-2ft): New functions.
4691         (org-op-to-function): Also provide for the time testing fucntions.
4693 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4695         * org-exp.el (org-export-html-style-default): New constant.
4697 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4699         * org-exp.el (org-export-html-style-extra): New variable.
4700         (org-export-splice-style): New function.
4702 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4704         * org-exp.el (org-export-plist-vars, org-export-as-html):
4705         Implement `org-export-creator-info'.
4706         (org-export-creator-info): New option.
4708 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
4710         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4711         (org-property-drawer-re, org-clock-drawer-re): New constants.
4713 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
4715         * org-exp.el (org-icalendar-use-deadline)
4716         (org-icalendar-use-scheduled): New options.
4717         (org-icalendar-include-todo): Default changed to t.
4718         (org-print-icalendar-entries): Implement better utilization of
4719         scheduling and deadline time stamps.
4720         (org-export-target-internal-links, org-export-as-html): Allow file
4721         lines without the "file:" prefix if the file path is an absolute
4722         path or starts with ".".
4724         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4725         lastweek etc.
4726         (org-clock-special-range): Also undertand yesterday, lastweek etc.
4728 2008-06-18  Glenn Morris  <rgm@gnu.org>
4729         * org.el (org-map-entries): Let-bind `file'.
4731 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
4733         * org.el (org-agenda-skip-archived-trees): Docstring now
4734         discourages using this.
4735         (org-scan-tags): Check for org-agenda-archives-mode.
4736         (org-map-entries): Make sure org-agenda-archives-mode is nil.
4737         (org-agenda-files): Functionality of second arg changed.
4739         * org-agenda.el (org-agenda-archives-mode): New variable
4740         (org-write-agenda, org-prepare-agenda, org-agenda-list)
4741         (org-search-view, org-todo-list, org-tags-view)
4742         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4743         `ifmode' argument.
4744         (org-agenda-quit): Reset the archives mode.
4745         (org-agenda-archives-mode): New command.
4746         (org-agenda-set-mode-name): Include archives info.
4748 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
4750         * org.el (org-paste-subtree): Make sure the yanked headline is
4751         visible if it was yanked at a visible point.
4752         (org-move-item-up): Fix the bug with moving white space at the end
4753         of the item.
4754         (org-show-empty-lines-in-parent): New function.
4756 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
4758         * org-colview.el (org-columns-next-allowed-value): Bug fix.
4760         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4762         * org-agenda.el (org-agenda-get-closed): Get the end time into the
4763         agenda prefix as well.
4765         * org-publish.el (org-publish-org-index): Make a properly indented
4766         list.
4768         * org.el (org-calendar-agenda-action-key): New option.
4769         (org-get-cursor-date): New function.
4770         (org-mark-entry-for-agenda-action): New command.
4771         (org-overriding-default-time): New variable.
4772         (org-read-date): Respect `org-overriding-default-time'.
4774         * org-remember.el (org-remember-apply-template): Respect the
4775         ovverriding default time.
4777         * org-agenda.el (org-agenda-action-marker): New variable.
4778         (org-agenda-action): New command.
4779         (org-agenda-do-action): New function.
4781 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4783         * org.el (org-schedule, org-deadline): Protect scheduled and
4784         deadline tasks against changes that accidently remove the
4785         repeater.  Also show a message with the new date when done.
4787 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4789         * org.el (org-beginning-of-line): Cater for the case when there
4790         are tags but no headline text.
4791         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4792         it set.
4794 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
4796         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4797         the return value is nil instead of "nil" when there is no match.
4799         * org-exp.el (org-insert-centered): Use fill-column instead of
4800         80.
4801         (org-export-as-ascii): Use string-width to measure the width of
4802         the heading.
4804         * org.el (org-diary-to-ical-string): No longer kill buffer
4805         FROMBUF, this is now done by the caller.
4807         * org-exp.el (org-print-icalendar-entries): Move the call to
4808         `org-diary-to-ical-string' out of the loop, and kill the buffer
4809         afterwords.
4811         * org-remember.el (org-remember-visit-immediately): Position
4812         cursor after moving to the note.
4813         (org-remember-apply-template): Use a text property to record the
4814         cursor position.
4815         (org-remember-handler): Align tags after pasting the note.
4817 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
4819         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4821         * org-agenda.el (org-agenda-open-link): If there is an
4822         org-bbdb-name property in the current line, jump to that bbdb
4823         entry.
4825         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4826         text property, so that the agenda knows where this entry comes
4827         from.
4829         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4830         interaction between clocking-in from the agenda, and  automatic
4831         task state switching.
4833         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4835         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4836         zmacs-region stays after this command in XEmacs.
4838 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
4840         * org.el (org-scan-tags): Allow new values for ACTION parameter.
4842         * org-remember.el (org-remember-templates): Fix bug in
4843         customization type definition.
4845         * org.el (org-map-entries): New function.
4847 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
4849         * org-agenda.el (org-agenda-skip-comment-trees): New option.
4850         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4852 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
4854         * org-remember.el (org-jump-to-target-location): New variable.
4855         (org-remember-apply-template): Set
4856         `org-remember-apply-template' if requested by template.
4857         (org-remember-handler): Start an idle timer to jump to
4858         remember location.
4860         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4862         * org.el (org-set-regexps-and-options): Fix bug with parsing of
4863         file tags.
4864         (org-get-tags-at): Add the content of `org-file-tags'.
4866         * org-exp.el (org-export-handle-comments): Fix bug with several
4867         comment lines after each other.
4868         (org-number-to-roman, org-number-to-counter): New functions.
4869         (org-export-section-number-format): New option.
4871 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
4873         * org-exp.el (org-export-protect-examples): Catch the case of a
4874         missing end_example line.
4876         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4877         `org-file-tags' to nil.
4879         * org-colview.el (org-columns-next-allowed-value): Handle next
4880         argument NTH to directly select a value.
4882         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4883         argument NTH to directly select a value.
4885 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
4887         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4889 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
4891         * org.el (org-columns-ellipses): New option.
4893 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
4895         * org-colview.el (org-columns-add-ellipses): New function.
4896         (org-columns-compact-links): New function.
4897         (org-columns-cleanup-item): Call `org-columns-compact-links'.
4898         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4899         when in agenda.
4900         (org-columns-edit-value): Fixed bug with editing values from
4901         agenda column view.
4902         (org-columns-redo): Also redo the agenda itself.
4904 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
4906         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4907         option.
4909         * org-colview.el (org-agenda-columns-cleanup-item): New function.
4911         * org-exp.el (org-export-ascii-preprocess): Renamed from
4912         `org-export-ascii-clean-string'.
4913         (org-export-kill-licensed-text)
4914         (org-export-define-heading-targets)
4915         (org-export-handle-invisible-targets)
4916         (org-export-target-internal-links)
4917         (org-export-remove-or-extract-drawers)
4918         (org-export-remove-archived-trees)
4919         (org-export-protect-quoted-subtrees)
4920         (org-export-protect-verbatim, org-export-protect-examples)
4921         (org-export-select-backend-specific-text)
4922         (org-export-mark-blockquote-and-verse)
4923         (org-export-remove-comment-blocks-and-subtrees)
4924         (org-export-handle-comments, org-export-mark-radio-links)
4925         (org-export-remove-special-table-lines)
4926         (org-export-normalize-links)
4927         (org-export-concatenate-multiline-links)
4928         (org-export-concatenate-multiline-emphasis): New functions,
4929         obtained from spliiting the export preprocessor.
4931         * org-table.el (org-table-recalculate): Improve error message if
4932         the row number is invalid.
4934 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
4936         * org-archive.el (org-archive-save-context-info): Fix bugs in
4937         customization setup and docstring.
4939         * org-exp.el (org-export-html-style): Changed the size of in the
4940         <pre> element to 90%.
4942 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
4944         * org.el (org-find-src-example-start): Function removed.
4945         (org-edit-src-find-region-and-lang): New function.
4947 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
4949         * org.el (org-edit-src-exit): New function.
4950         (org-exit-edit-mode): New minor mode.
4952         * org-exp.el (org-export-preprocess-string): Fix bug with removing
4953         comment-like lines from protected examples.
4955         * org.el (org-edit-src-example, org-find-src-example-start)
4956         (org-protect-source-example, org-edit-special): New functions.
4958 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
4960         * org-publish.el (org-publish-project-alist): Fix typo in
4961         docstring.
4962         (org-publish-project-alist): Handle :index-title property.
4964 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
4966         * org-export-latex.el (org-export-as-latex): Make sure region
4967         bounds are correct.  Parse subtree properties relating to export.
4969         * org-exp.el (org-export-add-options-to-plist): New function.
4970         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4972 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
4974         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4975         EXPORT_TITLE.
4977         * org-exp.el (org-export-get-title-from-subtree)
4978         (org-export-as-ascii, org-export-as-html): Make sure the original
4979         region-beginning and region-end are used, even after moving
4980         point.
4981         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4982         property.
4984         * org-remember.el (org-remember-last-stored-marker): New variable.
4985         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4986         (org-remember-handler): Also use marker to remember
4987         last-stored position.
4989         * org.el (org-goto-marker-or-bmk): New function.
4991 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4993         * org.el (org-file-properties): Renamed from `org-local-properties'.
4994         (org-scan-tags): Take file tags into account.
4995         (org-tags-match-list-sublevels): Default changed to t.
4997         * org-exp.el (org-export-as-html): Close paragraph after a
4998         footnote.
5000         * org.el (org-update-parent-todo-statistics): New function.
5002         * org-exp.el (org-icalendar-store-UID): New option.
5003         (org-icalendar-force-UID): Option removed.
5004         (org-print-icalendar-entries): IMplement UIDs.
5006 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5008         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5010 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5012         * org-faces.el (org-column): Document how this face is being used
5013         and why sometimes the background faces shine through.
5015         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5017         * org-publish.el (org-publish-attachment): Create publishing
5018         directory if it does not yet exist.
5020         * org-table.el (org-calc-default-modes): Change default number
5021         format to (float 8).
5023         * org.el (org-olpath-completing-read): New function.
5024         (org-time-clocksum-format): New option.
5025         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5027         * org-clock.el (org-clock-display, org-clock-out)
5028         (org-update-mode-line): Use `org-time-clocksum-format'.
5030         * org-colview-xemacs.el (org-columns-number-to-string): Use
5031         `org-time-clocksum-format'.
5033         * org-colview.el (org-columns-number-to-string): Use
5034         `org-time-clocksum-format'.
5036 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5038         * org-id.el: New file, move from contrib to core.
5040         * org-exp.el (org-icalendar-force-UID): New option.
5042 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5044         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5045         shifted by one day if theere is a date range without an end
5046         time.
5048         * org.el (org-try-structure-completion): New function.
5050 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5052         * org.el (org-set-font-lock-defaults): Improve fontification of
5053         description lists.
5054         (org-insert-item): Handle description lists.
5055         (org-adaptive-fill-function): Improve auto indentation in
5056         description lists.
5058         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5059         Implement VERSE environment.
5060         (org-export-preprocess-string): Implement the COMMENT
5061         environment.
5063         * org-export-latex.el (org-export-latex-preprocess): Implement
5064         VERSE environment.
5066 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5068         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5069         option.
5071 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5073         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5075         * org.el (org-quote-csv-field): New functions.
5077         * org-table.el (org-table-export-default-format): Remove :splice
5078         from default format, we get the same effect by not specifying
5079         :tstart and :tend.
5080         (org-table-export): Improve setup, distinguish better between
5081         interactive and non-interactive use, allow specifying the format
5082         on the fly, better protection against wrong file names.
5083         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5084         and :tend when :splice is omitted.
5086 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5088         * org-clock.el (org-clock-select-task): Make sure the selection
5089         letters are 1-9 and A-Z, no special characters.
5091 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5093         * org-exp.el (org-export-htmlize): New group.
5094         (org-export-htmlize-output-type)
5095         (org-export-htmlize-css-font-prefix): New options.
5096         (org-export-htmlize-region-for-paste): New function.
5097         (org-export-htmlize-generate-css): New command.
5099 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5101         * org/org.el (org-modules, org-format-latex-options):
5102         * org/org-archive.el (org-archive-stamp-time)
5103         (org-archive-save-context-info):
5104         * org/org-faces.el (org-hide):
5105         * org/org-irc.el (org-irc-parse-link):
5106         * org/org-macs.el (org-call-with-arg, org-autoload):
5107         * org/org-mew.el (org-mew-store-link):
5108         * org/org-remember.el (org-remember-store-without-prompt)
5109         (org-remember-templates): Fix typos in docstrings.
5111         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5113         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5114         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5115         (org-bbdb-anniv-split): Fix typos in docstrings.
5117         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5118         (org-publish-use-timestamps-flag): Reflow docstring.
5119         (org-publish-files-alist): Fix typos in docstring.
5121 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5123         * org.el (org-set-visibility-according-to-property): New function.
5124         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5125         and compute the regular expressions, and update font-lock.
5126         (org-property-re): Allow a dash in property names.
5128         * org-archive.el (org-extract-archive-file): Insert the file name
5129         without the path into the format, to allow the location format to
5130         contain a subdirectory.
5132         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5133         of buffer, and the `org-agenda-type' property undefined, use the
5134         value from the character before.
5136         * org.el (org-add-planning-info): Don't let indentation for
5137         would-be timestamp become extra whitespace at the end of headline.
5139 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5141         * org.el (org-remove-double-quotes, org-file-contents): New
5142         functions.
5144         * org-exp.el (org-infile-export-plist): Also parse the
5145         contents of #+SETUPFILE files, recursively.
5147         * org.el (org-set-regexps-and-options): Also parse the
5148         contents of #+SETUPFILE files, recursively.
5150         * org-exp.el (org-export-handle-include-files): New function.
5151         (org-export-preprocess-string): Call
5152         `org-export-handle-include-files'.
5154         * org.el (org-delete-property-globally)
5155         (org-delete-property, org-set-property): Ignore case during
5156         completion.
5157         (org-set-property): Use `org-completing-read' instead of
5158         `completing-read'.
5160         * org.el (org-complete-expand-structure-template): New,
5161         experimental function.
5162         (org-structure-template-alist): New, experimental option.
5163         (org-complete): Call `org-complete-expand-structure-template'.
5165 2008-05-06  Bastien Guerry  <bzg@altern.org>
5167         * org-export-latex.el (org-export-latex-preprocess): Added
5168         support for blockquotes.
5170 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5172         * org.el (org-read-date-analyze): Catch the case where only a
5173         weekday is given.
5175 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5177         * org.el (org-set-font-lock-defaults): Make the description
5178         tag bold.
5180         * org-exp.el (org-export-as-html, org-close-li): Implement
5181         description lists.
5183 2008-05-04  Jason Riedy  <jason@acm.org>
5185         * org-table.el (*orgtbl-default-fmt*): New variable.
5186         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5187         when there is no other fmt available.
5189         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5190         :tend to suppress the appropriate string.
5192         (orgtbl-to-orgtbl): New function for translating to another orgtbl
5193         table.
5195 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
5197         * org.el (org-read-date-analyze): "." as an alias for "+0" in
5198         read date.
5200         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5201         New function.
5203         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5204         New function.
5206 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
5208         * org-clock.el (org-clock-find-position): Don't include notes
5209         into clock drawer.
5211         * org-archive.el (org-archive-subtree): No longer remove an
5212         extra line after cutting the subtree.  `org-cut-subtree' already
5213         takes care of this.
5215         * org-remember.el (org-remember-handler): Only kill the target
5216         buffer if it does not contain the running clock.
5218         * org.el (org-markers-to-move): New variable.
5219         (org-save-markers-in-region, org-check-and-save-marker)
5220         (org-reinstall-markers-in-region): New function.
5221         (org-move-subtree-down, org-copy-subtree): Remember relative
5222         marker positions before cutting.
5223         (org-move-subtree-down, org-paste-subtree): Restore relative
5224         marker positions after pasting.
5226         * org-remember.el (org-remember-clock-out-on-exit): New option.
5227         (org-remember-finalize): Clock out only if the setting in
5228         `org-remember-clock-out-on-exit' requires it.
5229         (org-remember-handler): Do the cleanup in the buffer, to make sure
5230         that the clock marker remains in tact.
5232 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
5234         * org-clock.el (org-clock-goto): Widen buffer if necessary.
5235         (org-clock-in): Make sure that also tasks outside the narrowed
5236         region will be clocked in correctly.
5237         (org-clock-insert-selection-line): Widen the buffer so that we can
5238         find the correct task heading.
5240         * org.el (org-base-buffer): New function.
5242         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5243         and ";" are escaped.
5244         (org-print-icalendar-entries): Also apply
5245         `org-icalendar-cleanup-string' to the headline, not only to the
5246         summary property.
5248 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
5250         * org-exp.el (org-export-preprocess-hook): New hook.
5251         (org-export-preprocess-string): Call
5252         `org-export-preprocess-hook'.
5254         * org.el (org-font-lock-hook): New variable.
5255         (org-font-lock-hook): New function.
5256         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5258 ;; Local Variables:
5259 ;; coding: utf-8
5260 ;; add-log-time-zone-rule: t
5261 ;; End:
5263     Copyright (C) 2008  Free Software Foundation, Inc.
5265   This file is part of GNU Emacs.
5267   GNU Emacs is free software: you can redistribute it and/or modify
5268   it under the terms of the GNU General Public License as published by
5269   the Free Software Foundation, either version 3 of the License, or
5270   (at your option) any later version.
5272   GNU Emacs is distributed in the hope that it will be useful,
5273   but WITHOUT ANY WARRANTY; without even the implied warranty of
5274   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5275   GNU General Public License for more details.
5277   You should have received a copy of the GNU General Public License
5278   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
5280 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c