1 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-offer-links-in-entry): New argument ZERO to
4 implement a link with index zero.
6 * org-agenda.el (org-agenda-open-link): Pass the prefix to
7 `org-offer-links-in-entry'.
9 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
11 * org-agenda.el (org-agenda-quit): Provide the window argument for
12 `window-dedicated-p', Emacs 22 needs it.
13 (org-format-agenda-item): If the category is a link, arrange for
14 invisible text to replaced with spaces.
15 (org-compile-prefix-format): Add the extra space.
16 (org-prefix-category-length): New variable.
18 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
19 references from TOC lines.
21 * org.el (org-selected-window): New variable.
23 * org-table.el (org-table-edit-formulas): Remember the selected
25 (org-table-fedit-finish, org-table-fedit-abort): Select the window
26 that was originally selected.
28 * org-exp.el (org-export-preprocess-apply-macros): Scan the
29 expansion of a macro for more macro definitions.
31 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
32 invisibility overlay starts on the newline.
34 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
36 * org-protocol.el (org-protocol-store-link)
37 (org-protocol-remember, org-protocol-open-source): Add autoloads.
39 * org-compat.el (org-float-time): New function.
41 * org.el (org-clock-update-time-maybe)
42 (org-sort-entries-or-items, org-do-sort)
43 (org-evaluate-time-range, org-time-string-to-seconds)
44 (org-closed-in-range): Use `org-float-time'.
46 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
47 (org-timer-seconds): Use `org-float-time'.
49 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
50 (org-clock-sum, org-dblock-write:clocktable)
51 (org-clocktable-steps): Use `org-float-time'.
53 * org-agenda.el (org-agenda-last-marker-time)
54 (org-agenda-new-marker, org-diary): Use `org-float-time'.
56 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
59 * org-exp.el (org-get-file-contents): Only protect lines that
62 * org-html.el (require): Require cl for compilation.
64 * org.el: Avoid using `default-major-mode'.
66 * org-plot.el (require): Require CL only at compile time.
68 * org-exp.el (require): Require CL only at compile time.
70 * org-agenda.el (org-agenda-quit): When the agenda window is
71 dedicated, remove other windows before exiting, so that the frame
72 really will be killed.
74 * org-exp.el (org-export-handle-include-files): Reset START and
75 END for each loop cycle.
77 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
79 * org.el (org-eval-in-calendar): Use
80 `org-select-frame-set-input-focus'.
82 * org-compat.el (org-select-frame-set-input-focus): New function.
84 * org.el (org-update-statistics-cookies): New function.
85 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
87 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
89 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
90 after the local variables are set.
92 * org-latex.el (org-export-latex-protect-amp): New function.
93 (org-export-latex-links): Protect link ampersands in tables.
95 * org-exp.el (org-export-select-backend-specific-text): Match in
96 two steps, to avoid regexp problems.
98 * org.el (org-offer-links-in-entry): Improve working with many and
101 * org-agenda.el (org-agenda-show-1): Make more consistent with
103 (org-agenda-cycle-show): Make more consistent with normal cycling.
105 * org-gnus.el (org-gnus-store-link): Restore the linking to a
108 2009-08-30 Bastien Guerry <bzg@altern.org>
110 * org-latex.el (org-export-latex-first-lines): Bugfix.
112 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
114 * org-clock.el (org-clock-modify-effort-estimate): Emit message
117 * org.el (org-set-effort): New function.
118 (org-mode-map): New key for effort setting command.
120 * org-agenda.el (org-agenda): Keep window setup when calling
121 agenda from within agenda window.
122 (org-agenda-mode-map): New keys for effort setting commands.
123 (org-agenda-menu): Add effort setting commands to menu.
124 (org-agenda-set-property, org-agenda-set-effort): New functions.
126 * org-latex.el (org-export-latex-tables): Fix
127 `org-table-last-alignment' and `org-table-last-column-widths' if
128 the first column has been removed.
130 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
132 * org.el (org-remove-timestamp-with-keyword): Only remove in
133 entry, not in subtree.
135 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
138 * org.el (org-open-at-point): When on headline, offer all strings
141 * org-remember.el (org-remember-templates): Documentation fix.
143 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
144 `org-get-last-sibling' instead of the outline versions of these
146 (org-get-last-sibling): New function.
147 (org-refile): Use `org-get-next-sibling' instead of the outline
148 version of this function.
149 (org-clean-visibility-after-subtree-move): Use
150 `org-get-next-sibling' and `org-get-last-sibling' instead of the
151 outline versions of these functions.
153 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
155 * org-agenda.el (org-prepare-agenda): When creating a new frame
156 for the agenda, make the window dedicated.
158 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
160 * org-table.el (org-table-align): Change the order of reinsertion
161 and deletion, to avoid problems with overlays following the table.
163 * org.el (org-parse-time-string): Better error message.
164 (org-show-subtree): Use org-end-of-subtree.
166 * org-macs.el (org-goto-line): New defsubst.
168 * org.el (org-open-file, org-change-tag-in-region)
169 (org-fast-tag-show-exit): Don't use `goto-line'.
171 * org-table.el (org-table-align, org-table-insert-column)
172 (org-table-delete-column, org-table-move-column)
173 (org-table-sort-lines, org-table-copy-region)
174 (org-table-paste-rectangle, org-table-wrap-region)
175 (org-table-get-specials, org-table-rotate-recalc-marks)
176 (org-table-get-range, org-table-recalculate)
177 (org-table-edit-formulas, org-table-fedit-convert-buffer)
178 (org-table-show-reference, org-table-highlight-rectangle): Don't
181 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
182 (org-edit-src-exit): Don't use `goto-line'.
184 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
186 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
187 Don't use `goto-line'.
189 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
191 * org-colview.el (org-columns, org-columns-redo)
192 (org-agenda-columns): Don't use `goto-line'.
194 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
197 * org-agenda.el (org-agenda-mode): Force visual line motion off.
198 (org-agenda-add-entry-text-maxlines): Improve docstring.
199 (org-agenda-start-with-entry-text-mode): New option.
200 (org-agenda-entry-text-maxlines): New option.
201 (org-agenda-entry-text-mode): New variable.
202 (org-agenda-mode): Set initial value of
203 `org-agenda-entry-text-mode'.
204 (org-agenda-mode-map): Add the `E' key.
205 (org-agenda-menu): Add entry text mode to the menu.
206 (org-agenda-get-some-entry-text): Fix line count bug.
207 (org-finalize-agenda): Apply entry text mode if appropriate.
208 (org-agenda-entry-text-show-here): New function.
209 (org-agenda-entry-text-show): New function.
210 (org-agenda-entry-text-hide): New function.
211 (org-agenda-view-mode-dispatch): Add entry text mode to the view
213 (org-agenda-entry-text-mode): New command.
214 (org-agenda-set-mode-name): Add entry text mode to the mode line
216 (org-agenda-undo, org-agenda-get-restriction-and-command)
217 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
220 2009-08-26 Bernt Hansen <bernt@norang.ca>
222 * org-clock.el (org-notify): Bugfix.
224 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
226 * org-agenda.el (org-agenda-open-link): Handle multiple links and
227 check for after-string.
229 * org-gnus.el (org-gnus-store-link): Simplify.
231 * org.el (org-latex-regexps): Don't add extra empty lines for
234 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
236 * org-agenda.el (org-agenda-get-some-entry-text): New function.
237 (org-agenda-add-entry-text): Use
238 `org-agenda-get-some-entry-text'.
240 * org.el (org-cycle-separator-lines): Update docstring.
241 (org-cycle-show-empty-lines): Handle negative values for
242 `org-cycle-show-empty-lines'.
244 * org-exp.el (org-export-protect-sub-super): New function.
245 (org-export-normalize-links): Protect the url of plain links from
246 supscript and superscript processing.
248 * org-remember.el (org-remember-escaped-%): New function.
249 (org-remember-apply-template): Use `org-remember-escaped-%' to
250 detect escaped % signs.
252 2009-08-23 Bastien Guerry <bzg@altern.org>
254 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
255 sound when showing the notification.
257 * org-clock.el (org-notify): New function.
258 (org-clock-notify-once-if-expired): Use `org-notify'.
260 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
261 and `gnus-article-mode' separately.
262 (gnus-summary-article-header): Fix the declare-function.
264 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
266 * org-exp.el (org-export-format-source-code-or-example): Translate
269 * org-src.el (org-src-lang-modes): New variable
270 (org-edit-src-code): Translate language.
272 * org-exp.el (org-export-format-source-code-or-example): Deal wit
273 the new structure of the `org-export-latex-listings-langs'
276 * org-latex.el (org-export-latex-listings-langs): Change structure
277 of the variable from plist to alist.
279 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
281 * org.el (org-in-commented-line): New function.
283 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
285 * org.el (org-hide-block-toggle): Make folded blocks searchable.
287 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
289 * org.el (org-flag-drawer): More useful error.
291 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
293 * org-remember.el (org-remember-apply-template): Use
294 org-icompleting-read.
296 * org-publish.el (org-publish): Use org-icompleting-read.
298 * org-colview.el (org-columns-edit-value, org-columns-new)
299 (org-insert-columns-dblock): Use org-icompleting-read.
301 * org-colview-xemacs.el (org-columns-edit-value)
302 (org-columns-new, org-insert-columns-dblock): Use
303 org-icompleting-read.
305 * org-attach.el (org-attach-delete-one, org-attach-open): Use
306 org-icompleting-read.
308 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
310 * org.el (org-hierarchical-todo-statistics): Improve docstring.
311 (org-version): Return the version text.
312 (org-org-menu): Add a menu entry for the new bug reporter.
313 (org-submit-bug-report): New command.
315 * org-list.el (org-hierarchical-checkbox-statistics): Improve
318 * org.el (org-emphasis-regexp-components): Add "`" to set of
319 pre-emphasis characters.
321 * org-latex.el (org-export-latex-classes): Always include the soul
323 (org-export-latex-emphasis-alist): Use \st for strikethough.
325 * org-exp-blocks.el (org-export-blocks-preprocess): Use
326 `indent-code-rigidly' to indent.
328 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
329 properties only if MATCH really is a string.
331 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
333 * org-latex.el (org-export-latex-packages-alist): Fix
336 * org.el (org-create-formula-image): Also use
337 `org-export-latex-packages-alist'.
339 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
340 (org-export-as-html): Format footnotes correctly.
342 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
344 * org.el (org-fast-tag-selection): Avoid text properties on tags
347 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
348 text properties on the match element.
350 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
352 * org.el (org-set-regexps-and-options): Make sure the list of done
353 keywords is not invalid.
355 * org-exp.el (org-export-interpolate-newlines): New function.
357 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
359 * org.el (org-format-latex): Avoid nested overlays.
361 * org-latex.el (org-export-latex-listings-langs): Add a few more
364 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
365 ignore newlines and space before the first macro argument.
367 * org-latex.el (org-export-latex-tables): Remove save-excursion
368 around `org-table-align'.
370 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
372 * org.el (org-export-html-special-string-regexps): Definition
375 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
378 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
380 * org-latex.el (org-export-latex-listings)
381 (org-export-latex-listings-langs): New options.
383 * org-exp.el (org-export-format-source-code-or-example): Use
384 listing package if requested by the user.
386 2009-08-08 Bastien Guerry <bzg@altern.org>
388 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
389 command before actually switching to a buffer.
391 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
393 * org-exp.el (org-get-file-contents): Only quote org lines when
394 the markup is src or example.
396 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
398 (org-agenda-get-day-entries): Remember deadline results and pass
399 them on into the function getting the scheduling information.
400 (org-agenda-get-scheduled): Accept deadline results as parameters
401 and maybe skip some entries.
402 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
404 * org.el (org-insert-heading): When respecting content, do not
405 convert current line to headline.
407 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
408 cheeeeeck the hd marker
409 (org-clock-in): Also set the hd marker.
410 (org-clock-out): Also set the hd marker.
411 (org-clock-cancel): Reset markers.
413 * org.el (org-clock-hd-marker): New marker.
415 * org-faces.el (org-agenda-clocking): New face.
417 * org-agenda.el (org-agenda-mark-clocking-task): New function.
418 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
420 * org.el (org-modules): Add org-track.el.
422 * org-agenda.el (org-agenda-bulk-marked-p): New function.
423 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
424 `org-agenda-bulk-marked-p'.
425 (org-agenda-bulk-toggle): New command.
427 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
429 * org.el (org-move-subtree-down): Hide subtree if it was folded,
432 * org-remember.el (org-remember-finalize): Avoid buffer-modified
451 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
453 * org-latex.el (org-export-latex-first-lines): Fix bug with
454 finding the end of the first lines.
456 * org.el (org-create-formula-image): Remove the -E option for
459 * org-exp.el (org-default-export-plist): Respect #+BIND.
460 (org-export-confirm-letbind): New function.
462 * org.el (org-paste-subtree): Test the kill ring entry if it is
464 (org-copy-subtree): Use `org-forward-same-level'.
465 (org-forward-same-level): Respect the `invisibe-ok' arg for
468 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
470 * org.el (org-table-map-tables): Make sure cursor is back at table
471 beginning after funcall.
473 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
474 handled before children, and do not error if an entry is not
475 found, probably because it hase been remove when the parent was
478 * org.el (org-ido-completing-read): Accept straight lists for
479 completion as well as alists.
481 * org-html.el (org-export-as-html): Fix parenthesis error in
484 * org-timer.el (org-timer-cancel-timers): Renamed from
485 `org-timer-cancel-timers'.
487 * org.el (org-cycle-internal-local): Fix problem with finding next
490 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
492 * org-list.el (org-list-send-list): Call
493 `org-list-goto-true-beginning' instead of
494 `org-list-find-true-beginning', which does not exist.
496 * org-timer.el (org-timer-reset-timers): Use `mapc'.
497 (org-timer-set-timer): Do not assign to heading.
499 * org-id.el (org-id-open): Quote function name.
501 * org-macs.el (org-unmodified): Turn off recording undo
502 information while running inside the macro.
504 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
506 (org-indent-mode): Remember and restore value of
507 org-hide-leading-stars before `org-indent-mode'.
509 * org-table.el (org-table-export): Also work in file-less
512 * org.el (org-startup-indented): New option.
513 (org-startup-options): Add new options indent and noindent.
514 (org-unfontify-region): Remove line-prefix and wrap-prefix
516 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
518 (org-promote, org-demote): Run the new hooks.
520 * org-table.el (org-table-align): Replace leading \n as well.
522 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
523 and `line-wrap' text properties.
525 * org-compat.el (org-kill-new): New function.
527 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
528 `line-wrap' text properties.
530 * org-indent.el: New file.
532 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
534 * org.el (org-provide-todo-statistics): Tweak docstring.
536 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
538 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
540 * org-exp.el (org-export-as-org): Insert the "-source" string
541 before the extension.
543 * org.el (org-read-date): Make sure the calendar is in the current
545 (org-set-emph-re): Remove the ? from the post-match.
546 (org-emphasis-regexp-components): Add backslash to the
548 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
549 optional so that also lines at the end of the buffers will still
550 be matched as headlines.
552 * org-table.el (org-table-error-on-row-ref-crossing-hline):
553 Variable made obsolete.
554 (org-table-relative-ref-may-cross-hline): New option.
555 (org-table-find-row-type): Honow the new option
556 `org-table-relative-ref-may-cross-hline'.
558 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
560 * org-table.el (org-table-cut-region, org-table-copy-region): Work
561 on single field if no active region.
563 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
565 * org-latex.el (org-export-latex-make-header): Only insert title
568 * org.el (org-make-options-regexp): Allow empty values.
570 * org-html.el (org-export-as-html): Move hrule detection to after
573 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
575 * org-html.el (org-format-org-table-html): Fix colgroup tags.
577 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
579 * org.el (org-cycle-internal-local): Improved version of finding
581 (org-cycle-hide-drawers): Only hide drawers if this is really
583 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
584 org-version of this function in Org-mode. We use advice to
585 implement this change, so that future changes to this function in
586 outline.el wil be handled properly.
587 (org-forward-same-level, org-backward-same-level): New commands.
589 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
591 * org.el (org-remove-empty-overlays-at)
592 (org-clean-visibility-after-subtree-move): New functons.
593 (org-move-subtree-down): Simplify cleanup of display.
595 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
597 * org-mac-message.el (org-mac-message-get-links): Improve
598 docstring. Make argument SELECT-OR-FLAGGED optional, default to
599 "s". Fix the return value.
600 (org-mac-message-insert-flagged): Simplify.
602 * org.el (org-refile-get-location): Tamper with refile history o
603 that history contains compete matches instead of the entered
606 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
608 * org.el (org-store-link): Never store a link to an inline task.
610 * org-inlinetask.el (org-inlinetask-insert-task): New command.
612 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
613 inline tasks when positioning footnotes.
615 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
618 * org.el (org-refile): Remove the END line when archiving an
619 inline task that does have an END line.
621 * org-archive.el (org-archive-subtree): Remove the END line when
622 archiving an inline task that does have an END line.
624 * org-macs.el (org-with-limited-levels): New macro.
625 (org-get-limited-outline-regexp): New function.
627 * org-exp.el (org-export-format-source-code-or-example): Fix bug
628 that did not enumerate first line.
629 (org-export-mark-radio-links): Skip matches in links.
631 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
633 * org.el (org-activate-plain-links): Make single-match.
634 (org-adapt-indentation): Fix docstring.
636 * org-macs.el (org-unmodified): Turn of modification hooks while
639 2009-08-02 Bastien Guerry <bzg@altern.org>
641 * org.el (org-adapt-indentation): Slightly improve the docstring.
642 (org-occur): Sends an error when the user inputs an empty string.
643 (org-priority): Bugfix: the tag alignement should happen within
646 2009-07-31 Bastien Guerry <bzg@altern.org>
648 * org.el (org-make-link-regexps): Don't exclude parentheses from
650 (org-cycle-internal-local): When locally cycling, switch directly
651 from CHILDREN to FOLDED if there is no subtree
652 (org-cycle): Update the docstring to document the new behavior of
653 `org-cycle-internal-local'.
655 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
657 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
658 an abbreviated format for days.
660 2009-07-27 Bastien Guerry <bzg@altern.org>
662 * org-protocol.el (org-protocol-default-template-key): New
665 * org.el (org-refile): Bugfix: save-excursion before reading the
666 refile target, otherwise cursor moves might confuse `org-refile'.
668 * org-html.el (org-export-as-html): Bugfix: correctly convert the
669 footnote reference before the footnote itself.
671 * org.el (org-toggle-heading): Bugfix: correctly convert list
672 items before the first headline.
674 * org-html.el (org-export-html-footnote-format): New option for
675 formatting the footnote reference.
676 (org-export-as-html): Use the new option.
678 * org.el (org-provide-todo-statistics): Allow a list of TODO
679 keywords to compute statistics against headlines containing a
680 keyword from this list.
681 (org-update-parent-todo-statistics): Possibly use the new allowed
682 value of `org-provide-todo-statistics'.
684 2009-07-26 Bastien Guerry <bzg@altern.org>
686 * org-timer.el: Add autoload cookie.
688 * org.el (org-occur-link-in-agenda-files): New function.
690 * org-timer.el (org-timer-last-timer): New variable.
692 * org-agenda.el (org-agenda-mode-map): New key for
693 org-timer-set-timer called from the agenda.
695 * org.el (org-mode-map): New key for org-timer-set-timer.
697 * org-timer.el (org-timer-reset-timers)
698 (org-timer-show-remaining-time, org-timer-set-timer): New
701 * org-clock.el (org-show-notification): Update the docstring.
703 * org.el (org-provide-todo-statistics): Allow new value
704 'all-headlines for this option, which includes entries with no
705 TODO keywords in the todo statistics.
706 (org-update-parent-todo-statistics): Possibly use the new
707 'all-headline value from `org-provide-todo-statistics'.
709 2009-07-25 Bastien Guerry <bzg@altern.org>
711 * org-clock.el (org-dblock-write:clocktable): Add a new option
712 :timestamp which allows display of timestamps in clock reports.
714 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
715 list to a subtree, preserving the structure of the list.
716 (org-set-emph-re): Make the last element optional in the regexp.
717 This regexp now matches an emphasized string at the end of a line.
719 * org-list.el (org-list-goto-true-beginning)
720 (org-list-make-subtree, org-list-make-subtrees): New functions.
722 * org.el (org-eval-in-calendar): Select the right frame.
723 (org-save-frame-excursion): Remove this macro.
725 2009-07-24 Bastien Guerry <bzg@altern.org>
727 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
728 trying to find the beginning of a list.
730 * org-exp.el (org-get-file-contents): Use a new argument: markup.
731 When present, tell org-get-file-contents not to protect org-like
734 * org-id.el (org-id-uuid-program): New option to set the name of
736 (org-id-method): Use `org-id-uuid-program'.
737 (org-id-new): Use `org-id-uuid-program'.
739 2009-07-23 Bastien Guerry <bzg@altern.org>
741 * org-exp.el (org-export-number-lines): Allow whitespace in code
742 references. Allow the -r switch to remove the references in the
743 source code even when the lines are not numbered: the labels can
746 * org.el (org-fontify-whole-heading-line): New option.
747 (org-set-font-lock-defaults): Use the new option.
749 * org-clock.el (org-show-notification-handler): New option.
750 (org-show-notification): Use the new option.
752 2009-07-21 Bastien Guerry <bzg@altern.org>
754 * org.el (org-eval-in-calendar): Fix a bug about calendar
755 navigation when `calendar-setup' value is 'calendar-only.
757 2009-07-19 Bastien Guerry <bzg@altern.org>
759 * org.el (orgstruct++-mode): Fix typo in docstring.
760 (org-insert-link): Clean up: (or (...)) => (...)
761 (org-insert-link): Use TAB for stored links completion.
763 2009-07-18 Bastien Guerry <bzg@altern.org>
765 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
766 building the list of targets.
768 * org-remember.el (org-remember-delete-empty-lines-at-end): New
770 (org-remember-handler): Use the new option.
772 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
774 * org.el (org-tags-sort-function): New option for sorting tags.
775 (org-set-tags): Use the new option to sort tags.
777 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
778 premature deletion of the data when using org-plot in a script.
780 2009-07-17 Bastien Guerry <bzg@altern.org>
782 * org-clock.el (org-clock-in-prepare-hook): New hook.
783 (org-clock-in): Use this new hook.
785 2009-07-16 Bastien Guerry <bzg@altern.org>
787 * org.el (org-special-ctrl-a/e): Explicitely bind the value
788 'reversed for this option to the "true line boundary first"
790 (org-tags-match-list-sublevels): Document the 'indented value for
793 * org-latex.el (org-export-latex-first-lines): Fix problem with
794 publishing the region.
796 * org-exp.el (org-export-format-source-code-or-example): Fix
797 bad line numbering when exporting examples in HTML.
799 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
801 * org-colview.el (org-format-time-period): Formats a time in
802 fractional days as days, hours, mins, seconds.
803 (org-columns-display-here): Add special handling for SINCE and
804 SINCE_IA to format for display.
806 * org.el (org-time-since): Add a function to get the time since an
808 (org-entry-properties): Add two new special properties: SINCE and
809 SINCE_IA. These give the time since any active or inactive
810 timestamp in an entry.
811 (org-special-properties): Add SINCE, SINCE_IA.
812 (org-tags-sort-function): Add custom declaration for tags
814 (org-set-tags): Sort tags if org-tags-sort-function is set
816 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
818 * org-clock.el (org-clock-goto): Find hidden headlines as well.
820 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
822 * org-plot.el (org-plot/add-options-to-plist): Add timeind
825 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
827 * org-publish.el (org-publish-remove-all-timestamps): New function.
828 (org-publish-all): Remove all timestamp files if `org-publish-all'
829 is called with a prefix argument.
831 * org-list.el (org-indent-item): Fix typo.
832 (org-item-indent-positions): Normalize ordered bullet.
834 * org-html.el (org-export-html-home/up-format): New option.
835 (org-export-as-html): Insert the up and HOME links.
837 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
839 * org-html.el (org-export-as-html): Insert the title into the
841 (org-export-html-insert-plist-item): New function.
842 (org-export-as-html): Call `org-export-html-insert-plist-item'.
844 * org-macs.el (org-set-local): Make a local variable, do not make
845 the variable buffer-local!
847 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
849 * org-html.el (org-export-as-html): Call `org-install-letbind'.
851 * org-docbook.el (org-export-as-docbook): Call
852 `org-install-letbind'.
854 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
856 * org-exp.el (org-infile-export-plist): Read BIND lines.
857 (org-install-letbind): New function.
858 (org-export-as-org, org-export-preprocess-string): Call
859 `org-install-letbind'.
861 * org-src.el (org-edit-src-exit): Untabify the example before
864 * org-list.el (org-list-demote-modify-bullet): New option.
865 (org-first-list-item-p): Save point.
866 (org-fix-bullet-type): New optional argument FORCE-BULLET.
867 (org-indent-item): Honor `org-list-demote-modify-bullet'.
868 (org-item-indent-positions): Return bullet types along with
871 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
873 * org.el (org-show-entry): Hide drawers.
875 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
877 * org-footnote.el (org-footnote-auto-adjust): New option.
878 (org-footnote-auto-adjust-maybe): New function.
879 (org-footnote-new, org-footnote-delete): Call
880 `org-footnote-auto-adjust-maybe'.
882 * org.el (org-startup-options): Add new footnote-related
885 * org-publish.el (org-publish-timestamp-filename): Additional
886 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
887 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
888 TRUE-PUB-DIR. Pass them through to
889 `org-publish-timestamp-filename'.
890 (org-publish-update-timestamp): Additional arguments PUB-DIR and
891 PUB-FUNC, which are included in the hash.
892 (org-publish-file): Delay timestamp test until the publishing
895 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
897 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
898 setting the deadline.
900 * org.el (org-read-date-final-answer): New variable.
901 (org-read-date): Store the final answer string, including the date
902 from the calendar, for reuse by agenda bulk commands.
904 * org-publish.el (org-publish-attachment): Fix publishing of
907 * org-latex.el (org-export-latex-quotation-marks): Fix export of
908 quotation makrs in parenthesis.
909 (org-remove-initial-hash): New function.
910 (org-export-latex-preprocess): Fix bug with infinite loop if
911 environment is not properly closed.
913 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
916 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
917 highlight also when indented.
919 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
921 * org-footnote.el (org-footnote-renumber-fn:N): New command.
922 (org-footnote-action): Offer renumbering.
924 * org.el (org-cycle): Honor the `integrate' value of
925 org-cycle-include-plain-lists'.
927 * org-list.el (org-cycle-include-plain-lists): New allowed value
928 `internal'. Improve the docstring.
930 * org.el (org-set-autofill-regexps): Improve the paragraph-start
931 regexp to work better with LaTeX commands.
933 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
935 * org-feed.el (org-feed-update): fix problem with non-existing
937 (org-feed-skip-http-headers): New function.
938 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
939 (org-feed-get-feed): Fix command line arguments for curl.
941 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
943 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
946 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
948 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
951 * org.el (org-map-entries): No longer force
952 `org-tags-match-list-sublevels' to t during a todo-only tags
955 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
957 * org-latex.el (org-export-latex-low-levels): Allow user-defined
959 (org-export-latex-subcontent): Handle user-defined environment.
961 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
964 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
967 * org-latex.el (org-export-as-pdf): Protect match data during call
968 to shell-quote-argument.
970 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
971 (org-agenda-view-mode-dispatch): New function.
973 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
975 * org-agenda.el (org-agenda-mode): Reset list of marks.
976 (org-agenda-mode-map): Define new keys for refile and bulk action.
977 (org-agenda-menu): Add menu itesm for refile and bulk action.
978 (org-agenda-refile): New function.
979 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
980 (org-agenda-marked-entries): New variable.
981 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
982 (org-agenda-remove-all-bulk-action-marks)
983 (org-agenda-bulk-action): New functions/commands.
985 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
987 * org-exp.el (org-get-file-contents): Protect org-like lines in
989 (org-export-format-source-code-or-example): Remove newlines.
991 * org-latex.el (org-export-latex-links): Check for no-description
994 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
995 argument separator back to comma.
996 (org-export-normalize-links): Mark links without description.
998 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
1000 * org-exp.el (org-infile-export-plist): Fix bug in macro
1003 * org-agenda.el (org-agenda-clock-out): Update line after clocking
1005 (org-agenda-highlight-todo): Fix bug with highlighting.
1007 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
1009 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1010 new alignment strings.
1012 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1014 (org-table-align): Check for forced align type.
1016 * org.el (org-self-insert-command): Add yas/expand to command
1019 * org-clock.el (org-clock-in-hook): New hook.
1020 (org-clock-in): Run `org-clock-in-hook.
1021 (org-clock-out-hook): New hook.
1022 (org-clock-out): Run `org-clock-out-hook.
1023 (org-clock-cancel-hook): New hook.
1024 (org-clock-cancel): Run `org-clock-cancel-hook.
1025 (org-clock-goto-hook): New hook.
1026 (org-clock-goto): Run `org-clock-goto-hook.
1028 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
1030 * org.el (org-store-link): Better default description for link to
1033 * org-exp.el (org-export-generic): Autoload the generic exporter
1035 (org-export): Implement the `g' key for the generic exporter.
1037 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
1039 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1042 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1044 * org-exp.el (org-infile-export-plist): Get macros also from
1047 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
1049 * org-colview.el (org-columns-capture-view): Protect vertical bars
1051 (org-columns-capture-view): Exclude comment and archived trees.
1053 * org-colview-xemacs.el (org-columns-capture-view): Protect
1054 vertical bars in column values.
1055 (org-columns-capture-view): Exclude comment and archived trees.
1057 * org.el (org-quote-vert): New function.
1059 * org-latex.el (org-export-latex-verbatim-wrap): New option.
1061 * org-exp.el (org-export-format-source-code-or-example): Use
1062 `org-export-latex-verbatim-wrap'.
1064 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1067 * org-html.el (org-export-table-row-tags): New option.
1068 (org-format-org-table-html): Rename `nlines' to `nline', use new
1072 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
1074 * org-exp-blocks.el: Declare functions and variables.
1076 * org-remember.el (org-remember-templates): Allow the headline
1077 element to be a function.
1078 (org-remember-apply-template): If the headline is a function, call
1079 it to get the true function.
1081 * org-clock.el (org-clock-menu): New function.
1082 (org-clock-update-mode-line): Update help string.
1083 (org-clock-modify-effort-estimate): New function.
1084 (org-clock-mark-default-task): New function.
1086 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1088 (org-org-menu): Add new clocking stuff.
1089 (org-clock-is-active): New function.
1091 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
1093 * org.el (org-open-non-existing-files): Improve docstring.
1095 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
1097 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1099 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1101 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1103 * org-list.el (org-get-checkbox-statistics-face): Use the new
1106 * org-faces.el (org-checkbox-statistics-todo)
1107 (org-checkbox-statistics-done): New faces.
1109 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
1111 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1112 (org-edit-src-exit): Better cursor positioning when returning from
1115 * org-latex.el (org-export-latex-use-verb): New variable.
1116 (org-export-latex-emph-format): Prefer \texttt over \verb when
1117 org-export-latex-use-verb is set.
1119 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
1121 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1122 at normal indentation.
1124 * org-html.el (org-export-html-close-lists-maybe): Also look at
1127 * org-remember.el (org-remember-handler): Abort remember if the
1130 * org-src.el (org-edit-src-content-indentation): New option.
1131 (org-edit-src-exit): Apply extra indentation.
1133 * org-exp.el (org-export-format-source-code-or-example): Run
1134 `org-src-mode-hook'.
1136 * org-src.el (org-src-mode-hook): New variable.
1137 (org-edit-src-code): Run `org-src-mode-hook'.
1139 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
1141 * org.el (org-indent-line-function): Fix indentation of +#end lines.
1143 * org-src.el (org-edit-src-get-indentation): New function.
1144 (org-edit-src-code): Base indentation on the begin line.
1146 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
1148 * org-gnus.el (org-gnus-store-link): Require message.el in
1149 org-gnus-store-link.
1151 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
1153 * org-src.el: New file, split out of org.el
1155 * org-docbook.el (org-export-as-docbook): Better indentation
1158 * org-macs.el (org-replace-match-keep-properties): New function.
1160 * org-exp.el (org-export-mark-blockquote-verse-center): Better
1161 preprocessing of center and quote and verse blocks.
1163 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1164 (org-export-as-docbook): Close lists when original indentation
1167 * org-html.el (org-export-html-close-lists-maybe): New function.
1168 (org-export-as-html): Close lists when original indentation
1171 * org-list.el (org-list-end): Respect the stored "original"
1172 indentation when determining the end of the list.
1174 * org-exp.el (org-export-replace-src-segments-and-examples):
1175 Remember indentation correctly.
1177 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
1179 * org-clock.el (org-clock-update-mode-line): Apply face
1180 org-mode-line-clock.
1182 * org-faces.el (org-mode-line-clock): New face.
1184 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
1186 * org-gnus.el (org-gnus-store-link): Fix bug where
1187 `org-gnus-store-link' used wrong subject when called in an article
1188 buffer. Patch provided by fengli AT gmail DOT com.
1190 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
1192 * org-exp.el (org-export-format-source-code-or-example): Remember
1193 the original indentation of source code snippets and examples.
1195 * org-latex.el (org-export-as-latex): Relocate the table of
1198 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1200 * org-agenda.el (org-run-agenda-series): Scope global options also
1201 when creating the agenda buffer.
1203 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
1205 * org.el (org-adapt-indentation): Improve documentation.
1206 (org-insert-property-drawer): Respect org-adapt-indentation when
1207 inserting the drawer.
1208 (org-remove-flyspell-overlays-in): New function.
1209 (org-do-emphasis-faces, org-activate-plain-links)
1210 (org-activate-code, org-fontify-meta-lines-and-blocks)
1211 (org-activate-angle-links, org-activate-footnote-links)
1212 (org-activate-bracket-links, org-activate-dates)
1213 (org-activate-target-links, org-activate-tags): Remove flyspell
1216 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
1218 * org.el (org-edit-src-save): New function.
1220 * org-clock.el (org-clock-out-switch-to-state): New option.
1221 (org-clock-out): Honor `org-clock-out-switch-to-state'.
1223 * org-compat.el (org-compatible-face): Improve macro.
1225 * org.el (org-global-properties-fixed): Add default for
1226 CLOCK_MODELINE_TOTAL.
1228 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1230 (org-clock-sum-current-item): Optional argument TSTART, pass it to
1232 (org-clock-get-sum-start): New function.
1234 * org.el (org-startup-options): New keywords blockhide and
1236 (org-mode): Add new invisibility spec.
1237 (org-set-startup-visibility): Hide block on startup if so
1239 (org-hide-block-startup): New option.
1240 (org-block-regexp): New constant.
1241 (org-hide-block-overlays): New variable.
1242 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1243 (org-show-block-all, org-hide-block-toggle-maybe)
1244 (org-hide-block-toggle): New functions.
1245 (org-edit-src-exit): Do not quote lines starting with # and no +
1247 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1250 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
1252 * org.el (org-buffer-property-keys): Add Effort property for
1255 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
1257 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1258 when retrieving total clocked time in the subtree.
1260 * org.el (org-quoting-blocks): New variable.
1262 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1264 * org-table.el (org-table-store-formulas)
1265 (org-table-get-stored-formulas, org-table-fix-formulas)
1266 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1267 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1269 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1270 indented #+TBLFM line.
1272 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1273 indented #+TBLFM line.
1275 * org-colview.el (org-dblock-write:columnview): Allow indented
1278 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1279 indented #+TBLFM line.
1281 * org-clock.el (org-dblock-write:clocktable): Allow indented
1284 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
1286 * org-exp.el (org-export-format-source-code-or-example): Make
1287 editing indented blocks work correctly.
1289 * org.el (org-edit-src-nindent): New variable.
1290 (org-edit-src-code, org-edit-fixed-width-region)
1291 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1292 editing indented blocks work correctly.
1294 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
1296 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1298 (org-export-format-source-code-or-example): Fix indentation of
1300 (org-export-remove-indentation): New function.
1301 (org-export-select-backend-specific-text): Allow backend-specific
1302 code to be indented.
1303 (org-export-mark-blockquote-verse-center): Allow markers to be
1306 * org.el (org-fontify-meta-lines): New function.
1307 (org-set-font-lock-defaults): Call the new fontification
1310 * org-faces.el (org-meta-line): New face
1311 (org-block): New face.
1313 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1315 * org.el (org-treat-insert-todo-heading-as-state-change)
1316 (org-treat-S-cursor-todo-selection-as-state-change): New
1318 (org-insert-todo-heading): Honor
1319 `org-treat-insert-todo-heading-as-state-change'.
1320 (org-shiftright, org-shiftleft): Honor
1321 `org-treat-S-cursor-todo-selection-as-state-change'.
1322 (org-inhibit-logging): New variable.
1324 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
1326 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1327 range for marker position checking.
1329 * org-latex.el (org-export-latex-first-lines): Fix bug when
1332 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
1334 * org-exp.el (org-export-push-to-kill-ring): Protect using
1335 x-set-selection, because that does not always work.
1337 * org-agenda.el (org-agenda-list): Apply the new face
1338 `org-agenda-date-today'.
1340 * org-faces.el (org-agenda-date-today): New face.
1342 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
1344 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1345 creating appointments.
1347 * org-latex.el (org-export-latex-low-levels): Fix customization
1350 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1353 * org-agenda.el (org-agenda-priority): Disable priority commands.
1355 * org.el (org-enable-priority-commands): New option.
1357 * org-colview-xemacs.el (org-columns-compute)
1358 (org-columns-number-to-string): Fix problems with empty fields.
1360 * org-colview.el (org-columns-compute)
1361 (org-columns-number-to-string): Fix problems with empty fields.
1363 * org-exp.el (org-export-push-to-kill-ring): New function.
1364 (org-export-copy-to-kill-ring): New option.
1366 * org-latex.el (org-export-as-latex): Call
1367 `org-export-push-to-kill-ring'.
1369 * org-html.el (org-export-as-html): Call
1370 `org-export-push-to-kill-ring'.
1372 * org-docbook.el (org-export-as-docbook): Call
1373 `org-export-push-to-kill-ring'.
1375 * org-ascii.el (org-export-as-ascii): Call
1376 `org-export-push-to-kill-ring'.
1378 * org-exp.el (org-export-show-temporary-export-buffer): New
1381 * org-latex.el (org-export-as-latex): Use
1382 `org-export-show-temporary-export-buffer'.
1384 * org-html.el (org-export-as-html): Use
1385 `org-export-show-temporary-export-buffer'.
1387 * org-docbook.el (org-export-as-docbook): Use
1388 `org-export-show-temporary-export-buffer'.
1390 * org-ascii.el (org-export-as-ascii-to-buffer): Use
1391 `org-export-show-temporary-export-buffer'.
1393 * org-exp.el (org-export-show-temporary-export-buffer): New
1395 (org-export-push-to-kill-ring): New function.
1397 * org-colview.el (org-columns-compile-map): New variable.
1398 (org-columns-new, org-columns-compute)
1399 (org-columns-number-to-string, org-columns-uncompile-format)
1400 (org-columns-compile-format): Implement new operators.
1402 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
1404 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1406 * org-html.el (org-export-html-xml-declaration): New option.
1407 (org-export-as-html): Use `org-export-html-xml-declaration'.
1409 * org-list.el (org-update-checkbox-count): Make property
1412 * org.el (org-hierarchical-todo-statistics): New option.
1413 (org-update-parent-todo-statistics): Modified to handle recursive
1416 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
1418 * org-publish.el (org-publish): Make this function behave
1419 correctly in interactive use when called with a prefix argument.
1421 * org.el (org-todo-statistics-hook): New hook.
1422 (org-update-parent-todo-statistics): Use new hook.
1423 (org-log-into-drawer): New function.
1424 (org-add-log-setup): Use the new `org-log-into-drawer' function to
1425 determine if we should be logging into a drawer.
1426 (org-log-into-drawer): Update docstring.
1427 (org-default-properties): Add LOG_INTO_DRAWER as a property.
1429 * org-list.el (org-checkbox-statistics-hook): New hook.
1430 (org-update-checkbox-count-maybe): Use new hook.
1432 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1433 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1436 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
1438 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1441 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
1443 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1444 better bufer-generating mechanism.
1445 (org-edit-src-find-buffer): New function.
1447 * org-icalendar.el (org-print-icalendar-entries): Don't check for
1448 archive tag, this is already done by `org-agenda-skip'.
1449 data while constructing lost of tags.
1451 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
1453 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1454 as argument separator in macros.
1456 * org-html.el (org-export-as-html): Add xml declaration.
1458 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
1460 * org.el (org-after-sorting-entries-or-items-hook): New hook.
1461 (org-sort-entries-or-items): Run the new hook.
1462 (org-after-refile-insert-hook): New hook.
1463 (org-refile): Run `org-after-refile-insert-hook'.
1465 * org-agenda.el (org-agenda-get-progress): Never take time of day
1466 from headline when displaying progress.
1468 * org-latex.el (org-export-latex-complex-heading-re): New variable.
1469 (org-export-as-latex): Force the correct regexp in the
1470 preprocessor buffer.
1471 (org-export-latex-set-initial-vars): Set
1472 `org-export-latex-complex-heading-re'.
1474 * org-agenda.el (org-agenda-start-with-log-mode): New option.
1475 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1477 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
1479 * org-latex.el (org-export-latex-tables-centered): New option.
1480 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1482 * org-exp.el (org-export-as-org): New command.
1483 (org-export-as-org): New command.
1485 * org-publish.el (org-publish-org-to-org): New function.
1487 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
1489 * org.el (org-yank): Just call `org-yank-generic'.
1490 (org-yank-generic): New function, containing the formaer
1491 functionality of `org-yank'.
1493 * org-latex.el (org-export-latex-not-done-keywords)
1494 (org-export-latex-done-keywords): New variables.
1495 (org-export-latex-todo-keyword-markup): New option.
1496 (org-export-latex-set-initial-vars): Remember the TODO keywords.
1497 (org-export-latex-keywords-maybe): Apply the TODO markup.
1499 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
1501 * org-exp.el (org-infile-export-plist): Add more default macros.
1502 (org-export-preprocess-apply-macros): Process macro arguments.
1504 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
1506 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1508 (org-print-icalendar-entries): Respect the new value of
1509 `org-icalendar-include-todo'.
1511 * org.el (org-link-try-special-completion)
1512 (org-file-complete-link): New functions.
1513 (org-insert-link): Add special completion support for some link
1516 * org-bbdb.el (org-bbdb-complete-link): New function.
1518 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
1520 * org-list.el (org-update-checkbox-count): Allow recursive
1522 (org-hierarchical-checkbox-statistics): New option.
1524 * org.el (org-cycle): Remove erraneous space character.
1526 * org-icalendar.el (org-icalendar-timezone): Initialize from
1529 * org-html.el (org-format-org-table-html): Specify the scope.
1530 (org-format-table-table-html): Specify the scope.
1531 (org-export-table-header-tags): Prepare the scope parameter.
1533 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
1536 (org-export-html-table-use-header-tags-for-first-column): New
1539 * org.el (org-autoload): Fix autoloading of ascii export
1541 (org-modules): Add org-special-blocks.
1543 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
1545 * org-icalendar.el (org-start-icalendar-file): Use the new option.
1546 (org-ical-timezone): New option.
1548 * org-exp.el (org-export-get-coderef-format): Use the description
1551 * org.el (org-sort-entries-or-items): Improve docstring, and make
1552 better implementation for time sorting.
1554 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
1556 * org.el (org-edit-src-persistent-message): New option.
1557 (org-edit-src-code, org-edit-fixed-width-region): Use the new
1560 * org-clock.el (org-clock-insert-selection-line): Fix prefious
1563 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1564 separate buffer instead of indirect buffer to edit source code.
1565 (org-edit-src-exit): Make this function work with the new setup.
1567 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1568 are properly fontified before shown in the selection menu.
1570 * org.el (org-fontify-like-in-org-mode): New function.
1572 * org-latex.el (org-export-latex-links): Use the property list to
1573 retrieve the default image attributes.
1575 * org-exp.el (org-export-plist-vars): Add a new option.
1577 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
1579 * org-exp.el (org-export, org-export-visible): Support ASCII
1581 (org-export-normalize-links): Do not protect the description if it
1582 is explicitly given.
1584 * org-ascii.el (org-export-as-ascii-to-buffer)
1585 (org-replace-region-by-ascii, org-export-region-as-ascii): New
1587 (org-export-as-ascii): Add all the same parameters that are also
1588 supported by the other export functions.
1590 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1592 (org-reset-checkbox-state-subtree): Call
1593 `org-reset-checkbox-state-subtree'.
1595 * org-remember.el (org-select-remember-template): For the
1596 selection of a valid template.
1598 * org-latex.el (org-export-region-as-latex): Supply the
1599 force-no-subtree argument.
1600 (org-export-as-latex): Provide better limits when exporting the
1601 first line. When exporting to string, we still want the first
1603 (org-export-latex-first-lines): New argument END, to force the end
1605 (org-export-region-as-latex): Use the property list.
1606 (org-export-as-latex):
1608 * org-colview-xemacs.el (org-columns-remove-overlays)
1609 (org-columns): Fix call to `local-variable-p'.
1611 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
1613 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1614 (org-export-as-html): Run the new hook.
1616 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1617 (org-export-latex-preprocess): Run the new hook.
1619 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1620 (org-export-preprocess-string): Run the new hook.
1622 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
1624 * org-macs.el (org-check-external-command): New defsubst.
1626 * org.el (org-mode-map): New key for reload.
1627 (org-format-latex): Better error message when external programs
1630 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1632 * org.el (org-sort-entries-or-items): Explicit sorting function
1633 for priorities, needed for XEmacs compatibility.
1635 * org-remember.el (org-remember-apply-template): Improve auto-save
1638 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
1640 * org-latex.el (org-export-latex-preprocess): Also protect
1641 environments ending in a star.
1643 * org-list.el (org-at-item-p): Fix regular expression.
1645 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
1647 * org.el (org-end-of-subtree): Improve speed.
1649 * org-agenda.el (org-agenda-get-timestamps)
1650 (org-agenda-get-progress, org-agenda-get-deadlines)
1651 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1652 in particular, wait as long as possible to collect the tags.
1653 (org-stuck-projects): Improve docstring.
1655 * org.el (org-store-link): No errors when getting custom id before
1657 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1659 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
1661 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1663 * org-protocol.el: Remove dependency on url.el.
1664 (org-protocol-unhex-compound, org-protocol-open-source): Remove
1665 dependency on url.el.
1667 * org-latex.el (org-export-as-pdf): Use
1668 `org-latex-to-pdf-process'.
1670 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
1672 * org-latex.el (org-latex-to-pdf-process): New option.
1674 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1676 (org-agenda-get-timestamps): Honor
1677 `org-agenda-skip-additional-timestamps-same-entry'.
1679 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1680 (org-clock-goto): Find recent task only if
1681 `org-clock-goto-may-find-recent-task' allows it.
1683 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1684 drawers, and drawers that are missing the :END: line.
1686 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1688 * org-clock.el (org-clock-goto): Go to recently clocked task if no
1691 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1693 * org.el (org-update-parent-todo-statistics): Check for
1694 STATISTICS_FROM property.
1696 * org-list.el (org-update-checkbox-count): Check for
1697 STATISTICS_FROM property.
1699 * org.el (org-tab-first-hook)
1700 (org-tab-after-check-for-table-hook)
1701 (org-tab-after-check-for-cycling-hook): New hooks.
1702 (org-cycle-internal-global, org-cycle-internal-local): New
1703 functions, split out from `org-cycle'.
1704 (org-cycle): Call the new hooks.
1706 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
1708 * org-exp.el (org-export-preprocess-string): Reset the list of
1709 preferred targets for each run of the preprocessor.
1711 * org.el (org-refile-target-verify-function): Improve
1713 (org-get-refile-targets): Respect point being moved by the
1714 verification function.
1716 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1718 (org-export-latex-keywords): Use new option.
1720 * org.el (org-rear-nonsticky-at): New defsubst.
1721 (org-activate-plain-links, org-activate-angle-links)
1722 (org-activate-footnote-links, org-activate-bracket-links)
1723 (org-activate-dates, org-activate-target-links)
1724 (org-activate-tags): Place the rear-nonsticky properties at the
1727 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
1729 * org-protocol.el (server-edit): Declare `server-edit'.
1730 (org-protocol-unhex-string, org-protocol-unhex-compound): New
1732 (org-protocol-check-filename-for-protocol): Call `server-edit'.
1734 * org.el (org-default-properties): New default properteis for
1737 * org-exp.el (org-export-add-subtree-options): Add new properties
1740 * org-docbook.el (org-export-docbook-keywords-markup)
1741 (org-export-docbook-timestamp-markup): New options.
1742 (org-export-docbook-protect-tags): New function.
1744 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
1746 * org-id.el (org-id-get-with-outline-path-completion): Turn off
1747 org-refile-target-verify-function for the duration of the command.
1749 * org.el (org-link-to-org-use-id): New possible value
1750 `create-if-interactive-and-no-custom-id'.
1751 (org-store-link): Use custom IDs.
1752 (org-link-search): Find custom ID properties from #link.
1753 (org-default-properties): Add CUSTOM_ID for property completion.
1754 (org-refile-target-verify-function): New option.
1755 (org-goto): Turn off org-refile-target-verify-function
1756 for the duration of the command.
1758 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
1760 * org-html.el (org-export-as-html): Use custom IDs in the toc.
1762 * org-exp.el (org-export-preferred-target-alist): New variable.
1763 (org-export-define-heading-targets): Find the new CUSTOM_ID
1765 (org-export-target-internal-links): Target the custom ids when
1768 * org-latex.el (org-export-latex-preprocess): Better regexp for
1769 matching latex macros with arguments.
1771 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
1773 * org-remember.el (org-remember-handler): Allow filing to non-org
1776 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
1778 * org-feed.el (org-feed-alist): New keyword options.
1779 (org-feed-update): Use the new options.
1780 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1781 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1782 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1785 * org-table.el (org-table-fix-formulas): Do not change references
1787 (org-table-get-remote-range): Convert standard coordinates to RC
1790 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1792 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
1794 * org-compat.el (org-sha1-string): Function removed.
1796 * org.el (org-refile-allow-creating-parent-nodes): New option.
1797 (org-refile-get-location): New argument NEW-NODES.
1798 (org-refile): Call `org-refile-get-location' with the new
1800 (org-refile-get-location): Arrange for adding a new child.
1801 (org-refile-new-child): New function.
1803 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1804 an additional span element.
1806 * org-clock.el: Fix a number of docstrings.
1807 (org-clock-find-position): New argument
1808 FIND-UNCLOSED to make the function find an unclosed clock in the
1810 (org-clock-in): Call `org-clock-find-position' with the new
1811 argument if we might be resuming a clock.
1813 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
1815 * org-latex.el (org-export-latex-display-custom-times): New variable.
1816 (org-export-latex-timestamp-markup): New option.
1817 (org-export-latex-set-initial-vars): Remember the local value of
1818 `org-display-custom-times'.
1819 (org-export-latex-content): Process time stamps.
1820 (org-export-latex-time-stamps): New function.
1822 * org-macs.el (org-maybe-intangible): Add intangible property
1823 again to invisible text.
1825 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
1827 * org-exp.el (org-default-export-plist): Handle undefined
1830 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
1832 * org.el (org-sort-entries-or-items): Match TODO keywrds
1833 case-sensitively, when sorting.
1834 (org-priority): Do not match TODO keywords with wrong case.
1836 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
1838 * org-feed.el (org-feed-update): Bind the variable
1841 * org-html.el (org-export-as-html): Start paragraphs after literal
1844 * org-docbook.el (org-export-as-docbook): Start paragraphs after
1847 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
1849 * org.el (org-todo): Honor the NOBLOCKING property.
1851 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1852 NOBLOCKING property.
1854 * org.el (org-scan-tags): Fix bug in tag scanner
1856 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
1858 * org.el (org-modules): Mark obsolete packages.
1860 * org-html.el: New file, split out from org-exp.el.
1862 * org-icalendar.el: New file, split out from org-exp.el.
1864 * org-xoxo.el: New file, split out from org-exp.el.
1866 * org-ascii.el: New file, split out from org-exp.el.
1868 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
1870 * org-compat.el (org-find-library-name): New function.
1872 * org.el (org-pre-cycle-hook): New hook.
1873 (org-cycle): Call the new hook in appropriate places.
1874 (org-reload): Only reload files that have been loaded before.
1876 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
1878 * org.el (org-set-font-lock-defaults): Enforxe space or line end
1880 (org-todo): When changing TODO state, do matching
1882 (org-map-continue-from): New variable.
1883 (org-scan-tags): Respect values in `org-map-continue-from'.
1884 (org-reload): Make XEmacs compatible.
1886 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
1888 * org-protocol.el (org-protocol-flatten-greedy): New function.
1889 (org-protocol-flatten): New function.
1891 * org.el (org-open-link-from-string): Pass reference buffer to
1892 `org-open-at-point'.
1893 (org-open-at-point): New optional argument `reference-buffer'.
1895 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
1897 * org.el (org-scan-tags): Make tag scan find headline in first
1899 (org-get-refile-targets): Add the naked file name.
1900 (org-refile): Store as top-level entry when only file name was
1903 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1905 * org.el (org-block-todo-from-children-or-siblings-or-parent):
1906 Renamed from org-block-todo-from-children-or-siblings, and
1907 enhanced to look for the parent's status as well.
1909 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1910 (org-agenda-get-progress): Add first notes line to log entry if so
1913 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
1915 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1916 (org-agenda-cleanup-fancy-diary): Call the new hook.
1918 * org-remember.el (org-remember-apply-template): Take the default
1919 for the annotation from the :annotation property.
1921 * org-mac-message.el (org-mac-message-get-link): Remove the
1923 (org-mac-message-get-link): Return the result.
1925 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
1927 * org.el (org-refile-get-location): Add file name only if not
1928 already included in outline path.
1930 * org-faces.el (org-n-level-faces): Fix customization type from
1933 * org-exp.el (org-export-headline-levels): Fix customization type
1934 from number to integer.
1936 * org-agenda.el (org-agenda-confirm-kill)
1937 (org-agenda-custom-commands-local-options)
1938 (org-timeline-show-empty-dates, org-agenda-ndays)
1939 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1940 customization type from number to integer.
1942 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
1944 * org-protocol.el: Declare some functions.
1946 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1947 postion before inserting modified headline.
1949 * org-agenda.el (org-agenda-compare-effort): Honor
1950 `org-sort-agenda-noeffort-is-high'.
1951 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1952 (org-agenda-compare-effort): Implement the "?" operator for
1953 finding entries without effort setting.
1955 * org.el (org-extract-attributes-from-string): New function.
1957 * org-exp.el (org-export-splice-attributes): New function.
1959 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
1961 * org-mouse.el: XEmacs compatibility fixes
1963 * org-docbook.el (org-export-as-docbook): Process footnotes like
1966 * org.el (org-modules): Add org-inlinetasks.el
1967 (org-cycle): Implement limiting level on cycling.
1968 (org-move-subtree-down): Fix bug with swapping subtrees at end of
1971 * org-inlinetask.el: New file.
1973 * org.el (org-emphasis-regexp-components): Allow braces in
1974 emphasis pre and post match.
1976 * org-footnote.el (org-footnote-normalize): When only dorting, do
1977 not insert inline notes at the end.
1979 * org-docbook.el (org-id-find-id-file): Add function declaration.
1981 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1983 * org-docbook.el: New file.
1985 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
1987 * org.el (org-reftex-citation): New command.
1989 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
1991 * org-agenda.el (org-agenda-cmp-user-defined): New option.
1992 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1994 (org-entries-lessp): Apply the new sorting option.
1996 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1997 blocker code, when an older sibling has children.
1999 * org-mac-message.el (org-mac-message-get-link): Improve getting
2000 links from multiple selected messages.
2002 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
2004 * org-remember.el (org-remember-finalize): Do not set buffer file
2006 (org-remember-handler): Mark buffer as unmodified.
2007 (org-remember-handler): Delete backup file and show message about
2008 remaining backup files.
2009 (org-remember-auto-remove-backup-files): New option.
2011 * org.el (org-store-link): Use buffer name as link description in
2013 (org-ido-switchb): Fix argument bug for completion.
2015 * org-remember.el (org-remember-apply-template): Set local
2016 variable `auto-save-visited-file-name' instead of global one.
2018 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
2020 * org-feed.el: Re-write.
2022 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2023 (org-agenda-get-todos): Mark file tags as inherited.
2024 (org-agenda-list): Always search diary lines for a time.
2026 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
2028 * org-feed.el (org-feed-assume-stable): New option.
2029 (org-feed-before-adding-hook): New hook.
2031 * org-exp.el (org-export-as-html): Close local lists depending on
2032 indentation, also when starting a table.
2034 * org-remember.el (org-remember-backup-directory)
2035 (org-remember-backup-name): New internal variable.
2037 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
2039 * org-clock.el (org-clock-out-if-current): Make buffer detection
2040 work in indirect buffers as well.
2042 * org.el (org-emphasis-regexp-components): Add the exxclamation
2043 mark to the post-emphasis characters.
2045 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
2047 * org.el (org-read-date-minibiffer-septup-hook): New hook.
2048 (org-read-date): Run the new hook.
2050 * org-mac-message.el (org-mac-flagged-mail): New group.
2051 (org-mac-mail-account): New variable.
2052 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2055 * org-remember.el (org-remember-backup-directory): New variable.
2056 (org-remember-apply-template): Write file to backup directory.
2058 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
2060 * org-mouse.el (org-mouse-todo-menu): New function.
2061 (org-mouse-todo-keywords): Function removed.
2062 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2064 * org-table.el (org-table-beginning-of-field)
2065 (org-table-end-of-field): New commands
2066 (org-table-previous-field, org-table-beginning-of-field): Better
2068 (orgtbl-setup): Include `M-a' and `M-e'.
2070 * org.el (org-backward-sentence, org-forward-sentence): New
2073 * org-colview.el (org-colview-initial-truncate-line-value): New
2075 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2076 (org-columns): Remember the value of `truncate-lines'.
2078 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2080 (org-columns-remove-overlays): Restore the value of
2082 (org-columns): Remember the value of `truncate-lines'.
2084 * org.el (org-columns-skip-arrchived-trees): New option.
2086 * org-agenda.el (org-agenda-export-html-style): Define color for
2087 org-agenda-done face.
2088 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2089 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2091 * org.el (org-scan-tags): Use the new face.
2093 * org-faces.el (org-agenda-done): New face.
2095 * org.el (org-scan-tags): Test the value org
2096 `org-tags-match-list-sublevels'.
2097 (org-tags-match-list-sublevels): New allowed value: indented.
2099 * org-export-latex.el (org-export-latex-make-header): Apply macros
2102 * org-exp.el (org-export-apply-macros-in-string): New function.
2104 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2105 with the definition of a checked box.
2107 * org-clock.el (org-clock-find-position): Fix drawer indentations.
2109 * org-export-latex.el (org-export-latex-low-levels): More options
2110 for how to process lower levels in LaTeX.
2111 (org-export-latex-subcontent): Better treatment for lists as a
2112 means of publishing lower levels.
2114 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
2116 * org.el (org-set-font-lock-defaults): Use new checkbox face.
2118 * org-faces.el (org-checkbox): New face.
2120 * org-exp.el (org-export-html-preprocess): Only create LaTeX
2121 fragement images if there is an export file.
2123 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
2125 * org-agenda.el (org-stuck-projects): Document that the subtree of
2126 projects that are not stuck will now be searched for stuck
2128 (org-agenda-skip-entry-when-regexp-matches)
2129 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2130 (org-agenda-list-stuck-projects): Use
2131 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2133 * org-export-latex.el (org-export-latex-preprocess): Improve
2136 * org-exp.el (org-export-as-html): Implement centering as a div
2137 rather than a paragraph. Do a better job with line-end in verse
2140 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
2142 * org.el (org-open-at-point): Fix tags searches by mouse click.
2144 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
2146 * org-export-latex.el (org-export-latex-preprocess): Implement the
2149 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2150 from `org-export-mark-blockquote-and-verse'.
2151 (org-export-as-html): Implement the centering markup.
2153 * org-export-latex.el (org-export-latex-tables): Fix vertical
2156 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
2158 * org.el (org-read-date-history): New variable.
2159 (org-read-date): Use new history variable.
2160 (org-toggle-heading): Fix bug when used before first headline.
2161 (org-store-log-note): Remove drawer if empty while note is
2163 (org-remove-empty-drawer-at): New function.
2164 (org-check-after-date): New command.
2165 (org-sparse-tree): New sparse tree command "a".
2167 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2169 2009-03-14 Bastien Guerry <bzg@altern.org>
2171 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2172 column and a space, not only a column.
2174 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
2176 * org-export-latex.el (org-export-latex-emphasis-alist): Better
2177 defaults for verbose emphasis.
2178 (org-export-latex-emph-format): New function.
2179 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2181 * org-agenda.el (org-agenda-menu): Add new commands to menu.
2182 (org-agenda-do-date-later, org-agenda-do-date-earlier)
2183 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2184 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2187 * org.el (org-timestamp-change): Move end-time along with start
2190 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
2192 * org-exp.el (org-export-target-internal-links)
2193 (org-export-as-html): Protect links specified as #name.
2195 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
2197 * org.el (org-clone-subtree-with-time-shift): New command.
2199 * org-export-latex.el (org-export-latex-special-chars)
2200 (org-export-latex-treat-sub-super-char): Fix subscript export.
2202 * org-exp.el (org-create-multibrace-regexp): Do not add
2203 backslashes to the class.
2205 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
2207 * org-colview.el (org-columns-map): Better functions for moving up
2208 and down a row, even if `truncate-line' is nil.
2210 * org.el (org-insert-todo-heading): Make sure the keyword is
2211 inserted at the correct position.
2213 * org-publish.el (org-publish-project-alist)
2214 (org-publish-projects, org-publish-org-index): Change default anme
2215 for the index of file names to "sitemap.org".
2217 * org-export-latex.el (org-export-latex-tables): Use
2218 `org-split-string', for Emacs 21 compatibility.
2220 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
2222 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2224 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
2226 * org-exp.el (org-export-page-description)
2227 (org-export-page-keywords): New variables.
2228 (org-export-plist-vars): Add entries for :keywords and
2230 (org-infile-export-plist): Parse for new keywords.
2231 (org-get-current-options): Add new keywords
2232 (org-export-as-html): Publish description and keywords.
2234 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2236 (org-agenda-add-entry-text): Honor
2237 `org-agenda-add-entry-text-descriptive-links'.
2239 * org-export-latex.el (org-export-latex-preprocess): Make all
2240 external preprocess functions use a PARAMETER arg.
2242 * org-exp.el (org-export-preprocess-string)
2243 (org-export-select-backend-specific-text)
2244 (org-export-format-source-code-or-example)
2245 (org-format-org-table-html): Support docbook export.
2246 (org-export-preprocess-string): Make all external preprocess
2247 functions use a PARAMETER arg.
2249 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
2251 * org-exp.el (org-export-html-style-include-scripts): New option.
2252 (org-export-plist-vars): Add new option
2253 `org-export-html-style-include-scripts'.
2254 (org-export-as-html): Honor new option
2255 `org-export-html-style-include-scripts'.
2256 (org-export-html-scripts, org-export-html-style-default): Fix
2257 xml issues with the Safari browser.
2259 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
2261 * org-publish.el (org-publish-attachment): Only copy file when the
2264 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
2266 * org-clock.el (org-clocktable-steps): Use inactive time stamps
2267 for clocktable steps.
2269 * org.el (org-additional-option-like-keywords): Add two more
2272 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
2274 * org-exp.el (org-export-format-source-code-or-example): Mark
2275 temporary buffer unmodified, so that it will be killed even if
2276 mode like message mode has decided to assign a file name.
2278 * org.el (org-scan-tags): Improve tag inheritance.
2279 (org-scan-tags, org-make-tags-matcher): Make tag comparison
2281 (org-scan-tags): Use the internal tags list instead of creating it
2283 (org-trust-scanner-tags, org-scanner-tags): New variables.
2284 (org-scan-tags): Set `org-scanner-tags'.
2285 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2286 (org-map-entries): Document the possible speedup using scanner
2289 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
2291 * org.el (org-add-planning-info): Fix bug with looking for keyword
2294 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2295 option for tags filter preset.
2296 (org-prepare-agenda): Store filter preset as a property on the
2298 (org-finalize-agenda): Call the filter, if there is a preset.
2299 (org-agenda-filter-by-tag): Filter again after clearing the
2300 filter, when there still is a preset.
2301 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2302 Include the preset filter.
2303 (org-agenda-redo): Apply the filter again, also the preset filter.
2305 * org-exp.el (org-export-as-html): Use IDs in the correct way.
2307 * org.el (org-uuidgen-p): New funtion.
2309 * org-agenda.el (org-agenda-fontify-priorities): New default value
2311 (org-agenda-fontify-priorities): Renamed from
2312 org-fontify-priorities.
2314 * org.el (org-set-font-lock-defaults): Call
2315 `org-font-lock-add-priority-faces'.
2316 (org-font-lock-add-priority-faces): New function.
2318 * org-faces.el: (org-set-tag-faces): New option.
2319 (org-priority-faces): New variable.
2321 * org-exp.el (org-export-as-html): Add a "content" div around the
2322 entire content of the body tag.
2323 (org-export-html-get-bibliography): New function.
2324 (org-export-html-validation-link): New variable.
2325 (org-export-as-html): Add validation link to exported page.
2327 * org.el (org-match-sparse-tree): Renamed from
2328 `org-tags-sparse-tree'.
2329 (org-tags-sparse-tree): New alias.
2331 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
2333 * org.el (org-get-valid-level): Catch the case where the level
2336 * org-clock.el (org-clock-find-position): Better indentation of
2339 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
2341 * org-agenda.el (org-agenda-quit): Delete window only when the
2342 frame-setup was not `current-window'.
2344 * org.el (org-tag-persistent-alist): New option.
2345 (org-startup-options): Add keyword `noptag'.
2346 (org-fast-todo-selection): Handle :newline correctly.
2347 (org-set-tags): Handle :newline correctly.
2348 (org-fast-tag-selection): Handle :newline correctly.
2350 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
2352 * org-exp.el (org-export-as-ascii): Reverse link buffer before
2354 (org-export-ascii-push-links): Fix bug with pussing links into the
2357 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
2359 * org-archive.el (org-archive-subtree): Do not add 1 to level if
2360 pasting at top level.
2362 * org-bbdb.el: Improve documentation.
2364 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
2366 * org-list.el (org-insert-item): Only consider insert empty lines
2367 is `org-empty-line-terminates-plain-lists' is not nil.
2369 * org.el (org-blank-before-new-entry): Mention the dependence on
2370 `org-empty-line-terminates-plain-lists' in the docstring.
2372 * org-publish.el (org-publish-get-project-from-filename): New
2373 optional argument UP. Only find the top project if UP is set.
2374 (org-publish-current-project): Find the top encloding project.
2376 * org-agenda.el (org-agenda-before-write-hook)
2377 (org-agenda-add-entry-text-maxlines): New options.
2378 (org-write-agenda): Run the new hook in the temporary buffer.
2379 (org-agenda-add-entry-text): New function.
2380 (org-write-agenda): Implement PDF export, using ps2pdf.
2382 * org.el (org-global-properties-fixed, org-global-properties):
2383 Improve documentation string.
2385 * org-exp.el (org-export-ascii-links-to-notes): New option.
2386 (org-export-as-ascii): Handle links better.
2387 (org-export-ascii-wrap, org-export-ascii-push-links): New
2390 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
2392 * org-agenda.el (org-agenda): Make prefix arg optional.
2393 (org-agenda-search-headline-for-time): New option.
2394 (org-format-agenda-item): Honor
2395 `org-agenda-search-headline-for-time'.
2397 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2400 * org.el (org-self-insert-cluster-for-undo): New option.
2401 (org-self-insert-command): Cluster undo for 20 characters.
2402 (org-self-insert-command-undo-counter): New variable.
2404 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
2406 * org-exp.el (org-export-as-html): Fix problem with closing colone
2409 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
2411 * org-export-latex.el (org-export-as-latex)
2412 (org-export-latex-first-lines): Avoid modification flag when
2413 adding or removing text properties.
2414 (org-export-latex-fontify): Catch error when org-emph-alist has
2415 entries that are not defined for LaTeX export.
2417 * org.el (orgstruct++-mode): New function.
2418 (turn-on-orgstruct++): Call `orgstruct++-mode'.
2419 (org-context-p): Allow detecting item context after the first line
2421 (orgstruct-make-binding): Detect if item-body context should be
2423 (orgstruct-is-++): New variable.
2424 (org-add-planning-info): Catch the case when there is no planning
2425 info yet and the call does not want to add anything, only maybe
2426 tries to remove something.
2427 (org-special-ctrl-a/e): All value to be a cons cell with separate
2428 settings for `C-a. and `C-e'.
2429 (org-beginning-of-line, org-end-of-line): Honor separate values
2430 for `C-a' and `C-e'.
2432 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
2434 * org.el (org-reload): New command.
2436 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
2438 * org-exp.el (org-export-htm-get-tag-class-name)
2439 (org-export-htm-get-todo-kwd-class-name): New functions.
2440 (org-export-html-tag-class-prefix)
2441 (org-export-html-todo-kwd-class-prefix): New options.
2442 (org-export-as-html): Call
2443 `org-export-html-get-todo-kwd-class-name'.
2444 (org-html-level-start): Wrap tags into classes.
2445 (org-export-html-get-tag-class-name)
2446 (org-export-html-get-todo-kwd-class-name): New functions.
2448 * org-export-latex.el (org-export-latex-collect-header-macros):
2449 Remove fields that are used anyway.
2450 (org-export-latex-make-header): Insert the options earlier.
2452 * org-agenda.el (org-agenda-get-progress): Fix bug with state
2455 * org-list.el (org-indent-item): Allow point to be at the end of
2458 * org.el (org-metaleft, org-metaright): Be more accurate about
2459 detecting a region where commands apply.
2461 * org-compat.el (org-cursor-to-region-beginning): New function.
2463 * org.el (org-priority): Also find invisible heading.
2465 * org-colview-xemacs.el (org-columns-edit-value): No special
2466 treatment for `org-todo' prefix.
2468 * org-colview.el (org-columns-edit-value): No special treatment
2469 for `org-todo' prefix.
2471 * org-remember.el (org-remember-apply-template): Use
2472 `org-completing-read-no-ido'.
2474 * org.el (org-completing-read-no-ido): New function.
2475 (org-make-tags-matcher, org-set-property): Use
2476 `org-completing-read-no-ido'.
2478 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2480 (org-export-as-latex): Import in-buffer settings as TeX macros.
2481 (org-export-latex-make-header): Additional parameter OPT-DEFS.
2482 (org-export-latex-collect-header-macros): New function.
2484 * org.el (org-refile-get-location): Turn off
2485 `partial-completion-mode'.
2487 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
2489 * org.el (org-block-todo-from-checkboxes): Announce that
2490 checkboxes are the culprit.
2491 (org-block-todo-from-children-or-siblings): Call
2492 `org-up-heading-all instead' of `outline-up-heading'.
2494 * org-agenda.el (org-agenda-show-1): Renamed from
2496 (org-agenda-show): Re-install the old version for now.
2497 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
2498 variable into the blokker hook, so that the checkbox checker can
2499 anounce that it caused the blocking.
2501 * org.el (org-track-ordered-property-with-tag): New option.
2502 (org-toggle-ordered-property): Honor
2503 `org-track-ordered-property-with-tag'.
2504 (org-tag-alist): Add newline options.
2505 (org-set-regexps-and-options): Separate option lines imply a
2507 (org-set-regexps-and-options, org-assign-fast-keys)
2508 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2510 (org-indent-line-function): Make sure this works even if there is
2511 not `org-drawer-regexp' defined. This can happen when
2512 orgstruct-mode is used in a non-org buffer.
2514 * org-list.el (org-checkbox-blocked-p): New function.
2515 (org-toggle-checkbox): Check for blocking.
2517 * org.el (org-modules): Add an entry for org-R.el.
2519 * org-agenda.el (org-agenda-todo-ignore-with-date)
2520 (org-agenda-todo-ignore-scheduled)
2521 (org-agenda-todo-ignore-deadlines): Mention the variable
2522 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2524 * org.el (org-get-wdays): Find the warning period also if it is in
2526 (org-ido-completing-read): Provide the correct arguments to
2527 ido-completing-read and bind `ido-enter-matching-directory' to
2530 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
2532 * org.el (org-olpath-completing-read): Never use ido for this
2535 * org-exp.el (org-export-normalize-links): Use new macro.
2537 * org-macs.el (org-if-unprotected-at): New macro.
2539 * org-agenda.el (org-agenda-show): Allow numerical prefix
2540 arguments to specify how much context should be shown.
2541 (org-agenda-cycle-show): New command, could be bound to SPC in
2542 org-agenda-mode-map.
2544 * org-exp.el (org-html-level-start): Space after section number.
2546 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
2548 * org-agenda.el (org-agenda-get-sexps): Add todo state as
2549 property, for sorting.
2550 (org-cmp-todo-state): Get the applicable TODO keywords directly
2552 (org-run-agenda-series, org-agenda-list, org-search-view)
2553 (org-todo-list, org-tags-view): Only fit agenda window when the
2554 whole series is done.
2556 * org.el (org-scan-tags): Add todo state as property, for sorting.
2558 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2559 `org-agenda-overriding-header' as an option.
2560 (org-agenda-list): Honor org-agenda-overriding-header'.
2562 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
2564 * org-list.el (org-toggle-checkbox): Improve cursor positioning
2565 after removing a checkbox.
2567 * org.el (org-show-entry): Make this work correctly also if it is
2568 the last entry in the file.
2569 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2570 falling back to normal, default command.
2571 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2572 item, call the checkbox toggler to get a box.
2574 * org-list.el (org-toggle-checkbox): Make double prefix set the
2576 (org-fix-bullet-type): Only replace bullet if it is changed.
2577 (org-renumber-ordered-list): Handle case when first item does not
2580 * org.el (org-add-log-setup): Fix positioning when
2581 `org-log-states-order-reversed' is nil.
2583 * org-clock.el (org-clock-in): Fix positioning when
2584 `org-log-states-order-reversed' is nil.
2585 (org-clock-find-position): Fix positioning when
2586 `org-log-states-order-reversed' is nil.
2588 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
2590 * org-clock.el (org-clock-into-drawer): Take default from
2591 `org-log-into-drawer'.
2592 (org-clock-find-position): Look for the correct drawer.
2594 * org.el (org-log-into-drawer): Renamed from
2595 `org-log-state-notes-into-drawer'.
2596 (org-log-state-notes-into-drawer): New variable alias.
2597 (org-add-log-setup): Make drawer name default to LOGBOOK, not
2599 (org-insert-property-drawer): Also skip LOGBOOK drawers.
2601 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
2603 * org-agenda.el (org-agenda): Fix docstring.
2605 * org.el ("org-plot"): Help loading org-plot.
2606 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2607 (org-metadown-hook, org-shiftmetaleft-hook)
2608 (org-shiftmetaright-hook, org-shiftmetaup-hook)
2609 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2610 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2611 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2612 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2614 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2615 for selecting files with any (and even without) extension.
2617 * org.el (org-save-all-org-buffers): Also save id locations.
2618 (org-revert-all-org-buffers): Also load id locations.
2620 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2621 * org.el (org-drawers): Add LOGBOOK to the default drawers.
2622 (org-log-state-notes-into-drawer): New option.
2623 (org-add-log-setup): Place the sate note marker into the drawer,
2624 create drawer when necessary.
2625 (org-refile-targets): Document special interpretation of LEVEL
2626 when odd-levels are used.
2628 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2630 * org.el (org-store-log-note): Fix note indentation when adding
2631 notes to end of list.
2633 * org-exp.el (org-export-as-html): Add TODO keyword as extra
2634 class, so that each keyword can get special colors through CSS.
2636 * org-clock.el (org-clock-out): Add another nil for the previous
2637 state into the call to `org-add-log-setup'.
2639 * org.el (org-log-note-previous-state): New variable.
2640 (org-log-note-headings): New %S escape for old state.
2641 (org-todo): Call the note setup with the old state as an
2643 (org-add-note): Add another nil for the previous state into the
2644 call to `org-add-log-setup'.
2645 (org-add-log-setup): New argument PREV-STATE.
2646 (org-add-log-note): Handle new %S escape.
2647 (org-store-log-note): Handle new %S escape.
2649 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
2651 * org-clock.el (org-clock-find-position): Do not swallow an item
2652 less indented than the CLOCK line itself.
2653 (org-clock-in): Push markers to lin after the clock line.
2654 (org-clock-find-position): Handle values of
2655 `org-clock-into-drawer' smaller than 2.
2657 * org-exp.el (org-html-level-start): Add a CSS class to section
2659 (org-export-html-toplevel-hlevel): Better documentation of the
2660 influence of this variables on H levels and css classes in
2663 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
2665 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2666 timestamp and nottimestamp to the chooe menu.
2668 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2669 (org-revert-all-org-buffers): New command.
2671 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
2673 * org.el (org-return): Implement `org-return-follows-link' in the
2674 function org-return. This is more robust than using the mouse
2676 (org-set-regexps-and-options): Match more general #+TODO lines.
2677 (org-make-options-regexp): New optional argument EXTRA, for an
2679 (org-tab-follows-link): Mark as deprecated.
2681 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
2683 * org-exp.el (org-export-preprocess-string): Remove clock lines
2684 earlier, so that they cannot cotribute to verbatim snippets.
2686 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
2688 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2689 for finding drawers.
2690 (org-export-as-ascii, org-export-as-html): Count levels relative
2691 to the subtree header.
2692 (org-get-min-level): New optional argument OFFSET.
2693 (org-export): Make sure point is restored after popping up that
2696 * org.el (org-do-sort): Also take an inactive timestamp if no
2697 active one is found.
2699 * org-colview-xemacs.el (org-columns-capture-view): Copy before
2700 deleting duplicates.
2702 * org-colview.el (org-columns-capture-view): Copy before
2703 deleting duplicates.
2705 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2706 text before first headline.
2708 * org.el (org-format-latex): Do not convert LaTeX fragments in
2711 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
2713 * org-exp.el (org-export-html-style-default): Use color values
2714 instead of names for XHTML validation.
2716 * org.el (org-get-scheduled-time, org-get-deadline-time): New
2718 (org-return-follows-link): Revert making this the default untile
2719 issues are resolved.
2721 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2724 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
2726 * org.el (org-mode): Make dependence stuff work more reliably.
2727 (org-update-parent-todo-statistics): Fix bug with updating
2730 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2731 ~ as verbatim delimiters.
2733 * org-exp.el (org-export-html-format-image): New argument
2735 (org-export-as-html): Pass par-open to
2736 `org-export-html-format-image'.
2738 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
2740 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2741 (org-use-fast-todo-selection, org-tags-column): New default
2742 setting for variables, based on a poll what typical uses use.
2744 * org-agenda.el (org-agenda-sorting-strategy)
2745 (org-agenda-tags-column): New default setting for variables, based
2746 on a poll what typical uses use.
2748 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
2750 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2751 blocked entries from setting the blocked tag.
2753 * org-exp.el (org-export-html-footnotes-section): Use a more
2754 consistent id for footnotes.
2756 * org-export-latex.el (org-export-latex-classes): Remove the
2757 a4paper option from the default styles.
2759 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
2761 * org.el (org-enforce-todo-checkbox-dependencies): New option.
2762 (org-block-todo-from-checkboxes): New function.
2763 (org-todo): Make tripple prefix arg circumvent blocking.
2765 * org-timer.el (org-timer): Provide the timer feature.
2767 * org.el (org-require-autoloaded-modules): Add a few more files to
2768 the list of autoloaded modules.
2770 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2772 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
2774 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2775 drawers that are unprotected.
2776 (org-export-html-format-image): Make sure inlined LaTeX fragment
2777 images remain inlined.
2779 * org.el (org-toggle-ordered-property): New function.
2780 (org-mode-map): Add a key for `org-toggle-ordered-property'.
2781 (org-org-menu): Add menu entries for TODO dependencies.
2783 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
2785 * org.el (org-default-properties): Add ORDERED to the default
2786 properties, to get completion support for it.
2788 * org-list.el (org-update-checkbox-count): Update more than one cookie.
2790 * org.el (org-update-parent-todo-statistics): Update more than one
2793 * org-agenda.el (org-agenda-get-todos): Start search from correct
2796 * org.el (org-fast-todo-selection): Make sure TODO selection does
2797 not change buffer position.
2799 * org-list.el (org-toggle-checkbox): Implement adding or removing
2800 checkboxes from line or region when called with a prefix
2803 * org-rmail.el (org-rmail-store-link): Protect the call to
2804 `rmail-narrow-to-non-pruned-header'.
2806 * org-clock.el (org-clock-special-range): Fix week display in
2809 * org-exp.el (org-get-current-options): Fix bug when in indirect
2812 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
2814 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2815 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2816 (org-agenda-dim-blocked-tasks): New function.
2818 * org.el (org-enforce-todo-dependencies): New option.
2819 (org-block-todo-from-children-or-siblings): New function.
2821 * org-faces.el (org-agenda-dimmed-todo-face): New face.
2823 * org.el (org-todo): Return correct state type even if the blocker
2825 (org-modifier-cursor-error): Renamed from
2826 `org-shiftcursor-error'.
2827 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2828 (org-shiftmetadown): Call `org-modifier-cursor-error'.
2830 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2831 to get real errors from the blocker hook.
2833 * org.el (org-shiftselect-error, org-call-for-shift-select): New
2835 (org-set-visibility-according-to-property): Turn off the setting
2836 of `org-show-entry-below', to avoid overruling a FOLDED visibility
2839 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2841 * org.el (org-support-shift-select): New option.
2842 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2843 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2844 selection outside contexts.
2846 * org-list.el (org-at-item-bullet-p): New function.
2848 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2851 * org-footnote.el (org-footnote-normalize): Remove unnecessary
2853 (org-insert-footnote-reference-near-definition): Remove
2854 unnecessary let form.
2856 * org-export-latex.el (org-export-latex-first-lines): Add
2857 OPT-PLIST parameter.
2858 (org-export-as-latex): Call `org-export-latex-first-lines' with
2859 opt-plits parameter.
2860 (org-export-latex-preprocess): Remove unnecessary variables.
2862 * org-exp.el (org-infile-export-plist)
2863 (org-export-add-options-to-plist, org-export-kill-licensed-text)
2864 (org-export-remove-headline-metadata)
2865 (org-export-get-title-from-subtree, org-get-min-level)
2866 (org-html-do-expand): Remove innecessary let form.
2868 * org-colview-xemacs.el (org-columns-display-here): Remove
2869 unnecessary variables.
2871 * org-colview.el (org-columns-display-here): Remove unnecessary
2874 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2877 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2878 unnecessary variables.
2880 * org-agenda.el (org-search-view, org-agenda-get-blocks)
2881 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2884 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2885 (org-compact-display-after-subtree-move): Remove unnecessary
2887 (org-edit-fixed-width-region): Remove unnecessary variables.
2888 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2889 (org-olpath-completing-read): Remove unnecessary variable.
2890 (org-auto-repeat-maybe): Remove unnecessary variable.
2891 (org-map-entries): Remove unnecessary variable.
2892 (org-buffer-property-keys, org-imenu-get-tree)
2893 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2895 -----------------------------------------------------------------
2897 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2898 * org-exp.el (org-export-remove-timestamps): Never remove
2899 timestamps from tables.
2901 * org-export-latex.el (org-export-latex-first-lines): Add more
2902 options to the preprocessing of the text before the first
2905 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
2907 * org-faces.el (org-clock-overlay): Make face compatible with
2910 * org.el (org-yank): Add property for delete-selection mode.
2912 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2914 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2917 * org-table.el (org-table-insert-hline): Fix typo in fuction call
2920 * org-exp.el (org-export-as-html): Remove the initial space from
2923 * org.el (org-scan-tags): Call
2924 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2926 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2927 customization groups.
2928 (org-agenda-tags-todo-honor-ignore-options): New option.
2929 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2931 (org-agenda-get-todos): Use
2932 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2934 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
2936 * org-exp.el (org-export-format-source-code-or-example): Escape
2937 HTML characters also in examples that anre not treated with
2938 htmlize. Also, just switch to EXAMPLE processing if we do not
2939 have a good version of htmlize.
2941 * org-rmail.el: Fix copyright notice.
2943 * org.el (org-activate-footnote-links): Improve footnote link
2946 * org-footnote.el (org-footnote-normalize): Fix finding the end of
2947 a footnote definition at the end of the file.
2949 * org-table.el (org-table-get-specials): Add an imagined hline at
2950 the end of the table. This can be useful for references that want
2951 to go to the end of the table. Also fix bug when computing last
2952 row constants, in tables that do not start right at the right
2954 (org-table-eval-formula): Match and replace remove references.
2955 (org-table-formula-substitute-names): Make sure that names inside
2956 a "remote" call are left alone, the will be replaced later when
2957 the remote call is handled.
2958 (org-table-convert-refs-to-rc): Do not convert things that might
2959 look like a reference, but are really part of an ID or namei n a
2961 (org-table-get-remote-range): New function.
2963 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
2965 * org-faces.el (org-clock-overlay): Fix bug in face definition.
2967 * org-clock.el (org-clock-put-overlay): Use new face instead of
2968 `secondary-selection'.
2970 * org-faces.el (org-clock-overlay): New face.
2972 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
2974 * org-exp.el (org-get-current-options): Include the option for
2975 publishing time stamps.
2977 * org.el (org-toggle-heading): Renamed from
2978 `org-toggel-region-headings'.
2979 No longer needs a region defined, but will use it if there is one.
2980 (org-ctrl-c-star): Simplified, relying more on the internal
2981 workings of `org-toggle-heading'.
2982 (org-toggle-item): Renamed from `org-toggle-region-items'.
2983 No longer needs a region defined, but will use it if there is one.
2984 (org-ctrl-c-minus): Simplified, relying more on the inernal
2985 workings of `org-toggle-item'.
2987 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2988 environment detection. Also, do real changes only in unprotected
2991 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
2993 * org-export-latex.el (org-export-latex-quotation-marks): Use
2994 `org-if-unprotected-1'.
2995 (org-export-latex-set-initial-vars): Check for class definition in
2998 * org-macs.el (org-if-unprotected-1): New macro.
3000 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
3002 * org-compat.el (org-count-lines): New function.
3004 * org-exp.el (org-export-format-source-code-or-example): Handle
3005 switches related to text areas.
3007 * org.el (org-activate-footnote-links): Don't allow match inside a
3010 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3012 * org-export-latex.el (org-export-latex-links): Keep a relative
3013 path relative also after export.
3015 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3017 * org.el (org-make-tags-matcher): Never use IDO for completing the
3018 tags matcher match string.
3019 (org-completing-read): Also remove the special biding for "?".
3021 * org-attach.el (org-attach-allow-inheritance): New option.
3022 (org-attach-inherited): New variable.
3023 (org-attach-dir): Handle properties related to the attachment
3025 (org-attach-check-absolute-path): New function.
3026 (org-attach-set-directory, org-attach-set-inherit): New commands.
3027 (org-attach): Accommodate the new commands in the dispatcher.
3029 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
3031 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3032 `window-full-width-p'.
3034 * org-exp.el (org-export-as-html): Only check for images files
3035 that really can be inlined
3037 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3038 list of extensions to be a parameter.
3040 * org-exp.el (org-export-html-inline-image-extensions): New
3043 * org-agenda.el (org-prepare-agenda): Use
3044 `org-agenda-block-separator'.
3045 (org-agenda-block-separator): New option.
3047 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
3049 * org-export-latex.el (org-export-latex-tables): Call
3050 `org-table-clean-before-export' with the new optional argument.
3052 * org-exp.el (org-table-clean-before-export): New optional
3053 parameter MAYBE-QUOTED, allows for quoted characters like \# in
3056 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
3058 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3061 * org-colview.el (org-colview-construct-allowed-dates): Better
3062 error catching when a date/time property does not have allowed
3065 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3066 Better error catching when a date/time property does not have
3067 allowed values defined.
3069 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
3071 * org.el (org-map-entries): Restore point and restriction after
3074 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
3076 * org.el (org-time=, org-time<, org-time<=, org-time>)
3077 (org-time>=, org-time<>): Make sure both values are dates.
3079 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
3081 * org-archive.el (org-extract-archive-heading): Allow %s for file
3082 name also in achive location heading.
3084 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
3086 * org-archive.el (org-add-archive-files): Uniquify the list before
3089 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
3091 * org-compat.el (org-fit-window-to-buffer): Use
3092 `window-full-width-p'.
3094 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3095 space after the colon in short examples.
3097 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3098 enforce a space after the colon. However, we also allow lines
3099 that are *only* a colon.
3100 (org-export-as-html): Enforce the space after the colon in short
3102 (org-export-preprocess-string): Do the colon example protection
3104 (org-export-remove-timestamps): Do not check for protection at the
3107 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
3109 * org.el (org-format-latex-options): Add new matcher for single
3110 letters between dollars.
3111 (org-get-header): Function removed.
3112 (org-heading-components): New function.
3114 * org-exp.el (org-export-define-heading-targets): Record ID's also
3115 as alternative targets.
3116 (org-export-as-html): Interpret "id:" links to other files by
3117 preserving the relative path.
3119 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3122 * org-exp.el (org-export-normalize-links): Protect the main link,
3123 to avoid special character processing.
3125 * org-export-latex.el (org-export-latex-special-keyword-regexp):
3127 (org-export-latex-special-string-regexps): Variable removed.
3128 (org-export-latex-keywords): Use the new regexp.
3130 * org-exp.el (org-export-handle-include-files): Fetch switches and
3131 put them into the BEGIN statement.
3133 * org-timer.el (org-timer-mode-line-string): New variable.
3135 * org-clock.el (org-clock-mode-line-map): Renamed from
3136 `org-clock-mode-map'.
3137 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3138 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3139 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3140 (org-clock-remove-overlays): Renamed from
3141 `org-remove-clock-overlays'.
3143 * org-timer.el (org-timer-pause-or-continue): Implement stopping
3144 and mode line display.
3145 (org-timer-stop): New command.
3146 (org-timer-seconds): Return correct time when timer is paused.
3147 (org-timer-mode-line-timer): New variable.
3148 (org-timer-set-mode-line, org-timer-update-mode-line): New
3151 * org.el (org-insert-heading): Handle new value `auto' for
3152 `org-blank-before-new-entry'.
3153 (org-org-menu): Add new items for timer functions.
3155 * org-list.el (org-insert-item): Handle new value `auto' for
3156 `org-blank-before-new-entry'.
3158 * org.el (org-blank-before-new-entry): New value `auto', made
3161 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
3163 * org-exp.el (org-export-normalize-links): If the link is also
3164 used as the description, protect the description.
3166 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
3168 * org.el (org-closest-date): Fix bug with yearly repeats, in
3169 combination with preference of the past as it is used for deadline
3170 and scheduling search.
3172 * org-exp.el (org-html-handle-time-stamps): No longer check for
3173 the `org-export-with-timestamps' option, because the preprocesser
3174 has taken care of this already.
3176 * org.el (org-entry-properties): Catch the case when this is
3177 called in a non-org-mode file.
3179 * org-export-latex.el (org-export-latex-remove-from-headlines):
3180 Variable made obsolete, also LaTeX export now uses the standard
3182 (org-export-as-latex): Add the timestamps parameter to the
3183 preprocessor parameter list.
3184 (org-export-latex-content): Export the remaining keywords without
3185 considering to remove them.
3186 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3187 Use bold font instead of tt font for the keywords.
3188 (org-export-latex-fontify-headline): Format headlines, assuming
3189 that all keywords still present should be published.
3190 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3191 publish what ever remains of the time stamps.
3192 (org-export-latex-list-parameters): New option.
3193 (org-export-latex-lists): Pass additional parameters to the list
3196 * org-exp.el (org-export-preprocess-string): Remove clock lines
3197 and timestamps already in the preprocesor.
3198 (org-export-remove-timestamps, org-export-remove-clock-lines): New
3200 (org-export-as-ascii, org-export-as-html): Add the timestamps
3201 parameter to the preprocessor parameter list.
3203 * org-list.el (org-list-parse-list): Parse for checkboxes.
3204 (org-list-to-generic): Introduce and handle new parameters :cbon
3206 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3207 optional parameter PARAMS.
3209 * org-export-latex.el (org-export-latex-special-chars): Fix
3210 problems with interpreting dollar signs.
3211 (org-inside-latex-math-p): New function.
3212 (org-export-latex-preprocess): Protect all the math fragments.
3214 * org.el (org-latex-regexps): Allow a dash after a dollar.
3216 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3219 * org-agenda.el (org-run-agenda-series): Have series options set
3220 when finalizing the agenda.
3222 * org-exp.el (org-export-format-source-code-or-example): Protect
3223 the converted examples.
3225 * org.el (org-set-regexps-and-options): Fix the regexp
3226 `org-complex-heading-regexp'.
3228 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
3230 * org.el (org-edit-src-get-label-format): New function.
3231 (org-coderef-label-format): New option.
3232 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3233 a label format specification and make sure it is used in the edit
3235 (org-edit-src-get-label-format): New function.
3236 (org-store-link): Handle new coderef formats.
3237 (org-link-search): Handle new coderef formats.
3239 * org-footnote.el (org-footnote-create-definition)
3240 (org-footnote-goto-local-insertion-point): Make footnote insertion
3241 work correctly when the "Footnotes" headline is the last line in
3244 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3247 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
3249 * org-w3m.el (org-w3m): New customization group.
3250 (org-w3m-deactivate-mark): New option.
3251 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3254 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
3256 * org.el (org-set-font-lock-defaults): Trigger footnote
3258 (org-activate-footnote-links): New function.
3259 (org-activate-links): New entry `footnote'.
3261 * org-faces.el (org-footnote): New face.
3263 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
3265 * org-macs.el (org-re): Handle the [:word:] class.
3267 * org-exp.el (org-export-preprocess-string): Call
3268 `org-export-protect-colon-examples'.
3269 (org-export-protect-colon-examples): Renamed from
3270 `org-export-protect-examples', and scope limited to lines starting
3273 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
3275 * org-exp.el (org-export-preprocess-string): Move the preprocess
3276 hook to after turning on Org-mode.
3277 (org-export-preprocess-after-include-files-hook)
3278 (org-export-preprocess-after-tree-selection-hook)
3279 (org-export-preprocess-before-backend-specifics-hook)
3280 (org-export-preprocess-final-hook): New hooks.
3281 (org-export-preprocess-string): Run the new hooks.
3283 * org.el (org-ctrl-c-minus): Fix indentation for new items.
3285 * org-footnote.el: New file.
3287 * org.el (org-footnote): Require footnote code.
3288 (org-startup-options): Add new footnote options.
3289 (org-mode-map): New keybindig for footnotes.
3290 (org-ctrl-c-ctrl-c): Add function at footnotes.
3291 (org-org-menu): New menu entries for footnotes.
3293 * org-export-latex.el (org-export-as-latex): Pass footnote
3294 variable to preprocessor.
3295 (org-export-latex-preprocess): Treat multiple references to a
3298 * org-exp.el (org-export-preprocess-string): Call
3299 `org-footnote-normalize'.
3300 (org-export-as-ascii, org-export-as-html): Pass footnote variable
3302 (org-export-as-html): Treat multiple references to a footnote.
3304 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
3306 * org-export-latex.el (org-export-latex-links): Handle coderef
3309 * org.el (org-bracket-link-analytic-regexp++): New variable.
3310 (org-make-link-regexps): Initialize
3311 `org-bracket-link-analytic-regexp++'.
3312 (org-store-link): Implement special case in edit-src buffer.
3313 (org-insert-link): No use of ide to insert stored links.
3314 (org-link-search): Implement special case for coderefs.
3316 * org-exp.el (org-export-html-scripts): New constant.
3317 (org-export-html-style-default): Add a new style for highlighted
3319 (org-export-code-refs): New variable.
3320 (org-export-preprocess-string): Initialize `org-export-code-refs'.
3321 Call `org-export-replace-src-segments-and-examples'
3322 No longer call `org-export-protect-examples'.
3323 (org-export-target-internal-links): Take care of coderef targets.
3324 (org-export-last-code-line-counter-value): New variable.
3325 (org-export-replace-src-segments-and-examples): Renamed from
3326 `org-export-replace-src-segments', and modified.
3327 (org-export-format-source-code-or-example): Renamed from
3328 `org-export-format-source-code'.
3329 (org-export-number-lines): New function.
3330 (org-export-as-ascii, org-export-as-html): Handle coderef links.
3332 --------------------------------------------------------------------------
3334 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
3336 * org-remember.el (org-remember-handler): Safer way to get a new
3337 buffer accessing the target file.
3339 * org.el (org-refile-get-location): Handle case of current buffer
3340 not having a file associated with it.
3342 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
3344 * org-table.el (org-table-get-formula): Only ask to overwrite
3345 field formula if there really is one.
3347 * org-id.el (org-id-find): Allow the ID to be a symbol or a
3348 number, by converting these to a string.
3350 * org-colview.el (org-dblock-write:columnview): Allow ID to be
3351 located in a different file.
3353 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3356 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
3358 * org.el (org-completion-use-ido): Enhance docstring of
3359 `org-completion-use-ido'.
3361 * org-export-latex.el (org-export-latex-make-header): Double the %
3362 in the time stamp format.
3363 (org-export-latex-special-chars): Handle case where there is no
3366 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
3368 * org.el (org-get-refile-targets, org-refile-get-location): Use
3369 expanded file name to improve comparison.
3371 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
3373 * org.el (org-scan-tags): Rescan for tags, to get the correct
3374 upcase/downcase stuff. This slows things down for now, but it
3376 (org-mode): Make sure the tag-faces regexp is initialized.
3378 * org-export-latex.el (org-export-latex-links): Fix bug with
3381 * org-table.el (org-table-get-specials): Set
3382 `org-table-current-last-data-line'.
3383 (org-table-current-last-data-line): New variable.
3384 (org-table-insert-column, org-table-delete-column)
3385 (org-table-move-column, org-table-fix-formulas): Call
3386 `org-table-fix-formulas' a second time to fix the $LR references.
3387 (org-table-get-specials): Add the $LR references to the tables.
3388 (org-table-get-formula): Do not offer last-row names as LHS of
3391 * org.el (org-store-link): Capture link description from
3392 `org-id-store-link'.
3394 * org-exp.el (org-export-html-format-image): Add the / to the end
3396 (org-export-format-source-code): Surround example by empty lines,
3397 to make sure it will not be inside a paragraph.
3399 * org.el (org-ido-switchb): New function.
3401 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3403 * org-agenda.el (org-agenda-show): New prefix argument
3406 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3409 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3410 `org-agenda-change-all-lines'.
3411 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3412 tags are now retrieved locally.
3414 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
3416 * org.el (org-get-outline-path): Fix bug if level is not given.
3417 (org-org-menu): Do not quote function in menu vector.
3419 * org-agenda.el (org-finalize-agenda): Fix typo with variable
3422 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
3424 * org.el (org-refile): Avoid refiling to within the region to be
3427 * org-export-latex.el (org-export-latex-special-chars): Replace
3428 special characters also in tables.
3430 * org-agenda.el (org-agenda-change-all-lines): New argument
3432 (org-agenda-set-tags): Cet the new tags and pass them to
3433 `org-format-agenda-item'.
3435 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
3437 * org-export-latex.el (org-export-latex-classes): Add longable as
3438 a default package to all classes.
3439 (org-export-latex-tables): Handle the longtable attribute and the
3442 * org-table.el (orgtbl-to-generic): Handle tables that start with
3445 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3446 \verb for colde-like snippets.
3447 (org-export-as-latex): Fix issues with region export.
3449 * org.el (org-up-heading-safe): Speed up function by using a
3450 direct regexp search.
3451 (org-olpa): New variable.
3452 (org-get-outline-path): Speed-up path constructions in cases where
3453 this is possible because the entire hierarchy is scanned anyway.
3454 (org-refile-get-location): Don't compare the truenames of files,
3456 (org-goto-max-level): New option.
3457 (org-goto): Use `org-goto-max-level'.
3459 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
3461 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3462 Strip angle brackets from message-ids in the former and don't do
3464 (org-gnus-follow-link): Open summary reliable, even if the last
3465 messages were deleted, and handle empty groups, too.
3467 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
3469 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3470 instead of \texttt for the =...= and ~===~ emphasis environments.
3471 (org-export-as-latex): Remove any old :org-license-to-kill text
3473 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3474 (org-export-latex-make-header): Add some hard space after the
3476 (org-export-latex-first-lines): Accept RBEG argument. Mark
3477 exported text so that it will be excuded in further steps.
3479 * org-table.el (org-table-get-specials): Make @0 reference the
3480 last line in a table.
3481 (org-table-recalculate): Improve docstring.
3483 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
3485 * org.el (org-log-done): Fix docstring.
3487 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
3489 * org-exp.el (org-export-html-format-image): Fix bugs.
3491 * org-export-latex.el (org-export-latex-tables)
3492 (org-export-latex-links): Implement attribute, label, and caption
3495 * org-exp.el (org-export-html-style-default): Add style
3496 definitions for the figure div.
3497 (org-export-preprocess-string, org-export-as-html): Implement
3498 attribute, label, and caption handling.
3499 (org-export-attach-captions-and-attributes): New function.
3500 (org-export-html-format-image): New function.
3501 (org-format-org-table-html): Implement attribute, label, and
3504 * org.el (org-find-text-property-in-string): New function.
3505 (org-extract-attributes): Use the property org-attr instead of
3506 org-attrobutes, because this property is now set with the #+ATTR
3509 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
3511 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3512 the case that FROM is nil.
3514 * org.el (org-before-first-heading-p): New function.
3516 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
3518 * org-exp.el (org-export-as-html): Do not add a space before
3519 enforces line breaks.
3520 (org-export-as-html): Close paragraph before blockquote and verse
3523 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
3525 * org-id.el (org-id-locations-file): Wrap file name with
3526 `convert-standard-filename'.
3527 (org-id-files): New variable.
3528 (org-id-use-hash): New option.
3529 (org-id-update-id-locations): Also search in all files current
3530 listed in `org-id-files'. Convert the resulting alist to a hash
3531 if the user customation says so.
3532 (org-id-locations-save): Handle he case if `org-id-locations' is a
3534 (org-id-locations-load): Convert the alist to a hash.
3535 (org-id-add-location): Handle the hast case.
3536 (kill-emacs-hook): Make sure id locations are saved when Emacs is
3538 (org-id-hash-to-alist, org-id-alist-to-hash)
3539 (org-id-paste-tracker): New functions.
3541 -------------------------------------------------------------------------
3543 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3545 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3546 bindings of calendar variables.
3548 * org-table.el (org-table-find-row-type): Renamed from
3549 `org-find-row-type'.
3550 (org-table-rewrite-old-row-references): Renamed from
3551 `org-rewrite-old-row-references'.
3552 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3553 (org-table-cleanup-narrow-column-properties): Renamed from
3554 `org-cleanup-narrow-column-properties'.
3556 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3558 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3559 for better error messages.
3560 (org-table-get-descriptor-line): Supply the new arguments to
3561 `org-find-row-type'.
3562 (org-table-error-on-row-ref-crossing-hline): New option.
3564 * org.el (org-target-link-regexp): Make buffer-local.
3565 (org-move-subtree-down): Fix bug with trees at beginning of
3568 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
3570 * org-faces.el (org-set-tag-faces): New function.
3571 (org-tags-special-faces-re): New variable.
3573 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3575 * org-faces.el (org-tag-faces): New option.
3576 (org-tag): Mention `org-tag-faces' in the docstring.
3578 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
3580 * org-exp.el (org-export-html-style-default): Implement new
3583 * org-jsinfo.el (org-infojs-template): Implement new quoting.
3585 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3586 command to the `w3m-minor-mode-map'.
3588 * org-archive.el (org-archive-to-archive-sibling): Protect
3589 `this-command' to avoid appending kills during archiving.
3591 * org-exp.el (org-export-with-priority): New variable.
3592 (org-export-add-options-to-plist): Use `org-export-plist-vars'
3593 instead of internal list of strings and properties.
3594 (org-print-icalendar-entries): Retrieve the location property with
3597 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
3599 * org-exp.el (org-export-with-todo-keywords): New option.
3600 (org-export-plist-vars): Include also the keys for the #+OPTIONS
3602 (org-default-export-plist, org-export-add-options-to-plist)
3603 (org-export-as-ascii, org-export-as-html): Use the new structure
3604 of `org-export-plist-vars'.
3606 * org.el (org-map-entries): Return all values.
3608 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
3610 * org.el (org-matcher-time): Recognize more special values.
3612 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3614 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
3616 * org.el (org-tags-exclude-from-inheritance): New option.
3617 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3618 `org-tags-exclude-from-inheritance'.
3620 * org-agenda.el (org-agenda-show-inherited-tags): New option.
3621 (org-format-agenda-item): Add inherited tags to the agenda line
3622 string, and make sure that properties are kept when downcasing the
3624 (org-agenda-add-inherited-tags): New function.
3625 (org-downcase-keep-props): New function.
3627 * org.el (org-scan-tags): Mark inherited tags with a text
3629 (org-get-tags-at): Mark inherited tags with a text property.
3630 (org-add-prop-inherited): New function.
3632 * org-agenda.el (org-agenda-add-inherited-tags): New function.
3633 (org-agenda-show-inherited-tags): New option.
3635 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
3637 * org.el (org-modules): Add org-w3m to the default modules.
3639 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3641 (orgtabl-create-or-convert-from-region): New command.
3643 * org-exp.el (org-export-as-ascii): Remove the handling of
3645 (org-export-ascii-preprocess): Handle targets already in this
3648 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
3650 * org-timer.el (org-timer-start-time): Define this variable.
3651 (org-timer-item): Make argument optional.
3653 * org-list.el (org-insert-item): Automatically insert a timer item
3654 if the current list is a timer list.
3656 * org-timer.el: New file.
3658 * org-publish.el (org-publish-org-index): Only exclude the index
3659 file in the main directory from being added to the site-map.
3660 (org-publish-get-project-from-filename): If the current project is
3661 a component, start publishing from the parent project.
3663 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
3665 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3667 * org-publish.el (org-publish-org-index): Improve removal of
3670 * org-agenda.el (org-get-closed): Re-apply changes
3671 accidentially overwritten by last commit to Emacs.
3673 * org.el (org-outline-path-complete-in-steps): New option.
3674 (org-refile-get-location): Honor
3675 `org-outline-path-complete-in-steps'.
3676 (org-agenda-change-all-lines, org-tags-sparse-tree)
3677 (org-time-string-to-absolute, org-small-year-to-year)
3678 (org-link-escape): Re-apply changes accidentially overwritten
3679 by last commit to Emacs.
3681 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
3683 * org-clock.el (org-dblock-write:clocktable): Make sure the
3684 clocktable sees the first line.
3685 (org-clock-in): Warn if the clock cannot be resumed.
3687 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
3689 * org.el (org-open-at-point): Fix mixup about interactive and
3690 non-interactive elisp links.
3692 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3694 * org-exp.el (org-export-preprocess-string): Allow one comment
3695 line before the first headline to always be included. This is
3696 to not miss a commented target.
3698 * org-mouse.el (org-mouse-insert-item): Call
3699 `org-indent-to-column' instead of `indent-to', for XEmacs
3702 * org.el (org-refile-targets): Fix customize definition so
3703 that it works also in XEmacs.
3704 (org-fixup-indentation): Call `org-indent-to-column' instead
3705 of `indent-to', for XEmacs compatibility.
3707 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
3709 * org-mew.el (org-mew-store-link): Get the correct case folder
3710 for refiled messages.
3712 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3714 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3715 line break indicators.
3717 * org.el (org-ido-completing-read): Remove the "i:" prefix for
3718 ido-completion propts.
3720 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3722 * org-remember.el (org-remember-apply-template): Use
3723 `org-substring-no-properties'.
3725 * org-compat.el (org-substring-no-properties): New function.
3727 * org-remember.el (org-remember-apply-template): Use
3728 `org-substring-no-properties' for compatibility.
3730 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3732 (org-fix-bullet-type): respect
3733 `org-list-two-spaces-after-bullet-regexp'.
3735 * org-clock.el (org-clock-load): Clean up the code.
3737 * org.el (org-adaptive-fill-function): Allow two spaces after
3738 "1." as a list bullet.
3740 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
3742 * org-clock.el (org-clock-save, org-clock-load): Check for
3743 live buffers, existing files, and buffer file names to ensure
3744 consistent information.
3745 (org-clock-persist): Make `clock' a special value of this
3746 variable, and improve docstring.
3748 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3749 (org-get-string-indentation): Adapt indentation when the bullet
3752 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
3754 * org-remember.el (org-remember-finalize): Make interactive.
3755 (org-remember-kill): New command.
3756 (org-remember-finish-immediately): Call `org-remember-finalize'
3758 (org-remember-finalize): Make `org-remember-finalize' an interactive
3761 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
3763 * org-remember.el (org-remember-apply-template): No ido completion
3764 for free prompts in remember templates.
3765 (org-remember-before-finalize-hook): New hook.
3766 (org-remember-mode): New minor mode.
3767 (org-remember-apply-template): Turn on `org-remember-mode'.
3769 * org-id.el (org-id-add-location): Avoid error when no file is
3772 * org-remember.el (org-remember-apply-template): Fix the way how
3773 the list of allowed properties is retrieved from the target file.
3775 * org.el (org-insert-link): Improve file link matching.
3777 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
3779 * org-colview.el (org-columns-display-here): New argument
3780 DATELINE, to trigger using the new face.
3781 (org-agenda-colview-summarize): Call `org-columns-display-here'
3782 with the new argument.
3784 * org-faces.el (org-agenda-column-dateline): New face.
3786 * org-publish.el (org-publish-org-index): Use index-title at page
3787 title, not as section.
3789 * org-exp.el (org-export-html-format-desc): Respect the
3790 org-protect property.
3791 (org-export-as-html): Protect image specifiers that are in the
3792 description part of a link.
3794 * org.el (org-sort-entries-or-items, org-completing-read)
3795 (org-refile-get-location, org-olpath-completing-read, org-todo)
3796 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3797 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3798 (org-set-property, org-delete-property)
3799 (org-delete-property-globally): Use `org-ido-completing-read'.
3801 * org-remember.el (org-remember-apply-template): Use
3802 `org-ido-completing-read'.
3804 * org-publish.el (org-publish): Use `org-ido-completing-read'.
3806 * org-colview.el (org-columns-edit-value, org-columns-new)
3807 (org-insert-columns-dblock): Use `org-ido-completing-read'.
3809 * org-colview-xemacs.el (org-columns-edit-value)
3810 (org-columns-new, org-insert-columns-dblock): Use
3811 `org-ido-completing-read'.
3813 * org-attach.el (org-attach-delete-one, org-attach-open): Use
3814 `org-ido-completing-read'.
3816 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3817 `org-ido-completing-read'.
3819 * org.el (org-time-today): New function.
3820 (org-matcher-time): Use `org-time-today'. Add special treatment
3821 for "<tomorrow>" and "<yesterday>".
3822 (org-ido-completing-read): New function.
3823 (org-completion-use-ido): New option.
3825 * org-exp.el (org-export-format-source-code): Fix bug in require
3827 (org-export-target-internal-links): Fix bug in search for text
3830 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
3832 * org-export-latex.el (org-export-latex-subcontent): Interprete
3833 target aliases as additonal labels.
3835 * org-exp.el (org-export-target-aliases): New variable.
3836 (org-export-preprocess-string)
3837 (org-export-handle-invisible-targets): Fill the alias alist.
3838 (org-export-as-html): Remove the from the anchor, and also
3840 (org-html-level-start): Insert the target aliases as additonal
3843 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3846 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
3848 * org.el (org-open-at-mouse): Ensure correct link abbreviations
3849 when following a link with the mouse from the agenda.
3851 * org-exp.el (org-export-as-html): Avoid lone </div> when no
3852 headlines are created.
3854 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
3856 * org-exp.el (org-export-preprocess-string): Reorder so that we
3857 can still see ID properties when we collect targets.
3858 (org-export-target-internal-links): Also store targets for ID's.
3860 * org.el (org-link-translation-function): New option.
3861 (org-open-at-point): Call `org-link-translation-function' if
3863 (org-translate-link): New function.
3864 (org-translate-link-from-planner): New function.
3865 (org-open-at-point): Allow interactive commands in elisp links.
3867 * org-exp.el (org-icalendar-cleanup-string): Restore the old
3868 iCalendar quoting. The new one seems to caus problems with
3871 * org.el (org-yank): Set `this-command' to `yank', so that
3872 `yank-pop' will work.
3874 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3876 * org-id.el (org-id-search-archives): New option.
3878 * org.el (org-link-to-org-use-id): New option.
3879 (org-store-link): Use `org-link-to-org-use-id'.
3880 (org-id): Make org-id.el a standard component.
3882 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3884 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3885 hexified version of the tag.
3887 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3888 compliance as far as quoting is concerned.
3890 * org-vm.el (org-vm-follow-link): Require `vm-search'.
3892 * org.el (org-up-heading-safe, org-forward-same-level): Always
3893 call `org-back-to-heading' instead of `outline-back-to-heading'.
3894 (org-back-to-heading): New wrapper around outline-back-to-heading,
3895 with a useful error message telling where the error happened.
3897 * org-list.el (org-update-checkbox-count): Always call
3898 `org-back-to-heading' instead of `outline-back-to-heading'.
3900 * org-exp.el (org-export-as-html): Make sure that each <img> tag
3901 has an `alt' attribute, to ensure XHTML validation.
3903 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3905 * org-publish.el (org-publish-attachment): Allow publishing to
3906 overwrite attachment files.
3908 * org-agenda.el (org-agenda-timerange-leaders): New option.
3909 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3911 * org.el (org-edit-src-exit): Untabify ASCII image before
3925 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
3927 * org.el (org-yank): Make any prefix force normal yanking.
3928 Suppress folding if text would be swallowed into a folded
3930 (org-yank-folded-subtrees, org-yank): Docstring updates.
3932 * org-agenda.el (org-agenda-compare-effort): Treat no effort
3935 * org-exp.el (org-export-language-setup): Add Catalan and
3936 Esperanto language entries.
3938 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
3940 * org.el (org-refile): Allow refiling of entire regions.
3942 * org-clock.el (org-clock-time%): New function.
3944 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3945 retrieve property values.
3947 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
3949 * org-agenda.el (org-agenda-list): Handle the value `only' of
3950 org-agenda-show-log'.
3951 (org-agenda-log-mode): Interpret a double prefix arg.
3953 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
3955 * org-exp.el (org-export-html-footnotes-section): New variable.
3956 (org-export-as-html): Use `org-export-html-footnotes-section' to
3957 insert the footnotes.
3958 (org-export-language-setup): Add "Footnotes" to language words.
3960 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
3962 * org.el (org-yank): Fix bug when not inserting a subtree.
3964 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3966 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3967 instead of `vm-beginning-of-message'.
3969 * org.el (org-make-link-regexps): Make sure that links to gnus can
3972 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
3974 * org-attach.el (org-attach-dir): Remove duplicate ID creation
3977 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3980 * org.el (org-link-abbrev-alist): Improve customization type.
3982 * org-attach.el (org-attach-expand-link, org-attach-expand): New
3985 * org-agenda.el (org-agenda-get-progress): Renamed from
3986 `org-get-closed'. Implement searching for state changes as well.
3987 (org-agenda-log-mode-items): New option.
3988 (org-agenda-log-mode): New option prefix argument, interpreted as
3989 request to show all possible progress info.
3990 (org-agenda-get-day-entries): Call `org-get-progress' instead of
3992 (org-agenda-set-mode-name): Handle the more complex log mode
3994 (org-get-closed): New alias, pointing to `org-get-progress'.
3996 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
3998 * org.el (org-file-apps-defaults-gnu)
3999 (org-file-apps-defaults-macosx)
4000 (org-file-apps-defaults-windowsnt): Add an entry defining the
4002 (org-file-apps): Allow `system' as key and value.
4003 (org-open-at-point): Explain the effect of a double prefix arg.
4004 (org-open-file): If the argument `in-emacs' is (16),
4005 i.e. corresponding to a double prefix argument, try to open the
4008 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
4010 * org.el (org-insert-link): Abbreviate absolute files names in
4011 links. Also, fix a bug in which the double C-u prefix would not
4014 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
4016 * org.el (org-insert-heading): If buffer does not end with a
4017 newline, add one if necessary to insert headline correctly.
4019 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4020 paragraphs, not inside.
4022 * org.el (org-todo): Quote
4023 `org-agenda-headline-snapshot-before-repeat'.
4025 * org-exp.el (org-export-as-html): Fully process link descriptions.
4026 (org-export-html-format-desc): New function.
4027 (org-export-as-html): Collect footnotes into the correct basket.
4028 (org-html-protect): No longer protect quotations marks here, this
4031 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4034 * org-compat.el (org-fit-window-to-buffer): New function (not
4035 really, a preliminary and incomplete version was present earlier,
4038 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4039 `org-fit-window-to-buffer'.
4041 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4043 * org-agenda.el (org-agenda-get-restriction-and-command)
4044 (org-fit-agenda-window, org-agenda-convert-date): Use
4045 `org-fit-window-to-buffer'.
4047 * org-exp.el (org-export-as-html): Process href links through
4048 `org-export-html-format-href'.
4049 (org-export-html-format-href): New function.
4051 * org-agenda.el (org-agenda-todo): Update only the current
4052 headline if this is a repeated TODO, marked done for today.
4053 (org-agenda-change-all-lines): New argument JUST-THIS, to change
4054 only the current line.
4056 * org.el (org-todo): Take a snapshot of the headline if the
4057 repeater might change it.
4059 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
4061 * org-publish.el (org-publish-find-title): Remove buffers visited
4062 only for extracting the title.
4064 * org-exp.el (org-export-html-style)
4065 (org-export-html-style-default): Mark style definitions as
4068 * org-publish.el (org-publish-validate-link): Function
4071 2008-11-02 Charles Sebold <csebold@gmail.com>
4073 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4075 (org-plot-quote-timestamp-field): New function.
4076 (org-plot-quote-tsv-field): Call timestamp field function when
4077 necessary rather than just quoting as a string.
4078 (org-plot/gnuplot-to-data): Pass in timefmt property.
4079 (org-plot/gnuplot-script): Supports timefmt property.
4080 (org-plot/gnuplot): Checks for timestamp column before checking
4081 for text index column.
4083 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
4085 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4087 * org-publish.el (org-publish-org-index): Create a section in the
4089 (org-publish-org-index): Stop linking to directories.
4091 * org.el (org-emphasis-alist): Use span instead of <u> to
4094 * org-exp.el (org-export-as-html): Make sure <p> is closed before
4097 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
4099 * org-jsinfo.el (org-infojs-template): Remove language attribute
4102 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
4104 * org-agenda.el (org-agenda-remove-marked-text): New function.
4105 (org-agenda-mark-filtered-text)
4106 (org-agenda-unmark-filtered-text): New functions.
4107 (org-write-agenda): Remove fltered text.
4109 * org.el (org-make-tags-matcher): Give access to TODO "property"
4110 without speed penalty.
4112 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
4114 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4116 (org-store-link-props): Make sure adding to the plist works
4119 * org-gnus.el (org-gnus-no-new-news): New function.
4120 (org-gnus-follow-link): Allow the article ID to be a message-id,
4121 in addition to allowing article numbers. Message IDs make much
4123 (org-gnus-store-link): Use message-id to create link.
4125 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
4127 * org.el (org-emphasize): Reverse the selection array.
4128 (org-emphasis-alist): Set <code> tags for the verbatim
4131 * org-remember.el (org-remember-handler): Fix bug with
4132 prefix-related changing of the note storage target.
4134 * org-exp.el (org-print-icalendar-entries): Make the exported
4135 priorities compatible with RFC 2445.
4137 * org-clock.el (org-clock-save): Insert time stamp without
4138 dependence on time-stamp.el.
4140 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
4142 * org.el ("saveplace"): If saveplace puts point into an invisible
4143 location, make it visible.
4144 (org-make-tags-matcher): Allow inactive time stamps in time
4146 (org-yank-adjusted-subtrees): New option.
4147 (org-yank): Incorporate adjusting trees.
4148 (org-paste-subtree): New argument FOR-YANK which will cause
4149 insertion at point without backing up over white lines, and leave
4150 point at the end of the inserted text. Also if the cursor is
4151 at the beginning of a headline, use the same level or the inserted
4154 * org-publish.el (org-publish-get-base-files-1): Deal correctly
4155 with broken symlinks
4157 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
4159 * org-exp.el (org-export-select-tags, org-get-current-options):
4162 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
4164 * org-agenda.el (org-format-agenda-item)
4165 (org-agenda-filter-make-matcher): Make sure tags are stored and
4168 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
4170 * org.el (org-insert-todo-heading): Fix bug with force-heading
4173 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
4175 * org-clock.el (org-clock-in-resume): Add a custom option to
4176 toggle starting the clock from an open clock line.
4177 (org-clock-in): When clocking in to an entry, if
4178 `org-clock-in-resume' is set, check if the first clock line is
4179 open and if so, start the clock from the time in the clock line.
4180 (org-clock-persist): Add a custom option to toggle clock
4182 (org-clock-persist-query-save): Add a custom option to toggle
4183 asking the user if they want to save the running clock when
4185 (org-clock-persist-query-resume): Add a custom option to toggle
4186 asking the user if they want to resume the saved clock when Emacs
4188 (org-clock-save): Add a function to save clock data.
4189 This includes the contents of `org-clock-history' and the buffer
4190 and position of the currently clocked task, if any.
4191 (org-clock-load): Add a function to load clock data.
4192 This populates `org-clock-history', and resumes the saved clocked
4193 task if there is one.
4194 (org-clock-persistence-insinuate): Add a method to set up the
4195 hooks for clock persistence.
4197 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
4199 * org-exp.el (org-export-as-ascii): Handle the case that we are
4200 publishing from an indirect buffer.
4202 * org-table.el (org-table-copy-down): Fix bug with time stamp
4205 * org-mouse.el (org-mouse-features): New option.
4206 (org-mode-hook): Turn on features depending on
4207 `org-mouse-features'.
4209 * org.el (org-insert-heading-respect-content): Force heading
4211 (org-insert-heading): keep the folding state of the heading before
4214 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
4216 * org-archive.el (org-archive-to-archive-sibling): Handle top
4217 level headlines better.
4219 2008-10-21 Bastien Guerry <bzg@altern.org>
4221 * org-export-latex.el (org-export-latex-classes): Added
4222 \usepackage{graphicx} to the default list of packages.
4224 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
4226 * org-agenda.el (org-agenda-filter): Renamed from
4227 `org-agenda-filter-tags'.
4229 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
4231 * org.el (org-entry-properties): Add CATEGORY property, iven if it
4232 is not defined as a property in this entry.
4233 (org-add-log-note): Mask prefix argument when immediately storing
4236 * org-agenda.el (org-agenda-filter-effort-default-operator): New
4239 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
4241 * org.el (org-add-log-setup): Bugfix; code to find insertion point
4242 after drawers was skipping ahead one line too many, so notes were
4243 inserted after the first note instead of before it.
4245 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
4247 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4249 (org-prepare-agenda): Reset the filter tags.
4250 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4251 Show filter tags in mode line.
4253 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4256 * org-export-latex.el (org-latex-entities-regexp): New constant.
4257 (org-export-as-pdf): Use two calls to `shell-command'.
4259 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
4261 * org-export-latex.el (org-export-latex-treat-sub-super-char):
4262 Honor the {} value of the subsuperscript setting. Make sure that
4263 longer subsuperscripts are typeset in a roman font.
4265 * org.el (org-clock-update-time-maybe): Compute negative clock
4266 intervals correctly.
4268 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
4270 * org.el (org-add-log-setup): Respect
4271 `org-log-state-notes-insert-after-drawers'.
4272 (org-log-state-notes-insert-after-drawers): New option.
4273 (org-todo-trigger-tag-changes): New function.
4274 (org-todo): Call `org-todo-trigger-tag-changes'.
4276 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
4278 * org.el (org-add-log-setup): Only skip drawers if the are
4279 immediately after the scheduling keywords.
4281 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4283 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4284 call it with the current todo state to get the state to switch to
4286 (org-clock-in): Use org-indent-line-function to indent clock lines.
4287 (org-clock-find-position): Fix indentation of empty clock drawers.
4289 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
4291 * org-publish.el (org-publish-org-to): Handle case when
4292 org-export-to-pdf does return a file name, not a buffer.
4293 (org-publish-org-to-pdf): New function.
4295 * org-export-latex.el (org-export-as-pdf)
4296 (org-export-as-pdf-and-open): New commands.
4298 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4301 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4302 things in protexted regions.
4304 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
4306 * org-export-latex.el (org-export-latex-preprocess): Improve
4307 quoting of LaTeX environments.
4309 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
4311 * org.el (org-edit-fixed-width-region): Exclude final newline from
4314 * org-export-latex.el (org-export-latex-subcontent): Add labels to
4315 sections, to make internal links work.
4316 (org-export-latex-fontify-headline): Do not remove all text
4317 properties, to make sure that target properties survive this
4320 * org-exp.el (org-export-preprocess-string): Change sequence of
4321 modifications, to make sure links are prepared before the LaTeX
4322 conversions do happen.
4324 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
4326 * org-attach.el (org-attach-delete-all): Renamed from
4327 `org-attch-delete'. Add a security query before deleting the
4328 entire directory. New optional argument FORCE can overrule the
4330 (org-attach-delete-one): New command.
4332 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
4334 * org-attach.el (org-attach-file-list): Fix bug with directory.
4336 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
4338 * org.el (org-apps-regexp-alist): New function.
4339 (org-file-apps): Add auto-mode to the default value.
4340 (org-open-file): Use the new structure of org-file-apps.
4342 * org-attach.el (org-attach): Support the new keys.
4343 (org-attach-method): New option.
4345 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
4347 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4350 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4351 of the list value o `org-use-tag-inheritance'.
4353 * org-attach.el (org-attach-auto-tag): New option.
4354 (org-attach-tag, org-attach-untag): New functions.
4355 (org-attach-attach, org-attach-new, org-attach-sync): Call
4357 (org-attach-delete): Call `org-attach-untag'.
4359 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
4361 * org-table.el (orgtbl-self-insert-command): Make this work for
4364 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
4366 * org.el (org-add-log-setup): Limit searc for drawers to entry
4367 text, not to subtree.
4369 * org-clock.el (org-clock-heading-for-remember): New variable.
4370 (org-clock-in): Set `org-clock-heading-for-remember'.
4372 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
4374 * org-remember.el (org-remember-apply-template): Add new
4375 expansions: %k, %K for currently clocked task and a link to the
4376 currently clocked task, and %< to file notes in the currently
4379 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
4381 * org-export-latex.el (org-export-latex-make-header): Also insert
4382 the content of the property :latex-header-extra.
4384 * org-exp.el (org-infile-export-plist): Put the content of
4385 #+LATEX_HEADER: into the property :latex-header-extra.
4387 * org-colview.el (org-columns-get-format-and-top-level): Remove
4388 resetting the marker.
4390 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4391 Remove resetting the marker.
4393 * org.el (org-entry-property-inherited-from): Improve docstring.
4394 (org-entry-get-with-inheritance): Reset marker before starting the
4397 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4399 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
4401 * org.el (org-entry-get-multivalued-property)
4402 (org-entry-protect-space, org-entry-restore-space): New
4404 (org-file-apps-defaults-macosx): Let postscript files be opened by
4406 (org-time-stamp-inactive): Call `org-time-stamp'.
4407 (org-time-stamp): New argument `inactive'. Also edit inacive
4408 stamps. Convert time stamp type.
4409 (org-open-file): Interpret the `default' value for the `command'
4412 * org-id.el (org-id-int-to-b36-one-digit)
4413 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4414 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4417 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
4419 * org-id.el (org-id-reverse-string): New function.
4420 (org-id-new): Use `org-id-reverse-string' to make sure the
4421 beginning chars of the ID are mutating fast. This allows to use a
4422 directory structure to spread things better.
4423 (org-id-prefix): Changed default to nil.
4425 * org-list.el (org-move-item-down, org-move-item-up): Remember and
4426 restore the column of the cursor position.
4428 * org-remember.el (org-remember-apply-template): Remove properties
4431 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
4433 * org-wl.el (org-wl-open): Remove useless call to
4434 `wl-thread-open-all'.
4436 * org-remember.el (org-remember-handler): Fix bug with `bottom'
4439 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
4441 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4442 `org-bbdb-anniversaries'.
4444 * org.el (org-get-next-sibling, org-forward-same-level): New
4445 functions, similar to the outline versions, but invisible headings
4448 2008-09-25 Bastien Guerry <bzg@altern.org>
4450 * org.el (org-auto-repeat-maybe): Insert a space between
4451 the timestamp's type and the timestamp itself.
4453 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
4455 * org-table.el (org-table-sum): Do not format the result with %g,
4456 it does rounding when there are too many digits.
4458 * org.el (org-map-entries): Protect the keyword-selecting variables.
4460 2008-09-23 Bastien Guerry <bzg@altern.org>
4462 * org-agenda.el (org-agenda-to-appt): Make sure the function check
4463 against all agenda files.
4465 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
4467 * org-list.el: New file, aggregating list functions from org.el
4468 and org-export-latex.el.
4470 * org.el (org-edit-src-region-extra): New option.
4472 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
4474 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4477 2008-09-22 Bastien Guerry <bzg@altern.org>
4479 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4481 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
4483 * org-plot.el (org-plot/gnuplot): Make tables starting with a
4484 hline work correctly.
4485 (org-plot/gnuplot-script): Put commas at the end of each script
4488 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
4490 * org.el (org-get-refile-targets): Replace links with their
4492 (org-imenu-get-tree): Replace links with their descriptions.
4494 * org-remember.el (org-remember-apply-template): Add a new
4495 expansion for adding properties to remember items.
4497 * org.el (org-add-log-setup): Skip over drawers (properties,
4498 clocks etc) when adding notes.
4500 * org-agenda.el (org-agenda-get-closed): show durations of clocked
4501 items as well as the start and end times.
4503 * org-compat.el (org-get-x-clipboard-compat): Add a compat
4504 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4506 * org-remember.el (org-get-x-clipboard): Use the compat
4507 function to get clipboard values when x-selection-value is
4508 unavailable. Use substring-no-properties instead of
4509 set-text-properties to remove text properties from the clipboard
4512 * lisp/org-clock.el (org-update-mode-line): Support limiting the
4513 modeline clock string, and display the full todo value in the
4514 tooltip. Set a local keymap so mouse-3 on the clock string goes to
4515 the currently clocked task.
4516 (org-clock-string-limit): Add a custom value for the maximum
4517 length of the clock string in the modeline.
4518 (org-clock-mode-map): Add a keymap for the modeline string
4520 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
4522 * org-compat.el (org-propertize): New function.
4524 2008-09-20 Bastien Guerry <bzg@altern.org>
4526 * org-export-latex.el (org-export-latex-tables): protect exported
4527 tables from further special chars conversion.
4528 (org-export-latex-preprocess): Preserve LaTeX environments.
4529 (org-list-parse-list): Parse descriptive lists.
4530 (org-list-to-generic, org-list-to-latex, org-list-to-html)
4531 (org-list-to-texinfo): Export descriptive lists.
4532 (org-quote-chars): Remove.
4533 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4534 (org-export-latex-list-beginning-re): Rename to
4535 `org-list-beginning-re'
4536 (org-list-item-begin): Rename to `org-list-item-beginning'
4538 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
4540 * org.el (org-refile): Allow refiling to the last entry in the
4542 (org-get-tags-at): Fix bug when inheritance is turned off.
4544 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
4546 * org.el (org-indent-line-function): No longer check for src
4547 regions, this is too much overhead.
4549 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4552 * org.el (org-scan-tags): Make sure that tags matching is not case
4553 sensitive. TODO keyword matching is case sensitive, however, to
4554 avoid confusion with similar words that are not meant to be
4557 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
4559 * org.el (org-get-local-tags-at): New function.
4560 (org-get-local-tags): New function.
4562 * org-exp.el (org-export-get-categories): New function.
4564 * org-agenda.el (org-sorting-choice)
4565 (org-agenda-sorting-strategy, org-agenda-get-todos)
4566 (org-agenda-get-timestamps, org-agenda-get-deadlines)
4567 (org-agenda-get-scheduled, org-agenda-get-blocks)
4568 (org-entries-lessp): Implement sorting by TODO state.
4569 (org-cmp-todo-state): New defsubst.
4571 * org-colview.el (org-colview-construct-allowed-dates): New
4573 (org-columns-next-allowed-value): Use
4574 `org-colview-construct-allowed-dates'.
4576 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4578 (org-columns-next-allowed-value): Use
4579 `org-colview-construct-allowed-dates'.
4581 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
4583 * org.el (org-protect-slash): New function.
4584 (org-get-refile-targets): Use `org-protect-slash'.
4586 * org-agenda.el (org-global-tags-completion-table): New variable.
4588 * org-exp.el (org-export-handle-export-tags): New function.
4589 (org-export-preprocess-string): Call
4590 `org-export-handle-export-tags'.
4592 * org-plot.el: New file.
4594 * org-publish.el (org-publish-expand-components): Function removed.
4595 (org-publish-expand-projects): Allow components to have components.
4597 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
4599 * org.el (org-indent-line-function): Do not indent in regions that
4600 are external source code.
4601 (org-yank-and-fold-if-subtree): New function.
4603 * org-agenda.el (org-agenda-todayp): New function.
4604 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4605 `org-agenda-todayp'.
4607 * org.el (org-insert-heading-respect-content)
4608 (org-insert-todo-heading-respect-content): New commands.
4609 (org-insert-heading-respect-content): New option.
4610 (org-insert-heading): Respect `org-insert-heading-respect-content'.
4612 * org-clock.el (org-clock-find-position): Make sure the note after
4613 the clock line gets moved into the new clock drawer.
4615 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
4617 * org-id.el (org-id-new): New option.
4619 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
4621 * org-table.el (org-table-copy-down): Avoid overflow during
4622 increment. Use prefix argument 0 to temporarily disable the
4625 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
4627 * org-exp.el (org-export-as-html): Do not turn on the major mode
4628 if the buffer will be killed anyway.
4629 (org-get-current-options): Exclude the #+TEXT field.
4630 (org-export-as-html): Make sure text before the first headline is
4633 * org-publish.el (org-publish-org-to): Tell the exporter that this
4634 buffer will be killed, so it is not necessary to do major mode
4637 * org-archive.el (org-archive-to-archive-sibling): Show empty
4638 lines after folding the archive sibling.
4640 * org.el (org-log-note-extra): New variable.
4642 2008-09-05 Bastien Guerry <bzg@altern.org>
4644 * org.el (org-additional-option-like-keywords): Added keywords for
4645 the _QUOTE, _VERSE and _SRC environments.
4647 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4648 exporting _QUOTE and _VERSE environments.
4650 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
4652 * org-agenda.el (org-agenda-filter-by-tag): New command.
4654 * org-exp.el (org-get-current-options): Remove angular brackets
4655 from the date entry.
4657 * org.el (org-edit-fixed-width-region): New function.
4658 (org-edit-fixed-width-region): Also try
4659 `org-edit-fixed-width-region'.
4660 (org-edit-fixed-width-region-mode): New option.
4661 (org-activate-code): Only interprete lines starting with colon
4662 plus a space as example lines.
4664 * org-remember.el (org-remember-templates): Add nil instead of
4665 empty strings to fix the length of remember templates.
4667 * org-table.el (org-calc-default-modes): Fix the time format for
4668 calc, from 12 hour to 24 hour clock.
4670 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
4672 * org-agenda.el (org-agenda-get-deadlines)
4673 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4674 entries that are pre-warnings of deadlines or reminders.
4676 * org.el (org-sort-entries-or-items): Make numeric and alpha
4677 comparisons ignore any TODO keyword and priority cookie.
4679 * org-remember.el (org-remember-handler): Reinterpretation of the
4682 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
4684 * org-agenda.el (org-agenda-get-scheduled): Use new
4685 `org-scheduled' face.
4687 * org-faces.el (org-scheduled): New face.
4689 * org-wl.el (org-wl-open): Remove incorrect declaration.
4691 * org-gnus.el (org-gnus-store-link): Support for :to information
4694 * org-exp.el (org-export-as-html): Fixed typo in creator
4696 (org-export-protect-examples): New parameter indent. Insert extra
4697 spaces only when this parameter is specified.
4698 (org-export-preprocess-string): Call `org-export-protect-examples'
4699 with an indentation parameter when exporting to ASCII.
4701 * org-remember.el (org-remember-templates)
4702 (org-remember-apply-template): Allow the file component to be a
4705 * org.el (org-goto-local-search-headings): Renamed from
4706 `org-goto-local-search-forward-headings'. Added the possibility
4707 to search backwards.
4709 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
4711 * org-export-latex.el (org-export-latex): New customization
4714 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4716 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
4718 * org-exp.el (org-html-do-expand): Allow {} to terminate
4721 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
4723 * org.el (org-buffer-list): Select buffers based on major mode,
4726 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
4728 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4731 * org-colview.el (org-columns-display-here): Use
4732 `org-columns-modify-value-for-display-function'.
4734 * org-colview-xemacs.el (org-columns-display-here): Use
4735 `org-columns-modify-value-for-display-function'.
4737 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
4739 * org.el (org-columns-modify-value-for-display-function): New option.
4751 * org-publish.el (org-publish-file): Make sure the directory match
4752 for the publishing directory works correctly.
4754 * org-agenda.el (org-agenda-execute-calendar-command)
4755 (org-agenda-diary-entry): Additional optional argument.
4757 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
4759 * org-exp.el (org-export-as-html): Add attributes also in mailto
4762 * org.el (org-autoload): Add `org-dblock-write:columnview'.
4771 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
4773 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4774 sure that calls from `org-export-region-as-html' do not do the
4775 special check for a subtree.
4777 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
4779 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4781 2008-07-20 Juri Linkov <juri@jurta.org>
4783 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4784 new keymap `narrow-map' instead of binding "\C-xns".
4786 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
4788 * org.el (org-open-file): Use
4789 `org-open-directory-means-index-dot-org'.
4790 (org-open-directory-means-index-dot-org): New option.
4792 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
4794 * org.el (org-make-link-string): Remove link attributes from
4796 (org-open-at-point): Remove link attributes bevore using the path.
4798 * org-exp.el (org-export-as-html): Handle link attributes.
4800 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4802 * org-table.el (org-table-to-lisp): New function.
4804 * org.el (org-narrow-to-subtree): Do not include the final newline
4805 into the narrowed region.
4807 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4808 bug with user-define skipping condition.
4810 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
4812 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4814 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
4816 * org-exp.el (org-export-html-style-default): Automatic overflow
4817 handling for pre fields.
4818 (org-export-as-ascii, org-export-as-html): Change default format
4821 * org-table.el (org-table-export): Offer completion for translator
4822 functions, and do not require a heading above the table.
4824 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4825 Cater for the case of a list starting in the first line of the
4828 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
4830 * org-publish.el (org-publish-find-title): Bug fix.
4831 (org-publish-org-index): Implement new :index-style option.
4833 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
4835 * org-publish.el (org-publish-timestamp-filename): Use
4836 SHA1-encoded file names in the timestamp directory.
4838 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
4840 * org-publish.el (org-publish-needed-p): Be verbose about files
4841 published and files skipped.
4843 * org-exp.el (org-export-preprocess-string): Swap link
4844 normalization and inernal link targeting.
4846 * org-publish.el (org-publish-needed-p): Create timestamp
4847 directory when it does not exist.
4849 2008-07-04 Bastien Guerry <bzg@altern.org>
4851 * org-clock.el (org-clock-out-when-done): Doc fix.
4853 * org.el (org-agenda-skip-unavailable-files): Doc fix.
4855 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4856 Ignore case when searching for the COMMENT cookie at export time.
4858 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
4860 * org-exp.el (org-get-file-contents)
4861 (org-get-and-remove-property): New functions.
4862 (org-export-handle-include-files): Handle the new prefix options.
4863 (org-export-as-html): Fix the verse environment.
4865 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
4867 * org.el (org-time=, org-time<, org-time<=, org-time>)
4868 (org-time>=, org-time<>, org-2ft): New functions.
4869 (org-op-to-function): Also provide for the time testing fucntions.
4871 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
4873 * org-exp.el (org-export-html-style-default): New constant.
4875 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
4877 * org-exp.el (org-export-html-style-extra): New variable.
4878 (org-export-splice-style): New function.
4880 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
4882 * org-exp.el (org-export-plist-vars, org-export-as-html):
4883 Implement `org-export-creator-info'.
4884 (org-export-creator-info): New option.
4886 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
4888 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4889 (org-property-drawer-re, org-clock-drawer-re): New constants.
4891 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
4893 * org-exp.el (org-icalendar-use-deadline)
4894 (org-icalendar-use-scheduled): New options.
4895 (org-icalendar-include-todo): Default changed to t.
4896 (org-print-icalendar-entries): Implement better utilization of
4897 scheduling and deadline time stamps.
4898 (org-export-target-internal-links, org-export-as-html): Allow file
4899 lines without the "file:" prefix if the file path is an absolute
4900 path or starts with ".".
4902 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4904 (org-clock-special-range): Also undertand yesterday, lastweek etc.
4906 2008-06-18 Glenn Morris <rgm@gnu.org>
4907 * org.el (org-map-entries): Let-bind `file'.
4909 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
4911 * org.el (org-agenda-skip-archived-trees): Docstring now
4912 discourages using this.
4913 (org-scan-tags): Check for org-agenda-archives-mode.
4914 (org-map-entries): Make sure org-agenda-archives-mode is nil.
4915 (org-agenda-files): Functionality of second arg changed.
4917 * org-agenda.el (org-agenda-archives-mode): New variable
4918 (org-write-agenda, org-prepare-agenda, org-agenda-list)
4919 (org-search-view, org-todo-list, org-tags-view)
4920 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4922 (org-agenda-quit): Reset the archives mode.
4923 (org-agenda-archives-mode): New command.
4924 (org-agenda-set-mode-name): Include archives info.
4926 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
4928 * org.el (org-paste-subtree): Make sure the yanked headline is
4929 visible if it was yanked at a visible point.
4930 (org-move-item-up): Fix the bug with moving white space at the end
4932 (org-show-empty-lines-in-parent): New function.
4934 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
4936 * org-colview.el (org-columns-next-allowed-value): Bug fix.
4938 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4940 * org-agenda.el (org-agenda-get-closed): Get the end time into the
4941 agenda prefix as well.
4943 * org-publish.el (org-publish-org-index): Make a properly indented
4946 * org.el (org-calendar-agenda-action-key): New option.
4947 (org-get-cursor-date): New function.
4948 (org-mark-entry-for-agenda-action): New command.
4949 (org-overriding-default-time): New variable.
4950 (org-read-date): Respect `org-overriding-default-time'.
4952 * org-remember.el (org-remember-apply-template): Respect the
4953 ovverriding default time.
4955 * org-agenda.el (org-agenda-action-marker): New variable.
4956 (org-agenda-action): New command.
4957 (org-agenda-do-action): New function.
4959 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4961 * org.el (org-schedule, org-deadline): Protect scheduled and
4962 deadline tasks against changes that accidently remove the
4963 repeater. Also show a message with the new date when done.
4965 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4967 * org.el (org-beginning-of-line): Cater for the case when there
4968 are tags but no headline text.
4969 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4972 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
4974 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4975 the return value is nil instead of "nil" when there is no match.
4977 * org-exp.el (org-insert-centered): Use fill-column instead of
4979 (org-export-as-ascii): Use string-width to measure the width of
4982 * org.el (org-diary-to-ical-string): No longer kill buffer
4983 FROMBUF, this is now done by the caller.
4985 * org-exp.el (org-print-icalendar-entries): Move the call to
4986 `org-diary-to-ical-string' out of the loop, and kill the buffer
4989 * org-remember.el (org-remember-visit-immediately): Position
4990 cursor after moving to the note.
4991 (org-remember-apply-template): Use a text property to record the
4993 (org-remember-handler): Align tags after pasting the note.
4995 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
4997 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4999 * org-agenda.el (org-agenda-open-link): If there is an
5000 org-bbdb-name property in the current line, jump to that bbdb
5003 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5004 text property, so that the agenda knows where this entry comes
5007 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5008 interaction between clocking-in from the agenda, and automatic
5009 task state switching.
5011 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5013 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5014 zmacs-region stays after this command in XEmacs.
5016 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
5018 * org.el (org-scan-tags): Allow new values for ACTION parameter.
5020 * org-remember.el (org-remember-templates): Fix bug in
5021 customization type definition.
5023 * org.el (org-map-entries): New function.
5025 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
5027 * org-agenda.el (org-agenda-skip-comment-trees): New option.
5028 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5030 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
5032 * org-remember.el (org-jump-to-target-location): New variable.
5033 (org-remember-apply-template): Set
5034 `org-remember-apply-template' if requested by template.
5035 (org-remember-handler): Start an idle timer to jump to
5038 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5040 * org.el (org-set-regexps-and-options): Fix bug with parsing of
5042 (org-get-tags-at): Add the content of `org-file-tags'.
5044 * org-exp.el (org-export-handle-comments): Fix bug with several
5045 comment lines after each other.
5046 (org-number-to-roman, org-number-to-counter): New functions.
5047 (org-export-section-number-format): New option.
5049 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
5051 * org-exp.el (org-export-protect-examples): Catch the case of a
5052 missing end_example line.
5054 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5055 `org-file-tags' to nil.
5057 * org-colview.el (org-columns-next-allowed-value): Handle next
5058 argument NTH to directly select a value.
5060 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5061 argument NTH to directly select a value.
5063 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
5065 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5067 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
5069 * org.el (org-columns-ellipses): New option.
5071 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
5073 * org-colview.el (org-columns-add-ellipses): New function.
5074 (org-columns-compact-links): New function.
5075 (org-columns-cleanup-item): Call `org-columns-compact-links'.
5076 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5078 (org-columns-edit-value): Fixed bug with editing values from
5080 (org-columns-redo): Also redo the agenda itself.
5082 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
5084 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5087 * org-colview.el (org-agenda-columns-cleanup-item): New function.
5089 * org-exp.el (org-export-ascii-preprocess): Renamed from
5090 `org-export-ascii-clean-string'.
5091 (org-export-kill-licensed-text)
5092 (org-export-define-heading-targets)
5093 (org-export-handle-invisible-targets)
5094 (org-export-target-internal-links)
5095 (org-export-remove-or-extract-drawers)
5096 (org-export-remove-archived-trees)
5097 (org-export-protect-quoted-subtrees)
5098 (org-export-protect-verbatim, org-export-protect-examples)
5099 (org-export-select-backend-specific-text)
5100 (org-export-mark-blockquote-and-verse)
5101 (org-export-remove-comment-blocks-and-subtrees)
5102 (org-export-handle-comments, org-export-mark-radio-links)
5103 (org-export-remove-special-table-lines)
5104 (org-export-normalize-links)
5105 (org-export-concatenate-multiline-links)
5106 (org-export-concatenate-multiline-emphasis): New functions,
5107 obtained from spliiting the export preprocessor.
5109 * org-table.el (org-table-recalculate): Improve error message if
5110 the row number is invalid.
5112 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
5114 * org-archive.el (org-archive-save-context-info): Fix bugs in
5115 customization setup and docstring.
5117 * org-exp.el (org-export-html-style): Changed the size of in the
5118 <pre> element to 90%.
5120 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
5122 * org.el (org-find-src-example-start): Function removed.
5123 (org-edit-src-find-region-and-lang): New function.
5125 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
5127 * org.el (org-edit-src-exit): New function.
5128 (org-exit-edit-mode): New minor mode.
5130 * org-exp.el (org-export-preprocess-string): Fix bug with removing
5131 comment-like lines from protected examples.
5133 * org.el (org-edit-src-example, org-find-src-example-start)
5134 (org-protect-source-example, org-edit-special): New functions.
5136 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
5138 * org-publish.el (org-publish-project-alist): Fix typo in
5140 (org-publish-project-alist): Handle :index-title property.
5142 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
5144 * org-export-latex.el (org-export-as-latex): Make sure region
5145 bounds are correct. Parse subtree properties relating to export.
5147 * org-exp.el (org-export-add-options-to-plist): New function.
5148 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5150 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
5152 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5155 * org-exp.el (org-export-get-title-from-subtree)
5156 (org-export-as-ascii, org-export-as-html): Make sure the original
5157 region-beginning and region-end are used, even after moving
5159 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5162 * org-remember.el (org-remember-last-stored-marker): New variable.
5163 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5164 (org-remember-handler): Also use marker to remember
5165 last-stored position.
5167 * org.el (org-goto-marker-or-bmk): New function.
5169 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
5171 * org.el (org-file-properties): Renamed from `org-local-properties'.
5172 (org-scan-tags): Take file tags into account.
5173 (org-tags-match-list-sublevels): Default changed to t.
5175 * org-exp.el (org-export-as-html): Close paragraph after a
5178 * org.el (org-update-parent-todo-statistics): New function.
5180 * org-exp.el (org-icalendar-store-UID): New option.
5181 (org-icalendar-force-UID): Option removed.
5182 (org-print-icalendar-entries): IMplement UIDs.
5184 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
5186 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5188 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
5190 * org-faces.el (org-column): Document how this face is being used
5191 and why sometimes the background faces shine through.
5193 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5195 * org-publish.el (org-publish-attachment): Create publishing
5196 directory if it does not yet exist.
5198 * org-table.el (org-calc-default-modes): Change default number
5199 format to (float 8).
5201 * org.el (org-olpath-completing-read): New function.
5202 (org-time-clocksum-format): New option.
5203 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5205 * org-clock.el (org-clock-display, org-clock-out)
5206 (org-update-mode-line): Use `org-time-clocksum-format'.
5208 * org-colview-xemacs.el (org-columns-number-to-string): Use
5209 `org-time-clocksum-format'.
5211 * org-colview.el (org-columns-number-to-string): Use
5212 `org-time-clocksum-format'.
5214 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
5216 * org-id.el: New file, move from contrib to core.
5218 * org-exp.el (org-icalendar-force-UID): New option.
5220 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
5222 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5223 shifted by one day if theere is a date range without an end
5226 * org.el (org-try-structure-completion): New function.
5228 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
5230 * org.el (org-set-font-lock-defaults): Improve fontification of
5232 (org-insert-item): Handle description lists.
5233 (org-adaptive-fill-function): Improve auto indentation in
5236 * org-exp.el (org-export-as-html, org-export-preprocess-string):
5237 Implement VERSE environment.
5238 (org-export-preprocess-string): Implement the COMMENT
5241 * org-export-latex.el (org-export-latex-preprocess): Implement
5244 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
5246 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5249 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
5251 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5253 * org.el (org-quote-csv-field): New functions.
5255 * org-table.el (org-table-export-default-format): Remove :splice
5256 from default format, we get the same effect by not specifying
5258 (org-table-export): Improve setup, distinguish better between
5259 interactive and non-interactive use, allow specifying the format
5260 on the fly, better protection against wrong file names.
5261 (orgtbl-to-generic): Fix documentation. Do not require :tstart
5262 and :tend when :splice is omitted.
5264 2008-05-09 Bernt Hansen <bernt@norang.ca>
5266 * org-clock.el (org-clock-select-task): Make sure the selection
5267 letters are 1-9 and A-Z, no special characters.
5269 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
5271 * org-exp.el (org-export-htmlize): New group.
5272 (org-export-htmlize-output-type)
5273 (org-export-htmlize-css-font-prefix): New options.
5274 (org-export-htmlize-region-for-paste): New function.
5275 (org-export-htmlize-generate-css): New command.
5277 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
5279 * org/org.el (org-modules, org-format-latex-options):
5280 * org/org-archive.el (org-archive-stamp-time)
5281 (org-archive-save-context-info):
5282 * org/org-faces.el (org-hide):
5283 * org/org-irc.el (org-irc-parse-link):
5284 * org/org-macs.el (org-call-with-arg, org-autoload):
5285 * org/org-mew.el (org-mew-store-link):
5286 * org/org-remember.el (org-remember-store-without-prompt)
5287 (org-remember-templates): Fix typos in docstrings.
5289 * org/org-info.el (org-info-store-link): Remove leftover docstring.
5291 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5292 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5293 (org-bbdb-anniv-split): Fix typos in docstrings.
5295 * org/org-publish.el (org-publish-project-alist): Doc fixes.
5296 (org-publish-use-timestamps-flag): Reflow docstring.
5297 (org-publish-files-alist): Fix typos in docstring.
5299 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
5301 * org.el (org-set-visibility-according-to-property): New function.
5302 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5303 and compute the regular expressions, and update font-lock.
5304 (org-property-re): Allow a dash in property names.
5306 * org-archive.el (org-extract-archive-file): Insert the file name
5307 without the path into the format, to allow the location format to
5308 contain a subdirectory.
5310 * org-agenda.el (org-agenda-post-command-hook): If point is at end
5311 of buffer, and the `org-agenda-type' property undefined, use the
5312 value from the character before.
5314 * org.el (org-add-planning-info): Don't let indentation for
5315 would-be timestamp become extra whitespace at the end of headline.
5317 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
5319 * org.el (org-remove-double-quotes, org-file-contents): New
5322 * org-exp.el (org-infile-export-plist): Also parse the
5323 contents of #+SETUPFILE files, recursively.
5325 * org.el (org-set-regexps-and-options): Also parse the
5326 contents of #+SETUPFILE files, recursively.
5328 * org-exp.el (org-export-handle-include-files): New function.
5329 (org-export-preprocess-string): Call
5330 `org-export-handle-include-files'.
5332 * org.el (org-delete-property-globally)
5333 (org-delete-property, org-set-property): Ignore case during
5335 (org-set-property): Use `org-completing-read' instead of
5338 * org.el (org-complete-expand-structure-template): New,
5339 experimental function.
5340 (org-structure-template-alist): New, experimental option.
5341 (org-complete): Call `org-complete-expand-structure-template'.
5343 2008-05-06 Bastien Guerry <bzg@altern.org>
5345 * org-export-latex.el (org-export-latex-preprocess): Added
5346 support for blockquotes.
5348 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
5350 * org.el (org-read-date-analyze): Catch the case where only a
5353 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
5355 * org.el (org-set-font-lock-defaults): Make the description
5358 * org-exp.el (org-export-as-html, org-close-li): Implement
5361 2008-05-04 Jason Riedy <jason@acm.org>
5363 * org-table.el (*orgtbl-default-fmt*): New variable.
5364 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5365 when there is no other fmt available.
5367 (orgtbl-to-generic): Allow an explicitly nil :tstart or
5368 :tend to suppress the appropriate string.
5370 (orgtbl-to-orgtbl): New function for translating to another orgtbl
5373 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
5375 * org.el (org-read-date-analyze): "." as an alias for "+0" in
5378 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5381 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5384 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
5386 * org-clock.el (org-clock-find-position): Don't include notes
5389 * org-archive.el (org-archive-subtree): No longer remove an
5390 extra line after cutting the subtree. `org-cut-subtree' already
5393 * org-remember.el (org-remember-handler): Only kill the target
5394 buffer if it does not contain the running clock.
5396 * org.el (org-markers-to-move): New variable.
5397 (org-save-markers-in-region, org-check-and-save-marker)
5398 (org-reinstall-markers-in-region): New function.
5399 (org-move-subtree-down, org-copy-subtree): Remember relative
5400 marker positions before cutting.
5401 (org-move-subtree-down, org-paste-subtree): Restore relative
5402 marker positions after pasting.
5404 * org-remember.el (org-remember-clock-out-on-exit): New option.
5405 (org-remember-finalize): Clock out only if the setting in
5406 `org-remember-clock-out-on-exit' requires it.
5407 (org-remember-handler): Do the cleanup in the buffer, to make sure
5408 that the clock marker remains in tact.
5410 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
5412 * org-clock.el (org-clock-goto): Widen buffer if necessary.
5413 (org-clock-in): Make sure that also tasks outside the narrowed
5414 region will be clocked in correctly.
5415 (org-clock-insert-selection-line): Widen the buffer so that we can
5416 find the correct task heading.
5418 * org.el (org-base-buffer): New function.
5420 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5421 and ";" are escaped.
5422 (org-print-icalendar-entries): Also apply
5423 `org-icalendar-cleanup-string' to the headline, not only to the
5426 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
5428 * org-exp.el (org-export-preprocess-hook): New hook.
5429 (org-export-preprocess-string): Call
5430 `org-export-preprocess-hook'.
5432 * org.el (org-font-lock-hook): New variable.
5433 (org-font-lock-hook): New function.
5434 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5438 ;; add-log-time-zone-rule: t
5441 Copyright (C) 2008 Free Software Foundation, Inc.
5443 This file is part of GNU Emacs.
5445 GNU Emacs is free software: you can redistribute it and/or modify
5446 it under the terms of the GNU General Public License as published by
5447 the Free Software Foundation, either version 3 of the License, or
5448 (at your option) any later version.
5450 GNU Emacs is distributed in the hope that it will be useful,
5451 but WITHOUT ANY WARRANTY; without even the implied warranty of
5452 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5453 GNU General Public License for more details.
5455 You should have received a copy of the GNU General Public License
5456 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
5458 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c