1 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-exp.el (org-export-protect-sub-super): New function.
4 (org-export-normalize-links): Protect the url of plain links from
5 supscript and superscript processing.
7 * org-remember.el (org-remember-escaped-%): New function.
8 (org-remember-apply-template): Use `org-remember-escaped-%' to
9 detect escaped % signs.
11 2009-08-23 Bastien Guerry <bzg@altern.org>
13 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
14 sound when showing the notification.
16 * org-clock.el (org-notify): New function.
17 (org-clock-notify-once-if-expired): Use `org-notify'.
19 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
20 and `gnus-article-mode' separately.
21 (gnus-summary-article-header): Fix the declare-function.
23 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
25 * org-exp.el (org-export-format-source-code-or-example): Translate
28 * org-src.el (org-src-lang-modes): New variable
29 (org-edit-src-code): Translate language.
31 * org-exp.el (org-export-format-source-code-or-example): Deal wit
32 the new structure of the `org-export-latex-listings-langs'
35 * org-latex.el (org-export-latex-listings-langs): Change structure
36 of the variable from plist to alist.
38 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
40 * org.el (org-in-commented-line): New function.
42 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
44 * org.el (org-hide-block-toggle): Make folded blocks searchable.
46 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
48 * org.el (org-flag-drawer): More useful error.
50 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
52 * org-remember.el (org-remember-apply-template): Use
55 * org-publish.el (org-publish): Use org-icompleting-read.
57 * org-colview.el (org-columns-edit-value, org-columns-new)
58 (org-insert-columns-dblock): Use org-icompleting-read.
60 * org-colview-xemacs.el (org-columns-edit-value)
61 (org-columns-new, org-insert-columns-dblock): Use
64 * org-attach.el (org-attach-delete-one, org-attach-open): Use
67 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
69 * org.el (org-hierarchical-todo-statistics): Improve docstring.
70 (org-version): Return the version text.
71 (org-org-menu): Add a menu entry for the new bug reporter.
72 (org-submit-bug-report): New command.
74 * org-list.el (org-hierarchical-checkbox-statistics): Improve
77 * org.el (org-emphasis-regexp-components): Add "`" to set of
78 pre-emphasis characters.
80 * org-latex.el (org-export-latex-classes): Always include the soul
82 (org-export-latex-emphasis-alist): Use \st for strikethough.
83 (org-export-latex-fontify): Fix emphasis in quotes.
85 * org-exp-blocks.el (org-export-blocks-preprocess): Use
86 `indent-code-rigidly' to indent.
88 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
89 properties only if MATCH really is a string.
91 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
93 * org-latex.el (org-export-latex-packages-alist): Fix
96 * org.el (org-create-formula-image): Also use
97 `org-export-latex-packages-alist'.
99 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
100 (org-export-as-html): Format footnotes correctly.
102 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
104 * org.el (org-fast-tag-selection): Avoid text properties on tags
107 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
108 text properties on the match element.
110 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
112 * org.el (org-set-regexps-and-options): Make sure the list of done
113 keywords is not invalid.
115 * org-exp.el (org-export-interpolate-newlines): New function.
117 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
119 * org.el (org-format-latex): Avoid nested overlays.
121 * org-latex.el (org-export-latex-listings-langs): Add a few more
124 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
125 ignore newlines and space before the first macro argument.
127 * org-latex.el (org-export-latex-tables): Remove save-excursion
128 around `org-table-align'.
130 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
132 * org.el (org-export-html-special-string-regexps): Definition
135 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
138 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
140 * org-latex.el (org-export-latex-listings)
141 (org-export-latex-listings-langs): New options.
143 * org-exp.el (org-export-format-source-code-or-example): Use
144 listing package if requested by the user.
146 2009-08-08 Bastien Guerry <bzg@altern.org>
148 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
149 command before actually switching to a buffer.
151 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
153 * org-exp.el (org-get-file-contents): Only quote org lines when
154 the markup is src or example.
156 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
158 (org-agenda-get-day-entries): Remember deadline results and pass
159 them on into the function getting the scheduling information.
160 (org-agenda-get-scheduled): Accept deadline results as parameters
161 and maybe skip some entries.
162 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
164 * org.el (org-insert-heading): When respecting content, do not
165 convert current line to headline.
167 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
168 cheeeeeck the hd marker
169 (org-clock-in): Also set the hd marker.
170 (org-clock-out): Also set the hd marker.
171 (org-clock-cancel): Reset markers.
173 * org.el (org-clock-hd-marker): New marker.
175 * org-faces.el (org-agenda-clocking): New face.
177 * org-agenda.el (org-agenda-mark-clocking-task): New function.
178 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
180 * org.el (org-modules): Add org-track.el.
182 * org-agenda.el (org-agenda-bulk-marked-p): New function.
183 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
184 `org-agenda-bulk-marked-p'.
185 (org-agenda-bulk-toggle): New command.
187 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
189 * org.el (org-move-subtree-down): Hide subtree if it was folded,
192 * org-remember.el (org-remember-finalize): Avoid buffer-modified
195 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
197 * org-latex.el (org-export-latex-first-lines): Fix bug with
198 finding the end of the first lines.
200 * org.el (org-create-formula-image): Remove the -E option for
203 * org-exp.el (org-default-export-plist): Respect #+BIND.
204 (org-export-confirm-letbind): New function.
206 * org.el (org-paste-subtree): Test the kill ring entry if it is
208 (org-copy-subtree): Use `org-forward-same-level'.
209 (org-forward-same-level): Respect the `invisibe-ok' arg for
212 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
214 * org.el (org-table-map-tables): Make sure cursor is back at table
215 beginning after funcall.
217 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
218 handled before children, and do not error if an entry is not
219 found, probably because it hase been remove when the parent was
222 * org.el (org-ido-completing-read): Accept straight lists for
223 completion as well as alists.
225 * org-html.el (org-export-as-html): Fix parenthesis error in
228 * org-timer.el (org-timer-cancel-timers): Renamed from
229 `org-timer-cancel-timers'.
231 * org.el (org-cycle-internal-local): Fix problem with finding next
234 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
236 * org-list.el (org-list-send-list): Call
237 `org-list-goto-true-beginning' instead of
238 `org-list-find-true-beginning', which does not exist.
240 * org-timer.el (org-timer-reset-timers): Use `mapc'.
241 (org-timer-set-timer): Do not assign to heading.
243 * org-id.el (org-id-open): Quote function name.
245 * org-macs.el (org-unmodified): Turn off recording undo
246 information while running inside the macro.
248 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
250 (org-indent-mode): Remember and restore value of
251 org-hide-leading-stars before `org-indent-mode'.
253 * org-table.el (org-table-export): Also work in file-less
256 * org.el (org-startup-indented): New option.
257 (org-startup-options): Add new options indent and noindent.
258 (org-unfontify-region): Remove line-prefix and wrap-prefix
260 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
262 (org-promote, org-demote): Run the new hooks.
264 * org-table.el (org-table-align): Replace leading \n as well.
266 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
267 and `line-wrap' text properties.
269 * org-compat.el (org-kill-new): New function.
271 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
272 `line-wrap' text properties.
274 * org-indent.el: New file.
276 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
278 * org.el (org-provide-todo-statistics): Tweak docstring.
280 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
282 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
284 * org-exp.el (org-export-as-org): Insert the "-source" string
285 before the extension.
287 * org.el (org-read-date): Make sure the calendar is in the current
289 (org-set-emph-re): Remove the ? from the post-match.
290 (org-emphasis-regexp-components): Add backslash to the
292 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
293 optional so that also lines at the end of the buffers will still
294 be matched as headlines.
296 * org-table.el (org-table-error-on-row-ref-crossing-hline):
297 Variable made obsolete.
298 (org-table-relative-ref-may-cross-hline): New option.
299 (org-table-find-row-type): Honow the new option
300 `org-table-relative-ref-may-cross-hline'.
302 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
304 * org-table.el (org-table-cut-region, org-table-copy-region): Work
305 on single field if no active region.
307 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
309 * org-latex.el (org-export-latex-make-header): Only insert title
312 * org.el (org-make-options-regexp): Allow empty values.
314 * org-html.el (org-export-as-html): Move hrule detection to after
317 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
319 * org-html.el (org-format-org-table-html): Fix colgroup tags.
321 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
323 * org.el (org-cycle-internal-local): Improved version of finding
325 (org-cycle-hide-drawers): Only hide drawers if this is really
327 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
328 org-version of this function in Org-mode. We use advice to
329 implement this change, so that future changes to this function in
330 outline.el wil be handled properly.
331 (org-forward-same-level, org-backward-same-level): New commands.
333 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
335 * org.el (org-remove-empty-overlays-at)
336 (org-clean-visibility-after-subtree-move): New functons.
337 (org-move-subtree-down): Simplify cleanup of display.
339 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
341 * org-mac-message.el (org-mac-message-get-links): Improve
342 docstring. Make argument SELECT-OR-FLAGGED optional, default to
343 "s". Fix the return value.
344 (org-mac-message-insert-flagged): Simplify.
346 * org.el (org-refile-get-location): Tamper with refile history o
347 that history contains compete matches instead of the entered
350 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
352 * org.el (org-store-link): Never store a link to an inline task.
354 * org-inlinetask.el (org-inlinetask-insert-task): New command.
356 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
357 inline tasks when positioning footnotes.
359 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
362 * org.el (org-refile): Remove the END line when archiving an
363 inline task that does have an END line.
365 * org-archive.el (org-archive-subtree): Remove the END line when
366 archiving an inline task that does have an END line.
368 * org-macs.el (org-with-limited-levels): New macro.
369 (org-get-limited-outline-regexp): New function.
371 * org-exp.el (org-export-format-source-code-or-example): Fix bug
372 that did not enumerate first line.
373 (org-export-mark-radio-links): Skip matches in links.
375 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
377 * org.el (org-activate-plain-links): Make single-match.
378 (org-adapt-indentation): Fix docstring.
380 * org-macs.el (org-unmodified): Turn of modification hooks while
383 2009-08-02 Bastien Guerry <bzg@altern.org>
385 * org.el (org-adapt-indentation): Slightly improve the docstring.
386 (org-occur): Sends an error when the user inputs an empty string.
387 (org-priority): Bugfix: the tag alignement should happen within
390 2009-07-31 Bastien Guerry <bzg@altern.org>
392 * org.el (org-make-link-regexps): Don't exclude parentheses from
394 (org-cycle-internal-local): When locally cycling, switch directly
395 from CHILDREN to FOLDED if there is no subtree
396 (org-cycle): Update the docstring to document the new behavior of
397 `org-cycle-internal-local'.
399 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
401 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
402 an abbreviated format for days.
404 2009-07-27 Bastien Guerry <bzg@altern.org>
406 * org-protocol.el (org-protocol-default-template-key): New
409 * org.el (org-refile): Bugfix: save-excursion before reading the
410 refile target, otherwise cursor moves might confuse `org-refile'.
412 * org-html.el (org-export-as-html): Bugfix: correctly convert the
413 footnote reference before the footnote itself.
415 * org.el (org-toggle-heading): Bugfix: correctly convert list
416 items before the first headline.
418 * org-html.el (org-export-html-footnote-format): New option for
419 formatting the footnote reference.
420 (org-export-as-html): Use the new option.
422 * org.el (org-provide-todo-statistics): Allow a list of TODO
423 keywords to compute statistics against headlines containing a
424 keyword from this list.
425 (org-update-parent-todo-statistics): Possibly use the new allowed
426 value of `org-provide-todo-statistics'.
428 2009-07-26 Bastien Guerry <bzg@altern.org>
430 * org-timer.el: Add autoload cookie.
432 * org.el (org-occur-link-in-agenda-files): New function.
434 * org-timer.el (org-timer-last-timer): New variable.
436 * org-agenda.el (org-agenda-mode-map): New key for
437 org-timer-set-timer called from the agenda.
439 * org.el (org-mode-map): New key for org-timer-set-timer.
441 * org-timer.el (org-timer-reset-timers)
442 (org-timer-show-remaining-time, org-timer-set-timer): New
445 * org-clock.el (org-show-notification): Update the docstring.
447 * org.el (org-provide-todo-statistics): Allow new value
448 'all-headlines for this option, which includes entries with no
449 TODO keywords in the todo statistics.
450 (org-update-parent-todo-statistics): Possibly use the new
451 'all-headline value from `org-provide-todo-statistics'.
453 2009-07-25 Bastien Guerry <bzg@altern.org>
455 * org-clock.el (org-dblock-write:clocktable): Add a new option
456 :timestamp which allows display of timestamps in clock reports.
458 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
459 list to a subtree, preserving the structure of the list.
460 (org-set-emph-re): Make the last element optional in the regexp.
461 This regexp now matches an emphasized string at the end of a line.
463 * org-list.el (org-list-goto-true-beginning)
464 (org-list-make-subtree, org-list-make-subtrees): New functions.
466 * org.el (org-eval-in-calendar): Select the right frame.
467 (org-save-frame-excursion): Remove this macro.
469 2009-07-24 Bastien Guerry <bzg@altern.org>
471 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
472 trying to find the beginning of a list.
474 * org-exp.el (org-get-file-contents): Use a new argument: markup.
475 When present, tell org-get-file-contents not to protect org-like
478 * org-id.el (org-id-uuid-program): New option to set the name of
480 (org-id-method): Use `org-id-uuid-program'.
481 (org-id-new): Use `org-id-uuid-program'.
483 2009-07-23 Bastien Guerry <bzg@altern.org>
485 * org-exp.el (org-export-number-lines): Allow whitespace in code
486 references. Allow the -r switch to remove the references in the
487 source code even when the lines are not numbered: the labels can
490 * org.el (org-fontify-whole-heading-line): New option.
491 (org-set-font-lock-defaults): Use the new option.
493 * org-clock.el (org-show-notification-handler): New option.
494 (org-show-notification): Use the new option.
496 2009-07-21 Bastien Guerry <bzg@altern.org>
498 * org.el (org-eval-in-calendar): Fix a bug about calendar
499 navigation when `calendar-setup' value is 'calendar-only.
501 2009-07-19 Bastien Guerry <bzg@altern.org>
503 * org.el (orgstruct++-mode): Fix typo in docstring.
504 (org-insert-link): Clean up: (or (...)) => (...)
505 (org-insert-link): Use TAB for stored links completion.
507 2009-07-18 Bastien Guerry <bzg@altern.org>
509 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
510 building the list of targets.
512 * org-remember.el (org-remember-delete-empty-lines-at-end): New
514 (org-remember-handler): Use the new option.
516 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
518 * org.el (org-tags-sort-function): New option for sorting tags.
519 (org-set-tags): Use the new option to sort tags.
521 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
522 premature deletion of the data when using org-plot in a script.
524 2009-07-17 Bastien Guerry <bzg@altern.org>
526 * org-clock.el (org-clock-in-prepare-hook): New hook.
527 (org-clock-in): Use this new hook.
529 2009-07-16 Bastien Guerry <bzg@altern.org>
531 * org.el (org-special-ctrl-a/e): Explicitely bind the value
532 'reversed for this option to the "true line boundary first"
534 (org-tags-match-list-sublevels): Document the 'indented value for
537 * org-latex.el (org-export-latex-first-lines): Fix problem with
538 publishing the region.
540 * org-exp.el (org-export-format-source-code-or-example): Fix
541 bad line numbering when exporting examples in HTML.
543 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
545 * org-colview.el (org-format-time-period): Formats a time in
546 fractional days as days, hours, mins, seconds.
547 (org-columns-display-here): Add special handling for SINCE and
548 SINCE_IA to format for display.
550 * org.el (org-time-since): Add a function to get the time since an
552 (org-entry-properties): Add two new special properties: SINCE and
553 SINCE_IA. These give the time since any active or inactive
554 timestamp in an entry.
555 (org-special-properties): Add SINCE, SINCE_IA.
556 (org-tags-sort-function): Add custom declaration for tags
558 (org-set-tags): Sort tags if org-tags-sort-function is set
560 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
562 * org-clock.el (org-clock-goto): Find hidden headlines as well.
564 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
566 * org-plot.el (org-plot/add-options-to-plist): Add timeind
569 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
571 * org-publish.el (org-publish-remove-all-timestamps): New function.
572 (org-publish-all): Remove all timestamp files if `org-publish-all'
573 is called with a prefix argument.
575 * org-list.el (org-indent-item): Fix typo.
576 (org-item-indent-positions): Normalize ordered bullet.
578 * org-html.el (org-export-html-home/up-format): New option.
579 (org-export-as-html): Insert the up and HOME links.
581 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
583 * org-html.el (org-export-as-html): Insert the title into the
585 (org-export-html-insert-plist-item): New function.
586 (org-export-as-html): Call `org-export-html-insert-plist-item'.
588 * org-macs.el (org-set-local): Make a local variable, do not make
589 the variable buffer-local!
591 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
593 * org-html.el (org-export-as-html): Call `org-install-letbind'.
595 * org-docbook.el (org-export-as-docbook): Call
596 `org-install-letbind'.
598 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
600 * org-exp.el (org-infile-export-plist): Read BIND lines.
601 (org-install-letbind): New function.
602 (org-export-as-org, org-export-preprocess-string): Call
603 `org-install-letbind'.
605 * org-src.el (org-edit-src-exit): Untabify the example before
608 * org-list.el (org-list-demote-modify-bullet): New option.
609 (org-first-list-item-p): Save point.
610 (org-fix-bullet-type): New optional argument FORCE-BULLET.
611 (org-indent-item): Honor `org-list-demote-modify-bullet'.
612 (org-item-indent-positions): Return bullet types along with
615 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
617 * org.el (org-show-entry): Hide drawers.
619 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
621 * org-footnote.el (org-footnote-auto-adjust): New option.
622 (org-footnote-auto-adjust-maybe): New function.
623 (org-footnote-new, org-footnote-delete): Call
624 `org-footnote-auto-adjust-maybe'.
626 * org.el (org-startup-options): Add new footnote-related
629 * org-publish.el (org-publish-timestamp-filename): Additional
630 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
631 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
632 TRUE-PUB-DIR. Pass them through to
633 `org-publish-timestamp-filename'.
634 (org-publish-update-timestamp): Additional arguments PUB-DIR and
635 PUB-FUNC, which are included in the hash.
636 (org-publish-file): Delay timestamp test until the publishing
639 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
641 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
642 setting the deadline.
644 * org.el (org-read-date-final-answer): New variable.
645 (org-read-date): Store the final answer string, including the date
646 from the calendar, for reuse by agenda bulk commands.
648 * org-publish.el (org-publish-attachment): Fix publishing of
651 * org-latex.el (org-export-latex-quotation-marks): Fix export of
652 quotation makrs in parenthesis.
653 (org-remove-initial-hash): New function.
654 (org-export-latex-preprocess): Fix bug with infinite loop if
655 environment is not properly closed.
657 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
660 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
661 highlight also when indented.
663 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
665 * org-footnote.el (org-footnote-renumber-fn:N): New command.
666 (org-footnote-action): Offer renumbering.
668 * org.el (org-cycle): Honor the `integrate' value of
669 org-cycle-include-plain-lists'.
671 * org-list.el (org-cycle-include-plain-lists): New allowed value
672 `internal'. Improve the docstring.
674 * org.el (org-set-autofill-regexps): Improve the paragraph-start
675 regexp to work better with LaTeX commands.
677 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
679 * org-feed.el (org-feed-update): fix problem with non-existing
681 (org-feed-skip-http-headers): New function.
682 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
683 (org-feed-get-feed): Fix command line arguments for curl.
685 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
687 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
690 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
692 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
695 * org.el (org-map-entries): No longer force
696 `org-tags-match-list-sublevels' to t during a todo-only tags
699 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
701 * org-latex.el (org-export-latex-low-levels): Allow user-defined
703 (org-export-latex-subcontent): Handle user-defined environment.
705 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
708 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
711 * org-latex.el (org-export-as-pdf): Protect match data during call
712 to shell-quote-argument.
714 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
715 (org-agenda-view-mode-dispatch): New function.
717 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
719 * org-agenda.el (org-agenda-mode): Reset list of marks.
720 (org-agenda-mode-map): Define new keys for refile and bulk action.
721 (org-agenda-menu): Add menu itesm for refile and bulk action.
722 (org-agenda-refile): New function.
723 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
724 (org-agenda-marked-entries): New variable.
725 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
726 (org-agenda-remove-all-bulk-action-marks)
727 (org-agenda-bulk-action): New functions/commands.
729 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
731 * org-exp.el (org-get-file-contents): Protect org-like lines in
733 (org-export-format-source-code-or-example): Remove newlines.
735 * org-latex.el (org-export-latex-links): Check for no-description
738 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
739 argument separator back to comma.
740 (org-export-normalize-links): Mark links without description.
742 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
744 * org-exp.el (org-infile-export-plist): Fix bug in macro
747 * org-agenda.el (org-agenda-clock-out): Update line after clocking
749 (org-agenda-highlight-todo): Fix bug with highlighting.
751 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
753 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
754 new alignment strings.
756 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
758 (org-table-align): Check for forced align type.
760 * org.el (org-self-insert-command): Add yas/expand to command
763 * org-clock.el (org-clock-in-hook): New hook.
764 (org-clock-in): Run `org-clock-in-hook.
765 (org-clock-out-hook): New hook.
766 (org-clock-out): Run `org-clock-out-hook.
767 (org-clock-cancel-hook): New hook.
768 (org-clock-cancel): Run `org-clock-cancel-hook.
769 (org-clock-goto-hook): New hook.
770 (org-clock-goto): Run `org-clock-goto-hook.
772 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
774 * org.el (org-store-link): Better default description for link to
777 * org-exp.el (org-export-generic): Autoload the generic exporter
779 (org-export): Implement the `g' key for the generic exporter.
781 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
783 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
786 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
788 * org-exp.el (org-infile-export-plist): Get macros also from
791 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
793 * org-colview.el (org-columns-capture-view): Protect vertical bars
795 (org-columns-capture-view): Exclude comment and archived trees.
797 * org-colview-xemacs.el (org-columns-capture-view): Protect
798 vertical bars in column values.
799 (org-columns-capture-view): Exclude comment and archived trees.
801 * org.el (org-quote-vert): New function.
803 * org-latex.el (org-export-latex-verbatim-wrap): New option.
805 * org-exp.el (org-export-format-source-code-or-example): Use
806 `org-export-latex-verbatim-wrap'.
808 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
811 * org-html.el (org-export-table-row-tags): New option.
812 (org-format-org-table-html): Rename `nlines' to `nline', use new
816 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
818 * org-exp-blocks.el: Declare functions and variables.
820 * org-remember.el (org-remember-templates): Allow the headline
821 element to be a function.
822 (org-remember-apply-template): If the headline is a function, call
823 it to get the true function.
825 * org-clock.el (org-clock-menu): New function.
826 (org-clock-update-mode-line): Update help string.
827 (org-clock-modify-effort-estimate): New function.
828 (org-clock-mark-default-task): New function.
830 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
832 (org-org-menu): Add new clocking stuff.
833 (org-clock-is-active): New function.
835 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
837 * org.el (org-open-non-existing-files): Improve docstring.
839 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
841 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
843 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
845 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
847 * org-list.el (org-get-checkbox-statistics-face): Use the new
850 * org-faces.el (org-checkbox-statistics-todo)
851 (org-checkbox-statistics-done): New faces.
853 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
855 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
856 (org-edit-src-exit): Better cursor positioning when returning from
859 * org-latex.el (org-export-latex-use-verb): New variable.
860 (org-export-latex-emph-format): Prefer \texttt over \verb when
861 org-export-latex-use-verb is set.
863 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
865 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
866 at normal indentation.
868 * org-html.el (org-export-html-close-lists-maybe): Also look at
871 * org-remember.el (org-remember-handler): Abort remember if the
874 * org-src.el (org-edit-src-content-indentation): New option.
875 (org-edit-src-exit): Apply extra indentation.
877 * org-exp.el (org-export-format-source-code-or-example): Run
880 * org-src.el (org-src-mode-hook): New variable.
881 (org-edit-src-code): Run `org-src-mode-hook'.
883 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
885 * org.el (org-indent-line-function): Fix indentation of +#end lines.
887 * org-src.el (org-edit-src-get-indentation): New function.
888 (org-edit-src-code): Base indentation on the begin line.
890 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
892 * org-gnus.el (org-gnus-store-link): Require message.el in
895 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
897 * org-src.el: New file, split out of org.el
899 * org-docbook.el (org-export-as-docbook): Better indentation
902 * org-macs.el (org-replace-match-keep-properties): New function.
904 * org-exp.el (org-export-mark-blockquote-verse-center): Better
905 preprocessing of center and quote and verse blocks.
907 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
908 (org-export-as-docbook): Close lists when original indentation
911 * org-html.el (org-export-html-close-lists-maybe): New function.
912 (org-export-as-html): Close lists when original indentation
915 * org-list.el (org-list-end): Respect the stored "original"
916 indentation when determining the end of the list.
918 * org-exp.el (org-export-replace-src-segments-and-examples):
919 Remember indentation correctly.
921 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
923 * org-clock.el (org-clock-update-mode-line): Apply face
926 * org-faces.el (org-mode-line-clock): New face.
928 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
930 * org-gnus.el (org-gnus-store-link): Fix bug where
931 `org-gnus-store-link' used wrong subject when called in an article
932 buffer. Patch provided by fengli AT gmail DOT com.
934 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
936 * org-exp.el (org-export-format-source-code-or-example): Remember
937 the original indentation of source code snippets and examples.
939 * org-latex.el (org-export-as-latex): Relocate the table of
942 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
944 * org-agenda.el (org-run-agenda-series): Scope global options also
945 when creating the agenda buffer.
947 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
949 * org.el (org-adapt-indentation): Improve documentation.
950 (org-insert-property-drawer): Respect org-adapt-indentation when
951 inserting the drawer.
952 (org-remove-flyspell-overlays-in): New function.
953 (org-do-emphasis-faces, org-activate-plain-links)
954 (org-activate-code, org-fontify-meta-lines-and-blocks)
955 (org-activate-angle-links, org-activate-footnote-links)
956 (org-activate-bracket-links, org-activate-dates)
957 (org-activate-target-links, org-activate-tags): Remove flyspell
960 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
962 * org.el (org-edit-src-save): New function.
964 * org-clock.el (org-clock-out-switch-to-state): New option.
965 (org-clock-out): Honor `org-clock-out-switch-to-state'.
967 * org-compat.el (org-compatible-face): Improve macro.
969 * org.el (org-global-properties-fixed): Add default for
970 CLOCK_MODELINE_TOTAL.
972 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
974 (org-clock-sum-current-item): Optional argument TSTART, pass it to
976 (org-clock-get-sum-start): New function.
978 * org.el (org-startup-options): New keywords blockhide and
980 (org-mode): Add new invisibility spec.
981 (org-set-startup-visibility): Hide block on startup if so
983 (org-hide-block-startup): New option.
984 (org-block-regexp): New constant.
985 (org-hide-block-overlays): New variable.
986 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
987 (org-show-block-all, org-hide-block-toggle-maybe)
988 (org-hide-block-toggle): New functions.
989 (org-edit-src-exit): Do not quote lines starting with # and no +
991 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
994 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
996 * org.el (org-buffer-property-keys): Add Effort property for
999 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
1001 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1002 when retrieving total clocked time in the subtree.
1004 * org.el (org-quoting-blocks): New variable.
1006 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1008 * org-table.el (org-table-store-formulas)
1009 (org-table-get-stored-formulas, org-table-fix-formulas)
1010 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1011 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1013 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1014 indented #+TBLFM line.
1016 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1017 indented #+TBLFM line.
1019 * org-colview.el (org-dblock-write:columnview): Allow indented
1022 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1023 indented #+TBLFM line.
1025 * org-clock.el (org-dblock-write:clocktable): Allow indented
1028 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
1030 * org-exp.el (org-export-format-source-code-or-example): Make
1031 editing indented blocks work correctly.
1033 * org.el (org-edit-src-nindent): New variable.
1034 (org-edit-src-code, org-edit-fixed-width-region)
1035 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1036 editing indented blocks work correctly.
1038 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
1040 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1042 (org-export-format-source-code-or-example): Fix indentation of
1044 (org-export-remove-indentation): New function.
1045 (org-export-select-backend-specific-text): Allow backend-specific
1046 code to be indented.
1047 (org-export-mark-blockquote-verse-center): Allow markers to be
1050 * org.el (org-fontify-meta-lines): New function.
1051 (org-set-font-lock-defaults): Call the new fontification
1054 * org-faces.el (org-meta-line): New face
1055 (org-block): New face.
1057 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1059 * org.el (org-treat-insert-todo-heading-as-state-change)
1060 (org-treat-S-cursor-todo-selection-as-state-change): New
1062 (org-insert-todo-heading): Honor
1063 `org-treat-insert-todo-heading-as-state-change'.
1064 (org-shiftright, org-shiftleft): Honor
1065 `org-treat-S-cursor-todo-selection-as-state-change'.
1066 (org-inhibit-logging): New variable.
1068 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
1070 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1071 range for marker position checking.
1073 * org-latex.el (org-export-latex-first-lines): Fix bug when
1076 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
1078 * org-exp.el (org-export-push-to-kill-ring): Protect using
1079 x-set-selection, because that does not always work.
1081 * org-agenda.el (org-agenda-list): Apply the new face
1082 `org-agenda-date-today'.
1084 * org-faces.el (org-agenda-date-today): New face.
1086 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
1088 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1089 creating appointments.
1091 * org-latex.el (org-export-latex-low-levels): Fix customization
1094 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1097 * org-agenda.el (org-agenda-priority): Disable priority commands.
1099 * org.el (org-enable-priority-commands): New option.
1101 * org-colview-xemacs.el (org-columns-compute)
1102 (org-columns-number-to-string): Fix problems with empty fields.
1104 * org-colview.el (org-columns-compute)
1105 (org-columns-number-to-string): Fix problems with empty fields.
1107 * org-exp.el (org-export-push-to-kill-ring): New function.
1108 (org-export-copy-to-kill-ring): New option.
1110 * org-latex.el (org-export-as-latex): Call
1111 `org-export-push-to-kill-ring'.
1113 * org-html.el (org-export-as-html): Call
1114 `org-export-push-to-kill-ring'.
1116 * org-docbook.el (org-export-as-docbook): Call
1117 `org-export-push-to-kill-ring'.
1119 * org-ascii.el (org-export-as-ascii): Call
1120 `org-export-push-to-kill-ring'.
1122 * org-exp.el (org-export-show-temporary-export-buffer): New
1125 * org-latex.el (org-export-as-latex): Use
1126 `org-export-show-temporary-export-buffer'.
1128 * org-html.el (org-export-as-html): Use
1129 `org-export-show-temporary-export-buffer'.
1131 * org-docbook.el (org-export-as-docbook): Use
1132 `org-export-show-temporary-export-buffer'.
1134 * org-ascii.el (org-export-as-ascii-to-buffer): Use
1135 `org-export-show-temporary-export-buffer'.
1137 * org-exp.el (org-export-show-temporary-export-buffer): New
1139 (org-export-push-to-kill-ring): New function.
1141 * org-colview.el (org-columns-compile-map): New variable.
1142 (org-columns-new, org-columns-compute)
1143 (org-columns-number-to-string, org-columns-uncompile-format)
1144 (org-columns-compile-format): Implement new operators.
1146 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
1148 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1150 * org-html.el (org-export-html-xml-declaration): New option.
1151 (org-export-as-html): Use `org-export-html-xml-declaration'.
1153 * org-list.el (org-update-checkbox-count): Make property
1156 * org.el (org-hierarchical-todo-statistics): New option.
1157 (org-update-parent-todo-statistics): Modified to handle recursive
1160 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
1162 * org-publish.el (org-publish): Make this function behave
1163 correctly in interactive use when called with a prefix argument.
1165 * org.el (org-todo-statistics-hook): New hook.
1166 (org-update-parent-todo-statistics): Use new hook.
1167 (org-log-into-drawer): New function.
1168 (org-add-log-setup): Use the new `org-log-into-drawer' function to
1169 determine if we should be logging into a drawer.
1170 (org-log-into-drawer): Update docstring.
1171 (org-default-properties): Add LOG_INTO_DRAWER as a property.
1173 * org-list.el (org-checkbox-statistics-hook): New hook.
1174 (org-update-checkbox-count-maybe): Use new hook.
1176 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1177 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1180 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
1182 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1185 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
1187 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1188 better bufer-generating mechanism.
1189 (org-edit-src-find-buffer): New function.
1191 * org-icalendar.el (org-print-icalendar-entries): Don't check for
1192 archive tag, this is already done by `org-agenda-skip'.
1193 data while constructing lost of tags.
1195 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
1197 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1198 as argument separator in macros.
1200 * org-html.el (org-export-as-html): Add xml declaration.
1202 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
1204 * org.el (org-after-sorting-entries-or-items-hook): New hook.
1205 (org-sort-entries-or-items): Run the new hook.
1206 (org-after-refile-insert-hook): New hook.
1207 (org-refile): Run `org-after-refile-insert-hook'.
1209 * org-agenda.el (org-agenda-get-progress): Never take time of day
1210 from headline when displaying progress.
1212 * org-latex.el (org-export-latex-complex-heading-re): New variable.
1213 (org-export-as-latex): Force the correct regexp in the
1214 preprocessor buffer.
1215 (org-export-latex-set-initial-vars): Set
1216 `org-export-latex-complex-heading-re'.
1218 * org-agenda.el (org-agenda-start-with-log-mode): New option.
1219 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1221 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
1223 * org-latex.el (org-export-latex-tables-centered): New option.
1224 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1226 * org-exp.el (org-export-as-org): New command.
1227 (org-export-as-org): New command.
1229 * org-publish.el (org-publish-org-to-org): New function.
1231 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
1233 * org.el (org-yank): Just call `org-yank-generic'.
1234 (org-yank-generic): New function, containing the formaer
1235 functionality of `org-yank'.
1237 * org-latex.el (org-export-latex-not-done-keywords)
1238 (org-export-latex-done-keywords): New variables.
1239 (org-export-latex-todo-keyword-markup): New option.
1240 (org-export-latex-set-initial-vars): Remember the TODO keywords.
1241 (org-export-latex-keywords-maybe): Apply the TODO markup.
1243 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
1245 * org-exp.el (org-infile-export-plist): Add more default macros.
1246 (org-export-preprocess-apply-macros): Process macro arguments.
1248 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
1250 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1252 (org-print-icalendar-entries): Respect the new value of
1253 `org-icalendar-include-todo'.
1255 * org.el (org-link-try-special-completion)
1256 (org-file-complete-link): New functions.
1257 (org-insert-link): Add special completion support for some link
1260 * org-bbdb.el (org-bbdb-complete-link): New function.
1262 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
1264 * org-list.el (org-update-checkbox-count): Allow recursive
1266 (org-hierarchical-checkbox-statistics): New option.
1268 * org.el (org-cycle): Remove erraneous space character.
1270 * org-icalendar.el (org-icalendar-timezone): Initialize from
1273 * org-html.el (org-format-org-table-html): Specify the scope.
1274 (org-format-table-table-html): Specify the scope.
1275 (org-export-table-header-tags): Prepare the scope parameter.
1277 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
1280 (org-export-html-table-use-header-tags-for-first-column): New
1283 * org.el (org-autoload): Fix autoloading of ascii export
1285 (org-modules): Add org-special-blocks.
1287 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
1289 * org-icalendar.el (org-start-icalendar-file): Use the new option.
1290 (org-ical-timezone): New option.
1292 * org-exp.el (org-export-get-coderef-format): Use the description
1295 * org.el (org-sort-entries-or-items): Improve docstring, and make
1296 better implementation for time sorting.
1298 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
1300 * org.el (org-edit-src-persistent-message): New option.
1301 (org-edit-src-code, org-edit-fixed-width-region): Use the new
1304 * org-clock.el (org-clock-insert-selection-line): Fix prefious
1307 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1308 separate buffer instead of indirect buffer to edit source code.
1309 (org-edit-src-exit): Make this function work with the new setup.
1311 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1312 are properly fontified before shown in the selection menu.
1314 * org.el (org-fontify-like-in-org-mode): New function.
1316 * org-latex.el (org-export-latex-links): Use the property list to
1317 retrieve the default image attributes.
1319 * org-exp.el (org-export-plist-vars): Add a new option.
1321 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
1323 * org-exp.el (org-export, org-export-visible): Support ASCII
1325 (org-export-normalize-links): Do not protect the description if it
1326 is explicitly given.
1328 * org-ascii.el (org-export-as-ascii-to-buffer)
1329 (org-replace-region-by-ascii, org-export-region-as-ascii): New
1331 (org-export-as-ascii): Add all the same parameters that are also
1332 supported by the other export functions.
1334 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1336 (org-reset-checkbox-state-subtree): Call
1337 `org-reset-checkbox-state-subtree'.
1339 * org-remember.el (org-select-remember-template): For the
1340 selection of a valid template.
1342 * org-latex.el (org-export-region-as-latex): Supply the
1343 force-no-subtree argument.
1344 (org-export-as-latex): Provide better limits when exporting the
1345 first line. When exporting to string, we still want the first
1347 (org-export-latex-first-lines): New argument END, to force the end
1349 (org-export-region-as-latex): Use the property list.
1350 (org-export-as-latex):
1352 * org-colview-xemacs.el (org-columns-remove-overlays)
1353 (org-columns): Fix call to `local-variable-p'.
1355 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
1357 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1358 (org-export-as-html): Run the new hook.
1360 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1361 (org-export-latex-preprocess): Run the new hook.
1363 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1364 (org-export-preprocess-string): Run the new hook.
1366 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
1368 * org-macs.el (org-check-external-command): New defsubst.
1370 * org.el (org-mode-map): New key for reload.
1371 (org-format-latex): Better error message when external programs
1374 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1376 * org.el (org-sort-entries-or-items): Explicit sorting function
1377 for priorities, needed for XEmacs compatibility.
1379 * org-remember.el (org-remember-apply-template): Improve auto-save
1382 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
1384 * org-latex.el (org-export-latex-preprocess): Also protect
1385 environments ending in a star.
1387 * org-list.el (org-at-item-p): Fix regular expression.
1389 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
1391 * org.el (org-end-of-subtree): Improve speed.
1393 * org-agenda.el (org-agenda-get-timestamps)
1394 (org-agenda-get-progress, org-agenda-get-deadlines)
1395 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1396 in particular, wait as long as possible to collect the tags.
1397 (org-stuck-projects): Improve docstring.
1399 * org.el (org-store-link): No errors when getting custom id before
1401 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1403 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
1405 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1407 * org-protocol.el: Remove dependency on url.el.
1408 (org-protocol-unhex-compound, org-protocol-open-source): Remove
1409 dependency on url.el.
1411 * org-latex.el (org-export-as-pdf): Use
1412 `org-latex-to-pdf-process'.
1414 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
1416 * org-latex.el (org-latex-to-pdf-process): New option.
1418 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1420 (org-agenda-get-timestamps): Honor
1421 `org-agenda-skip-additional-timestamps-same-entry'.
1423 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1424 (org-clock-goto): Find recent task only if
1425 `org-clock-goto-may-find-recent-task' allows it.
1427 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1428 drawers, and drawers that are missing the :END: line.
1430 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1432 * org-clock.el (org-clock-goto): Go to recently clocked task if no
1435 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1437 * org.el (org-update-parent-todo-statistics): Check for
1438 STATISTICS_FROM property.
1440 * org-list.el (org-update-checkbox-count): Check for
1441 STATISTICS_FROM property.
1443 * org.el (org-tab-first-hook)
1444 (org-tab-after-check-for-table-hook)
1445 (org-tab-after-check-for-cycling-hook): New hooks.
1446 (org-cycle-internal-global, org-cycle-internal-local): New
1447 functions, split out from `org-cycle'.
1448 (org-cycle): Call the new hooks.
1450 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
1452 * org-exp.el (org-export-preprocess-string): Reset the list of
1453 preferred targets for each run of the preprocessor.
1455 * org.el (org-refile-target-verify-function): Improve
1457 (org-get-refile-targets): Respect point being moved by the
1458 verification function.
1460 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1462 (org-export-latex-keywords): Use new option.
1464 * org.el (org-rear-nonsticky-at): New defsubst.
1465 (org-activate-plain-links, org-activate-angle-links)
1466 (org-activate-footnote-links, org-activate-bracket-links)
1467 (org-activate-dates, org-activate-target-links)
1468 (org-activate-tags): Place the rear-nonsticky properties at the
1471 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
1473 * org-protocol.el (server-edit): Declare `server-edit'.
1474 (org-protocol-unhex-string, org-protocol-unhex-compound): New
1476 (org-protocol-check-filename-for-protocol): Call `server-edit'.
1478 * org.el (org-default-properties): New default properteis for
1481 * org-exp.el (org-export-add-subtree-options): Add new properties
1484 * org-docbook.el (org-export-docbook-keywords-markup)
1485 (org-export-docbook-timestamp-markup): New options.
1486 (org-export-docbook-protect-tags): New function.
1488 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
1490 * org-id.el (org-id-get-with-outline-path-completion): Turn off
1491 org-refile-target-verify-function for the duration of the command.
1493 * org.el (org-link-to-org-use-id): New possible value
1494 `create-if-interactive-and-no-custom-id'.
1495 (org-store-link): Use custom IDs.
1496 (org-link-search): Find custom ID properties from #link.
1497 (org-default-properties): Add CUSTOM_ID for property completion.
1498 (org-refile-target-verify-function): New option.
1499 (org-goto): Turn off org-refile-target-verify-function
1500 for the duration of the command.
1502 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
1504 * org-html.el (org-export-as-html): Use custom IDs in the toc.
1506 * org-exp.el (org-export-preferred-target-alist): New variable.
1507 (org-export-define-heading-targets): Find the new CUSTOM_ID
1509 (org-export-target-internal-links): Target the custom ids when
1512 * org-latex.el (org-export-latex-preprocess): Better regexp for
1513 matching latex macros with arguments.
1515 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
1517 * org-remember.el (org-remember-handler): Allow filing to non-org
1520 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
1522 * org-feed.el (org-feed-alist): New keyword options.
1523 (org-feed-update): Use the new options.
1524 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1525 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1526 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1529 * org-table.el (org-table-fix-formulas): Do not change references
1531 (org-table-get-remote-range): Convert standard coordinates to RC
1534 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1536 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
1538 * org-compat.el (org-sha1-string): Function removed.
1540 * org.el (org-refile-allow-creating-parent-nodes): New option.
1541 (org-refile-get-location): New argument NEW-NODES.
1542 (org-refile): Call `org-refile-get-location' with the new
1544 (org-refile-get-location): Arrange for adding a new child.
1545 (org-refile-new-child): New function.
1547 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1548 an additional span element.
1550 * org-clock.el: Fix a number of docstrings.
1551 (org-clock-find-position): New argument
1552 FIND-UNCLOSED to make the function find an unclosed clock in the
1554 (org-clock-in): Call `org-clock-find-position' with the new
1555 argument if we might be resuming a clock.
1557 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
1559 * org-latex.el (org-export-latex-display-custom-times): New variable.
1560 (org-export-latex-timestamp-markup): New option.
1561 (org-export-latex-set-initial-vars): Remember the local value of
1562 `org-display-custom-times'.
1563 (org-export-latex-content): Process time stamps.
1564 (org-export-latex-time-stamps): New function.
1566 * org-macs.el (org-maybe-intangible): Add intangible property
1567 again to invisible text.
1569 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
1571 * org-exp.el (org-default-export-plist): Handle undefined
1574 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
1576 * org.el (org-sort-entries-or-items): Match TODO keywrds
1577 case-sensitively, when sorting.
1578 (org-priority): Do not match TODO keywords with wrong case.
1580 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
1582 * org-feed.el (org-feed-update): Bind the variable
1585 * org-html.el (org-export-as-html): Start paragraphs after literal
1588 * org-docbook.el (org-export-as-docbook): Start paragraphs after
1591 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
1593 * org.el (org-todo): Honor the NOBLOCKING property.
1595 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1596 NOBLOCKING property.
1598 * org.el (org-scan-tags): Fix bug in tag scanner
1600 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
1602 * org.el (org-modules): Mark obsolete packages.
1604 * org-html.el: New file, split out from org-exp.el.
1606 * org-icalendar.el: New file, split out from org-exp.el.
1608 * org-xoxo.el: New file, split out from org-exp.el.
1610 * org-ascii.el: New file, split out from org-exp.el.
1612 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
1614 * org-compat.el (org-find-library-name): New function.
1616 * org.el (org-pre-cycle-hook): New hook.
1617 (org-cycle): Call the new hook in appropriate places.
1618 (org-reload): Only reload files that have been loaded before.
1620 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
1622 * org.el (org-set-font-lock-defaults): Enforxe space or line end
1624 (org-todo): When changing TODO state, do matching
1626 (org-map-continue-from): New variable.
1627 (org-scan-tags): Respect values in `org-map-continue-from'.
1628 (org-reload): Make XEmacs compatible.
1630 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
1632 * org-protocol.el (org-protocol-flatten-greedy): New function.
1633 (org-protocol-flatten): New function.
1635 * org.el (org-open-link-from-string): Pass reference buffer to
1636 `org-open-at-point'.
1637 (org-open-at-point): New optional argument `reference-buffer'.
1639 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
1641 * org.el (org-scan-tags): Make tag scan find headline in first
1643 (org-get-refile-targets): Add the naked file name.
1644 (org-refile): Store as top-level entry when only file name was
1647 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1649 * org.el (org-block-todo-from-children-or-siblings-or-parent):
1650 Renamed from org-block-todo-from-children-or-siblings, and
1651 enhanced to look for the parent's status as well.
1653 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1654 (org-agenda-get-progress): Add first notes line to log entry if so
1657 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
1659 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1660 (org-agenda-cleanup-fancy-diary): Call the new hook.
1662 * org-remember.el (org-remember-apply-template): Take the default
1663 for the annotation from the :annotation property.
1665 * org-mac-message.el (org-mac-message-get-link): Remove the
1667 (org-mac-message-get-link): Return the result.
1669 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
1671 * org.el (org-refile-get-location): Add file name only if not
1672 already included in outline path.
1674 * org-faces.el (org-n-level-faces): Fix customization type from
1677 * org-exp.el (org-export-headline-levels): Fix customization type
1678 from number to integer.
1680 * org-agenda.el (org-agenda-confirm-kill)
1681 (org-agenda-custom-commands-local-options)
1682 (org-timeline-show-empty-dates, org-agenda-ndays)
1683 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1684 customization type from number to integer.
1686 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
1688 * org-protocol.el: Declare some functions.
1690 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1691 postion before inserting modified headline.
1693 * org-agenda.el (org-agenda-compare-effort): Honor
1694 `org-sort-agenda-noeffort-is-high'.
1695 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1696 (org-agenda-compare-effort): Implement the "?" operator for
1697 finding entries without effort setting.
1699 * org.el (org-extract-attributes-from-string): New function.
1701 * org-exp.el (org-export-splice-attributes): New function.
1703 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
1705 * org-mouse.el: XEmacs compatibility fixes
1707 * org-docbook.el (org-export-as-docbook): Process footnotes like
1710 * org.el (org-modules): Add org-inlinetasks.el
1711 (org-cycle): Implement limiting level on cycling.
1712 (org-move-subtree-down): Fix bug with swapping subtrees at end of
1715 * org-inlinetask.el: New file.
1717 * org.el (org-emphasis-regexp-components): Allow braces in
1718 emphasis pre and post match.
1720 * org-footnote.el (org-footnote-normalize): When only dorting, do
1721 not insert inline notes at the end.
1723 * org-docbook.el (org-id-find-id-file): Add function declaration.
1725 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1727 * org-docbook.el: New file.
1729 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
1731 * org.el (org-reftex-citation): New command.
1733 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
1735 * org-agenda.el (org-agenda-cmp-user-defined): New option.
1736 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1738 (org-entries-lessp): Apply the new sorting option.
1740 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1741 blocker code, when an older sibling has children.
1743 * org-mac-message.el (org-mac-message-get-link): Improve getting
1744 links from multiple selected messages.
1746 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
1748 * org-remember.el (org-remember-finalize): Do not set buffer file
1750 (org-remember-handler): Mark buffer as unmodified.
1751 (org-remember-handler): Delete backup file and show message about
1752 remaining backup files.
1753 (org-remember-auto-remove-backup-files): New option.
1755 * org.el (org-store-link): Use buffer name as link description in
1757 (org-ido-switchb): Fix argument bug for completion.
1759 * org-remember.el (org-remember-apply-template): Set local
1760 variable `auto-save-visited-file-name' instead of global one.
1762 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
1764 * org-feed.el: Re-write.
1766 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1767 (org-agenda-get-todos): Mark file tags as inherited.
1768 (org-agenda-list): Always search diary lines for a time.
1770 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
1772 * org-feed.el (org-feed-assume-stable): New option.
1773 (org-feed-before-adding-hook): New hook.
1775 * org-exp.el (org-export-as-html): Close local lists depending on
1776 indentation, also when starting a table.
1778 * org-remember.el (org-remember-backup-directory)
1779 (org-remember-backup-name): New internal variable.
1781 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
1783 * org-clock.el (org-clock-out-if-current): Make buffer detection
1784 work in indirect buffers as well.
1786 * org.el (org-emphasis-regexp-components): Add the exxclamation
1787 mark to the post-emphasis characters.
1789 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
1791 * org.el (org-read-date-minibiffer-septup-hook): New hook.
1792 (org-read-date): Run the new hook.
1794 * org-mac-message.el (org-mac-flagged-mail): New group.
1795 (org-mac-mail-account): New variable.
1796 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1799 * org-remember.el (org-remember-backup-directory): New variable.
1800 (org-remember-apply-template): Write file to backup directory.
1802 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
1804 * org-mouse.el (org-mouse-todo-menu): New function.
1805 (org-mouse-todo-keywords): Function removed.
1806 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1808 * org-table.el (org-table-beginning-of-field)
1809 (org-table-end-of-field): New commands
1810 (org-table-previous-field, org-table-beginning-of-field): Better
1812 (orgtbl-setup): Include `M-a' and `M-e'.
1814 * org.el (org-backward-sentence, org-forward-sentence): New
1817 * org-colview.el (org-colview-initial-truncate-line-value): New
1819 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1820 (org-columns): Remember the value of `truncate-lines'.
1822 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1824 (org-columns-remove-overlays): Restore the value of
1826 (org-columns): Remember the value of `truncate-lines'.
1828 * org.el (org-columns-skip-arrchived-trees): New option.
1830 * org-agenda.el (org-agenda-export-html-style): Define color for
1831 org-agenda-done face.
1832 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1833 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1835 * org.el (org-scan-tags): Use the new face.
1837 * org-faces.el (org-agenda-done): New face.
1839 * org.el (org-scan-tags): Test the value org
1840 `org-tags-match-list-sublevels'.
1841 (org-tags-match-list-sublevels): New allowed value: indented.
1843 * org-export-latex.el (org-export-latex-make-header): Apply macros
1846 * org-exp.el (org-export-apply-macros-in-string): New function.
1848 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1849 with the definition of a checked box.
1851 * org-clock.el (org-clock-find-position): Fix drawer indentations.
1853 * org-export-latex.el (org-export-latex-low-levels): More options
1854 for how to process lower levels in LaTeX.
1855 (org-export-latex-subcontent): Better treatment for lists as a
1856 means of publishing lower levels.
1858 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
1860 * org.el (org-set-font-lock-defaults): Use new checkbox face.
1862 * org-faces.el (org-checkbox): New face.
1864 * org-exp.el (org-export-html-preprocess): Only create LaTeX
1865 fragement images if there is an export file.
1867 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
1869 * org-agenda.el (org-stuck-projects): Document that the subtree of
1870 projects that are not stuck will now be searched for stuck
1872 (org-agenda-skip-entry-when-regexp-matches)
1873 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1874 (org-agenda-list-stuck-projects): Use
1875 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1877 * org-export-latex.el (org-export-latex-preprocess): Improve
1880 * org-exp.el (org-export-as-html): Implement centering as a div
1881 rather than a paragraph. Do a better job with line-end in verse
1884 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
1886 * org.el (org-open-at-point): Fix tags searches by mouse click.
1888 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
1890 * org-export-latex.el (org-export-latex-preprocess): Implement the
1893 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1894 from `org-export-mark-blockquote-and-verse'.
1895 (org-export-as-html): Implement the centering markup.
1897 * org-export-latex.el (org-export-latex-tables): Fix vertical
1900 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
1902 * org.el (org-read-date-history): New variable.
1903 (org-read-date): Use new history variable.
1904 (org-toggle-heading): Fix bug when used before first headline.
1905 (org-store-log-note): Remove drawer if empty while note is
1907 (org-remove-empty-drawer-at): New function.
1908 (org-check-after-date): New command.
1909 (org-sparse-tree): New sparse tree command "a".
1911 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1913 2009-03-14 Bastien Guerry <bzg@altern.org>
1915 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1916 column and a space, not only a column.
1918 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
1920 * org-export-latex.el (org-export-latex-emphasis-alist): Better
1921 defaults for verbose emphasis.
1922 (org-export-latex-emph-format): New function.
1923 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1925 * org-agenda.el (org-agenda-menu): Add new commands to menu.
1926 (org-agenda-do-date-later, org-agenda-do-date-earlier)
1927 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1928 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1931 * org.el (org-timestamp-change): Move end-time along with start
1934 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
1936 * org-exp.el (org-export-target-internal-links)
1937 (org-export-as-html): Protect links specified as #name.
1939 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
1941 * org.el (org-clone-subtree-with-time-shift): New command.
1943 * org-export-latex.el (org-export-latex-special-chars)
1944 (org-export-latex-treat-sub-super-char): Fix subscript export.
1946 * org-exp.el (org-create-multibrace-regexp): Do not add
1947 backslashes to the class.
1949 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
1951 * org-colview.el (org-columns-map): Better functions for moving up
1952 and down a row, even if `truncate-line' is nil.
1954 * org.el (org-insert-todo-heading): Make sure the keyword is
1955 inserted at the correct position.
1957 * org-publish.el (org-publish-project-alist)
1958 (org-publish-projects, org-publish-org-index): Change default anme
1959 for the index of file names to "sitemap.org".
1961 * org-export-latex.el (org-export-latex-tables): Use
1962 `org-split-string', for Emacs 21 compatibility.
1964 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
1966 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1968 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
1970 * org-exp.el (org-export-page-description)
1971 (org-export-page-keywords): New variables.
1972 (org-export-plist-vars): Add entries for :keywords and
1974 (org-infile-export-plist): Parse for new keywords.
1975 (org-get-current-options): Add new keywords
1976 (org-export-as-html): Publish description and keywords.
1978 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1980 (org-agenda-add-entry-text): Honor
1981 `org-agenda-add-entry-text-descriptive-links'.
1983 * org-export-latex.el (org-export-latex-preprocess): Make all
1984 external preprocess functions use a PARAMETER arg.
1986 * org-exp.el (org-export-preprocess-string)
1987 (org-export-select-backend-specific-text)
1988 (org-export-format-source-code-or-example)
1989 (org-format-org-table-html): Support docbook export.
1990 (org-export-preprocess-string): Make all external preprocess
1991 functions use a PARAMETER arg.
1993 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
1995 * org-exp.el (org-export-html-style-include-scripts): New option.
1996 (org-export-plist-vars): Add new option
1997 `org-export-html-style-include-scripts'.
1998 (org-export-as-html): Honor new option
1999 `org-export-html-style-include-scripts'.
2000 (org-export-html-scripts, org-export-html-style-default): Fix
2001 xml issues with the Safari browser.
2003 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
2005 * org-publish.el (org-publish-attachment): Only copy file when the
2008 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
2010 * org-clock.el (org-clocktable-steps): Use inactive time stamps
2011 for clocktable steps.
2013 * org.el (org-additional-option-like-keywords): Add two more
2016 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
2018 * org-exp.el (org-export-format-source-code-or-example): Mark
2019 temporary buffer unmodified, so that it will be killed even if
2020 mode like message mode has decided to assign a file name.
2022 * org.el (org-scan-tags): Improve tag inheritance.
2023 (org-scan-tags, org-make-tags-matcher): Make tag comparison
2025 (org-scan-tags): Use the internal tags list instead of creating it
2027 (org-trust-scanner-tags, org-scanner-tags): New variables.
2028 (org-scan-tags): Set `org-scanner-tags'.
2029 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2030 (org-map-entries): Document the possible speedup using scanner
2033 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
2035 * org.el (org-add-planning-info): Fix bug with looking for keyword
2038 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2039 option for tags filter preset.
2040 (org-prepare-agenda): Store filter preset as a property on the
2042 (org-finalize-agenda): Call the filter, if there is a preset.
2043 (org-agenda-filter-by-tag): Filter again after clearing the
2044 filter, when there still is a preset.
2045 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2046 Include the preset filter.
2047 (org-agenda-redo): Apply the filter again, also the preset filter.
2049 * org-exp.el (org-export-as-html): Use IDs in the correct way.
2051 * org.el (org-uuidgen-p): New funtion.
2053 * org-agenda.el (org-agenda-fontify-priorities): New default value
2055 (org-agenda-fontify-priorities): Renamed from
2056 org-fontify-priorities.
2058 * org.el (org-set-font-lock-defaults): Call
2059 `org-font-lock-add-priority-faces'.
2060 (org-font-lock-add-priority-faces): New function.
2062 * org-faces.el: (org-set-tag-faces): New option.
2063 (org-priority-faces): New variable.
2065 * org-exp.el (org-export-as-html): Add a "content" div around the
2066 entire content of the body tag.
2067 (org-export-html-get-bibliography): New function.
2068 (org-export-html-validation-link): New variable.
2069 (org-export-as-html): Add validation link to exported page.
2071 * org.el (org-match-sparse-tree): Renamed from
2072 `org-tags-sparse-tree'.
2073 (org-tags-sparse-tree): New alias.
2075 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
2077 * org.el (org-get-valid-level): Catch the case where the level
2080 * org-clock.el (org-clock-find-position): Better indentation of
2083 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
2085 * org-agenda.el (org-agenda-quit): Delete window only when the
2086 frame-setup was not `current-window'.
2088 * org.el (org-tag-persistent-alist): New option.
2089 (org-startup-options): Add keyword `noptag'.
2090 (org-fast-todo-selection): Handle :newline correctly.
2091 (org-set-tags): Handle :newline correctly.
2092 (org-fast-tag-selection): Handle :newline correctly.
2094 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
2096 * org-exp.el (org-export-as-ascii): Reverse link buffer before
2098 (org-export-ascii-push-links): Fix bug with pussing links into the
2101 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
2103 * org-archive.el (org-archive-subtree): Do not add 1 to level if
2104 pasting at top level.
2106 * org-bbdb.el: Improve documentation.
2108 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
2110 * org-list.el (org-insert-item): Only consider insert empty lines
2111 is `org-empty-line-terminates-plain-lists' is not nil.
2113 * org.el (org-blank-before-new-entry): Mention the dependence on
2114 `org-empty-line-terminates-plain-lists' in the docstring.
2116 * org-publish.el (org-publish-get-project-from-filename): New
2117 optional argument UP. Only find the top project if UP is set.
2118 (org-publish-current-project): Find the top encloding project.
2120 * org-agenda.el (org-agenda-before-write-hook)
2121 (org-agenda-add-entry-text-maxlines): New options.
2122 (org-write-agenda): Run the new hook in the temporary buffer.
2123 (org-agenda-add-entry-text): New function.
2124 (org-write-agenda): Implement PDF export, using ps2pdf.
2126 * org.el (org-global-properties-fixed, org-global-properties):
2127 Improve documentation string.
2129 * org-exp.el (org-export-ascii-links-to-notes): New option.
2130 (org-export-as-ascii): Handle links better.
2131 (org-export-ascii-wrap, org-export-ascii-push-links): New
2134 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
2136 * org-agenda.el (org-agenda): Make prefix arg optional.
2137 (org-agenda-search-headline-for-time): New option.
2138 (org-format-agenda-item): Honor
2139 `org-agenda-search-headline-for-time'.
2141 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2144 * org.el (org-self-insert-cluster-for-undo): New option.
2145 (org-self-insert-command): Cluster undo for 20 characters.
2146 (org-self-insert-command-undo-counter): New variable.
2148 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
2150 * org-exp.el (org-export-as-html): Fix problem with closing colone
2153 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
2155 * org-export-latex.el (org-export-as-latex)
2156 (org-export-latex-first-lines): Avoid modification flag when
2157 adding or removing text properties.
2158 (org-export-latex-fontify): Catch error when org-emph-alist has
2159 entries that are not defined for LaTeX export.
2161 * org.el (orgstruct++-mode): New function.
2162 (turn-on-orgstruct++): Call `orgstruct++-mode'.
2163 (org-context-p): Allow detecting item context after the first line
2165 (orgstruct-make-binding): Detect if item-body context should be
2167 (orgstruct-is-++): New variable.
2168 (org-add-planning-info): Catch the case when there is no planning
2169 info yet and the call does not want to add anything, only maybe
2170 tries to remove something.
2171 (org-special-ctrl-a/e): All value to be a cons cell with separate
2172 settings for `C-a. and `C-e'.
2173 (org-beginning-of-line, org-end-of-line): Honor separate values
2174 for `C-a' and `C-e'.
2176 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
2178 * org.el (org-reload): New command.
2180 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
2182 * org-exp.el (org-export-htm-get-tag-class-name)
2183 (org-export-htm-get-todo-kwd-class-name): New functions.
2184 (org-export-html-tag-class-prefix)
2185 (org-export-html-todo-kwd-class-prefix): New options.
2186 (org-export-as-html): Call
2187 `org-export-html-get-todo-kwd-class-name'.
2188 (org-html-level-start): Wrap tags into classes.
2189 (org-export-html-get-tag-class-name)
2190 (org-export-html-get-todo-kwd-class-name): New functions.
2192 * org-export-latex.el (org-export-latex-collect-header-macros):
2193 Remove fields that are used anyway.
2194 (org-export-latex-make-header): Insert the options earlier.
2196 * org-agenda.el (org-agenda-get-progress): Fix bug with state
2199 * org-list.el (org-indent-item): Allow point to be at the end of
2202 * org.el (org-metaleft, org-metaright): Be more accurate about
2203 detecting a region where commands apply.
2205 * org-compat.el (org-cursor-to-region-beginning): New function.
2207 * org.el (org-priority): Also find invisible heading.
2209 * org-colview-xemacs.el (org-columns-edit-value): No special
2210 treatment for `org-todo' prefix.
2212 * org-colview.el (org-columns-edit-value): No special treatment
2213 for `org-todo' prefix.
2215 * org-remember.el (org-remember-apply-template): Use
2216 `org-completing-read-no-ido'.
2218 * org.el (org-completing-read-no-ido): New function.
2219 (org-make-tags-matcher, org-set-property): Use
2220 `org-completing-read-no-ido'.
2222 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2224 (org-export-as-latex): Import in-buffer settings as TeX macros.
2225 (org-export-latex-make-header): Additional parameter OPT-DEFS.
2226 (org-export-latex-collect-header-macros): New function.
2228 * org.el (org-refile-get-location): Turn off
2229 `partial-completion-mode'.
2231 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
2233 * org.el (org-block-todo-from-checkboxes): Announce that
2234 checkboxes are the culprit.
2235 (org-block-todo-from-children-or-siblings): Call
2236 `org-up-heading-all instead' of `outline-up-heading'.
2238 * org-agenda.el (org-agenda-show-1): Renamed from
2240 (org-agenda-show): Re-install the old version for now.
2241 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
2242 variable into the blokker hook, so that the checkbox checker can
2243 anounce that it caused the blocking.
2245 * org.el (org-track-ordered-property-with-tag): New option.
2246 (org-toggle-ordered-property): Honor
2247 `org-track-ordered-property-with-tag'.
2248 (org-tag-alist): Add newline options.
2249 (org-set-regexps-and-options): Separate option lines imply a
2251 (org-set-regexps-and-options, org-assign-fast-keys)
2252 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2254 (org-indent-line-function): Make sure this works even if there is
2255 not `org-drawer-regexp' defined. This can happen when
2256 orgstruct-mode is used in a non-org buffer.
2258 * org-list.el (org-checkbox-blocked-p): New function.
2259 (org-toggle-checkbox): Check for blocking.
2261 * org.el (org-modules): Add an entry for org-R.el.
2263 * org-agenda.el (org-agenda-todo-ignore-with-date)
2264 (org-agenda-todo-ignore-scheduled)
2265 (org-agenda-todo-ignore-deadlines): Mention the variable
2266 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2268 * org.el (org-get-wdays): Find the warning period also if it is in
2270 (org-ido-completing-read): Provide the correct arguments to
2271 ido-completing-read and bind `ido-enter-matching-directory' to
2274 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
2276 * org.el (org-olpath-completing-read): Never use ido for this
2279 * org-exp.el (org-export-normalize-links): Use new macro.
2281 * org-macs.el (org-if-unprotected-at): New macro.
2283 * org-agenda.el (org-agenda-show): Allow numerical prefix
2284 arguments to specify how much context should be shown.
2285 (org-agenda-cycle-show): New command, could be bound to SPC in
2286 org-agenda-mode-map.
2288 * org-exp.el (org-html-level-start): Space after section number.
2290 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
2292 * org-agenda.el (org-agenda-get-sexps): Add todo state as
2293 property, for sorting.
2294 (org-cmp-todo-state): Get the applicable TODO keywords directly
2296 (org-run-agenda-series, org-agenda-list, org-search-view)
2297 (org-todo-list, org-tags-view): Only fit agenda window when the
2298 whole series is done.
2300 * org.el (org-scan-tags): Add todo state as property, for sorting.
2302 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2303 `org-agenda-overriding-header' as an option.
2304 (org-agenda-list): Honor org-agenda-overriding-header'.
2306 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
2308 * org-list.el (org-toggle-checkbox): Improve cursor positioning
2309 after removing a checkbox.
2311 * org.el (org-show-entry): Make this work correctly also if it is
2312 the last entry in the file.
2313 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2314 falling back to normal, default command.
2315 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2316 item, call the checkbox toggler to get a box.
2318 * org-list.el (org-toggle-checkbox): Make double prefix set the
2320 (org-fix-bullet-type): Only replace bullet if it is changed.
2321 (org-renumber-ordered-list): Handle case when first item does not
2324 * org.el (org-add-log-setup): Fix positioning when
2325 `org-log-states-order-reversed' is nil.
2327 * org-clock.el (org-clock-in): Fix positioning when
2328 `org-log-states-order-reversed' is nil.
2329 (org-clock-find-position): Fix positioning when
2330 `org-log-states-order-reversed' is nil.
2332 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
2334 * org-clock.el (org-clock-into-drawer): Take default from
2335 `org-log-into-drawer'.
2336 (org-clock-find-position): Look for the correct drawer.
2338 * org.el (org-log-into-drawer): Renamed from
2339 `org-log-state-notes-into-drawer'.
2340 (org-log-state-notes-into-drawer): New variable alias.
2341 (org-add-log-setup): Make drawer name default to LOGBOOK, not
2343 (org-insert-property-drawer): Also skip LOGBOOK drawers.
2345 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
2347 * org-agenda.el (org-agenda): Fix docstring.
2349 * org.el ("org-plot"): Help loading org-plot.
2350 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2351 (org-metadown-hook, org-shiftmetaleft-hook)
2352 (org-shiftmetaright-hook, org-shiftmetaup-hook)
2353 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2354 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2355 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2356 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2358 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2359 for selecting files with any (and even without) extension.
2361 * org.el (org-save-all-org-buffers): Also save id locations.
2362 (org-revert-all-org-buffers): Also load id locations.
2364 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2365 * org.el (org-drawers): Add LOGBOOK to the default drawers.
2366 (org-log-state-notes-into-drawer): New option.
2367 (org-add-log-setup): Place the sate note marker into the drawer,
2368 create drawer when necessary.
2369 (org-refile-targets): Document special interpretation of LEVEL
2370 when odd-levels are used.
2372 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2374 * org.el (org-store-log-note): Fix note indentation when adding
2375 notes to end of list.
2377 * org-exp.el (org-export-as-html): Add TODO keyword as extra
2378 class, so that each keyword can get special colors through CSS.
2380 * org-clock.el (org-clock-out): Add another nil for the previous
2381 state into the call to `org-add-log-setup'.
2383 * org.el (org-log-note-previous-state): New variable.
2384 (org-log-note-headings): New %S escape for old state.
2385 (org-todo): Call the note setup with the old state as an
2387 (org-add-note): Add another nil for the previous state into the
2388 call to `org-add-log-setup'.
2389 (org-add-log-setup): New argument PREV-STATE.
2390 (org-add-log-note): Handle new %S escape.
2391 (org-store-log-note): Handle new %S escape.
2393 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
2395 * org-clock.el (org-clock-find-position): Do not swallow an item
2396 less indented than the CLOCK line itself.
2397 (org-clock-in): Push markers to lin after the clock line.
2398 (org-clock-find-position): Handle values of
2399 `org-clock-into-drawer' smaller than 2.
2401 * org-exp.el (org-html-level-start): Add a CSS class to section
2403 (org-export-html-toplevel-hlevel): Better documentation of the
2404 influence of this variables on H levels and css classes in
2407 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
2409 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2410 timestamp and nottimestamp to the chooe menu.
2412 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2413 (org-revert-all-org-buffers): New command.
2415 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
2417 * org.el (org-return): Implement `org-return-follows-link' in the
2418 function org-return. This is more robust than using the mouse
2420 (org-set-regexps-and-options): Match more general #+TODO lines.
2421 (org-make-options-regexp): New optional argument EXTRA, for an
2423 (org-tab-follows-link): Mark as deprecated.
2425 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
2427 * org-exp.el (org-export-preprocess-string): Remove clock lines
2428 earlier, so that they cannot cotribute to verbatim snippets.
2430 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
2432 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2433 for finding drawers.
2434 (org-export-as-ascii, org-export-as-html): Count levels relative
2435 to the subtree header.
2436 (org-get-min-level): New optional argument OFFSET.
2437 (org-export): Make sure point is restored after popping up that
2440 * org.el (org-do-sort): Also take an inactive timestamp if no
2441 active one is found.
2443 * org-colview-xemacs.el (org-columns-capture-view): Copy before
2444 deleting duplicates.
2446 * org-colview.el (org-columns-capture-view): Copy before
2447 deleting duplicates.
2449 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2450 text before first headline.
2452 * org.el (org-format-latex): Do not convert LaTeX fragments in
2455 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
2457 * org-exp.el (org-export-html-style-default): Use color values
2458 instead of names for XHTML validation.
2460 * org.el (org-get-scheduled-time, org-get-deadline-time): New
2462 (org-return-follows-link): Revert making this the default untile
2463 issues are resolved.
2465 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2468 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
2470 * org.el (org-mode): Make dependence stuff work more reliably.
2471 (org-update-parent-todo-statistics): Fix bug with updating
2474 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2475 ~ as verbatim delimiters.
2477 * org-exp.el (org-export-html-format-image): New argument
2479 (org-export-as-html): Pass par-open to
2480 `org-export-html-format-image'.
2482 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
2484 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2485 (org-use-fast-todo-selection, org-tags-column): New default
2486 setting for variables, based on a poll what typical uses use.
2488 * org-agenda.el (org-agenda-sorting-strategy)
2489 (org-agenda-tags-column): New default setting for variables, based
2490 on a poll what typical uses use.
2492 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
2494 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2495 blocked entries from setting the blocked tag.
2497 * org-exp.el (org-export-html-footnotes-section): Use a more
2498 consistent id for footnotes.
2500 * org-export-latex.el (org-export-latex-classes): Remove the
2501 a4paper option from the default styles.
2503 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
2505 * org.el (org-enforce-todo-checkbox-dependencies): New option.
2506 (org-block-todo-from-checkboxes): New function.
2507 (org-todo): Make tripple prefix arg circumvent blocking.
2509 * org-timer.el (org-timer): Provide the timer feature.
2511 * org.el (org-require-autoloaded-modules): Add a few more files to
2512 the list of autoloaded modules.
2514 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2516 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
2518 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2519 drawers that are unprotected.
2520 (org-export-html-format-image): Make sure inlined LaTeX fragment
2521 images remain inlined.
2523 * org.el (org-toggle-ordered-property): New function.
2524 (org-mode-map): Add a key for `org-toggle-ordered-property'.
2525 (org-org-menu): Add menu entries for TODO dependencies.
2527 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
2529 * org.el (org-default-properties): Add ORDERED to the default
2530 properties, to get completion support for it.
2532 * org-list.el (org-update-checkbox-count): Update more than one cookie.
2534 * org.el (org-update-parent-todo-statistics): Update more than one
2537 * org-agenda.el (org-agenda-get-todos): Start search from correct
2540 * org.el (org-fast-todo-selection): Make sure TODO selection does
2541 not change buffer position.
2543 * org-list.el (org-toggle-checkbox): Implement adding or removing
2544 checkboxes from line or region when called with a prefix
2547 * org-rmail.el (org-rmail-store-link): Protect the call to
2548 `rmail-narrow-to-non-pruned-header'.
2550 * org-clock.el (org-clock-special-range): Fix week display in
2553 * org-exp.el (org-get-current-options): Fix bug when in indirect
2556 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
2558 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2559 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2560 (org-agenda-dim-blocked-tasks): New function.
2562 * org.el (org-enforce-todo-dependencies): New option.
2563 (org-block-todo-from-children-or-siblings): New function.
2565 * org-faces.el (org-agenda-dimmed-todo-face): New face.
2567 * org.el (org-todo): Return correct state type even if the blocker
2569 (org-modifier-cursor-error): Renamed from
2570 `org-shiftcursor-error'.
2571 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2572 (org-shiftmetadown): Call `org-modifier-cursor-error'.
2574 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2575 to get real errors from the blocker hook.
2577 * org.el (org-shiftselect-error, org-call-for-shift-select): New
2579 (org-set-visibility-according-to-property): Turn off the setting
2580 of `org-show-entry-below', to avoid overruling a FOLDED visibility
2583 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2585 * org.el (org-support-shift-select): New option.
2586 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2587 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2588 selection outside contexts.
2590 * org-list.el (org-at-item-bullet-p): New function.
2592 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2595 * org-footnote.el (org-footnote-normalize): Remove unnecessary
2597 (org-insert-footnote-reference-near-definition): Remove
2598 unnecessary let form.
2600 * org-export-latex.el (org-export-latex-first-lines): Add
2601 OPT-PLIST parameter.
2602 (org-export-as-latex): Call `org-export-latex-first-lines' with
2603 opt-plits parameter.
2604 (org-export-latex-preprocess): Remove unnecessary variables.
2606 * org-exp.el (org-infile-export-plist)
2607 (org-export-add-options-to-plist, org-export-kill-licensed-text)
2608 (org-export-remove-headline-metadata)
2609 (org-export-get-title-from-subtree, org-get-min-level)
2610 (org-html-do-expand): Remove innecessary let form.
2612 * org-colview-xemacs.el (org-columns-display-here): Remove
2613 unnecessary variables.
2615 * org-colview.el (org-columns-display-here): Remove unnecessary
2618 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2621 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2622 unnecessary variables.
2624 * org-agenda.el (org-search-view, org-agenda-get-blocks)
2625 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2628 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2629 (org-compact-display-after-subtree-move): Remove unnecessary
2631 (org-edit-fixed-width-region): Remove unnecessary variables.
2632 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2633 (org-olpath-completing-read): Remove unnecessary variable.
2634 (org-auto-repeat-maybe): Remove unnecessary variable.
2635 (org-map-entries): Remove unnecessary variable.
2636 (org-buffer-property-keys, org-imenu-get-tree)
2637 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2639 -----------------------------------------------------------------
2641 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2642 * org-exp.el (org-export-remove-timestamps): Never remove
2643 timestamps from tables.
2645 * org-export-latex.el (org-export-latex-first-lines): Add more
2646 options to the preprocessing of the text before the first
2649 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
2651 * org-faces.el (org-clock-overlay): Make face compatible with
2654 * org.el (org-yank): Add property for delete-selection mode.
2656 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2658 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2661 * org-table.el (org-table-insert-hline): Fix typo in fuction call
2664 * org-exp.el (org-export-as-html): Remove the initial space from
2667 * org.el (org-scan-tags): Call
2668 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2670 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2671 customization groups.
2672 (org-agenda-tags-todo-honor-ignore-options): New option.
2673 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2675 (org-agenda-get-todos): Use
2676 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2678 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
2680 * org-exp.el (org-export-format-source-code-or-example): Escape
2681 HTML characters also in examples that anre not treated with
2682 htmlize. Also, just switch to EXAMPLE processing if we do not
2683 have a good version of htmlize.
2685 * org-rmail.el: Fix copyright notice.
2687 * org.el (org-activate-footnote-links): Improve footnote link
2690 * org-footnote.el (org-footnote-normalize): Fix finding the end of
2691 a footnote definition at the end of the file.
2693 * org-table.el (org-table-get-specials): Add an imagined hline at
2694 the end of the table. This can be useful for references that want
2695 to go to the end of the table. Also fix bug when computing last
2696 row constants, in tables that do not start right at the right
2698 (org-table-eval-formula): Match and replace remove references.
2699 (org-table-formula-substitute-names): Make sure that names inside
2700 a "remote" call are left alone, the will be replaced later when
2701 the remote call is handled.
2702 (org-table-convert-refs-to-rc): Do not convert things that might
2703 look like a reference, but are really part of an ID or namei n a
2705 (org-table-get-remote-range): New function.
2707 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
2709 * org-faces.el (org-clock-overlay): Fix bug in face definition.
2711 * org-clock.el (org-clock-put-overlay): Use new face instead of
2712 `secondary-selection'.
2714 * org-faces.el (org-clock-overlay): New face.
2716 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
2718 * org-exp.el (org-get-current-options): Include the option for
2719 publishing time stamps.
2721 * org.el (org-toggle-heading): Renamed from
2722 `org-toggel-region-headings'.
2723 No longer needs a region defined, but will use it if there is one.
2724 (org-ctrl-c-star): Simplified, relying more on the internal
2725 workings of `org-toggle-heading'.
2726 (org-toggle-item): Renamed from `org-toggle-region-items'.
2727 No longer needs a region defined, but will use it if there is one.
2728 (org-ctrl-c-minus): Simplified, relying more on the inernal
2729 workings of `org-toggle-item'.
2731 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2732 environment detection. Also, do real changes only in unprotected
2735 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
2737 * org-export-latex.el (org-export-latex-quotation-marks): Use
2738 `org-if-unprotected-1'.
2739 (org-export-latex-set-initial-vars): Check for class definition in
2742 * org-macs.el (org-if-unprotected-1): New macro.
2744 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
2746 * org-compat.el (org-count-lines): New function.
2748 * org-exp.el (org-export-format-source-code-or-example): Handle
2749 switches related to text areas.
2751 * org.el (org-activate-footnote-links): Don't allow match inside a
2754 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2756 * org-export-latex.el (org-export-latex-links): Keep a relative
2757 path relative also after export.
2759 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2761 * org.el (org-make-tags-matcher): Never use IDO for completing the
2762 tags matcher match string.
2763 (org-completing-read): Also remove the special biding for "?".
2765 * org-attach.el (org-attach-allow-inheritance): New option.
2766 (org-attach-inherited): New variable.
2767 (org-attach-dir): Handle properties related to the attachment
2769 (org-attach-check-absolute-path): New function.
2770 (org-attach-set-directory, org-attach-set-inherit): New commands.
2771 (org-attach): Accommodate the new commands in the dispatcher.
2773 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
2775 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2776 `window-full-width-p'.
2778 * org-exp.el (org-export-as-html): Only check for images files
2779 that really can be inlined
2781 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2782 list of extensions to be a parameter.
2784 * org-exp.el (org-export-html-inline-image-extensions): New
2787 * org-agenda.el (org-prepare-agenda): Use
2788 `org-agenda-block-separator'.
2789 (org-agenda-block-separator): New option.
2791 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
2793 * org-export-latex.el (org-export-latex-tables): Call
2794 `org-table-clean-before-export' with the new optional argument.
2796 * org-exp.el (org-table-clean-before-export): New optional
2797 parameter MAYBE-QUOTED, allows for quoted characters like \# in
2800 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
2802 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2805 * org-colview.el (org-colview-construct-allowed-dates): Better
2806 error catching when a date/time property does not have allowed
2809 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2810 Better error catching when a date/time property does not have
2811 allowed values defined.
2813 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org.el (org-map-entries): Restore point and restriction after
2818 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
2820 * org.el (org-time=, org-time<, org-time<=, org-time>)
2821 (org-time>=, org-time<>): Make sure both values are dates.
2823 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
2825 * org-archive.el (org-extract-archive-heading): Allow %s for file
2826 name also in achive location heading.
2828 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
2830 * org-archive.el (org-add-archive-files): Uniquify the list before
2833 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
2835 * org-compat.el (org-fit-window-to-buffer): Use
2836 `window-full-width-p'.
2838 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2839 space after the colon in short examples.
2841 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2842 enforce a space after the colon. However, we also allow lines
2843 that are *only* a colon.
2844 (org-export-as-html): Enforce the space after the colon in short
2846 (org-export-preprocess-string): Do the colon example protection
2848 (org-export-remove-timestamps): Do not check for protection at the
2851 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
2853 * org.el (org-format-latex-options): Add new matcher for single
2854 letters between dollars.
2855 (org-get-header): Function removed.
2856 (org-heading-components): New function.
2858 * org-exp.el (org-export-define-heading-targets): Record ID's also
2859 as alternative targets.
2860 (org-export-as-html): Interpret "id:" links to other files by
2861 preserving the relative path.
2863 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2866 * org-exp.el (org-export-normalize-links): Protect the main link,
2867 to avoid special character processing.
2869 * org-export-latex.el (org-export-latex-special-keyword-regexp):
2871 (org-export-latex-special-string-regexps): Variable removed.
2872 (org-export-latex-keywords): Use the new regexp.
2874 * org-exp.el (org-export-handle-include-files): Fetch switches and
2875 put them into the BEGIN statement.
2877 * org-timer.el (org-timer-mode-line-string): New variable.
2879 * org-clock.el (org-clock-mode-line-map): Renamed from
2880 `org-clock-mode-map'.
2881 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2882 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2883 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2884 (org-clock-remove-overlays): Renamed from
2885 `org-remove-clock-overlays'.
2887 * org-timer.el (org-timer-pause-or-continue): Implement stopping
2888 and mode line display.
2889 (org-timer-stop): New command.
2890 (org-timer-seconds): Return correct time when timer is paused.
2891 (org-timer-mode-line-timer): New variable.
2892 (org-timer-set-mode-line, org-timer-update-mode-line): New
2895 * org.el (org-insert-heading): Handle new value `auto' for
2896 `org-blank-before-new-entry'.
2897 (org-org-menu): Add new items for timer functions.
2899 * org-list.el (org-insert-item): Handle new value `auto' for
2900 `org-blank-before-new-entry'.
2902 * org.el (org-blank-before-new-entry): New value `auto', made
2905 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
2907 * org-exp.el (org-export-normalize-links): If the link is also
2908 used as the description, protect the description.
2910 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
2912 * org.el (org-closest-date): Fix bug with yearly repeats, in
2913 combination with preference of the past as it is used for deadline
2914 and scheduling search.
2916 * org-exp.el (org-html-handle-time-stamps): No longer check for
2917 the `org-export-with-timestamps' option, because the preprocesser
2918 has taken care of this already.
2920 * org.el (org-entry-properties): Catch the case when this is
2921 called in a non-org-mode file.
2923 * org-export-latex.el (org-export-latex-remove-from-headlines):
2924 Variable made obsolete, also LaTeX export now uses the standard
2926 (org-export-as-latex): Add the timestamps parameter to the
2927 preprocessor parameter list.
2928 (org-export-latex-content): Export the remaining keywords without
2929 considering to remove them.
2930 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2931 Use bold font instead of tt font for the keywords.
2932 (org-export-latex-fontify-headline): Format headlines, assuming
2933 that all keywords still present should be published.
2934 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2935 publish what ever remains of the time stamps.
2936 (org-export-latex-list-parameters): New option.
2937 (org-export-latex-lists): Pass additional parameters to the list
2940 * org-exp.el (org-export-preprocess-string): Remove clock lines
2941 and timestamps already in the preprocesor.
2942 (org-export-remove-timestamps, org-export-remove-clock-lines): New
2944 (org-export-as-ascii, org-export-as-html): Add the timestamps
2945 parameter to the preprocessor parameter list.
2947 * org-list.el (org-list-parse-list): Parse for checkboxes.
2948 (org-list-to-generic): Introduce and handle new parameters :cbon
2950 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2951 optional parameter PARAMS.
2953 * org-export-latex.el (org-export-latex-special-chars): Fix
2954 problems with interpreting dollar signs.
2955 (org-inside-latex-math-p): New function.
2956 (org-export-latex-preprocess): Protect all the math fragments.
2958 * org.el (org-latex-regexps): Allow a dash after a dollar.
2960 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2963 * org-agenda.el (org-run-agenda-series): Have series options set
2964 when finalizing the agenda.
2966 * org-exp.el (org-export-format-source-code-or-example): Protect
2967 the converted examples.
2969 * org.el (org-set-regexps-and-options): Fix the regexp
2970 `org-complex-heading-regexp'.
2972 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
2974 * org.el (org-edit-src-get-label-format): New function.
2975 (org-coderef-label-format): New option.
2976 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2977 a label format specification and make sure it is used in the edit
2979 (org-edit-src-get-label-format): New function.
2980 (org-store-link): Handle new coderef formats.
2981 (org-link-search): Handle new coderef formats.
2983 * org-footnote.el (org-footnote-create-definition)
2984 (org-footnote-goto-local-insertion-point): Make footnote insertion
2985 work correctly when the "Footnotes" headline is the last line in
2988 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2991 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
2993 * org-w3m.el (org-w3m): New customization group.
2994 (org-w3m-deactivate-mark): New option.
2995 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2998 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
3000 * org.el (org-set-font-lock-defaults): Trigger footnote
3002 (org-activate-footnote-links): New function.
3003 (org-activate-links): New entry `footnote'.
3005 * org-faces.el (org-footnote): New face.
3007 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
3009 * org-macs.el (org-re): Handle the [:word:] class.
3011 * org-exp.el (org-export-preprocess-string): Call
3012 `org-export-protect-colon-examples'.
3013 (org-export-protect-colon-examples): Renamed from
3014 `org-export-protect-examples', and scope limited to lines starting
3017 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
3019 * org-exp.el (org-export-preprocess-string): Move the preprocess
3020 hook to after turning on Org-mode.
3021 (org-export-preprocess-after-include-files-hook)
3022 (org-export-preprocess-after-tree-selection-hook)
3023 (org-export-preprocess-before-backend-specifics-hook)
3024 (org-export-preprocess-final-hook): New hooks.
3025 (org-export-preprocess-string): Run the new hooks.
3027 * org.el (org-ctrl-c-minus): Fix indentation for new items.
3029 * org-footnote.el: New file.
3031 * org.el (org-footnote): Require footnote code.
3032 (org-startup-options): Add new footnote options.
3033 (org-mode-map): New keybindig for footnotes.
3034 (org-ctrl-c-ctrl-c): Add function at footnotes.
3035 (org-org-menu): New menu entries for footnotes.
3037 * org-export-latex.el (org-export-as-latex): Pass footnote
3038 variable to preprocessor.
3039 (org-export-latex-preprocess): Treat multiple references to a
3042 * org-exp.el (org-export-preprocess-string): Call
3043 `org-footnote-normalize'.
3044 (org-export-as-ascii, org-export-as-html): Pass footnote variable
3046 (org-export-as-html): Treat multiple references to a footnote.
3048 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
3050 * org-export-latex.el (org-export-latex-links): Handle coderef
3053 * org.el (org-bracket-link-analytic-regexp++): New variable.
3054 (org-make-link-regexps): Initialize
3055 `org-bracket-link-analytic-regexp++'.
3056 (org-store-link): Implement special case in edit-src buffer.
3057 (org-insert-link): No use of ide to insert stored links.
3058 (org-link-search): Implement special case for coderefs.
3060 * org-exp.el (org-export-html-scripts): New constant.
3061 (org-export-html-style-default): Add a new style for highlighted
3063 (org-export-code-refs): New variable.
3064 (org-export-preprocess-string): Initialize `org-export-code-refs'.
3065 Call `org-export-replace-src-segments-and-examples'
3066 No longer call `org-export-protect-examples'.
3067 (org-export-target-internal-links): Take care of coderef targets.
3068 (org-export-last-code-line-counter-value): New variable.
3069 (org-export-replace-src-segments-and-examples): Renamed from
3070 `org-export-replace-src-segments', and modified.
3071 (org-export-format-source-code-or-example): Renamed from
3072 `org-export-format-source-code'.
3073 (org-export-number-lines): New function.
3074 (org-export-as-ascii, org-export-as-html): Handle coderef links.
3076 --------------------------------------------------------------------------
3078 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
3080 * org-remember.el (org-remember-handler): Safer way to get a new
3081 buffer accessing the target file.
3083 * org.el (org-refile-get-location): Handle case of current buffer
3084 not having a file associated with it.
3086 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
3088 * org-table.el (org-table-get-formula): Only ask to overwrite
3089 field formula if there really is one.
3091 * org-id.el (org-id-find): Allow the ID to be a symbol or a
3092 number, by converting these to a string.
3094 * org-colview.el (org-dblock-write:columnview): Allow ID to be
3095 located in a different file.
3097 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3100 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
3102 * org.el (org-completion-use-ido): Enhance docstring of
3103 `org-completion-use-ido'.
3105 * org-export-latex.el (org-export-latex-make-header): Double the %
3106 in the time stamp format.
3107 (org-export-latex-special-chars): Handle case where there is no
3110 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
3112 * org.el (org-get-refile-targets, org-refile-get-location): Use
3113 expanded file name to improve comparison.
3115 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
3117 * org.el (org-scan-tags): Rescan for tags, to get the correct
3118 upcase/downcase stuff. This slows things down for now, but it
3120 (org-mode): Make sure the tag-faces regexp is initialized.
3122 * org-export-latex.el (org-export-latex-links): Fix bug with
3125 * org-table.el (org-table-get-specials): Set
3126 `org-table-current-last-data-line'.
3127 (org-table-current-last-data-line): New variable.
3128 (org-table-insert-column, org-table-delete-column)
3129 (org-table-move-column, org-table-fix-formulas): Call
3130 `org-table-fix-formulas' a second time to fix the $LR references.
3131 (org-table-get-specials): Add the $LR references to the tables.
3132 (org-table-get-formula): Do not offer last-row names as LHS of
3135 * org.el (org-store-link): Capture link description from
3136 `org-id-store-link'.
3138 * org-exp.el (org-export-html-format-image): Add the / to the end
3140 (org-export-format-source-code): Surround example by empty lines,
3141 to make sure it will not be inside a paragraph.
3143 * org.el (org-ido-switchb): New function.
3145 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3147 * org-agenda.el (org-agenda-show): New prefix argument
3150 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3153 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3154 `org-agenda-change-all-lines'.
3155 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3156 tags are now retrieved locally.
3158 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
3160 * org.el (org-get-outline-path): Fix bug if level is not given.
3161 (org-org-menu): Do not quote function in menu vector.
3163 * org-agenda.el (org-finalize-agenda): Fix typo with variable
3166 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
3168 * org.el (org-refile): Avoid refiling to within the region to be
3171 * org-export-latex.el (org-export-latex-special-chars): Replace
3172 special characters also in tables.
3174 * org-agenda.el (org-agenda-change-all-lines): New argument
3176 (org-agenda-set-tags): Cet the new tags and pass them to
3177 `org-format-agenda-item'.
3179 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
3181 * org-export-latex.el (org-export-latex-classes): Add longable as
3182 a default package to all classes.
3183 (org-export-latex-tables): Handle the longtable attribute and the
3186 * org-table.el (orgtbl-to-generic): Handle tables that start with
3189 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3190 \verb for colde-like snippets.
3191 (org-export-as-latex): Fix issues with region export.
3193 * org.el (org-up-heading-safe): Speed up function by using a
3194 direct regexp search.
3195 (org-olpa): New variable.
3196 (org-get-outline-path): Speed-up path constructions in cases where
3197 this is possible because the entire hierarchy is scanned anyway.
3198 (org-refile-get-location): Don't compare the truenames of files,
3200 (org-goto-max-level): New option.
3201 (org-goto): Use `org-goto-max-level'.
3203 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
3205 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3206 Strip angle brackets from message-ids in the former and don't do
3208 (org-gnus-follow-link): Open summary reliable, even if the last
3209 messages were deleted, and handle empty groups, too.
3211 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
3213 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3214 instead of \texttt for the =...= and ~===~ emphasis environments.
3215 (org-export-as-latex): Remove any old :org-license-to-kill text
3217 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3218 (org-export-latex-make-header): Add some hard space after the
3220 (org-export-latex-first-lines): Accept RBEG argument. Mark
3221 exported text so that it will be excuded in further steps.
3223 * org-table.el (org-table-get-specials): Make @0 reference the
3224 last line in a table.
3225 (org-table-recalculate): Improve docstring.
3227 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
3229 * org.el (org-log-done): Fix docstring.
3231 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
3233 * org-exp.el (org-export-html-format-image): Fix bugs.
3235 * org-export-latex.el (org-export-latex-tables)
3236 (org-export-latex-links): Implement attribute, label, and caption
3239 * org-exp.el (org-export-html-style-default): Add style
3240 definitions for the figure div.
3241 (org-export-preprocess-string, org-export-as-html): Implement
3242 attribute, label, and caption handling.
3243 (org-export-attach-captions-and-attributes): New function.
3244 (org-export-html-format-image): New function.
3245 (org-format-org-table-html): Implement attribute, label, and
3248 * org.el (org-find-text-property-in-string): New function.
3249 (org-extract-attributes): Use the property org-attr instead of
3250 org-attrobutes, because this property is now set with the #+ATTR
3253 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
3255 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3256 the case that FROM is nil.
3258 * org.el (org-before-first-heading-p): New function.
3260 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
3262 * org-exp.el (org-export-as-html): Do not add a space before
3263 enforces line breaks.
3264 (org-export-as-html): Close paragraph before blockquote and verse
3267 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
3269 * org-id.el (org-id-locations-file): Wrap file name with
3270 `convert-standard-filename'.
3271 (org-id-files): New variable.
3272 (org-id-use-hash): New option.
3273 (org-id-update-id-locations): Also search in all files current
3274 listed in `org-id-files'. Convert the resulting alist to a hash
3275 if the user customation says so.
3276 (org-id-locations-save): Handle he case if `org-id-locations' is a
3278 (org-id-locations-load): Convert the alist to a hash.
3279 (org-id-add-location): Handle the hast case.
3280 (kill-emacs-hook): Make sure id locations are saved when Emacs is
3282 (org-id-hash-to-alist, org-id-alist-to-hash)
3283 (org-id-paste-tracker): New functions.
3285 -------------------------------------------------------------------------
3287 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3289 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3290 bindings of calendar variables.
3292 * org-table.el (org-table-find-row-type): Renamed from
3293 `org-find-row-type'.
3294 (org-table-rewrite-old-row-references): Renamed from
3295 `org-rewrite-old-row-references'.
3296 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3297 (org-table-cleanup-narrow-column-properties): Renamed from
3298 `org-cleanup-narrow-column-properties'.
3300 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3302 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3303 for better error messages.
3304 (org-table-get-descriptor-line): Supply the new arguments to
3305 `org-find-row-type'.
3306 (org-table-error-on-row-ref-crossing-hline): New option.
3308 * org.el (org-target-link-regexp): Make buffer-local.
3309 (org-move-subtree-down): Fix bug with trees at beginning of
3312 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
3314 * org-faces.el (org-set-tag-faces): New function.
3315 (org-tags-special-faces-re): New variable.
3317 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3319 * org-faces.el (org-tag-faces): New option.
3320 (org-tag): Mention `org-tag-faces' in the docstring.
3322 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
3324 * org-exp.el (org-export-html-style-default): Implement new
3327 * org-jsinfo.el (org-infojs-template): Implement new quoting.
3329 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3330 command to the `w3m-minor-mode-map'.
3332 * org-archive.el (org-archive-to-archive-sibling): Protect
3333 `this-command' to avoid appending kills during archiving.
3335 * org-exp.el (org-export-with-priority): New variable.
3336 (org-export-add-options-to-plist): Use `org-export-plist-vars'
3337 instead of internal list of strings and properties.
3338 (org-print-icalendar-entries): Retrieve the location property with
3341 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
3343 * org-exp.el (org-export-with-todo-keywords): New option.
3344 (org-export-plist-vars): Include also the keys for the #+OPTIONS
3346 (org-default-export-plist, org-export-add-options-to-plist)
3347 (org-export-as-ascii, org-export-as-html): Use the new structure
3348 of `org-export-plist-vars'.
3350 * org.el (org-map-entries): Return all values.
3352 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
3354 * org.el (org-matcher-time): Recognize more special values.
3356 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3358 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
3360 * org.el (org-tags-exclude-from-inheritance): New option.
3361 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3362 `org-tags-exclude-from-inheritance'.
3364 * org-agenda.el (org-agenda-show-inherited-tags): New option.
3365 (org-format-agenda-item): Add inherited tags to the agenda line
3366 string, and make sure that properties are kept when downcasing the
3368 (org-agenda-add-inherited-tags): New function.
3369 (org-downcase-keep-props): New function.
3371 * org.el (org-scan-tags): Mark inherited tags with a text
3373 (org-get-tags-at): Mark inherited tags with a text property.
3374 (org-add-prop-inherited): New function.
3376 * org-agenda.el (org-agenda-add-inherited-tags): New function.
3377 (org-agenda-show-inherited-tags): New option.
3379 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
3381 * org.el (org-modules): Add org-w3m to the default modules.
3383 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3385 (orgtabl-create-or-convert-from-region): New command.
3387 * org-exp.el (org-export-as-ascii): Remove the handling of
3389 (org-export-ascii-preprocess): Handle targets already in this
3392 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
3394 * org-timer.el (org-timer-start-time): Define this variable.
3395 (org-timer-item): Make argument optional.
3397 * org-list.el (org-insert-item): Automatically insert a timer item
3398 if the current list is a timer list.
3400 * org-timer.el: New file.
3402 * org-publish.el (org-publish-org-index): Only exclude the index
3403 file in the main directory from being added to the site-map.
3404 (org-publish-get-project-from-filename): If the current project is
3405 a component, start publishing from the parent project.
3407 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
3409 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3411 * org-publish.el (org-publish-org-index): Improve removal of
3414 * org-agenda.el (org-get-closed): Re-apply changes
3415 accidentially overwritten by last commit to Emacs.
3417 * org.el (org-outline-path-complete-in-steps): New option.
3418 (org-refile-get-location): Honor
3419 `org-outline-path-complete-in-steps'.
3420 (org-agenda-change-all-lines, org-tags-sparse-tree)
3421 (org-time-string-to-absolute, org-small-year-to-year)
3422 (org-link-escape): Re-apply changes accidentially overwritten
3423 by last commit to Emacs.
3425 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
3427 * org-clock.el (org-dblock-write:clocktable): Make sure the
3428 clocktable sees the first line.
3429 (org-clock-in): Warn if the clock cannot be resumed.
3431 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
3433 * org.el (org-open-at-point): Fix mixup about interactive and
3434 non-interactive elisp links.
3436 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3438 * org-exp.el (org-export-preprocess-string): Allow one comment
3439 line before the first headline to always be included. This is
3440 to not miss a commented target.
3442 * org-mouse.el (org-mouse-insert-item): Call
3443 `org-indent-to-column' instead of `indent-to', for XEmacs
3446 * org.el (org-refile-targets): Fix customize definition so
3447 that it works also in XEmacs.
3448 (org-fixup-indentation): Call `org-indent-to-column' instead
3449 of `indent-to', for XEmacs compatibility.
3451 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
3453 * org-mew.el (org-mew-store-link): Get the correct case folder
3454 for refiled messages.
3456 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3458 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3459 line break indicators.
3461 * org.el (org-ido-completing-read): Remove the "i:" prefix for
3462 ido-completion propts.
3464 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3466 * org-remember.el (org-remember-apply-template): Use
3467 `org-substring-no-properties'.
3469 * org-compat.el (org-substring-no-properties): New function.
3471 * org-remember.el (org-remember-apply-template): Use
3472 `org-substring-no-properties' for compatibility.
3474 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3476 (org-fix-bullet-type): respect
3477 `org-list-two-spaces-after-bullet-regexp'.
3479 * org-clock.el (org-clock-load): Clean up the code.
3481 * org.el (org-adaptive-fill-function): Allow two spaces after
3482 "1." as a list bullet.
3484 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
3486 * org-clock.el (org-clock-save, org-clock-load): Check for
3487 live buffers, existing files, and buffer file names to ensure
3488 consistent information.
3489 (org-clock-persist): Make `clock' a special value of this
3490 variable, and improve docstring.
3492 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3493 (org-get-string-indentation): Adapt indentation when the bullet
3496 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
3498 * org-remember.el (org-remember-finalize): Make interactive.
3499 (org-remember-kill): New command.
3500 (org-remember-finish-immediately): Call `org-remember-finalize'
3502 (org-remember-finalize): Make `org-remember-finalize' an interactive
3505 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
3507 * org-remember.el (org-remember-apply-template): No ido completion
3508 for free prompts in remember templates.
3509 (org-remember-before-finalize-hook): New hook.
3510 (org-remember-mode): New minor mode.
3511 (org-remember-apply-template): Turn on `org-remember-mode'.
3513 * org-id.el (org-id-add-location): Avoid error when no file is
3516 * org-remember.el (org-remember-apply-template): Fix the way how
3517 the list of allowed properties is retrieved from the target file.
3519 * org.el (org-insert-link): Improve file link matching.
3521 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
3523 * org-colview.el (org-columns-display-here): New argument
3524 DATELINE, to trigger using the new face.
3525 (org-agenda-colview-summarize): Call `org-columns-display-here'
3526 with the new argument.
3528 * org-faces.el (org-agenda-column-dateline): New face.
3530 * org-publish.el (org-publish-org-index): Use index-title at page
3531 title, not as section.
3533 * org-exp.el (org-export-html-format-desc): Respect the
3534 org-protect property.
3535 (org-export-as-html): Protect image specifiers that are in the
3536 description part of a link.
3538 * org.el (org-sort-entries-or-items, org-completing-read)
3539 (org-refile-get-location, org-olpath-completing-read, org-todo)
3540 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3541 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3542 (org-set-property, org-delete-property)
3543 (org-delete-property-globally): Use `org-ido-completing-read'.
3545 * org-remember.el (org-remember-apply-template): Use
3546 `org-ido-completing-read'.
3548 * org-publish.el (org-publish): Use `org-ido-completing-read'.
3550 * org-colview.el (org-columns-edit-value, org-columns-new)
3551 (org-insert-columns-dblock): Use `org-ido-completing-read'.
3553 * org-colview-xemacs.el (org-columns-edit-value)
3554 (org-columns-new, org-insert-columns-dblock): Use
3555 `org-ido-completing-read'.
3557 * org-attach.el (org-attach-delete-one, org-attach-open): Use
3558 `org-ido-completing-read'.
3560 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3561 `org-ido-completing-read'.
3563 * org.el (org-time-today): New function.
3564 (org-matcher-time): Use `org-time-today'. Add special treatment
3565 for "<tomorrow>" and "<yesterday>".
3566 (org-ido-completing-read): New function.
3567 (org-completion-use-ido): New option.
3569 * org-exp.el (org-export-format-source-code): Fix bug in require
3571 (org-export-target-internal-links): Fix bug in search for text
3574 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
3576 * org-export-latex.el (org-export-latex-subcontent): Interprete
3577 target aliases as additonal labels.
3579 * org-exp.el (org-export-target-aliases): New variable.
3580 (org-export-preprocess-string)
3581 (org-export-handle-invisible-targets): Fill the alias alist.
3582 (org-export-as-html): Remove the from the anchor, and also
3584 (org-html-level-start): Insert the target aliases as additonal
3587 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3590 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
3592 * org.el (org-open-at-mouse): Ensure correct link abbreviations
3593 when following a link with the mouse from the agenda.
3595 * org-exp.el (org-export-as-html): Avoid lone </div> when no
3596 headlines are created.
3598 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
3600 * org-exp.el (org-export-preprocess-string): Reorder so that we
3601 can still see ID properties when we collect targets.
3602 (org-export-target-internal-links): Also store targets for ID's.
3604 * org.el (org-link-translation-function): New option.
3605 (org-open-at-point): Call `org-link-translation-function' if
3607 (org-translate-link): New function.
3608 (org-translate-link-from-planner): New function.
3609 (org-open-at-point): Allow interactive commands in elisp links.
3611 * org-exp.el (org-icalendar-cleanup-string): Restore the old
3612 iCalendar quoting. The new one seems to caus problems with
3615 * org.el (org-yank): Set `this-command' to `yank', so that
3616 `yank-pop' will work.
3618 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3620 * org-id.el (org-id-search-archives): New option.
3622 * org.el (org-link-to-org-use-id): New option.
3623 (org-store-link): Use `org-link-to-org-use-id'.
3624 (org-id): Make org-id.el a standard component.
3626 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3628 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3629 hexified version of the tag.
3631 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3632 compliance as far as quoting is concerned.
3634 * org-vm.el (org-vm-follow-link): Require `vm-search'.
3636 * org.el (org-up-heading-safe, org-forward-same-level): Always
3637 call `org-back-to-heading' instead of `outline-back-to-heading'.
3638 (org-back-to-heading): New wrapper around outline-back-to-heading,
3639 with a useful error message telling where the error happened.
3641 * org-list.el (org-update-checkbox-count): Always call
3642 `org-back-to-heading' instead of `outline-back-to-heading'.
3644 * org-exp.el (org-export-as-html): Make sure that each <img> tag
3645 has an `alt' attribute, to ensure XHTML validation.
3647 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3649 * org-publish.el (org-publish-attachment): Allow publishing to
3650 overwrite attachment files.
3652 * org-agenda.el (org-agenda-timerange-leaders): New option.
3653 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3655 * org.el (org-edit-src-exit): Untabify ASCII image before
3669 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
3671 * org.el (org-yank): Make any prefix force normal yanking.
3672 Suppress folding if text would be swallowed into a folded
3674 (org-yank-folded-subtrees, org-yank): Docstring updates.
3676 * org-agenda.el (org-agenda-compare-effort): Treat no effort
3679 * org-exp.el (org-export-language-setup): Add Catalan and
3680 Esperanto language entries.
3682 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
3684 * org.el (org-refile): Allow refiling of entire regions.
3686 * org-clock.el (org-clock-time%): New function.
3688 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3689 retrieve property values.
3691 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
3693 * org-agenda.el (org-agenda-list): Handle the value `only' of
3694 org-agenda-show-log'.
3695 (org-agenda-log-mode): Interpret a double prefix arg.
3697 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
3699 * org-exp.el (org-export-html-footnotes-section): New variable.
3700 (org-export-as-html): Use `org-export-html-footnotes-section' to
3701 insert the footnotes.
3702 (org-export-language-setup): Add "Footnotes" to language words.
3704 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
3706 * org.el (org-yank): Fix bug when not inserting a subtree.
3708 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3710 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3711 instead of `vm-beginning-of-message'.
3713 * org.el (org-make-link-regexps): Make sure that links to gnus can
3716 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
3718 * org-attach.el (org-attach-dir): Remove duplicate ID creation
3721 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3724 * org.el (org-link-abbrev-alist): Improve customization type.
3726 * org-attach.el (org-attach-expand-link, org-attach-expand): New
3729 * org-agenda.el (org-agenda-get-progress): Renamed from
3730 `org-get-closed'. Implement searching for state changes as well.
3731 (org-agenda-log-mode-items): New option.
3732 (org-agenda-log-mode): New option prefix argument, interpreted as
3733 request to show all possible progress info.
3734 (org-agenda-get-day-entries): Call `org-get-progress' instead of
3736 (org-agenda-set-mode-name): Handle the more complex log mode
3738 (org-get-closed): New alias, pointing to `org-get-progress'.
3740 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
3742 * org.el (org-file-apps-defaults-gnu)
3743 (org-file-apps-defaults-macosx)
3744 (org-file-apps-defaults-windowsnt): Add an entry defining the
3746 (org-file-apps): Allow `system' as key and value.
3747 (org-open-at-point): Explain the effect of a double prefix arg.
3748 (org-open-file): If the argument `in-emacs' is (16),
3749 i.e. corresponding to a double prefix argument, try to open the
3752 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
3754 * org.el (org-insert-link): Abbreviate absolute files names in
3755 links. Also, fix a bug in which the double C-u prefix would not
3758 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
3760 * org.el (org-insert-heading): If buffer does not end with a
3761 newline, add one if necessary to insert headline correctly.
3763 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3764 paragraphs, not inside.
3766 * org.el (org-todo): Quote
3767 `org-agenda-headline-snapshot-before-repeat'.
3769 * org-exp.el (org-export-as-html): Fully process link descriptions.
3770 (org-export-html-format-desc): New function.
3771 (org-export-as-html): Collect footnotes into the correct basket.
3772 (org-html-protect): No longer protect quotations marks here, this
3775 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3778 * org-compat.el (org-fit-window-to-buffer): New function (not
3779 really, a preliminary and incomplete version was present earlier,
3782 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3783 `org-fit-window-to-buffer'.
3785 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3787 * org-agenda.el (org-agenda-get-restriction-and-command)
3788 (org-fit-agenda-window, org-agenda-convert-date): Use
3789 `org-fit-window-to-buffer'.
3791 * org-exp.el (org-export-as-html): Process href links through
3792 `org-export-html-format-href'.
3793 (org-export-html-format-href): New function.
3795 * org-agenda.el (org-agenda-todo): Update only the current
3796 headline if this is a repeated TODO, marked done for today.
3797 (org-agenda-change-all-lines): New argument JUST-THIS, to change
3798 only the current line.
3800 * org.el (org-todo): Take a snapshot of the headline if the
3801 repeater might change it.
3803 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3805 * org-publish.el (org-publish-find-title): Remove buffers visited
3806 only for extracting the title.
3808 * org-exp.el (org-export-html-style)
3809 (org-export-html-style-default): Mark style definitions as
3812 * org-publish.el (org-publish-validate-link): Function
3815 2008-11-02 Charles Sebold <csebold@gmail.com>
3817 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3819 (org-plot-quote-timestamp-field): New function.
3820 (org-plot-quote-tsv-field): Call timestamp field function when
3821 necessary rather than just quoting as a string.
3822 (org-plot/gnuplot-to-data): Pass in timefmt property.
3823 (org-plot/gnuplot-script): Supports timefmt property.
3824 (org-plot/gnuplot): Checks for timestamp column before checking
3825 for text index column.
3827 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3829 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3831 * org-publish.el (org-publish-org-index): Create a section in the
3833 (org-publish-org-index): Stop linking to directories.
3835 * org.el (org-emphasis-alist): Use span instead of <u> to
3838 * org-exp.el (org-export-as-html): Make sure <p> is closed before
3841 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
3843 * org-jsinfo.el (org-infojs-template): Remove language attribute
3846 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
3848 * org-agenda.el (org-agenda-remove-marked-text): New function.
3849 (org-agenda-mark-filtered-text)
3850 (org-agenda-unmark-filtered-text): New functions.
3851 (org-write-agenda): Remove fltered text.
3853 * org.el (org-make-tags-matcher): Give access to TODO "property"
3854 without speed penalty.
3856 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
3858 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3860 (org-store-link-props): Make sure adding to the plist works
3863 * org-gnus.el (org-gnus-no-new-news): New function.
3864 (org-gnus-follow-link): Allow the article ID to be a message-id,
3865 in addition to allowing article numbers. Message IDs make much
3867 (org-gnus-store-link): Use message-id to create link.
3869 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
3871 * org.el (org-emphasize): Reverse the selection array.
3872 (org-emphasis-alist): Set <code> tags for the verbatim
3875 * org-remember.el (org-remember-handler): Fix bug with
3876 prefix-related changing of the note storage target.
3878 * org-exp.el (org-print-icalendar-entries): Make the exported
3879 priorities compatible with RFC 2445.
3881 * org-clock.el (org-clock-save): Insert time stamp without
3882 dependence on time-stamp.el.
3884 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
3886 * org.el ("saveplace"): If saveplace puts point into an invisible
3887 location, make it visible.
3888 (org-make-tags-matcher): Allow inactive time stamps in time
3890 (org-yank-adjusted-subtrees): New option.
3891 (org-yank): Incorporate adjusting trees.
3892 (org-paste-subtree): New argument FOR-YANK which will cause
3893 insertion at point without backing up over white lines, and leave
3894 point at the end of the inserted text. Also if the cursor is
3895 at the beginning of a headline, use the same level or the inserted
3898 * org-publish.el (org-publish-get-base-files-1): Deal correctly
3899 with broken symlinks
3901 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
3903 * org-exp.el (org-export-select-tags, org-get-current-options):
3906 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
3908 * org-agenda.el (org-format-agenda-item)
3909 (org-agenda-filter-make-matcher): Make sure tags are stored and
3912 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
3914 * org.el (org-insert-todo-heading): Fix bug with force-heading
3917 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
3919 * org-clock.el (org-clock-in-resume): Add a custom option to
3920 toggle starting the clock from an open clock line.
3921 (org-clock-in): When clocking in to an entry, if
3922 `org-clock-in-resume' is set, check if the first clock line is
3923 open and if so, start the clock from the time in the clock line.
3924 (org-clock-persist): Add a custom option to toggle clock
3926 (org-clock-persist-query-save): Add a custom option to toggle
3927 asking the user if they want to save the running clock when
3929 (org-clock-persist-query-resume): Add a custom option to toggle
3930 asking the user if they want to resume the saved clock when Emacs
3932 (org-clock-save): Add a function to save clock data.
3933 This includes the contents of `org-clock-history' and the buffer
3934 and position of the currently clocked task, if any.
3935 (org-clock-load): Add a function to load clock data.
3936 This populates `org-clock-history', and resumes the saved clocked
3937 task if there is one.
3938 (org-clock-persistence-insinuate): Add a method to set up the
3939 hooks for clock persistence.
3941 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
3943 * org-exp.el (org-export-as-ascii): Handle the case that we are
3944 publishing from an indirect buffer.
3946 * org-table.el (org-table-copy-down): Fix bug with time stamp
3949 * org-mouse.el (org-mouse-features): New option.
3950 (org-mode-hook): Turn on features depending on
3951 `org-mouse-features'.
3953 * org.el (org-insert-heading-respect-content): Force heading
3955 (org-insert-heading): keep the folding state of the heading before
3958 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3960 * org-archive.el (org-archive-to-archive-sibling): Handle top
3961 level headlines better.
3963 2008-10-21 Bastien Guerry <bzg@altern.org>
3965 * org-export-latex.el (org-export-latex-classes): Added
3966 \usepackage{graphicx} to the default list of packages.
3968 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3970 * org-agenda.el (org-agenda-filter): Renamed from
3971 `org-agenda-filter-tags'.
3973 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
3975 * org.el (org-entry-properties): Add CATEGORY property, iven if it
3976 is not defined as a property in this entry.
3977 (org-add-log-note): Mask prefix argument when immediately storing
3980 * org-agenda.el (org-agenda-filter-effort-default-operator): New
3983 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
3985 * org.el (org-add-log-setup): Bugfix; code to find insertion point
3986 after drawers was skipping ahead one line too many, so notes were
3987 inserted after the first note instead of before it.
3989 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
3991 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3993 (org-prepare-agenda): Reset the filter tags.
3994 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3995 Show filter tags in mode line.
3997 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4000 * org-export-latex.el (org-latex-entities-regexp): New constant.
4001 (org-export-as-pdf): Use two calls to `shell-command'.
4003 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
4005 * org-export-latex.el (org-export-latex-treat-sub-super-char):
4006 Honor the {} value of the subsuperscript setting. Make sure that
4007 longer subsuperscripts are typeset in a roman font.
4009 * org.el (org-clock-update-time-maybe): Compute negative clock
4010 intervals correctly.
4012 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
4014 * org.el (org-add-log-setup): Respect
4015 `org-log-state-notes-insert-after-drawers'.
4016 (org-log-state-notes-insert-after-drawers): New option.
4017 (org-todo-trigger-tag-changes): New function.
4018 (org-todo): Call `org-todo-trigger-tag-changes'.
4020 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
4022 * org.el (org-add-log-setup): Only skip drawers if the are
4023 immediately after the scheduling keywords.
4025 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4027 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4028 call it with the current todo state to get the state to switch to
4030 (org-clock-in): Use org-indent-line-function to indent clock lines.
4031 (org-clock-find-position): Fix indentation of empty clock drawers.
4033 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
4035 * org-publish.el (org-publish-org-to): Handle case when
4036 org-export-to-pdf does return a file name, not a buffer.
4037 (org-publish-org-to-pdf): New function.
4039 * org-export-latex.el (org-export-as-pdf)
4040 (org-export-as-pdf-and-open): New commands.
4042 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4045 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4046 things in protexted regions.
4048 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
4050 * org-export-latex.el (org-export-latex-preprocess): Improve
4051 quoting of LaTeX environments.
4053 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
4055 * org.el (org-edit-fixed-width-region): Exclude final newline from
4058 * org-export-latex.el (org-export-latex-subcontent): Add labels to
4059 sections, to make internal links work.
4060 (org-export-latex-fontify-headline): Do not remove all text
4061 properties, to make sure that target properties survive this
4064 * org-exp.el (org-export-preprocess-string): Change sequence of
4065 modifications, to make sure links are prepared before the LaTeX
4066 conversions do happen.
4068 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
4070 * org-attach.el (org-attach-delete-all): Renamed from
4071 `org-attch-delete'. Add a security query before deleting the
4072 entire directory. New optional argument FORCE can overrule the
4074 (org-attach-delete-one): New command.
4076 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
4078 * org-attach.el (org-attach-file-list): Fix bug with directory.
4080 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
4082 * org.el (org-apps-regexp-alist): New function.
4083 (org-file-apps): Add auto-mode to the default value.
4084 (org-open-file): Use the new structure of org-file-apps.
4086 * org-attach.el (org-attach): Support the new keys.
4087 (org-attach-method): New option.
4089 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
4091 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4094 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4095 of the list value o `org-use-tag-inheritance'.
4097 * org-attach.el (org-attach-auto-tag): New option.
4098 (org-attach-tag, org-attach-untag): New functions.
4099 (org-attach-attach, org-attach-new, org-attach-sync): Call
4101 (org-attach-delete): Call `org-attach-untag'.
4103 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
4105 * org-table.el (orgtbl-self-insert-command): Make this work for
4108 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
4110 * org.el (org-add-log-setup): Limit searc for drawers to entry
4111 text, not to subtree.
4113 * org-clock.el (org-clock-heading-for-remember): New variable.
4114 (org-clock-in): Set `org-clock-heading-for-remember'.
4116 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
4118 * org-remember.el (org-remember-apply-template): Add new
4119 expansions: %k, %K for currently clocked task and a link to the
4120 currently clocked task, and %< to file notes in the currently
4123 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
4125 * org-export-latex.el (org-export-latex-make-header): Also insert
4126 the content of the property :latex-header-extra.
4128 * org-exp.el (org-infile-export-plist): Put the content of
4129 #+LATEX_HEADER: into the property :latex-header-extra.
4131 * org-colview.el (org-columns-get-format-and-top-level): Remove
4132 resetting the marker.
4134 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4135 Remove resetting the marker.
4137 * org.el (org-entry-property-inherited-from): Improve docstring.
4138 (org-entry-get-with-inheritance): Reset marker before starting the
4141 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4143 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
4145 * org.el (org-entry-get-multivalued-property)
4146 (org-entry-protect-space, org-entry-restore-space): New
4148 (org-file-apps-defaults-macosx): Let postscript files be opened by
4150 (org-time-stamp-inactive): Call `org-time-stamp'.
4151 (org-time-stamp): New argument `inactive'. Also edit inacive
4152 stamps. Convert time stamp type.
4153 (org-open-file): Interpret the `default' value for the `command'
4156 * org-id.el (org-id-int-to-b36-one-digit)
4157 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4158 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4161 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
4163 * org-id.el (org-id-reverse-string): New function.
4164 (org-id-new): Use `org-id-reverse-string' to make sure the
4165 beginning chars of the ID are mutating fast. This allows to use a
4166 directory structure to spread things better.
4167 (org-id-prefix): Changed default to nil.
4169 * org-list.el (org-move-item-down, org-move-item-up): Remember and
4170 restore the column of the cursor position.
4172 * org-remember.el (org-remember-apply-template): Remove properties
4175 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
4177 * org-wl.el (org-wl-open): Remove useless call to
4178 `wl-thread-open-all'.
4180 * org-remember.el (org-remember-handler): Fix bug with `bottom'
4183 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
4185 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4186 `org-bbdb-anniversaries'.
4188 * org.el (org-get-next-sibling, org-forward-same-level): New
4189 functions, similar to the outline versions, but invisible headings
4192 2008-09-25 Bastien Guerry <bzg@altern.org>
4194 * org.el (org-auto-repeat-maybe): Insert a space between
4195 the timestamp's type and the timestamp itself.
4197 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
4199 * org-table.el (org-table-sum): Do not format the result with %g,
4200 it does rounding when there are too many digits.
4202 * org.el (org-map-entries): Protect the keyword-selecting variables.
4204 2008-09-23 Bastien Guerry <bzg@altern.org>
4206 * org-agenda.el (org-agenda-to-appt): Make sure the function check
4207 against all agenda files.
4209 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
4211 * org-list.el: New file, aggregating list functions from org.el
4212 and org-export-latex.el.
4214 * org.el (org-edit-src-region-extra): New option.
4216 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
4218 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4221 2008-09-22 Bastien Guerry <bzg@altern.org>
4223 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4225 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
4227 * org-plot.el (org-plot/gnuplot): Make tables starting with a
4228 hline work correctly.
4229 (org-plot/gnuplot-script): Put commas at the end of each script
4232 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
4234 * org.el (org-get-refile-targets): Replace links with their
4236 (org-imenu-get-tree): Replace links with their descriptions.
4238 * org-remember.el (org-remember-apply-template): Add a new
4239 expansion for adding properties to remember items.
4241 * org.el (org-add-log-setup): Skip over drawers (properties,
4242 clocks etc) when adding notes.
4244 * org-agenda.el (org-agenda-get-closed): show durations of clocked
4245 items as well as the start and end times.
4247 * org-compat.el (org-get-x-clipboard-compat): Add a compat
4248 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4250 * org-remember.el (org-get-x-clipboard): Use the compat
4251 function to get clipboard values when x-selection-value is
4252 unavailable. Use substring-no-properties instead of
4253 set-text-properties to remove text properties from the clipboard
4256 * lisp/org-clock.el (org-update-mode-line): Support limiting the
4257 modeline clock string, and display the full todo value in the
4258 tooltip. Set a local keymap so mouse-3 on the clock string goes to
4259 the currently clocked task.
4260 (org-clock-string-limit): Add a custom value for the maximum
4261 length of the clock string in the modeline.
4262 (org-clock-mode-map): Add a keymap for the modeline string
4264 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
4266 * org-compat.el (org-propertize): New function.
4268 2008-09-20 Bastien Guerry <bzg@altern.org>
4270 * org-export-latex.el (org-export-latex-tables): protect exported
4271 tables from further special chars conversion.
4272 (org-export-latex-preprocess): Preserve LaTeX environments.
4273 (org-list-parse-list): Parse descriptive lists.
4274 (org-list-to-generic, org-list-to-latex, org-list-to-html)
4275 (org-list-to-texinfo): Export descriptive lists.
4276 (org-quote-chars): Remove.
4277 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4278 (org-export-latex-list-beginning-re): Rename to
4279 `org-list-beginning-re'
4280 (org-list-item-begin): Rename to `org-list-item-beginning'
4282 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
4284 * org.el (org-refile): Allow refiling to the last entry in the
4286 (org-get-tags-at): Fix bug when inheritance is turned off.
4288 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
4290 * org.el (org-indent-line-function): No longer check for src
4291 regions, this is too much overhead.
4293 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4296 * org.el (org-scan-tags): Make sure that tags matching is not case
4297 sensitive. TODO keyword matching is case sensitive, however, to
4298 avoid confusion with similar words that are not meant to be
4301 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
4303 * org.el (org-get-local-tags-at): New function.
4304 (org-get-local-tags): New function.
4306 * org-exp.el (org-export-get-categories): New function.
4308 * org-agenda.el (org-sorting-choice)
4309 (org-agenda-sorting-strategy, org-agenda-get-todos)
4310 (org-agenda-get-timestamps, org-agenda-get-deadlines)
4311 (org-agenda-get-scheduled, org-agenda-get-blocks)
4312 (org-entries-lessp): Implement sorting by TODO state.
4313 (org-cmp-todo-state): New defsubst.
4315 * org-colview.el (org-colview-construct-allowed-dates): New
4317 (org-columns-next-allowed-value): Use
4318 `org-colview-construct-allowed-dates'.
4320 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4322 (org-columns-next-allowed-value): Use
4323 `org-colview-construct-allowed-dates'.
4325 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
4327 * org.el (org-protect-slash): New function.
4328 (org-get-refile-targets): Use `org-protect-slash'.
4330 * org-agenda.el (org-global-tags-completion-table): New variable.
4332 * org-exp.el (org-export-handle-export-tags): New function.
4333 (org-export-preprocess-string): Call
4334 `org-export-handle-export-tags'.
4336 * org-plot.el: New file.
4338 * org-publish.el (org-publish-expand-components): Function removed.
4339 (org-publish-expand-projects): Allow components to have components.
4341 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
4343 * org.el (org-indent-line-function): Do not indent in regions that
4344 are external source code.
4345 (org-yank-and-fold-if-subtree): New function.
4347 * org-agenda.el (org-agenda-todayp): New function.
4348 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4349 `org-agenda-todayp'.
4351 * org.el (org-insert-heading-respect-content)
4352 (org-insert-todo-heading-respect-content): New commands.
4353 (org-insert-heading-respect-content): New option.
4354 (org-insert-heading): Respect `org-insert-heading-respect-content'.
4356 * org-clock.el (org-clock-find-position): Make sure the note after
4357 the clock line gets moved into the new clock drawer.
4359 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
4361 * org-id.el (org-id-new): New option.
4363 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
4365 * org-table.el (org-table-copy-down): Avoid overflow during
4366 increment. Use prefix argument 0 to temporarily disable the
4369 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
4371 * org-exp.el (org-export-as-html): Do not turn on the major mode
4372 if the buffer will be killed anyway.
4373 (org-get-current-options): Exclude the #+TEXT field.
4374 (org-export-as-html): Make sure text before the first headline is
4377 * org-publish.el (org-publish-org-to): Tell the exporter that this
4378 buffer will be killed, so it is not necessary to do major mode
4381 * org-archive.el (org-archive-to-archive-sibling): Show empty
4382 lines after folding the archive sibling.
4384 * org.el (org-log-note-extra): New variable.
4386 2008-09-05 Bastien Guerry <bzg@altern.org>
4388 * org.el (org-additional-option-like-keywords): Added keywords for
4389 the _QUOTE, _VERSE and _SRC environments.
4391 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4392 exporting _QUOTE and _VERSE environments.
4394 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
4396 * org-agenda.el (org-agenda-filter-by-tag): New command.
4398 * org-exp.el (org-get-current-options): Remove angular brackets
4399 from the date entry.
4401 * org.el (org-edit-fixed-width-region): New function.
4402 (org-edit-fixed-width-region): Also try
4403 `org-edit-fixed-width-region'.
4404 (org-edit-fixed-width-region-mode): New option.
4405 (org-activate-code): Only interprete lines starting with colon
4406 plus a space as example lines.
4408 * org-remember.el (org-remember-templates): Add nil instead of
4409 empty strings to fix the length of remember templates.
4411 * org-table.el (org-calc-default-modes): Fix the time format for
4412 calc, from 12 hour to 24 hour clock.
4414 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
4416 * org-agenda.el (org-agenda-get-deadlines)
4417 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4418 entries that are pre-warnings of deadlines or reminders.
4420 * org.el (org-sort-entries-or-items): Make numeric and alpha
4421 comparisons ignore any TODO keyword and priority cookie.
4423 * org-remember.el (org-remember-handler): Reinterpretation of the
4426 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
4428 * org-agenda.el (org-agenda-get-scheduled): Use new
4429 `org-scheduled' face.
4431 * org-faces.el (org-scheduled): New face.
4433 * org-wl.el (org-wl-open): Remove incorrect declaration.
4435 * org-gnus.el (org-gnus-store-link): Support for :to information
4438 * org-exp.el (org-export-as-html): Fixed typo in creator
4440 (org-export-protect-examples): New parameter indent. Insert extra
4441 spaces only when this parameter is specified.
4442 (org-export-preprocess-string): Call `org-export-protect-examples'
4443 with an indentation parameter when exporting to ASCII.
4445 * org-remember.el (org-remember-templates)
4446 (org-remember-apply-template): Allow the file component to be a
4449 * org.el (org-goto-local-search-headings): Renamed from
4450 `org-goto-local-search-forward-headings'. Added the possibility
4451 to search backwards.
4453 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
4455 * org-export-latex.el (org-export-latex): New customization
4458 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4460 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
4462 * org-exp.el (org-html-do-expand): Allow {} to terminate
4465 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
4467 * org.el (org-buffer-list): Select buffers based on major mode,
4470 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
4472 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4475 * org-colview.el (org-columns-display-here): Use
4476 `org-columns-modify-value-for-display-function'.
4478 * org-colview-xemacs.el (org-columns-display-here): Use
4479 `org-columns-modify-value-for-display-function'.
4481 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
4483 * org.el (org-columns-modify-value-for-display-function): New option.
4495 * org-publish.el (org-publish-file): Make sure the directory match
4496 for the publishing directory works correctly.
4498 * org-agenda.el (org-agenda-execute-calendar-command)
4499 (org-agenda-diary-entry): Additional optional argument.
4501 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
4503 * org-exp.el (org-export-as-html): Add attributes also in mailto
4506 * org.el (org-autoload): Add `org-dblock-write:columnview'.
4515 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
4517 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4518 sure that calls from `org-export-region-as-html' do not do the
4519 special check for a subtree.
4521 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
4523 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4525 2008-07-20 Juri Linkov <juri@jurta.org>
4527 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4528 new keymap `narrow-map' instead of binding "\C-xns".
4530 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
4532 * org.el (org-open-file): Use
4533 `org-open-directory-means-index-dot-org'.
4534 (org-open-directory-means-index-dot-org): New option.
4536 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
4538 * org.el (org-make-link-string): Remove link attributes from
4540 (org-open-at-point): Remove link attributes bevore using the path.
4542 * org-exp.el (org-export-as-html): Handle link attributes.
4544 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4546 * org-table.el (org-table-to-lisp): New function.
4548 * org.el (org-narrow-to-subtree): Do not include the final newline
4549 into the narrowed region.
4551 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4552 bug with user-define skipping condition.
4554 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
4556 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4558 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
4560 * org-exp.el (org-export-html-style-default): Automatic overflow
4561 handling for pre fields.
4562 (org-export-as-ascii, org-export-as-html): Change default format
4565 * org-table.el (org-table-export): Offer completion for translator
4566 functions, and do not require a heading above the table.
4568 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4569 Cater for the case of a list starting in the first line of the
4572 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
4574 * org-publish.el (org-publish-find-title): Bug fix.
4575 (org-publish-org-index): Implement new :index-style option.
4577 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
4579 * org-publish.el (org-publish-timestamp-filename): Use
4580 SHA1-encoded file names in the timestamp directory.
4582 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
4584 * org-publish.el (org-publish-needed-p): Be verbose about files
4585 published and files skipped.
4587 * org-exp.el (org-export-preprocess-string): Swap link
4588 normalization and inernal link targeting.
4590 * org-publish.el (org-publish-needed-p): Create timestamp
4591 directory when it does not exist.
4593 2008-07-04 Bastien Guerry <bzg@altern.org>
4595 * org-clock.el (org-clock-out-when-done): Doc fix.
4597 * org.el (org-agenda-skip-unavailable-files): Doc fix.
4599 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4600 Ignore case when searching for the COMMENT cookie at export time.
4602 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
4604 * org-exp.el (org-get-file-contents)
4605 (org-get-and-remove-property): New functions.
4606 (org-export-handle-include-files): Handle the new prefix options.
4607 (org-export-as-html): Fix the verse environment.
4609 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
4611 * org.el (org-time=, org-time<, org-time<=, org-time>)
4612 (org-time>=, org-time<>, org-2ft): New functions.
4613 (org-op-to-function): Also provide for the time testing fucntions.
4615 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
4617 * org-exp.el (org-export-html-style-default): New constant.
4619 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
4621 * org-exp.el (org-export-html-style-extra): New variable.
4622 (org-export-splice-style): New function.
4624 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
4626 * org-exp.el (org-export-plist-vars, org-export-as-html):
4627 Implement `org-export-creator-info'.
4628 (org-export-creator-info): New option.
4630 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
4632 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4633 (org-property-drawer-re, org-clock-drawer-re): New constants.
4635 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
4637 * org-exp.el (org-icalendar-use-deadline)
4638 (org-icalendar-use-scheduled): New options.
4639 (org-icalendar-include-todo): Default changed to t.
4640 (org-print-icalendar-entries): Implement better utilization of
4641 scheduling and deadline time stamps.
4642 (org-export-target-internal-links, org-export-as-html): Allow file
4643 lines without the "file:" prefix if the file path is an absolute
4644 path or starts with ".".
4646 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4648 (org-clock-special-range): Also undertand yesterday, lastweek etc.
4650 2008-06-18 Glenn Morris <rgm@gnu.org>
4651 * org.el (org-map-entries): Let-bind `file'.
4653 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
4655 * org.el (org-agenda-skip-archived-trees): Docstring now
4656 discourages using this.
4657 (org-scan-tags): Check for org-agenda-archives-mode.
4658 (org-map-entries): Make sure org-agenda-archives-mode is nil.
4659 (org-agenda-files): Functionality of second arg changed.
4661 * org-agenda.el (org-agenda-archives-mode): New variable
4662 (org-write-agenda, org-prepare-agenda, org-agenda-list)
4663 (org-search-view, org-todo-list, org-tags-view)
4664 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4666 (org-agenda-quit): Reset the archives mode.
4667 (org-agenda-archives-mode): New command.
4668 (org-agenda-set-mode-name): Include archives info.
4670 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
4672 * org.el (org-paste-subtree): Make sure the yanked headline is
4673 visible if it was yanked at a visible point.
4674 (org-move-item-up): Fix the bug with moving white space at the end
4676 (org-show-empty-lines-in-parent): New function.
4678 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
4680 * org-colview.el (org-columns-next-allowed-value): Bug fix.
4682 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4684 * org-agenda.el (org-agenda-get-closed): Get the end time into the
4685 agenda prefix as well.
4687 * org-publish.el (org-publish-org-index): Make a properly indented
4690 * org.el (org-calendar-agenda-action-key): New option.
4691 (org-get-cursor-date): New function.
4692 (org-mark-entry-for-agenda-action): New command.
4693 (org-overriding-default-time): New variable.
4694 (org-read-date): Respect `org-overriding-default-time'.
4696 * org-remember.el (org-remember-apply-template): Respect the
4697 ovverriding default time.
4699 * org-agenda.el (org-agenda-action-marker): New variable.
4700 (org-agenda-action): New command.
4701 (org-agenda-do-action): New function.
4703 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4705 * org.el (org-schedule, org-deadline): Protect scheduled and
4706 deadline tasks against changes that accidently remove the
4707 repeater. Also show a message with the new date when done.
4709 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4711 * org.el (org-beginning-of-line): Cater for the case when there
4712 are tags but no headline text.
4713 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4716 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
4718 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4719 the return value is nil instead of "nil" when there is no match.
4721 * org-exp.el (org-insert-centered): Use fill-column instead of
4723 (org-export-as-ascii): Use string-width to measure the width of
4726 * org.el (org-diary-to-ical-string): No longer kill buffer
4727 FROMBUF, this is now done by the caller.
4729 * org-exp.el (org-print-icalendar-entries): Move the call to
4730 `org-diary-to-ical-string' out of the loop, and kill the buffer
4733 * org-remember.el (org-remember-visit-immediately): Position
4734 cursor after moving to the note.
4735 (org-remember-apply-template): Use a text property to record the
4737 (org-remember-handler): Align tags after pasting the note.
4739 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
4741 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4743 * org-agenda.el (org-agenda-open-link): If there is an
4744 org-bbdb-name property in the current line, jump to that bbdb
4747 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4748 text property, so that the agenda knows where this entry comes
4751 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4752 interaction between clocking-in from the agenda, and automatic
4753 task state switching.
4755 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4757 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4758 zmacs-region stays after this command in XEmacs.
4760 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
4762 * org.el (org-scan-tags): Allow new values for ACTION parameter.
4764 * org-remember.el (org-remember-templates): Fix bug in
4765 customization type definition.
4767 * org.el (org-map-entries): New function.
4769 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
4771 * org-agenda.el (org-agenda-skip-comment-trees): New option.
4772 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4774 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
4776 * org-remember.el (org-jump-to-target-location): New variable.
4777 (org-remember-apply-template): Set
4778 `org-remember-apply-template' if requested by template.
4779 (org-remember-handler): Start an idle timer to jump to
4782 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4784 * org.el (org-set-regexps-and-options): Fix bug with parsing of
4786 (org-get-tags-at): Add the content of `org-file-tags'.
4788 * org-exp.el (org-export-handle-comments): Fix bug with several
4789 comment lines after each other.
4790 (org-number-to-roman, org-number-to-counter): New functions.
4791 (org-export-section-number-format): New option.
4793 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
4795 * org-exp.el (org-export-protect-examples): Catch the case of a
4796 missing end_example line.
4798 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4799 `org-file-tags' to nil.
4801 * org-colview.el (org-columns-next-allowed-value): Handle next
4802 argument NTH to directly select a value.
4804 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4805 argument NTH to directly select a value.
4807 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
4809 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4811 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
4813 * org.el (org-columns-ellipses): New option.
4815 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
4817 * org-colview.el (org-columns-add-ellipses): New function.
4818 (org-columns-compact-links): New function.
4819 (org-columns-cleanup-item): Call `org-columns-compact-links'.
4820 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4822 (org-columns-edit-value): Fixed bug with editing values from
4824 (org-columns-redo): Also redo the agenda itself.
4826 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
4828 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4831 * org-colview.el (org-agenda-columns-cleanup-item): New function.
4833 * org-exp.el (org-export-ascii-preprocess): Renamed from
4834 `org-export-ascii-clean-string'.
4835 (org-export-kill-licensed-text)
4836 (org-export-define-heading-targets)
4837 (org-export-handle-invisible-targets)
4838 (org-export-target-internal-links)
4839 (org-export-remove-or-extract-drawers)
4840 (org-export-remove-archived-trees)
4841 (org-export-protect-quoted-subtrees)
4842 (org-export-protect-verbatim, org-export-protect-examples)
4843 (org-export-select-backend-specific-text)
4844 (org-export-mark-blockquote-and-verse)
4845 (org-export-remove-comment-blocks-and-subtrees)
4846 (org-export-handle-comments, org-export-mark-radio-links)
4847 (org-export-remove-special-table-lines)
4848 (org-export-normalize-links)
4849 (org-export-concatenate-multiline-links)
4850 (org-export-concatenate-multiline-emphasis): New functions,
4851 obtained from spliiting the export preprocessor.
4853 * org-table.el (org-table-recalculate): Improve error message if
4854 the row number is invalid.
4856 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
4858 * org-archive.el (org-archive-save-context-info): Fix bugs in
4859 customization setup and docstring.
4861 * org-exp.el (org-export-html-style): Changed the size of in the
4862 <pre> element to 90%.
4864 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
4866 * org.el (org-find-src-example-start): Function removed.
4867 (org-edit-src-find-region-and-lang): New function.
4869 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
4871 * org.el (org-edit-src-exit): New function.
4872 (org-exit-edit-mode): New minor mode.
4874 * org-exp.el (org-export-preprocess-string): Fix bug with removing
4875 comment-like lines from protected examples.
4877 * org.el (org-edit-src-example, org-find-src-example-start)
4878 (org-protect-source-example, org-edit-special): New functions.
4880 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
4882 * org-publish.el (org-publish-project-alist): Fix typo in
4884 (org-publish-project-alist): Handle :index-title property.
4886 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
4888 * org-export-latex.el (org-export-as-latex): Make sure region
4889 bounds are correct. Parse subtree properties relating to export.
4891 * org-exp.el (org-export-add-options-to-plist): New function.
4892 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4894 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
4896 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4899 * org-exp.el (org-export-get-title-from-subtree)
4900 (org-export-as-ascii, org-export-as-html): Make sure the original
4901 region-beginning and region-end are used, even after moving
4903 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4906 * org-remember.el (org-remember-last-stored-marker): New variable.
4907 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4908 (org-remember-handler): Also use marker to remember
4909 last-stored position.
4911 * org.el (org-goto-marker-or-bmk): New function.
4913 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
4915 * org.el (org-file-properties): Renamed from `org-local-properties'.
4916 (org-scan-tags): Take file tags into account.
4917 (org-tags-match-list-sublevels): Default changed to t.
4919 * org-exp.el (org-export-as-html): Close paragraph after a
4922 * org.el (org-update-parent-todo-statistics): New function.
4924 * org-exp.el (org-icalendar-store-UID): New option.
4925 (org-icalendar-force-UID): Option removed.
4926 (org-print-icalendar-entries): IMplement UIDs.
4928 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
4930 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4932 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
4934 * org-faces.el (org-column): Document how this face is being used
4935 and why sometimes the background faces shine through.
4937 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4939 * org-publish.el (org-publish-attachment): Create publishing
4940 directory if it does not yet exist.
4942 * org-table.el (org-calc-default-modes): Change default number
4943 format to (float 8).
4945 * org.el (org-olpath-completing-read): New function.
4946 (org-time-clocksum-format): New option.
4947 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4949 * org-clock.el (org-clock-display, org-clock-out)
4950 (org-update-mode-line): Use `org-time-clocksum-format'.
4952 * org-colview-xemacs.el (org-columns-number-to-string): Use
4953 `org-time-clocksum-format'.
4955 * org-colview.el (org-columns-number-to-string): Use
4956 `org-time-clocksum-format'.
4958 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
4960 * org-id.el: New file, move from contrib to core.
4962 * org-exp.el (org-icalendar-force-UID): New option.
4964 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
4966 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4967 shifted by one day if theere is a date range without an end
4970 * org.el (org-try-structure-completion): New function.
4972 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
4974 * org.el (org-set-font-lock-defaults): Improve fontification of
4976 (org-insert-item): Handle description lists.
4977 (org-adaptive-fill-function): Improve auto indentation in
4980 * org-exp.el (org-export-as-html, org-export-preprocess-string):
4981 Implement VERSE environment.
4982 (org-export-preprocess-string): Implement the COMMENT
4985 * org-export-latex.el (org-export-latex-preprocess): Implement
4988 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
4990 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4993 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
4995 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4997 * org.el (org-quote-csv-field): New functions.
4999 * org-table.el (org-table-export-default-format): Remove :splice
5000 from default format, we get the same effect by not specifying
5002 (org-table-export): Improve setup, distinguish better between
5003 interactive and non-interactive use, allow specifying the format
5004 on the fly, better protection against wrong file names.
5005 (orgtbl-to-generic): Fix documentation. Do not require :tstart
5006 and :tend when :splice is omitted.
5008 2008-05-09 Bernt Hansen <bernt@norang.ca>
5010 * org-clock.el (org-clock-select-task): Make sure the selection
5011 letters are 1-9 and A-Z, no special characters.
5013 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
5015 * org-exp.el (org-export-htmlize): New group.
5016 (org-export-htmlize-output-type)
5017 (org-export-htmlize-css-font-prefix): New options.
5018 (org-export-htmlize-region-for-paste): New function.
5019 (org-export-htmlize-generate-css): New command.
5021 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
5023 * org/org.el (org-modules, org-format-latex-options):
5024 * org/org-archive.el (org-archive-stamp-time)
5025 (org-archive-save-context-info):
5026 * org/org-faces.el (org-hide):
5027 * org/org-irc.el (org-irc-parse-link):
5028 * org/org-macs.el (org-call-with-arg, org-autoload):
5029 * org/org-mew.el (org-mew-store-link):
5030 * org/org-remember.el (org-remember-store-without-prompt)
5031 (org-remember-templates): Fix typos in docstrings.
5033 * org/org-info.el (org-info-store-link): Remove leftover docstring.
5035 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5036 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5037 (org-bbdb-anniv-split): Fix typos in docstrings.
5039 * org/org-publish.el (org-publish-project-alist): Doc fixes.
5040 (org-publish-use-timestamps-flag): Reflow docstring.
5041 (org-publish-files-alist): Fix typos in docstring.
5043 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
5045 * org.el (org-set-visibility-according-to-property): New function.
5046 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5047 and compute the regular expressions, and update font-lock.
5048 (org-property-re): Allow a dash in property names.
5050 * org-archive.el (org-extract-archive-file): Insert the file name
5051 without the path into the format, to allow the location format to
5052 contain a subdirectory.
5054 * org-agenda.el (org-agenda-post-command-hook): If point is at end
5055 of buffer, and the `org-agenda-type' property undefined, use the
5056 value from the character before.
5058 * org.el (org-add-planning-info): Don't let indentation for
5059 would-be timestamp become extra whitespace at the end of headline.
5061 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
5063 * org.el (org-remove-double-quotes, org-file-contents): New
5066 * org-exp.el (org-infile-export-plist): Also parse the
5067 contents of #+SETUPFILE files, recursively.
5069 * org.el (org-set-regexps-and-options): Also parse the
5070 contents of #+SETUPFILE files, recursively.
5072 * org-exp.el (org-export-handle-include-files): New function.
5073 (org-export-preprocess-string): Call
5074 `org-export-handle-include-files'.
5076 * org.el (org-delete-property-globally)
5077 (org-delete-property, org-set-property): Ignore case during
5079 (org-set-property): Use `org-completing-read' instead of
5082 * org.el (org-complete-expand-structure-template): New,
5083 experimental function.
5084 (org-structure-template-alist): New, experimental option.
5085 (org-complete): Call `org-complete-expand-structure-template'.
5087 2008-05-06 Bastien Guerry <bzg@altern.org>
5089 * org-export-latex.el (org-export-latex-preprocess): Added
5090 support for blockquotes.
5092 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
5094 * org.el (org-read-date-analyze): Catch the case where only a
5097 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
5099 * org.el (org-set-font-lock-defaults): Make the description
5102 * org-exp.el (org-export-as-html, org-close-li): Implement
5105 2008-05-04 Jason Riedy <jason@acm.org>
5107 * org-table.el (*orgtbl-default-fmt*): New variable.
5108 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5109 when there is no other fmt available.
5111 (orgtbl-to-generic): Allow an explicitly nil :tstart or
5112 :tend to suppress the appropriate string.
5114 (orgtbl-to-orgtbl): New function for translating to another orgtbl
5117 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
5119 * org.el (org-read-date-analyze): "." as an alias for "+0" in
5122 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5125 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5128 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
5130 * org-clock.el (org-clock-find-position): Don't include notes
5133 * org-archive.el (org-archive-subtree): No longer remove an
5134 extra line after cutting the subtree. `org-cut-subtree' already
5137 * org-remember.el (org-remember-handler): Only kill the target
5138 buffer if it does not contain the running clock.
5140 * org.el (org-markers-to-move): New variable.
5141 (org-save-markers-in-region, org-check-and-save-marker)
5142 (org-reinstall-markers-in-region): New function.
5143 (org-move-subtree-down, org-copy-subtree): Remember relative
5144 marker positions before cutting.
5145 (org-move-subtree-down, org-paste-subtree): Restore relative
5146 marker positions after pasting.
5148 * org-remember.el (org-remember-clock-out-on-exit): New option.
5149 (org-remember-finalize): Clock out only if the setting in
5150 `org-remember-clock-out-on-exit' requires it.
5151 (org-remember-handler): Do the cleanup in the buffer, to make sure
5152 that the clock marker remains in tact.
5154 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
5156 * org-clock.el (org-clock-goto): Widen buffer if necessary.
5157 (org-clock-in): Make sure that also tasks outside the narrowed
5158 region will be clocked in correctly.
5159 (org-clock-insert-selection-line): Widen the buffer so that we can
5160 find the correct task heading.
5162 * org.el (org-base-buffer): New function.
5164 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5165 and ";" are escaped.
5166 (org-print-icalendar-entries): Also apply
5167 `org-icalendar-cleanup-string' to the headline, not only to the
5170 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
5172 * org-exp.el (org-export-preprocess-hook): New hook.
5173 (org-export-preprocess-string): Call
5174 `org-export-preprocess-hook'.
5176 * org.el (org-font-lock-hook): New variable.
5177 (org-font-lock-hook): New function.
5178 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5182 ;; add-log-time-zone-rule: t
5185 Copyright (C) 2008 Free Software Foundation, Inc.
5187 This file is part of GNU Emacs.
5189 GNU Emacs is free software: you can redistribute it and/or modify
5190 it under the terms of the GNU General Public License as published by
5191 the Free Software Foundation, either version 3 of the License, or
5192 (at your option) any later version.
5194 GNU Emacs is distributed in the hope that it will be useful,
5195 but WITHOUT ANY WARRANTY; without even the implied warranty of
5196 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5197 GNU General Public License for more details.
5199 You should have received a copy of the GNU General Public License
5200 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
5202 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c