1 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-latex-regexps): Don't add extra empty lines for
6 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
8 * org-agenda.el (org-agenda-get-some-entry-text): New function.
9 (org-agenda-add-entry-text): Use
10 `org-agenda-get-some-entry-text'.
12 * org.el (org-cycle-separator-lines): Update docstring.
13 (org-cycle-show-empty-lines): Handle negative values for
14 `org-cycle-show-empty-lines'.
16 * org-remember.el (org-remember-escaped-%): New function.
17 (org-remember-apply-template): Use `org-remember-escaped-%' to
18 detect escaped % signs.
20 2009-08-23 Bastien Guerry <bzg@altern.org>
22 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
23 sound when showing the notification.
25 * org-clock.el (org-notify): New function.
26 (org-clock-notify-once-if-expired): Use `org-notify'.
28 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
29 and `gnus-article-mode' separately.
30 (gnus-summary-article-header): Fix the declare-function.
32 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
34 * org-exp.el (org-export-format-source-code-or-example): Translate
37 * org-src.el (org-src-lang-modes): New variable
38 (org-edit-src-code): Translate language.
40 * org-exp.el (org-export-format-source-code-or-example): Deal wit
41 the new structure of the `org-export-latex-listings-langs'
44 * org-latex.el (org-export-latex-listings-langs): Change structure
45 of the variable from plist to alist.
47 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
49 * org.el (org-in-commented-line): New function.
51 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
53 * org.el (org-hide-block-toggle): Make folded blocks searchable.
55 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
57 * org.el (org-flag-drawer): More useful error.
59 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
61 * org-remember.el (org-remember-apply-template): Use
64 * org-publish.el (org-publish): Use org-icompleting-read.
66 * org-colview.el (org-columns-edit-value, org-columns-new)
67 (org-insert-columns-dblock): Use org-icompleting-read.
69 * org-colview-xemacs.el (org-columns-edit-value)
70 (org-columns-new, org-insert-columns-dblock): Use
73 * org-attach.el (org-attach-delete-one, org-attach-open): Use
76 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
78 * org.el (org-hierarchical-todo-statistics): Improve docstring.
79 (org-version): Return the version text.
80 (org-org-menu): Add a menu entry for the new bug reporter.
81 (org-submit-bug-report): New command.
83 * org-list.el (org-hierarchical-checkbox-statistics): Improve
86 * org.el (org-emphasis-regexp-components): Add "`" to set of
87 pre-emphasis characters.
89 * org-latex.el (org-export-latex-classes): Always include the soul
91 (org-export-latex-emphasis-alist): Use \st for strikethough.
92 (org-export-latex-fontify): Fix emphasis in quotes.
94 * org-exp-blocks.el (org-export-blocks-preprocess): Use
95 `indent-code-rigidly' to indent.
97 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
98 properties only if MATCH really is a string.
100 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
102 * org-latex.el (org-export-latex-packages-alist): Fix
105 * org.el (org-create-formula-image): Also use
106 `org-export-latex-packages-alist'.
108 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
109 (org-export-as-html): Format footnotes correctly.
111 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
113 * org.el (org-fast-tag-selection): Avoid text properties on tags
116 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
117 text properties on the match element.
119 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
121 * org.el (org-set-regexps-and-options): Make sure the list of done
122 keywords is not invalid.
124 * org-exp.el (org-export-interpolate-newlines): New function.
126 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
128 * org.el (org-format-latex): Avoid nested overlays.
130 * org-latex.el (org-export-latex-listings-langs): Add a few more
133 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
134 ignore newlines and space before the first macro argument.
136 * org-latex.el (org-export-latex-tables): Remove save-excursion
137 around `org-table-align'.
139 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
141 * org.el (org-export-html-special-string-regexps): Definition
144 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
147 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
149 * org-latex.el (org-export-latex-listings)
150 (org-export-latex-listings-langs): New options.
152 * org-exp.el (org-export-format-source-code-or-example): Use
153 listing package if requested by the user.
155 2009-08-08 Bastien Guerry <bzg@altern.org>
157 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
158 command before actually switching to a buffer.
160 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
162 * org-exp.el (org-get-file-contents): Only quote org lines when
163 the markup is src or example.
165 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
167 (org-agenda-get-day-entries): Remember deadline results and pass
168 them on into the function getting the scheduling information.
169 (org-agenda-get-scheduled): Accept deadline results as parameters
170 and maybe skip some entries.
171 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
173 * org.el (org-insert-heading): When respecting content, do not
174 convert current line to headline.
176 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
177 cheeeeeck the hd marker
178 (org-clock-in): Also set the hd marker.
179 (org-clock-out): Also set the hd marker.
180 (org-clock-cancel): Reset markers.
182 * org.el (org-clock-hd-marker): New marker.
184 * org-faces.el (org-agenda-clocking): New face.
186 * org-agenda.el (org-agenda-mark-clocking-task): New function.
187 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
189 * org.el (org-modules): Add org-track.el.
191 * org-agenda.el (org-agenda-bulk-marked-p): New function.
192 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
193 `org-agenda-bulk-marked-p'.
194 (org-agenda-bulk-toggle): New command.
196 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
198 * org.el (org-move-subtree-down): Hide subtree if it was folded,
201 * org-remember.el (org-remember-finalize): Avoid buffer-modified
204 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
206 * org-latex.el (org-export-latex-first-lines): Fix bug with
207 finding the end of the first lines.
209 * org.el (org-create-formula-image): Remove the -E option for
212 * org-exp.el (org-default-export-plist): Respect #+BIND.
213 (org-export-confirm-letbind): New function.
215 * org.el (org-paste-subtree): Test the kill ring entry if it is
217 (org-copy-subtree): Use `org-forward-same-level'.
218 (org-forward-same-level): Respect the `invisibe-ok' arg for
221 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
223 * org.el (org-table-map-tables): Make sure cursor is back at table
224 beginning after funcall.
226 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
227 handled before children, and do not error if an entry is not
228 found, probably because it hase been remove when the parent was
231 * org.el (org-ido-completing-read): Accept straight lists for
232 completion as well as alists.
234 * org-html.el (org-export-as-html): Fix parenthesis error in
237 * org-timer.el (org-timer-cancel-timers): Renamed from
238 `org-timer-cancel-timers'.
240 * org.el (org-cycle-internal-local): Fix problem with finding next
243 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
245 * org-list.el (org-list-send-list): Call
246 `org-list-goto-true-beginning' instead of
247 `org-list-find-true-beginning', which does not exist.
249 * org-timer.el (org-timer-reset-timers): Use `mapc'.
250 (org-timer-set-timer): Do not assign to heading.
252 * org-id.el (org-id-open): Quote function name.
254 * org-macs.el (org-unmodified): Turn off recording undo
255 information while running inside the macro.
257 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
259 (org-indent-mode): Remember and restore value of
260 org-hide-leading-stars before `org-indent-mode'.
262 * org-table.el (org-table-export): Also work in file-less
265 * org.el (org-startup-indented): New option.
266 (org-startup-options): Add new options indent and noindent.
267 (org-unfontify-region): Remove line-prefix and wrap-prefix
269 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
271 (org-promote, org-demote): Run the new hooks.
273 * org-table.el (org-table-align): Replace leading \n as well.
275 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
276 and `line-wrap' text properties.
278 * org-compat.el (org-kill-new): New function.
280 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
281 `line-wrap' text properties.
283 * org-indent.el: New file.
285 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
287 * org.el (org-provide-todo-statistics): Tweak docstring.
289 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
291 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
293 * org-exp.el (org-export-as-org): Insert the "-source" string
294 before the extension.
296 * org.el (org-read-date): Make sure the calendar is in the current
298 (org-set-emph-re): Remove the ? from the post-match.
299 (org-emphasis-regexp-components): Add backslash to the
301 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
302 optional so that also lines at the end of the buffers will still
303 be matched as headlines.
305 * org-table.el (org-table-error-on-row-ref-crossing-hline):
306 Variable made obsolete.
307 (org-table-relative-ref-may-cross-hline): New option.
308 (org-table-find-row-type): Honow the new option
309 `org-table-relative-ref-may-cross-hline'.
311 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
313 * org-table.el (org-table-cut-region, org-table-copy-region): Work
314 on single field if no active region.
316 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
318 * org-latex.el (org-export-latex-make-header): Only insert title
321 * org.el (org-make-options-regexp): Allow empty values.
323 * org-html.el (org-export-as-html): Move hrule detection to after
326 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
328 * org-html.el (org-format-org-table-html): Fix colgroup tags.
330 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
332 * org.el (org-cycle-internal-local): Improved version of finding
334 (org-cycle-hide-drawers): Only hide drawers if this is really
336 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
337 org-version of this function in Org-mode. We use advice to
338 implement this change, so that future changes to this function in
339 outline.el wil be handled properly.
340 (org-forward-same-level, org-backward-same-level): New commands.
342 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
344 * org.el (org-remove-empty-overlays-at)
345 (org-clean-visibility-after-subtree-move): New functons.
346 (org-move-subtree-down): Simplify cleanup of display.
348 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
350 * org-mac-message.el (org-mac-message-get-links): Improve
351 docstring. Make argument SELECT-OR-FLAGGED optional, default to
352 "s". Fix the return value.
353 (org-mac-message-insert-flagged): Simplify.
355 * org.el (org-refile-get-location): Tamper with refile history o
356 that history contains compete matches instead of the entered
359 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
361 * org.el (org-store-link): Never store a link to an inline task.
363 * org-inlinetask.el (org-inlinetask-insert-task): New command.
365 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
366 inline tasks when positioning footnotes.
368 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
371 * org.el (org-refile): Remove the END line when archiving an
372 inline task that does have an END line.
374 * org-archive.el (org-archive-subtree): Remove the END line when
375 archiving an inline task that does have an END line.
377 * org-macs.el (org-with-limited-levels): New macro.
378 (org-get-limited-outline-regexp): New function.
380 * org-exp.el (org-export-format-source-code-or-example): Fix bug
381 that did not enumerate first line.
382 (org-export-mark-radio-links): Skip matches in links.
384 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
386 * org.el (org-activate-plain-links): Make single-match.
387 (org-adapt-indentation): Fix docstring.
389 * org-macs.el (org-unmodified): Turn of modification hooks while
392 2009-08-02 Bastien Guerry <bzg@altern.org>
394 * org.el (org-adapt-indentation): Slightly improve the docstring.
395 (org-occur): Sends an error when the user inputs an empty string.
396 (org-priority): Bugfix: the tag alignement should happen within
399 2009-07-31 Bastien Guerry <bzg@altern.org>
401 * org.el (org-make-link-regexps): Don't exclude parentheses from
403 (org-cycle-internal-local): When locally cycling, switch directly
404 from CHILDREN to FOLDED if there is no subtree
405 (org-cycle): Update the docstring to document the new behavior of
406 `org-cycle-internal-local'.
408 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
410 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
411 an abbreviated format for days.
413 2009-07-27 Bastien Guerry <bzg@altern.org>
415 * org-protocol.el (org-protocol-default-template-key): New
418 * org.el (org-refile): Bugfix: save-excursion before reading the
419 refile target, otherwise cursor moves might confuse `org-refile'.
421 * org-html.el (org-export-as-html): Bugfix: correctly convert the
422 footnote reference before the footnote itself.
424 * org.el (org-toggle-heading): Bugfix: correctly convert list
425 items before the first headline.
427 * org-html.el (org-export-html-footnote-format): New option for
428 formatting the footnote reference.
429 (org-export-as-html): Use the new option.
431 * org.el (org-provide-todo-statistics): Allow a list of TODO
432 keywords to compute statistics against headlines containing a
433 keyword from this list.
434 (org-update-parent-todo-statistics): Possibly use the new allowed
435 value of `org-provide-todo-statistics'.
437 2009-07-26 Bastien Guerry <bzg@altern.org>
439 * org-timer.el: Add autoload cookie.
441 * org.el (org-occur-link-in-agenda-files): New function.
443 * org-timer.el (org-timer-last-timer): New variable.
445 * org-agenda.el (org-agenda-mode-map): New key for
446 org-timer-set-timer called from the agenda.
448 * org.el (org-mode-map): New key for org-timer-set-timer.
450 * org-timer.el (org-timer-reset-timers)
451 (org-timer-show-remaining-time, org-timer-set-timer): New
454 * org-clock.el (org-show-notification): Update the docstring.
456 * org.el (org-provide-todo-statistics): Allow new value
457 'all-headlines for this option, which includes entries with no
458 TODO keywords in the todo statistics.
459 (org-update-parent-todo-statistics): Possibly use the new
460 'all-headline value from `org-provide-todo-statistics'.
462 2009-07-25 Bastien Guerry <bzg@altern.org>
464 * org-clock.el (org-dblock-write:clocktable): Add a new option
465 :timestamp which allows display of timestamps in clock reports.
467 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
468 list to a subtree, preserving the structure of the list.
469 (org-set-emph-re): Make the last element optional in the regexp.
470 This regexp now matches an emphasized string at the end of a line.
472 * org-list.el (org-list-goto-true-beginning)
473 (org-list-make-subtree, org-list-make-subtrees): New functions.
475 * org.el (org-eval-in-calendar): Select the right frame.
476 (org-save-frame-excursion): Remove this macro.
478 2009-07-24 Bastien Guerry <bzg@altern.org>
480 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
481 trying to find the beginning of a list.
483 * org-exp.el (org-get-file-contents): Use a new argument: markup.
484 When present, tell org-get-file-contents not to protect org-like
487 * org-id.el (org-id-uuid-program): New option to set the name of
489 (org-id-method): Use `org-id-uuid-program'.
490 (org-id-new): Use `org-id-uuid-program'.
492 2009-07-23 Bastien Guerry <bzg@altern.org>
494 * org-exp.el (org-export-number-lines): Allow whitespace in code
495 references. Allow the -r switch to remove the references in the
496 source code even when the lines are not numbered: the labels can
499 * org.el (org-fontify-whole-heading-line): New option.
500 (org-set-font-lock-defaults): Use the new option.
502 * org-clock.el (org-show-notification-handler): New option.
503 (org-show-notification): Use the new option.
505 2009-07-21 Bastien Guerry <bzg@altern.org>
507 * org.el (org-eval-in-calendar): Fix a bug about calendar
508 navigation when `calendar-setup' value is 'calendar-only.
510 2009-07-19 Bastien Guerry <bzg@altern.org>
512 * org.el (orgstruct++-mode): Fix typo in docstring.
513 (org-insert-link): Clean up: (or (...)) => (...)
514 (org-insert-link): Use TAB for stored links completion.
516 2009-07-18 Bastien Guerry <bzg@altern.org>
518 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
519 building the list of targets.
521 * org-remember.el (org-remember-delete-empty-lines-at-end): New
523 (org-remember-handler): Use the new option.
525 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
527 * org.el (org-tags-sort-function): New option for sorting tags.
528 (org-set-tags): Use the new option to sort tags.
530 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
531 premature deletion of the data when using org-plot in a script.
533 2009-07-17 Bastien Guerry <bzg@altern.org>
535 * org-clock.el (org-clock-in-prepare-hook): New hook.
536 (org-clock-in): Use this new hook.
538 2009-07-16 Bastien Guerry <bzg@altern.org>
540 * org.el (org-special-ctrl-a/e): Explicitely bind the value
541 'reversed for this option to the "true line boundary first"
543 (org-tags-match-list-sublevels): Document the 'indented value for
546 * org-latex.el (org-export-latex-first-lines): Fix problem with
547 publishing the region.
549 * org-exp.el (org-export-format-source-code-or-example): Fix
550 bad line numbering when exporting examples in HTML.
552 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
554 * org-colview.el (org-format-time-period): Formats a time in
555 fractional days as days, hours, mins, seconds.
556 (org-columns-display-here): Add special handling for SINCE and
557 SINCE_IA to format for display.
559 * org.el (org-time-since): Add a function to get the time since an
561 (org-entry-properties): Add two new special properties: SINCE and
562 SINCE_IA. These give the time since any active or inactive
563 timestamp in an entry.
564 (org-special-properties): Add SINCE, SINCE_IA.
565 (org-tags-sort-function): Add custom declaration for tags
567 (org-set-tags): Sort tags if org-tags-sort-function is set
569 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
571 * org-clock.el (org-clock-goto): Find hidden headlines as well.
573 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
575 * org-plot.el (org-plot/add-options-to-plist): Add timeind
578 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
580 * org-publish.el (org-publish-remove-all-timestamps): New function.
581 (org-publish-all): Remove all timestamp files if `org-publish-all'
582 is called with a prefix argument.
584 * org-list.el (org-indent-item): Fix typo.
585 (org-item-indent-positions): Normalize ordered bullet.
587 * org-html.el (org-export-html-home/up-format): New option.
588 (org-export-as-html): Insert the up and HOME links.
590 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
592 * org-html.el (org-export-as-html): Insert the title into the
594 (org-export-html-insert-plist-item): New function.
595 (org-export-as-html): Call `org-export-html-insert-plist-item'.
597 * org-macs.el (org-set-local): Make a local variable, do not make
598 the variable buffer-local!
600 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
602 * org-html.el (org-export-as-html): Call `org-install-letbind'.
604 * org-docbook.el (org-export-as-docbook): Call
605 `org-install-letbind'.
607 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
609 * org-exp.el (org-infile-export-plist): Read BIND lines.
610 (org-install-letbind): New function.
611 (org-export-as-org, org-export-preprocess-string): Call
612 `org-install-letbind'.
614 * org-src.el (org-edit-src-exit): Untabify the example before
617 * org-list.el (org-list-demote-modify-bullet): New option.
618 (org-first-list-item-p): Save point.
619 (org-fix-bullet-type): New optional argument FORCE-BULLET.
620 (org-indent-item): Honor `org-list-demote-modify-bullet'.
621 (org-item-indent-positions): Return bullet types along with
624 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
626 * org.el (org-show-entry): Hide drawers.
628 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
630 * org-footnote.el (org-footnote-auto-adjust): New option.
631 (org-footnote-auto-adjust-maybe): New function.
632 (org-footnote-new, org-footnote-delete): Call
633 `org-footnote-auto-adjust-maybe'.
635 * org.el (org-startup-options): Add new footnote-related
638 * org-publish.el (org-publish-timestamp-filename): Additional
639 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
640 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
641 TRUE-PUB-DIR. Pass them through to
642 `org-publish-timestamp-filename'.
643 (org-publish-update-timestamp): Additional arguments PUB-DIR and
644 PUB-FUNC, which are included in the hash.
645 (org-publish-file): Delay timestamp test until the publishing
648 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
650 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
651 setting the deadline.
653 * org.el (org-read-date-final-answer): New variable.
654 (org-read-date): Store the final answer string, including the date
655 from the calendar, for reuse by agenda bulk commands.
657 * org-publish.el (org-publish-attachment): Fix publishing of
660 * org-latex.el (org-export-latex-quotation-marks): Fix export of
661 quotation makrs in parenthesis.
662 (org-remove-initial-hash): New function.
663 (org-export-latex-preprocess): Fix bug with infinite loop if
664 environment is not properly closed.
666 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
669 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
670 highlight also when indented.
672 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
674 * org-footnote.el (org-footnote-renumber-fn:N): New command.
675 (org-footnote-action): Offer renumbering.
677 * org.el (org-cycle): Honor the `integrate' value of
678 org-cycle-include-plain-lists'.
680 * org-list.el (org-cycle-include-plain-lists): New allowed value
681 `internal'. Improve the docstring.
683 * org.el (org-set-autofill-regexps): Improve the paragraph-start
684 regexp to work better with LaTeX commands.
686 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
688 * org-feed.el (org-feed-update): fix problem with non-existing
690 (org-feed-skip-http-headers): New function.
691 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
692 (org-feed-get-feed): Fix command line arguments for curl.
694 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
696 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
699 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
701 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
704 * org.el (org-map-entries): No longer force
705 `org-tags-match-list-sublevels' to t during a todo-only tags
708 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
710 * org-latex.el (org-export-latex-low-levels): Allow user-defined
712 (org-export-latex-subcontent): Handle user-defined environment.
714 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
717 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
720 * org-latex.el (org-export-as-pdf): Protect match data during call
721 to shell-quote-argument.
723 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
724 (org-agenda-view-mode-dispatch): New function.
726 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
728 * org-agenda.el (org-agenda-mode): Reset list of marks.
729 (org-agenda-mode-map): Define new keys for refile and bulk action.
730 (org-agenda-menu): Add menu itesm for refile and bulk action.
731 (org-agenda-refile): New function.
732 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
733 (org-agenda-marked-entries): New variable.
734 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
735 (org-agenda-remove-all-bulk-action-marks)
736 (org-agenda-bulk-action): New functions/commands.
738 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
740 * org-exp.el (org-get-file-contents): Protect org-like lines in
742 (org-export-format-source-code-or-example): Remove newlines.
744 * org-latex.el (org-export-latex-links): Check for no-description
747 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
748 argument separator back to comma.
749 (org-export-normalize-links): Mark links without description.
751 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
753 * org-exp.el (org-infile-export-plist): Fix bug in macro
756 * org-agenda.el (org-agenda-clock-out): Update line after clocking
758 (org-agenda-highlight-todo): Fix bug with highlighting.
760 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
762 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
763 new alignment strings.
765 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
767 (org-table-align): Check for forced align type.
769 * org.el (org-self-insert-command): Add yas/expand to command
772 * org-clock.el (org-clock-in-hook): New hook.
773 (org-clock-in): Run `org-clock-in-hook.
774 (org-clock-out-hook): New hook.
775 (org-clock-out): Run `org-clock-out-hook.
776 (org-clock-cancel-hook): New hook.
777 (org-clock-cancel): Run `org-clock-cancel-hook.
778 (org-clock-goto-hook): New hook.
779 (org-clock-goto): Run `org-clock-goto-hook.
781 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
783 * org.el (org-store-link): Better default description for link to
786 * org-exp.el (org-export-generic): Autoload the generic exporter
788 (org-export): Implement the `g' key for the generic exporter.
790 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
792 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
795 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
797 * org-exp.el (org-infile-export-plist): Get macros also from
800 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
802 * org-colview.el (org-columns-capture-view): Protect vertical bars
804 (org-columns-capture-view): Exclude comment and archived trees.
806 * org-colview-xemacs.el (org-columns-capture-view): Protect
807 vertical bars in column values.
808 (org-columns-capture-view): Exclude comment and archived trees.
810 * org.el (org-quote-vert): New function.
812 * org-latex.el (org-export-latex-verbatim-wrap): New option.
814 * org-exp.el (org-export-format-source-code-or-example): Use
815 `org-export-latex-verbatim-wrap'.
817 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
820 * org-html.el (org-export-table-row-tags): New option.
821 (org-format-org-table-html): Rename `nlines' to `nline', use new
825 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
827 * org-exp-blocks.el: Declare functions and variables.
829 * org-remember.el (org-remember-templates): Allow the headline
830 element to be a function.
831 (org-remember-apply-template): If the headline is a function, call
832 it to get the true function.
834 * org-clock.el (org-clock-menu): New function.
835 (org-clock-update-mode-line): Update help string.
836 (org-clock-modify-effort-estimate): New function.
837 (org-clock-mark-default-task): New function.
839 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
841 (org-org-menu): Add new clocking stuff.
842 (org-clock-is-active): New function.
844 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
846 * org.el (org-open-non-existing-files): Improve docstring.
848 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
850 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
852 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
854 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
856 * org-list.el (org-get-checkbox-statistics-face): Use the new
859 * org-faces.el (org-checkbox-statistics-todo)
860 (org-checkbox-statistics-done): New faces.
862 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
864 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
865 (org-edit-src-exit): Better cursor positioning when returning from
868 * org-latex.el (org-export-latex-use-verb): New variable.
869 (org-export-latex-emph-format): Prefer \texttt over \verb when
870 org-export-latex-use-verb is set.
872 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
874 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
875 at normal indentation.
877 * org-html.el (org-export-html-close-lists-maybe): Also look at
880 * org-remember.el (org-remember-handler): Abort remember if the
883 * org-src.el (org-edit-src-content-indentation): New option.
884 (org-edit-src-exit): Apply extra indentation.
886 * org-exp.el (org-export-format-source-code-or-example): Run
889 * org-src.el (org-src-mode-hook): New variable.
890 (org-edit-src-code): Run `org-src-mode-hook'.
892 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
894 * org.el (org-indent-line-function): Fix indentation of +#end lines.
896 * org-src.el (org-edit-src-get-indentation): New function.
897 (org-edit-src-code): Base indentation on the begin line.
899 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
901 * org-gnus.el (org-gnus-store-link): Require message.el in
904 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
906 * org-src.el: New file, split out of org.el
908 * org-docbook.el (org-export-as-docbook): Better indentation
911 * org-macs.el (org-replace-match-keep-properties): New function.
913 * org-exp.el (org-export-mark-blockquote-verse-center): Better
914 preprocessing of center and quote and verse blocks.
916 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
917 (org-export-as-docbook): Close lists when original indentation
920 * org-html.el (org-export-html-close-lists-maybe): New function.
921 (org-export-as-html): Close lists when original indentation
924 * org-list.el (org-list-end): Respect the stored "original"
925 indentation when determining the end of the list.
927 * org-exp.el (org-export-replace-src-segments-and-examples):
928 Remember indentation correctly.
930 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
932 * org-clock.el (org-clock-update-mode-line): Apply face
935 * org-faces.el (org-mode-line-clock): New face.
937 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
939 * org-gnus.el (org-gnus-store-link): Fix bug where
940 `org-gnus-store-link' used wrong subject when called in an article
941 buffer. Patch provided by fengli AT gmail DOT com.
943 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
945 * org-exp.el (org-export-format-source-code-or-example): Remember
946 the original indentation of source code snippets and examples.
948 * org-latex.el (org-export-as-latex): Relocate the table of
951 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
953 * org-agenda.el (org-run-agenda-series): Scope global options also
954 when creating the agenda buffer.
956 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
958 * org.el (org-adapt-indentation): Improve documentation.
959 (org-insert-property-drawer): Respect org-adapt-indentation when
960 inserting the drawer.
961 (org-remove-flyspell-overlays-in): New function.
962 (org-do-emphasis-faces, org-activate-plain-links)
963 (org-activate-code, org-fontify-meta-lines-and-blocks)
964 (org-activate-angle-links, org-activate-footnote-links)
965 (org-activate-bracket-links, org-activate-dates)
966 (org-activate-target-links, org-activate-tags): Remove flyspell
969 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
971 * org.el (org-edit-src-save): New function.
973 * org-clock.el (org-clock-out-switch-to-state): New option.
974 (org-clock-out): Honor `org-clock-out-switch-to-state'.
976 * org-compat.el (org-compatible-face): Improve macro.
978 * org.el (org-global-properties-fixed): Add default for
979 CLOCK_MODELINE_TOTAL.
981 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
983 (org-clock-sum-current-item): Optional argument TSTART, pass it to
985 (org-clock-get-sum-start): New function.
987 * org.el (org-startup-options): New keywords blockhide and
989 (org-mode): Add new invisibility spec.
990 (org-set-startup-visibility): Hide block on startup if so
992 (org-hide-block-startup): New option.
993 (org-block-regexp): New constant.
994 (org-hide-block-overlays): New variable.
995 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
996 (org-show-block-all, org-hide-block-toggle-maybe)
997 (org-hide-block-toggle): New functions.
998 (org-edit-src-exit): Do not quote lines starting with # and no +
1000 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1003 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
1005 * org.el (org-buffer-property-keys): Add Effort property for
1008 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
1010 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1011 when retrieving total clocked time in the subtree.
1013 * org.el (org-quoting-blocks): New variable.
1015 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1017 * org-table.el (org-table-store-formulas)
1018 (org-table-get-stored-formulas, org-table-fix-formulas)
1019 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1020 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1022 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1023 indented #+TBLFM line.
1025 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1026 indented #+TBLFM line.
1028 * org-colview.el (org-dblock-write:columnview): Allow indented
1031 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1032 indented #+TBLFM line.
1034 * org-clock.el (org-dblock-write:clocktable): Allow indented
1037 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
1039 * org-exp.el (org-export-format-source-code-or-example): Make
1040 editing indented blocks work correctly.
1042 * org.el (org-edit-src-nindent): New variable.
1043 (org-edit-src-code, org-edit-fixed-width-region)
1044 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1045 editing indented blocks work correctly.
1047 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
1049 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1051 (org-export-format-source-code-or-example): Fix indentation of
1053 (org-export-remove-indentation): New function.
1054 (org-export-select-backend-specific-text): Allow backend-specific
1055 code to be indented.
1056 (org-export-mark-blockquote-verse-center): Allow markers to be
1059 * org.el (org-fontify-meta-lines): New function.
1060 (org-set-font-lock-defaults): Call the new fontification
1063 * org-faces.el (org-meta-line): New face
1064 (org-block): New face.
1066 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1068 * org.el (org-treat-insert-todo-heading-as-state-change)
1069 (org-treat-S-cursor-todo-selection-as-state-change): New
1071 (org-insert-todo-heading): Honor
1072 `org-treat-insert-todo-heading-as-state-change'.
1073 (org-shiftright, org-shiftleft): Honor
1074 `org-treat-S-cursor-todo-selection-as-state-change'.
1075 (org-inhibit-logging): New variable.
1077 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
1079 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1080 range for marker position checking.
1082 * org-latex.el (org-export-latex-first-lines): Fix bug when
1085 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
1087 * org-exp.el (org-export-push-to-kill-ring): Protect using
1088 x-set-selection, because that does not always work.
1090 * org-agenda.el (org-agenda-list): Apply the new face
1091 `org-agenda-date-today'.
1093 * org-faces.el (org-agenda-date-today): New face.
1095 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
1097 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1098 creating appointments.
1100 * org-latex.el (org-export-latex-low-levels): Fix customization
1103 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1106 * org-agenda.el (org-agenda-priority): Disable priority commands.
1108 * org.el (org-enable-priority-commands): New option.
1110 * org-colview-xemacs.el (org-columns-compute)
1111 (org-columns-number-to-string): Fix problems with empty fields.
1113 * org-colview.el (org-columns-compute)
1114 (org-columns-number-to-string): Fix problems with empty fields.
1116 * org-exp.el (org-export-push-to-kill-ring): New function.
1117 (org-export-copy-to-kill-ring): New option.
1119 * org-latex.el (org-export-as-latex): Call
1120 `org-export-push-to-kill-ring'.
1122 * org-html.el (org-export-as-html): Call
1123 `org-export-push-to-kill-ring'.
1125 * org-docbook.el (org-export-as-docbook): Call
1126 `org-export-push-to-kill-ring'.
1128 * org-ascii.el (org-export-as-ascii): Call
1129 `org-export-push-to-kill-ring'.
1131 * org-exp.el (org-export-show-temporary-export-buffer): New
1134 * org-latex.el (org-export-as-latex): Use
1135 `org-export-show-temporary-export-buffer'.
1137 * org-html.el (org-export-as-html): Use
1138 `org-export-show-temporary-export-buffer'.
1140 * org-docbook.el (org-export-as-docbook): Use
1141 `org-export-show-temporary-export-buffer'.
1143 * org-ascii.el (org-export-as-ascii-to-buffer): Use
1144 `org-export-show-temporary-export-buffer'.
1146 * org-exp.el (org-export-show-temporary-export-buffer): New
1148 (org-export-push-to-kill-ring): New function.
1150 * org-colview.el (org-columns-compile-map): New variable.
1151 (org-columns-new, org-columns-compute)
1152 (org-columns-number-to-string, org-columns-uncompile-format)
1153 (org-columns-compile-format): Implement new operators.
1155 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
1157 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1159 * org-html.el (org-export-html-xml-declaration): New option.
1160 (org-export-as-html): Use `org-export-html-xml-declaration'.
1162 * org-list.el (org-update-checkbox-count): Make property
1165 * org.el (org-hierarchical-todo-statistics): New option.
1166 (org-update-parent-todo-statistics): Modified to handle recursive
1169 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
1171 * org-publish.el (org-publish): Make this function behave
1172 correctly in interactive use when called with a prefix argument.
1174 * org.el (org-todo-statistics-hook): New hook.
1175 (org-update-parent-todo-statistics): Use new hook.
1176 (org-log-into-drawer): New function.
1177 (org-add-log-setup): Use the new `org-log-into-drawer' function to
1178 determine if we should be logging into a drawer.
1179 (org-log-into-drawer): Update docstring.
1180 (org-default-properties): Add LOG_INTO_DRAWER as a property.
1182 * org-list.el (org-checkbox-statistics-hook): New hook.
1183 (org-update-checkbox-count-maybe): Use new hook.
1185 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1186 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1189 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
1191 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1194 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
1196 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1197 better bufer-generating mechanism.
1198 (org-edit-src-find-buffer): New function.
1200 * org-icalendar.el (org-print-icalendar-entries): Don't check for
1201 archive tag, this is already done by `org-agenda-skip'.
1202 data while constructing lost of tags.
1204 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
1206 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1207 as argument separator in macros.
1209 * org-html.el (org-export-as-html): Add xml declaration.
1211 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
1213 * org.el (org-after-sorting-entries-or-items-hook): New hook.
1214 (org-sort-entries-or-items): Run the new hook.
1215 (org-after-refile-insert-hook): New hook.
1216 (org-refile): Run `org-after-refile-insert-hook'.
1218 * org-agenda.el (org-agenda-get-progress): Never take time of day
1219 from headline when displaying progress.
1221 * org-latex.el (org-export-latex-complex-heading-re): New variable.
1222 (org-export-as-latex): Force the correct regexp in the
1223 preprocessor buffer.
1224 (org-export-latex-set-initial-vars): Set
1225 `org-export-latex-complex-heading-re'.
1227 * org-agenda.el (org-agenda-start-with-log-mode): New option.
1228 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1230 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
1232 * org-latex.el (org-export-latex-tables-centered): New option.
1233 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1235 * org-exp.el (org-export-as-org): New command.
1236 (org-export-as-org): New command.
1238 * org-publish.el (org-publish-org-to-org): New function.
1240 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
1242 * org.el (org-yank): Just call `org-yank-generic'.
1243 (org-yank-generic): New function, containing the formaer
1244 functionality of `org-yank'.
1246 * org-latex.el (org-export-latex-not-done-keywords)
1247 (org-export-latex-done-keywords): New variables.
1248 (org-export-latex-todo-keyword-markup): New option.
1249 (org-export-latex-set-initial-vars): Remember the TODO keywords.
1250 (org-export-latex-keywords-maybe): Apply the TODO markup.
1252 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
1254 * org-exp.el (org-infile-export-plist): Add more default macros.
1255 (org-export-preprocess-apply-macros): Process macro arguments.
1257 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
1259 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1261 (org-print-icalendar-entries): Respect the new value of
1262 `org-icalendar-include-todo'.
1264 * org.el (org-link-try-special-completion)
1265 (org-file-complete-link): New functions.
1266 (org-insert-link): Add special completion support for some link
1269 * org-bbdb.el (org-bbdb-complete-link): New function.
1271 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
1273 * org-list.el (org-update-checkbox-count): Allow recursive
1275 (org-hierarchical-checkbox-statistics): New option.
1277 * org.el (org-cycle): Remove erraneous space character.
1279 * org-icalendar.el (org-icalendar-timezone): Initialize from
1282 * org-html.el (org-format-org-table-html): Specify the scope.
1283 (org-format-table-table-html): Specify the scope.
1284 (org-export-table-header-tags): Prepare the scope parameter.
1286 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
1289 (org-export-html-table-use-header-tags-for-first-column): New
1292 * org.el (org-autoload): Fix autoloading of ascii export
1294 (org-modules): Add org-special-blocks.
1296 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
1298 * org-icalendar.el (org-start-icalendar-file): Use the new option.
1299 (org-ical-timezone): New option.
1301 * org-exp.el (org-export-get-coderef-format): Use the description
1304 * org.el (org-sort-entries-or-items): Improve docstring, and make
1305 better implementation for time sorting.
1307 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
1309 * org.el (org-edit-src-persistent-message): New option.
1310 (org-edit-src-code, org-edit-fixed-width-region): Use the new
1313 * org-clock.el (org-clock-insert-selection-line): Fix prefious
1316 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1317 separate buffer instead of indirect buffer to edit source code.
1318 (org-edit-src-exit): Make this function work with the new setup.
1320 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1321 are properly fontified before shown in the selection menu.
1323 * org.el (org-fontify-like-in-org-mode): New function.
1325 * org-latex.el (org-export-latex-links): Use the property list to
1326 retrieve the default image attributes.
1328 * org-exp.el (org-export-plist-vars): Add a new option.
1330 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
1332 * org-exp.el (org-export, org-export-visible): Support ASCII
1334 (org-export-normalize-links): Do not protect the description if it
1335 is explicitly given.
1337 * org-ascii.el (org-export-as-ascii-to-buffer)
1338 (org-replace-region-by-ascii, org-export-region-as-ascii): New
1340 (org-export-as-ascii): Add all the same parameters that are also
1341 supported by the other export functions.
1343 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1345 (org-reset-checkbox-state-subtree): Call
1346 `org-reset-checkbox-state-subtree'.
1348 * org-remember.el (org-select-remember-template): For the
1349 selection of a valid template.
1351 * org-latex.el (org-export-region-as-latex): Supply the
1352 force-no-subtree argument.
1353 (org-export-as-latex): Provide better limits when exporting the
1354 first line. When exporting to string, we still want the first
1356 (org-export-latex-first-lines): New argument END, to force the end
1358 (org-export-region-as-latex): Use the property list.
1359 (org-export-as-latex):
1361 * org-colview-xemacs.el (org-columns-remove-overlays)
1362 (org-columns): Fix call to `local-variable-p'.
1364 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
1366 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1367 (org-export-as-html): Run the new hook.
1369 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1370 (org-export-latex-preprocess): Run the new hook.
1372 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1373 (org-export-preprocess-string): Run the new hook.
1375 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
1377 * org-macs.el (org-check-external-command): New defsubst.
1379 * org.el (org-mode-map): New key for reload.
1380 (org-format-latex): Better error message when external programs
1383 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1385 * org.el (org-sort-entries-or-items): Explicit sorting function
1386 for priorities, needed for XEmacs compatibility.
1388 * org-remember.el (org-remember-apply-template): Improve auto-save
1391 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
1393 * org-latex.el (org-export-latex-preprocess): Also protect
1394 environments ending in a star.
1396 * org-list.el (org-at-item-p): Fix regular expression.
1398 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
1400 * org.el (org-end-of-subtree): Improve speed.
1402 * org-agenda.el (org-agenda-get-timestamps)
1403 (org-agenda-get-progress, org-agenda-get-deadlines)
1404 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1405 in particular, wait as long as possible to collect the tags.
1406 (org-stuck-projects): Improve docstring.
1408 * org.el (org-store-link): No errors when getting custom id before
1410 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1412 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
1414 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1416 * org-protocol.el: Remove dependency on url.el.
1417 (org-protocol-unhex-compound, org-protocol-open-source): Remove
1418 dependency on url.el.
1420 * org-latex.el (org-export-as-pdf): Use
1421 `org-latex-to-pdf-process'.
1423 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
1425 * org-latex.el (org-latex-to-pdf-process): New option.
1427 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1429 (org-agenda-get-timestamps): Honor
1430 `org-agenda-skip-additional-timestamps-same-entry'.
1432 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1433 (org-clock-goto): Find recent task only if
1434 `org-clock-goto-may-find-recent-task' allows it.
1436 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1437 drawers, and drawers that are missing the :END: line.
1439 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1441 * org-clock.el (org-clock-goto): Go to recently clocked task if no
1444 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1446 * org.el (org-update-parent-todo-statistics): Check for
1447 STATISTICS_FROM property.
1449 * org-list.el (org-update-checkbox-count): Check for
1450 STATISTICS_FROM property.
1452 * org.el (org-tab-first-hook)
1453 (org-tab-after-check-for-table-hook)
1454 (org-tab-after-check-for-cycling-hook): New hooks.
1455 (org-cycle-internal-global, org-cycle-internal-local): New
1456 functions, split out from `org-cycle'.
1457 (org-cycle): Call the new hooks.
1459 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
1461 * org-exp.el (org-export-preprocess-string): Reset the list of
1462 preferred targets for each run of the preprocessor.
1464 * org.el (org-refile-target-verify-function): Improve
1466 (org-get-refile-targets): Respect point being moved by the
1467 verification function.
1469 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1471 (org-export-latex-keywords): Use new option.
1473 * org.el (org-rear-nonsticky-at): New defsubst.
1474 (org-activate-plain-links, org-activate-angle-links)
1475 (org-activate-footnote-links, org-activate-bracket-links)
1476 (org-activate-dates, org-activate-target-links)
1477 (org-activate-tags): Place the rear-nonsticky properties at the
1480 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
1482 * org-protocol.el (server-edit): Declare `server-edit'.
1483 (org-protocol-unhex-string, org-protocol-unhex-compound): New
1485 (org-protocol-check-filename-for-protocol): Call `server-edit'.
1487 * org.el (org-default-properties): New default properteis for
1490 * org-exp.el (org-export-add-subtree-options): Add new properties
1493 * org-docbook.el (org-export-docbook-keywords-markup)
1494 (org-export-docbook-timestamp-markup): New options.
1495 (org-export-docbook-protect-tags): New function.
1497 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
1499 * org-id.el (org-id-get-with-outline-path-completion): Turn off
1500 org-refile-target-verify-function for the duration of the command.
1502 * org.el (org-link-to-org-use-id): New possible value
1503 `create-if-interactive-and-no-custom-id'.
1504 (org-store-link): Use custom IDs.
1505 (org-link-search): Find custom ID properties from #link.
1506 (org-default-properties): Add CUSTOM_ID for property completion.
1507 (org-refile-target-verify-function): New option.
1508 (org-goto): Turn off org-refile-target-verify-function
1509 for the duration of the command.
1511 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
1513 * org-html.el (org-export-as-html): Use custom IDs in the toc.
1515 * org-exp.el (org-export-preferred-target-alist): New variable.
1516 (org-export-define-heading-targets): Find the new CUSTOM_ID
1518 (org-export-target-internal-links): Target the custom ids when
1521 * org-latex.el (org-export-latex-preprocess): Better regexp for
1522 matching latex macros with arguments.
1524 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
1526 * org-remember.el (org-remember-handler): Allow filing to non-org
1529 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
1531 * org-feed.el (org-feed-alist): New keyword options.
1532 (org-feed-update): Use the new options.
1533 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1534 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1535 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1538 * org-table.el (org-table-fix-formulas): Do not change references
1540 (org-table-get-remote-range): Convert standard coordinates to RC
1543 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1545 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
1547 * org-compat.el (org-sha1-string): Function removed.
1549 * org.el (org-refile-allow-creating-parent-nodes): New option.
1550 (org-refile-get-location): New argument NEW-NODES.
1551 (org-refile): Call `org-refile-get-location' with the new
1553 (org-refile-get-location): Arrange for adding a new child.
1554 (org-refile-new-child): New function.
1556 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1557 an additional span element.
1559 * org-clock.el: Fix a number of docstrings.
1560 (org-clock-find-position): New argument
1561 FIND-UNCLOSED to make the function find an unclosed clock in the
1563 (org-clock-in): Call `org-clock-find-position' with the new
1564 argument if we might be resuming a clock.
1566 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
1568 * org-latex.el (org-export-latex-display-custom-times): New variable.
1569 (org-export-latex-timestamp-markup): New option.
1570 (org-export-latex-set-initial-vars): Remember the local value of
1571 `org-display-custom-times'.
1572 (org-export-latex-content): Process time stamps.
1573 (org-export-latex-time-stamps): New function.
1575 * org-macs.el (org-maybe-intangible): Add intangible property
1576 again to invisible text.
1578 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
1580 * org-exp.el (org-default-export-plist): Handle undefined
1583 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
1585 * org.el (org-sort-entries-or-items): Match TODO keywrds
1586 case-sensitively, when sorting.
1587 (org-priority): Do not match TODO keywords with wrong case.
1589 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
1591 * org-feed.el (org-feed-update): Bind the variable
1594 * org-html.el (org-export-as-html): Start paragraphs after literal
1597 * org-docbook.el (org-export-as-docbook): Start paragraphs after
1600 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
1602 * org.el (org-todo): Honor the NOBLOCKING property.
1604 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1605 NOBLOCKING property.
1607 * org.el (org-scan-tags): Fix bug in tag scanner
1609 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
1611 * org.el (org-modules): Mark obsolete packages.
1613 * org-html.el: New file, split out from org-exp.el.
1615 * org-icalendar.el: New file, split out from org-exp.el.
1617 * org-xoxo.el: New file, split out from org-exp.el.
1619 * org-ascii.el: New file, split out from org-exp.el.
1621 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
1623 * org-compat.el (org-find-library-name): New function.
1625 * org.el (org-pre-cycle-hook): New hook.
1626 (org-cycle): Call the new hook in appropriate places.
1627 (org-reload): Only reload files that have been loaded before.
1629 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
1631 * org.el (org-set-font-lock-defaults): Enforxe space or line end
1633 (org-todo): When changing TODO state, do matching
1635 (org-map-continue-from): New variable.
1636 (org-scan-tags): Respect values in `org-map-continue-from'.
1637 (org-reload): Make XEmacs compatible.
1639 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
1641 * org-protocol.el (org-protocol-flatten-greedy): New function.
1642 (org-protocol-flatten): New function.
1644 * org.el (org-open-link-from-string): Pass reference buffer to
1645 `org-open-at-point'.
1646 (org-open-at-point): New optional argument `reference-buffer'.
1648 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
1650 * org.el (org-scan-tags): Make tag scan find headline in first
1652 (org-get-refile-targets): Add the naked file name.
1653 (org-refile): Store as top-level entry when only file name was
1656 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1658 * org.el (org-block-todo-from-children-or-siblings-or-parent):
1659 Renamed from org-block-todo-from-children-or-siblings, and
1660 enhanced to look for the parent's status as well.
1662 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1663 (org-agenda-get-progress): Add first notes line to log entry if so
1666 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
1668 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1669 (org-agenda-cleanup-fancy-diary): Call the new hook.
1671 * org-remember.el (org-remember-apply-template): Take the default
1672 for the annotation from the :annotation property.
1674 * org-mac-message.el (org-mac-message-get-link): Remove the
1676 (org-mac-message-get-link): Return the result.
1678 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
1680 * org.el (org-refile-get-location): Add file name only if not
1681 already included in outline path.
1683 * org-faces.el (org-n-level-faces): Fix customization type from
1686 * org-exp.el (org-export-headline-levels): Fix customization type
1687 from number to integer.
1689 * org-agenda.el (org-agenda-confirm-kill)
1690 (org-agenda-custom-commands-local-options)
1691 (org-timeline-show-empty-dates, org-agenda-ndays)
1692 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1693 customization type from number to integer.
1695 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
1697 * org-protocol.el: Declare some functions.
1699 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1700 postion before inserting modified headline.
1702 * org-agenda.el (org-agenda-compare-effort): Honor
1703 `org-sort-agenda-noeffort-is-high'.
1704 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1705 (org-agenda-compare-effort): Implement the "?" operator for
1706 finding entries without effort setting.
1708 * org.el (org-extract-attributes-from-string): New function.
1710 * org-exp.el (org-export-splice-attributes): New function.
1712 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
1714 * org-mouse.el: XEmacs compatibility fixes
1716 * org-docbook.el (org-export-as-docbook): Process footnotes like
1719 * org.el (org-modules): Add org-inlinetasks.el
1720 (org-cycle): Implement limiting level on cycling.
1721 (org-move-subtree-down): Fix bug with swapping subtrees at end of
1724 * org-inlinetask.el: New file.
1726 * org.el (org-emphasis-regexp-components): Allow braces in
1727 emphasis pre and post match.
1729 * org-footnote.el (org-footnote-normalize): When only dorting, do
1730 not insert inline notes at the end.
1732 * org-docbook.el (org-id-find-id-file): Add function declaration.
1734 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1736 * org-docbook.el: New file.
1738 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
1740 * org.el (org-reftex-citation): New command.
1742 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
1744 * org-agenda.el (org-agenda-cmp-user-defined): New option.
1745 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1747 (org-entries-lessp): Apply the new sorting option.
1749 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1750 blocker code, when an older sibling has children.
1752 * org-mac-message.el (org-mac-message-get-link): Improve getting
1753 links from multiple selected messages.
1755 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
1757 * org-remember.el (org-remember-finalize): Do not set buffer file
1759 (org-remember-handler): Mark buffer as unmodified.
1760 (org-remember-handler): Delete backup file and show message about
1761 remaining backup files.
1762 (org-remember-auto-remove-backup-files): New option.
1764 * org.el (org-store-link): Use buffer name as link description in
1766 (org-ido-switchb): Fix argument bug for completion.
1768 * org-remember.el (org-remember-apply-template): Set local
1769 variable `auto-save-visited-file-name' instead of global one.
1771 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
1773 * org-feed.el: Re-write.
1775 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1776 (org-agenda-get-todos): Mark file tags as inherited.
1777 (org-agenda-list): Always search diary lines for a time.
1779 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
1781 * org-feed.el (org-feed-assume-stable): New option.
1782 (org-feed-before-adding-hook): New hook.
1784 * org-exp.el (org-export-as-html): Close local lists depending on
1785 indentation, also when starting a table.
1787 * org-remember.el (org-remember-backup-directory)
1788 (org-remember-backup-name): New internal variable.
1790 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
1792 * org-clock.el (org-clock-out-if-current): Make buffer detection
1793 work in indirect buffers as well.
1795 * org.el (org-emphasis-regexp-components): Add the exxclamation
1796 mark to the post-emphasis characters.
1798 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
1800 * org.el (org-read-date-minibiffer-septup-hook): New hook.
1801 (org-read-date): Run the new hook.
1803 * org-mac-message.el (org-mac-flagged-mail): New group.
1804 (org-mac-mail-account): New variable.
1805 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1808 * org-remember.el (org-remember-backup-directory): New variable.
1809 (org-remember-apply-template): Write file to backup directory.
1811 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
1813 * org-mouse.el (org-mouse-todo-menu): New function.
1814 (org-mouse-todo-keywords): Function removed.
1815 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1817 * org-table.el (org-table-beginning-of-field)
1818 (org-table-end-of-field): New commands
1819 (org-table-previous-field, org-table-beginning-of-field): Better
1821 (orgtbl-setup): Include `M-a' and `M-e'.
1823 * org.el (org-backward-sentence, org-forward-sentence): New
1826 * org-colview.el (org-colview-initial-truncate-line-value): New
1828 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1829 (org-columns): Remember the value of `truncate-lines'.
1831 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1833 (org-columns-remove-overlays): Restore the value of
1835 (org-columns): Remember the value of `truncate-lines'.
1837 * org.el (org-columns-skip-arrchived-trees): New option.
1839 * org-agenda.el (org-agenda-export-html-style): Define color for
1840 org-agenda-done face.
1841 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1842 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1844 * org.el (org-scan-tags): Use the new face.
1846 * org-faces.el (org-agenda-done): New face.
1848 * org.el (org-scan-tags): Test the value org
1849 `org-tags-match-list-sublevels'.
1850 (org-tags-match-list-sublevels): New allowed value: indented.
1852 * org-export-latex.el (org-export-latex-make-header): Apply macros
1855 * org-exp.el (org-export-apply-macros-in-string): New function.
1857 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1858 with the definition of a checked box.
1860 * org-clock.el (org-clock-find-position): Fix drawer indentations.
1862 * org-export-latex.el (org-export-latex-low-levels): More options
1863 for how to process lower levels in LaTeX.
1864 (org-export-latex-subcontent): Better treatment for lists as a
1865 means of publishing lower levels.
1867 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
1869 * org.el (org-set-font-lock-defaults): Use new checkbox face.
1871 * org-faces.el (org-checkbox): New face.
1873 * org-exp.el (org-export-html-preprocess): Only create LaTeX
1874 fragement images if there is an export file.
1876 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
1878 * org-agenda.el (org-stuck-projects): Document that the subtree of
1879 projects that are not stuck will now be searched for stuck
1881 (org-agenda-skip-entry-when-regexp-matches)
1882 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1883 (org-agenda-list-stuck-projects): Use
1884 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1886 * org-export-latex.el (org-export-latex-preprocess): Improve
1889 * org-exp.el (org-export-as-html): Implement centering as a div
1890 rather than a paragraph. Do a better job with line-end in verse
1893 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
1895 * org.el (org-open-at-point): Fix tags searches by mouse click.
1897 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
1899 * org-export-latex.el (org-export-latex-preprocess): Implement the
1902 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1903 from `org-export-mark-blockquote-and-verse'.
1904 (org-export-as-html): Implement the centering markup.
1906 * org-export-latex.el (org-export-latex-tables): Fix vertical
1909 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
1911 * org.el (org-read-date-history): New variable.
1912 (org-read-date): Use new history variable.
1913 (org-toggle-heading): Fix bug when used before first headline.
1914 (org-store-log-note): Remove drawer if empty while note is
1916 (org-remove-empty-drawer-at): New function.
1917 (org-check-after-date): New command.
1918 (org-sparse-tree): New sparse tree command "a".
1920 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1922 2009-03-14 Bastien Guerry <bzg@altern.org>
1924 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1925 column and a space, not only a column.
1927 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
1929 * org-export-latex.el (org-export-latex-emphasis-alist): Better
1930 defaults for verbose emphasis.
1931 (org-export-latex-emph-format): New function.
1932 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1934 * org-agenda.el (org-agenda-menu): Add new commands to menu.
1935 (org-agenda-do-date-later, org-agenda-do-date-earlier)
1936 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1937 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1940 * org.el (org-timestamp-change): Move end-time along with start
1943 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
1945 * org-exp.el (org-export-target-internal-links)
1946 (org-export-as-html): Protect links specified as #name.
1948 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
1950 * org.el (org-clone-subtree-with-time-shift): New command.
1952 * org-export-latex.el (org-export-latex-special-chars)
1953 (org-export-latex-treat-sub-super-char): Fix subscript export.
1955 * org-exp.el (org-create-multibrace-regexp): Do not add
1956 backslashes to the class.
1958 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
1960 * org-colview.el (org-columns-map): Better functions for moving up
1961 and down a row, even if `truncate-line' is nil.
1963 * org.el (org-insert-todo-heading): Make sure the keyword is
1964 inserted at the correct position.
1966 * org-publish.el (org-publish-project-alist)
1967 (org-publish-projects, org-publish-org-index): Change default anme
1968 for the index of file names to "sitemap.org".
1970 * org-export-latex.el (org-export-latex-tables): Use
1971 `org-split-string', for Emacs 21 compatibility.
1973 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
1975 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1977 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
1979 * org-exp.el (org-export-page-description)
1980 (org-export-page-keywords): New variables.
1981 (org-export-plist-vars): Add entries for :keywords and
1983 (org-infile-export-plist): Parse for new keywords.
1984 (org-get-current-options): Add new keywords
1985 (org-export-as-html): Publish description and keywords.
1987 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1989 (org-agenda-add-entry-text): Honor
1990 `org-agenda-add-entry-text-descriptive-links'.
1992 * org-export-latex.el (org-export-latex-preprocess): Make all
1993 external preprocess functions use a PARAMETER arg.
1995 * org-exp.el (org-export-preprocess-string)
1996 (org-export-select-backend-specific-text)
1997 (org-export-format-source-code-or-example)
1998 (org-format-org-table-html): Support docbook export.
1999 (org-export-preprocess-string): Make all external preprocess
2000 functions use a PARAMETER arg.
2002 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
2004 * org-exp.el (org-export-html-style-include-scripts): New option.
2005 (org-export-plist-vars): Add new option
2006 `org-export-html-style-include-scripts'.
2007 (org-export-as-html): Honor new option
2008 `org-export-html-style-include-scripts'.
2009 (org-export-html-scripts, org-export-html-style-default): Fix
2010 xml issues with the Safari browser.
2012 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
2014 * org-publish.el (org-publish-attachment): Only copy file when the
2017 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
2019 * org-clock.el (org-clocktable-steps): Use inactive time stamps
2020 for clocktable steps.
2022 * org.el (org-additional-option-like-keywords): Add two more
2025 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
2027 * org-exp.el (org-export-format-source-code-or-example): Mark
2028 temporary buffer unmodified, so that it will be killed even if
2029 mode like message mode has decided to assign a file name.
2031 * org.el (org-scan-tags): Improve tag inheritance.
2032 (org-scan-tags, org-make-tags-matcher): Make tag comparison
2034 (org-scan-tags): Use the internal tags list instead of creating it
2036 (org-trust-scanner-tags, org-scanner-tags): New variables.
2037 (org-scan-tags): Set `org-scanner-tags'.
2038 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2039 (org-map-entries): Document the possible speedup using scanner
2042 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
2044 * org.el (org-add-planning-info): Fix bug with looking for keyword
2047 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2048 option for tags filter preset.
2049 (org-prepare-agenda): Store filter preset as a property on the
2051 (org-finalize-agenda): Call the filter, if there is a preset.
2052 (org-agenda-filter-by-tag): Filter again after clearing the
2053 filter, when there still is a preset.
2054 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2055 Include the preset filter.
2056 (org-agenda-redo): Apply the filter again, also the preset filter.
2058 * org-exp.el (org-export-as-html): Use IDs in the correct way.
2060 * org.el (org-uuidgen-p): New funtion.
2062 * org-agenda.el (org-agenda-fontify-priorities): New default value
2064 (org-agenda-fontify-priorities): Renamed from
2065 org-fontify-priorities.
2067 * org.el (org-set-font-lock-defaults): Call
2068 `org-font-lock-add-priority-faces'.
2069 (org-font-lock-add-priority-faces): New function.
2071 * org-faces.el: (org-set-tag-faces): New option.
2072 (org-priority-faces): New variable.
2074 * org-exp.el (org-export-as-html): Add a "content" div around the
2075 entire content of the body tag.
2076 (org-export-html-get-bibliography): New function.
2077 (org-export-html-validation-link): New variable.
2078 (org-export-as-html): Add validation link to exported page.
2080 * org.el (org-match-sparse-tree): Renamed from
2081 `org-tags-sparse-tree'.
2082 (org-tags-sparse-tree): New alias.
2084 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
2086 * org.el (org-get-valid-level): Catch the case where the level
2089 * org-clock.el (org-clock-find-position): Better indentation of
2092 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
2094 * org-agenda.el (org-agenda-quit): Delete window only when the
2095 frame-setup was not `current-window'.
2097 * org.el (org-tag-persistent-alist): New option.
2098 (org-startup-options): Add keyword `noptag'.
2099 (org-fast-todo-selection): Handle :newline correctly.
2100 (org-set-tags): Handle :newline correctly.
2101 (org-fast-tag-selection): Handle :newline correctly.
2103 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
2105 * org-exp.el (org-export-as-ascii): Reverse link buffer before
2107 (org-export-ascii-push-links): Fix bug with pussing links into the
2110 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
2112 * org-archive.el (org-archive-subtree): Do not add 1 to level if
2113 pasting at top level.
2115 * org-bbdb.el: Improve documentation.
2117 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
2119 * org-list.el (org-insert-item): Only consider insert empty lines
2120 is `org-empty-line-terminates-plain-lists' is not nil.
2122 * org.el (org-blank-before-new-entry): Mention the dependence on
2123 `org-empty-line-terminates-plain-lists' in the docstring.
2125 * org-publish.el (org-publish-get-project-from-filename): New
2126 optional argument UP. Only find the top project if UP is set.
2127 (org-publish-current-project): Find the top encloding project.
2129 * org-agenda.el (org-agenda-before-write-hook)
2130 (org-agenda-add-entry-text-maxlines): New options.
2131 (org-write-agenda): Run the new hook in the temporary buffer.
2132 (org-agenda-add-entry-text): New function.
2133 (org-write-agenda): Implement PDF export, using ps2pdf.
2135 * org.el (org-global-properties-fixed, org-global-properties):
2136 Improve documentation string.
2138 * org-exp.el (org-export-ascii-links-to-notes): New option.
2139 (org-export-as-ascii): Handle links better.
2140 (org-export-ascii-wrap, org-export-ascii-push-links): New
2143 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
2145 * org-agenda.el (org-agenda): Make prefix arg optional.
2146 (org-agenda-search-headline-for-time): New option.
2147 (org-format-agenda-item): Honor
2148 `org-agenda-search-headline-for-time'.
2150 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2153 * org.el (org-self-insert-cluster-for-undo): New option.
2154 (org-self-insert-command): Cluster undo for 20 characters.
2155 (org-self-insert-command-undo-counter): New variable.
2157 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
2159 * org-exp.el (org-export-as-html): Fix problem with closing colone
2162 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
2164 * org-export-latex.el (org-export-as-latex)
2165 (org-export-latex-first-lines): Avoid modification flag when
2166 adding or removing text properties.
2167 (org-export-latex-fontify): Catch error when org-emph-alist has
2168 entries that are not defined for LaTeX export.
2170 * org.el (orgstruct++-mode): New function.
2171 (turn-on-orgstruct++): Call `orgstruct++-mode'.
2172 (org-context-p): Allow detecting item context after the first line
2174 (orgstruct-make-binding): Detect if item-body context should be
2176 (orgstruct-is-++): New variable.
2177 (org-add-planning-info): Catch the case when there is no planning
2178 info yet and the call does not want to add anything, only maybe
2179 tries to remove something.
2180 (org-special-ctrl-a/e): All value to be a cons cell with separate
2181 settings for `C-a. and `C-e'.
2182 (org-beginning-of-line, org-end-of-line): Honor separate values
2183 for `C-a' and `C-e'.
2185 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
2187 * org.el (org-reload): New command.
2189 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
2191 * org-exp.el (org-export-htm-get-tag-class-name)
2192 (org-export-htm-get-todo-kwd-class-name): New functions.
2193 (org-export-html-tag-class-prefix)
2194 (org-export-html-todo-kwd-class-prefix): New options.
2195 (org-export-as-html): Call
2196 `org-export-html-get-todo-kwd-class-name'.
2197 (org-html-level-start): Wrap tags into classes.
2198 (org-export-html-get-tag-class-name)
2199 (org-export-html-get-todo-kwd-class-name): New functions.
2201 * org-export-latex.el (org-export-latex-collect-header-macros):
2202 Remove fields that are used anyway.
2203 (org-export-latex-make-header): Insert the options earlier.
2205 * org-agenda.el (org-agenda-get-progress): Fix bug with state
2208 * org-list.el (org-indent-item): Allow point to be at the end of
2211 * org.el (org-metaleft, org-metaright): Be more accurate about
2212 detecting a region where commands apply.
2214 * org-compat.el (org-cursor-to-region-beginning): New function.
2216 * org.el (org-priority): Also find invisible heading.
2218 * org-colview-xemacs.el (org-columns-edit-value): No special
2219 treatment for `org-todo' prefix.
2221 * org-colview.el (org-columns-edit-value): No special treatment
2222 for `org-todo' prefix.
2224 * org-remember.el (org-remember-apply-template): Use
2225 `org-completing-read-no-ido'.
2227 * org.el (org-completing-read-no-ido): New function.
2228 (org-make-tags-matcher, org-set-property): Use
2229 `org-completing-read-no-ido'.
2231 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2233 (org-export-as-latex): Import in-buffer settings as TeX macros.
2234 (org-export-latex-make-header): Additional parameter OPT-DEFS.
2235 (org-export-latex-collect-header-macros): New function.
2237 * org.el (org-refile-get-location): Turn off
2238 `partial-completion-mode'.
2240 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
2242 * org.el (org-block-todo-from-checkboxes): Announce that
2243 checkboxes are the culprit.
2244 (org-block-todo-from-children-or-siblings): Call
2245 `org-up-heading-all instead' of `outline-up-heading'.
2247 * org-agenda.el (org-agenda-show-1): Renamed from
2249 (org-agenda-show): Re-install the old version for now.
2250 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
2251 variable into the blokker hook, so that the checkbox checker can
2252 anounce that it caused the blocking.
2254 * org.el (org-track-ordered-property-with-tag): New option.
2255 (org-toggle-ordered-property): Honor
2256 `org-track-ordered-property-with-tag'.
2257 (org-tag-alist): Add newline options.
2258 (org-set-regexps-and-options): Separate option lines imply a
2260 (org-set-regexps-and-options, org-assign-fast-keys)
2261 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2263 (org-indent-line-function): Make sure this works even if there is
2264 not `org-drawer-regexp' defined. This can happen when
2265 orgstruct-mode is used in a non-org buffer.
2267 * org-list.el (org-checkbox-blocked-p): New function.
2268 (org-toggle-checkbox): Check for blocking.
2270 * org.el (org-modules): Add an entry for org-R.el.
2272 * org-agenda.el (org-agenda-todo-ignore-with-date)
2273 (org-agenda-todo-ignore-scheduled)
2274 (org-agenda-todo-ignore-deadlines): Mention the variable
2275 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2277 * org.el (org-get-wdays): Find the warning period also if it is in
2279 (org-ido-completing-read): Provide the correct arguments to
2280 ido-completing-read and bind `ido-enter-matching-directory' to
2283 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
2285 * org.el (org-olpath-completing-read): Never use ido for this
2288 * org-exp.el (org-export-normalize-links): Use new macro.
2290 * org-macs.el (org-if-unprotected-at): New macro.
2292 * org-agenda.el (org-agenda-show): Allow numerical prefix
2293 arguments to specify how much context should be shown.
2294 (org-agenda-cycle-show): New command, could be bound to SPC in
2295 org-agenda-mode-map.
2297 * org-exp.el (org-html-level-start): Space after section number.
2299 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
2301 * org-agenda.el (org-agenda-get-sexps): Add todo state as
2302 property, for sorting.
2303 (org-cmp-todo-state): Get the applicable TODO keywords directly
2305 (org-run-agenda-series, org-agenda-list, org-search-view)
2306 (org-todo-list, org-tags-view): Only fit agenda window when the
2307 whole series is done.
2309 * org.el (org-scan-tags): Add todo state as property, for sorting.
2311 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2312 `org-agenda-overriding-header' as an option.
2313 (org-agenda-list): Honor org-agenda-overriding-header'.
2315 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
2317 * org-list.el (org-toggle-checkbox): Improve cursor positioning
2318 after removing a checkbox.
2320 * org.el (org-show-entry): Make this work correctly also if it is
2321 the last entry in the file.
2322 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2323 falling back to normal, default command.
2324 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2325 item, call the checkbox toggler to get a box.
2327 * org-list.el (org-toggle-checkbox): Make double prefix set the
2329 (org-fix-bullet-type): Only replace bullet if it is changed.
2330 (org-renumber-ordered-list): Handle case when first item does not
2333 * org.el (org-add-log-setup): Fix positioning when
2334 `org-log-states-order-reversed' is nil.
2336 * org-clock.el (org-clock-in): Fix positioning when
2337 `org-log-states-order-reversed' is nil.
2338 (org-clock-find-position): Fix positioning when
2339 `org-log-states-order-reversed' is nil.
2341 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
2343 * org-clock.el (org-clock-into-drawer): Take default from
2344 `org-log-into-drawer'.
2345 (org-clock-find-position): Look for the correct drawer.
2347 * org.el (org-log-into-drawer): Renamed from
2348 `org-log-state-notes-into-drawer'.
2349 (org-log-state-notes-into-drawer): New variable alias.
2350 (org-add-log-setup): Make drawer name default to LOGBOOK, not
2352 (org-insert-property-drawer): Also skip LOGBOOK drawers.
2354 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
2356 * org-agenda.el (org-agenda): Fix docstring.
2358 * org.el ("org-plot"): Help loading org-plot.
2359 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2360 (org-metadown-hook, org-shiftmetaleft-hook)
2361 (org-shiftmetaright-hook, org-shiftmetaup-hook)
2362 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2363 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2364 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2365 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2367 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2368 for selecting files with any (and even without) extension.
2370 * org.el (org-save-all-org-buffers): Also save id locations.
2371 (org-revert-all-org-buffers): Also load id locations.
2373 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2374 * org.el (org-drawers): Add LOGBOOK to the default drawers.
2375 (org-log-state-notes-into-drawer): New option.
2376 (org-add-log-setup): Place the sate note marker into the drawer,
2377 create drawer when necessary.
2378 (org-refile-targets): Document special interpretation of LEVEL
2379 when odd-levels are used.
2381 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2383 * org.el (org-store-log-note): Fix note indentation when adding
2384 notes to end of list.
2386 * org-exp.el (org-export-as-html): Add TODO keyword as extra
2387 class, so that each keyword can get special colors through CSS.
2389 * org-clock.el (org-clock-out): Add another nil for the previous
2390 state into the call to `org-add-log-setup'.
2392 * org.el (org-log-note-previous-state): New variable.
2393 (org-log-note-headings): New %S escape for old state.
2394 (org-todo): Call the note setup with the old state as an
2396 (org-add-note): Add another nil for the previous state into the
2397 call to `org-add-log-setup'.
2398 (org-add-log-setup): New argument PREV-STATE.
2399 (org-add-log-note): Handle new %S escape.
2400 (org-store-log-note): Handle new %S escape.
2402 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
2404 * org-clock.el (org-clock-find-position): Do not swallow an item
2405 less indented than the CLOCK line itself.
2406 (org-clock-in): Push markers to lin after the clock line.
2407 (org-clock-find-position): Handle values of
2408 `org-clock-into-drawer' smaller than 2.
2410 * org-exp.el (org-html-level-start): Add a CSS class to section
2412 (org-export-html-toplevel-hlevel): Better documentation of the
2413 influence of this variables on H levels and css classes in
2416 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
2418 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2419 timestamp and nottimestamp to the chooe menu.
2421 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2422 (org-revert-all-org-buffers): New command.
2424 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
2426 * org.el (org-return): Implement `org-return-follows-link' in the
2427 function org-return. This is more robust than using the mouse
2429 (org-set-regexps-and-options): Match more general #+TODO lines.
2430 (org-make-options-regexp): New optional argument EXTRA, for an
2432 (org-tab-follows-link): Mark as deprecated.
2434 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
2436 * org-exp.el (org-export-preprocess-string): Remove clock lines
2437 earlier, so that they cannot cotribute to verbatim snippets.
2439 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
2441 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2442 for finding drawers.
2443 (org-export-as-ascii, org-export-as-html): Count levels relative
2444 to the subtree header.
2445 (org-get-min-level): New optional argument OFFSET.
2446 (org-export): Make sure point is restored after popping up that
2449 * org.el (org-do-sort): Also take an inactive timestamp if no
2450 active one is found.
2452 * org-colview-xemacs.el (org-columns-capture-view): Copy before
2453 deleting duplicates.
2455 * org-colview.el (org-columns-capture-view): Copy before
2456 deleting duplicates.
2458 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2459 text before first headline.
2461 * org.el (org-format-latex): Do not convert LaTeX fragments in
2464 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
2466 * org-exp.el (org-export-html-style-default): Use color values
2467 instead of names for XHTML validation.
2469 * org.el (org-get-scheduled-time, org-get-deadline-time): New
2471 (org-return-follows-link): Revert making this the default untile
2472 issues are resolved.
2474 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2477 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
2479 * org.el (org-mode): Make dependence stuff work more reliably.
2480 (org-update-parent-todo-statistics): Fix bug with updating
2483 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2484 ~ as verbatim delimiters.
2486 * org-exp.el (org-export-html-format-image): New argument
2488 (org-export-as-html): Pass par-open to
2489 `org-export-html-format-image'.
2491 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
2493 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2494 (org-use-fast-todo-selection, org-tags-column): New default
2495 setting for variables, based on a poll what typical uses use.
2497 * org-agenda.el (org-agenda-sorting-strategy)
2498 (org-agenda-tags-column): New default setting for variables, based
2499 on a poll what typical uses use.
2501 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
2503 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2504 blocked entries from setting the blocked tag.
2506 * org-exp.el (org-export-html-footnotes-section): Use a more
2507 consistent id for footnotes.
2509 * org-export-latex.el (org-export-latex-classes): Remove the
2510 a4paper option from the default styles.
2512 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
2514 * org.el (org-enforce-todo-checkbox-dependencies): New option.
2515 (org-block-todo-from-checkboxes): New function.
2516 (org-todo): Make tripple prefix arg circumvent blocking.
2518 * org-timer.el (org-timer): Provide the timer feature.
2520 * org.el (org-require-autoloaded-modules): Add a few more files to
2521 the list of autoloaded modules.
2523 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2525 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
2527 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2528 drawers that are unprotected.
2529 (org-export-html-format-image): Make sure inlined LaTeX fragment
2530 images remain inlined.
2532 * org.el (org-toggle-ordered-property): New function.
2533 (org-mode-map): Add a key for `org-toggle-ordered-property'.
2534 (org-org-menu): Add menu entries for TODO dependencies.
2536 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
2538 * org.el (org-default-properties): Add ORDERED to the default
2539 properties, to get completion support for it.
2541 * org-list.el (org-update-checkbox-count): Update more than one cookie.
2543 * org.el (org-update-parent-todo-statistics): Update more than one
2546 * org-agenda.el (org-agenda-get-todos): Start search from correct
2549 * org.el (org-fast-todo-selection): Make sure TODO selection does
2550 not change buffer position.
2552 * org-list.el (org-toggle-checkbox): Implement adding or removing
2553 checkboxes from line or region when called with a prefix
2556 * org-rmail.el (org-rmail-store-link): Protect the call to
2557 `rmail-narrow-to-non-pruned-header'.
2559 * org-clock.el (org-clock-special-range): Fix week display in
2562 * org-exp.el (org-get-current-options): Fix bug when in indirect
2565 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
2567 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2568 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2569 (org-agenda-dim-blocked-tasks): New function.
2571 * org.el (org-enforce-todo-dependencies): New option.
2572 (org-block-todo-from-children-or-siblings): New function.
2574 * org-faces.el (org-agenda-dimmed-todo-face): New face.
2576 * org.el (org-todo): Return correct state type even if the blocker
2578 (org-modifier-cursor-error): Renamed from
2579 `org-shiftcursor-error'.
2580 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2581 (org-shiftmetadown): Call `org-modifier-cursor-error'.
2583 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2584 to get real errors from the blocker hook.
2586 * org.el (org-shiftselect-error, org-call-for-shift-select): New
2588 (org-set-visibility-according-to-property): Turn off the setting
2589 of `org-show-entry-below', to avoid overruling a FOLDED visibility
2592 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2594 * org.el (org-support-shift-select): New option.
2595 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2596 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2597 selection outside contexts.
2599 * org-list.el (org-at-item-bullet-p): New function.
2601 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2604 * org-footnote.el (org-footnote-normalize): Remove unnecessary
2606 (org-insert-footnote-reference-near-definition): Remove
2607 unnecessary let form.
2609 * org-export-latex.el (org-export-latex-first-lines): Add
2610 OPT-PLIST parameter.
2611 (org-export-as-latex): Call `org-export-latex-first-lines' with
2612 opt-plits parameter.
2613 (org-export-latex-preprocess): Remove unnecessary variables.
2615 * org-exp.el (org-infile-export-plist)
2616 (org-export-add-options-to-plist, org-export-kill-licensed-text)
2617 (org-export-remove-headline-metadata)
2618 (org-export-get-title-from-subtree, org-get-min-level)
2619 (org-html-do-expand): Remove innecessary let form.
2621 * org-colview-xemacs.el (org-columns-display-here): Remove
2622 unnecessary variables.
2624 * org-colview.el (org-columns-display-here): Remove unnecessary
2627 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2630 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2631 unnecessary variables.
2633 * org-agenda.el (org-search-view, org-agenda-get-blocks)
2634 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2637 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2638 (org-compact-display-after-subtree-move): Remove unnecessary
2640 (org-edit-fixed-width-region): Remove unnecessary variables.
2641 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2642 (org-olpath-completing-read): Remove unnecessary variable.
2643 (org-auto-repeat-maybe): Remove unnecessary variable.
2644 (org-map-entries): Remove unnecessary variable.
2645 (org-buffer-property-keys, org-imenu-get-tree)
2646 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2648 -----------------------------------------------------------------
2650 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2651 * org-exp.el (org-export-remove-timestamps): Never remove
2652 timestamps from tables.
2654 * org-export-latex.el (org-export-latex-first-lines): Add more
2655 options to the preprocessing of the text before the first
2658 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
2660 * org-faces.el (org-clock-overlay): Make face compatible with
2663 * org.el (org-yank): Add property for delete-selection mode.
2665 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2667 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2670 * org-table.el (org-table-insert-hline): Fix typo in fuction call
2673 * org-exp.el (org-export-as-html): Remove the initial space from
2676 * org.el (org-scan-tags): Call
2677 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2679 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2680 customization groups.
2681 (org-agenda-tags-todo-honor-ignore-options): New option.
2682 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2684 (org-agenda-get-todos): Use
2685 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2687 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
2689 * org-exp.el (org-export-format-source-code-or-example): Escape
2690 HTML characters also in examples that anre not treated with
2691 htmlize. Also, just switch to EXAMPLE processing if we do not
2692 have a good version of htmlize.
2694 * org-rmail.el: Fix copyright notice.
2696 * org.el (org-activate-footnote-links): Improve footnote link
2699 * org-footnote.el (org-footnote-normalize): Fix finding the end of
2700 a footnote definition at the end of the file.
2702 * org-table.el (org-table-get-specials): Add an imagined hline at
2703 the end of the table. This can be useful for references that want
2704 to go to the end of the table. Also fix bug when computing last
2705 row constants, in tables that do not start right at the right
2707 (org-table-eval-formula): Match and replace remove references.
2708 (org-table-formula-substitute-names): Make sure that names inside
2709 a "remote" call are left alone, the will be replaced later when
2710 the remote call is handled.
2711 (org-table-convert-refs-to-rc): Do not convert things that might
2712 look like a reference, but are really part of an ID or namei n a
2714 (org-table-get-remote-range): New function.
2716 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
2718 * org-faces.el (org-clock-overlay): Fix bug in face definition.
2720 * org-clock.el (org-clock-put-overlay): Use new face instead of
2721 `secondary-selection'.
2723 * org-faces.el (org-clock-overlay): New face.
2725 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
2727 * org-exp.el (org-get-current-options): Include the option for
2728 publishing time stamps.
2730 * org.el (org-toggle-heading): Renamed from
2731 `org-toggel-region-headings'.
2732 No longer needs a region defined, but will use it if there is one.
2733 (org-ctrl-c-star): Simplified, relying more on the internal
2734 workings of `org-toggle-heading'.
2735 (org-toggle-item): Renamed from `org-toggle-region-items'.
2736 No longer needs a region defined, but will use it if there is one.
2737 (org-ctrl-c-minus): Simplified, relying more on the inernal
2738 workings of `org-toggle-item'.
2740 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2741 environment detection. Also, do real changes only in unprotected
2744 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
2746 * org-export-latex.el (org-export-latex-quotation-marks): Use
2747 `org-if-unprotected-1'.
2748 (org-export-latex-set-initial-vars): Check for class definition in
2751 * org-macs.el (org-if-unprotected-1): New macro.
2753 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
2755 * org-compat.el (org-count-lines): New function.
2757 * org-exp.el (org-export-format-source-code-or-example): Handle
2758 switches related to text areas.
2760 * org.el (org-activate-footnote-links): Don't allow match inside a
2763 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2765 * org-export-latex.el (org-export-latex-links): Keep a relative
2766 path relative also after export.
2768 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2770 * org.el (org-make-tags-matcher): Never use IDO for completing the
2771 tags matcher match string.
2772 (org-completing-read): Also remove the special biding for "?".
2774 * org-attach.el (org-attach-allow-inheritance): New option.
2775 (org-attach-inherited): New variable.
2776 (org-attach-dir): Handle properties related to the attachment
2778 (org-attach-check-absolute-path): New function.
2779 (org-attach-set-directory, org-attach-set-inherit): New commands.
2780 (org-attach): Accommodate the new commands in the dispatcher.
2782 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
2784 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2785 `window-full-width-p'.
2787 * org-exp.el (org-export-as-html): Only check for images files
2788 that really can be inlined
2790 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2791 list of extensions to be a parameter.
2793 * org-exp.el (org-export-html-inline-image-extensions): New
2796 * org-agenda.el (org-prepare-agenda): Use
2797 `org-agenda-block-separator'.
2798 (org-agenda-block-separator): New option.
2800 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
2802 * org-export-latex.el (org-export-latex-tables): Call
2803 `org-table-clean-before-export' with the new optional argument.
2805 * org-exp.el (org-table-clean-before-export): New optional
2806 parameter MAYBE-QUOTED, allows for quoted characters like \# in
2809 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
2811 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2814 * org-colview.el (org-colview-construct-allowed-dates): Better
2815 error catching when a date/time property does not have allowed
2818 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2819 Better error catching when a date/time property does not have
2820 allowed values defined.
2822 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
2824 * org.el (org-map-entries): Restore point and restriction after
2827 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
2829 * org.el (org-time=, org-time<, org-time<=, org-time>)
2830 (org-time>=, org-time<>): Make sure both values are dates.
2832 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
2834 * org-archive.el (org-extract-archive-heading): Allow %s for file
2835 name also in achive location heading.
2837 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
2839 * org-archive.el (org-add-archive-files): Uniquify the list before
2842 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
2844 * org-compat.el (org-fit-window-to-buffer): Use
2845 `window-full-width-p'.
2847 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2848 space after the colon in short examples.
2850 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2851 enforce a space after the colon. However, we also allow lines
2852 that are *only* a colon.
2853 (org-export-as-html): Enforce the space after the colon in short
2855 (org-export-preprocess-string): Do the colon example protection
2857 (org-export-remove-timestamps): Do not check for protection at the
2860 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
2862 * org.el (org-format-latex-options): Add new matcher for single
2863 letters between dollars.
2864 (org-get-header): Function removed.
2865 (org-heading-components): New function.
2867 * org-exp.el (org-export-define-heading-targets): Record ID's also
2868 as alternative targets.
2869 (org-export-as-html): Interpret "id:" links to other files by
2870 preserving the relative path.
2872 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2875 * org-exp.el (org-export-normalize-links): Protect the main link,
2876 to avoid special character processing.
2878 * org-export-latex.el (org-export-latex-special-keyword-regexp):
2880 (org-export-latex-special-string-regexps): Variable removed.
2881 (org-export-latex-keywords): Use the new regexp.
2883 * org-exp.el (org-export-handle-include-files): Fetch switches and
2884 put them into the BEGIN statement.
2886 * org-timer.el (org-timer-mode-line-string): New variable.
2888 * org-clock.el (org-clock-mode-line-map): Renamed from
2889 `org-clock-mode-map'.
2890 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2891 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2892 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2893 (org-clock-remove-overlays): Renamed from
2894 `org-remove-clock-overlays'.
2896 * org-timer.el (org-timer-pause-or-continue): Implement stopping
2897 and mode line display.
2898 (org-timer-stop): New command.
2899 (org-timer-seconds): Return correct time when timer is paused.
2900 (org-timer-mode-line-timer): New variable.
2901 (org-timer-set-mode-line, org-timer-update-mode-line): New
2904 * org.el (org-insert-heading): Handle new value `auto' for
2905 `org-blank-before-new-entry'.
2906 (org-org-menu): Add new items for timer functions.
2908 * org-list.el (org-insert-item): Handle new value `auto' for
2909 `org-blank-before-new-entry'.
2911 * org.el (org-blank-before-new-entry): New value `auto', made
2914 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
2916 * org-exp.el (org-export-normalize-links): If the link is also
2917 used as the description, protect the description.
2919 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
2921 * org.el (org-closest-date): Fix bug with yearly repeats, in
2922 combination with preference of the past as it is used for deadline
2923 and scheduling search.
2925 * org-exp.el (org-html-handle-time-stamps): No longer check for
2926 the `org-export-with-timestamps' option, because the preprocesser
2927 has taken care of this already.
2929 * org.el (org-entry-properties): Catch the case when this is
2930 called in a non-org-mode file.
2932 * org-export-latex.el (org-export-latex-remove-from-headlines):
2933 Variable made obsolete, also LaTeX export now uses the standard
2935 (org-export-as-latex): Add the timestamps parameter to the
2936 preprocessor parameter list.
2937 (org-export-latex-content): Export the remaining keywords without
2938 considering to remove them.
2939 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2940 Use bold font instead of tt font for the keywords.
2941 (org-export-latex-fontify-headline): Format headlines, assuming
2942 that all keywords still present should be published.
2943 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2944 publish what ever remains of the time stamps.
2945 (org-export-latex-list-parameters): New option.
2946 (org-export-latex-lists): Pass additional parameters to the list
2949 * org-exp.el (org-export-preprocess-string): Remove clock lines
2950 and timestamps already in the preprocesor.
2951 (org-export-remove-timestamps, org-export-remove-clock-lines): New
2953 (org-export-as-ascii, org-export-as-html): Add the timestamps
2954 parameter to the preprocessor parameter list.
2956 * org-list.el (org-list-parse-list): Parse for checkboxes.
2957 (org-list-to-generic): Introduce and handle new parameters :cbon
2959 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2960 optional parameter PARAMS.
2962 * org-export-latex.el (org-export-latex-special-chars): Fix
2963 problems with interpreting dollar signs.
2964 (org-inside-latex-math-p): New function.
2965 (org-export-latex-preprocess): Protect all the math fragments.
2967 * org.el (org-latex-regexps): Allow a dash after a dollar.
2969 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2972 * org-agenda.el (org-run-agenda-series): Have series options set
2973 when finalizing the agenda.
2975 * org-exp.el (org-export-format-source-code-or-example): Protect
2976 the converted examples.
2978 * org.el (org-set-regexps-and-options): Fix the regexp
2979 `org-complex-heading-regexp'.
2981 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
2983 * org.el (org-edit-src-get-label-format): New function.
2984 (org-coderef-label-format): New option.
2985 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2986 a label format specification and make sure it is used in the edit
2988 (org-edit-src-get-label-format): New function.
2989 (org-store-link): Handle new coderef formats.
2990 (org-link-search): Handle new coderef formats.
2992 * org-footnote.el (org-footnote-create-definition)
2993 (org-footnote-goto-local-insertion-point): Make footnote insertion
2994 work correctly when the "Footnotes" headline is the last line in
2997 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3000 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
3002 * org-w3m.el (org-w3m): New customization group.
3003 (org-w3m-deactivate-mark): New option.
3004 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3007 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
3009 * org.el (org-set-font-lock-defaults): Trigger footnote
3011 (org-activate-footnote-links): New function.
3012 (org-activate-links): New entry `footnote'.
3014 * org-faces.el (org-footnote): New face.
3016 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
3018 * org-macs.el (org-re): Handle the [:word:] class.
3020 * org-exp.el (org-export-preprocess-string): Call
3021 `org-export-protect-colon-examples'.
3022 (org-export-protect-colon-examples): Renamed from
3023 `org-export-protect-examples', and scope limited to lines starting
3026 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
3028 * org-exp.el (org-export-preprocess-string): Move the preprocess
3029 hook to after turning on Org-mode.
3030 (org-export-preprocess-after-include-files-hook)
3031 (org-export-preprocess-after-tree-selection-hook)
3032 (org-export-preprocess-before-backend-specifics-hook)
3033 (org-export-preprocess-final-hook): New hooks.
3034 (org-export-preprocess-string): Run the new hooks.
3036 * org.el (org-ctrl-c-minus): Fix indentation for new items.
3038 * org-footnote.el: New file.
3040 * org.el (org-footnote): Require footnote code.
3041 (org-startup-options): Add new footnote options.
3042 (org-mode-map): New keybindig for footnotes.
3043 (org-ctrl-c-ctrl-c): Add function at footnotes.
3044 (org-org-menu): New menu entries for footnotes.
3046 * org-export-latex.el (org-export-as-latex): Pass footnote
3047 variable to preprocessor.
3048 (org-export-latex-preprocess): Treat multiple references to a
3051 * org-exp.el (org-export-preprocess-string): Call
3052 `org-footnote-normalize'.
3053 (org-export-as-ascii, org-export-as-html): Pass footnote variable
3055 (org-export-as-html): Treat multiple references to a footnote.
3057 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
3059 * org-export-latex.el (org-export-latex-links): Handle coderef
3062 * org.el (org-bracket-link-analytic-regexp++): New variable.
3063 (org-make-link-regexps): Initialize
3064 `org-bracket-link-analytic-regexp++'.
3065 (org-store-link): Implement special case in edit-src buffer.
3066 (org-insert-link): No use of ide to insert stored links.
3067 (org-link-search): Implement special case for coderefs.
3069 * org-exp.el (org-export-html-scripts): New constant.
3070 (org-export-html-style-default): Add a new style for highlighted
3072 (org-export-code-refs): New variable.
3073 (org-export-preprocess-string): Initialize `org-export-code-refs'.
3074 Call `org-export-replace-src-segments-and-examples'
3075 No longer call `org-export-protect-examples'.
3076 (org-export-target-internal-links): Take care of coderef targets.
3077 (org-export-last-code-line-counter-value): New variable.
3078 (org-export-replace-src-segments-and-examples): Renamed from
3079 `org-export-replace-src-segments', and modified.
3080 (org-export-format-source-code-or-example): Renamed from
3081 `org-export-format-source-code'.
3082 (org-export-number-lines): New function.
3083 (org-export-as-ascii, org-export-as-html): Handle coderef links.
3085 --------------------------------------------------------------------------
3087 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
3089 * org-remember.el (org-remember-handler): Safer way to get a new
3090 buffer accessing the target file.
3092 * org.el (org-refile-get-location): Handle case of current buffer
3093 not having a file associated with it.
3095 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
3097 * org-table.el (org-table-get-formula): Only ask to overwrite
3098 field formula if there really is one.
3100 * org-id.el (org-id-find): Allow the ID to be a symbol or a
3101 number, by converting these to a string.
3103 * org-colview.el (org-dblock-write:columnview): Allow ID to be
3104 located in a different file.
3106 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3109 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
3111 * org.el (org-completion-use-ido): Enhance docstring of
3112 `org-completion-use-ido'.
3114 * org-export-latex.el (org-export-latex-make-header): Double the %
3115 in the time stamp format.
3116 (org-export-latex-special-chars): Handle case where there is no
3119 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
3121 * org.el (org-get-refile-targets, org-refile-get-location): Use
3122 expanded file name to improve comparison.
3124 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
3126 * org.el (org-scan-tags): Rescan for tags, to get the correct
3127 upcase/downcase stuff. This slows things down for now, but it
3129 (org-mode): Make sure the tag-faces regexp is initialized.
3131 * org-export-latex.el (org-export-latex-links): Fix bug with
3134 * org-table.el (org-table-get-specials): Set
3135 `org-table-current-last-data-line'.
3136 (org-table-current-last-data-line): New variable.
3137 (org-table-insert-column, org-table-delete-column)
3138 (org-table-move-column, org-table-fix-formulas): Call
3139 `org-table-fix-formulas' a second time to fix the $LR references.
3140 (org-table-get-specials): Add the $LR references to the tables.
3141 (org-table-get-formula): Do not offer last-row names as LHS of
3144 * org.el (org-store-link): Capture link description from
3145 `org-id-store-link'.
3147 * org-exp.el (org-export-html-format-image): Add the / to the end
3149 (org-export-format-source-code): Surround example by empty lines,
3150 to make sure it will not be inside a paragraph.
3152 * org.el (org-ido-switchb): New function.
3154 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3156 * org-agenda.el (org-agenda-show): New prefix argument
3159 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3162 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3163 `org-agenda-change-all-lines'.
3164 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3165 tags are now retrieved locally.
3167 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
3169 * org.el (org-get-outline-path): Fix bug if level is not given.
3170 (org-org-menu): Do not quote function in menu vector.
3172 * org-agenda.el (org-finalize-agenda): Fix typo with variable
3175 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
3177 * org.el (org-refile): Avoid refiling to within the region to be
3180 * org-export-latex.el (org-export-latex-special-chars): Replace
3181 special characters also in tables.
3183 * org-agenda.el (org-agenda-change-all-lines): New argument
3185 (org-agenda-set-tags): Cet the new tags and pass them to
3186 `org-format-agenda-item'.
3188 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
3190 * org-export-latex.el (org-export-latex-classes): Add longable as
3191 a default package to all classes.
3192 (org-export-latex-tables): Handle the longtable attribute and the
3195 * org-table.el (orgtbl-to-generic): Handle tables that start with
3198 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3199 \verb for colde-like snippets.
3200 (org-export-as-latex): Fix issues with region export.
3202 * org.el (org-up-heading-safe): Speed up function by using a
3203 direct regexp search.
3204 (org-olpa): New variable.
3205 (org-get-outline-path): Speed-up path constructions in cases where
3206 this is possible because the entire hierarchy is scanned anyway.
3207 (org-refile-get-location): Don't compare the truenames of files,
3209 (org-goto-max-level): New option.
3210 (org-goto): Use `org-goto-max-level'.
3212 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
3214 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3215 Strip angle brackets from message-ids in the former and don't do
3217 (org-gnus-follow-link): Open summary reliable, even if the last
3218 messages were deleted, and handle empty groups, too.
3220 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
3222 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3223 instead of \texttt for the =...= and ~===~ emphasis environments.
3224 (org-export-as-latex): Remove any old :org-license-to-kill text
3226 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3227 (org-export-latex-make-header): Add some hard space after the
3229 (org-export-latex-first-lines): Accept RBEG argument. Mark
3230 exported text so that it will be excuded in further steps.
3232 * org-table.el (org-table-get-specials): Make @0 reference the
3233 last line in a table.
3234 (org-table-recalculate): Improve docstring.
3236 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
3238 * org.el (org-log-done): Fix docstring.
3240 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
3242 * org-exp.el (org-export-html-format-image): Fix bugs.
3244 * org-export-latex.el (org-export-latex-tables)
3245 (org-export-latex-links): Implement attribute, label, and caption
3248 * org-exp.el (org-export-html-style-default): Add style
3249 definitions for the figure div.
3250 (org-export-preprocess-string, org-export-as-html): Implement
3251 attribute, label, and caption handling.
3252 (org-export-attach-captions-and-attributes): New function.
3253 (org-export-html-format-image): New function.
3254 (org-format-org-table-html): Implement attribute, label, and
3257 * org.el (org-find-text-property-in-string): New function.
3258 (org-extract-attributes): Use the property org-attr instead of
3259 org-attrobutes, because this property is now set with the #+ATTR
3262 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
3264 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3265 the case that FROM is nil.
3267 * org.el (org-before-first-heading-p): New function.
3269 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
3271 * org-exp.el (org-export-as-html): Do not add a space before
3272 enforces line breaks.
3273 (org-export-as-html): Close paragraph before blockquote and verse
3276 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
3278 * org-id.el (org-id-locations-file): Wrap file name with
3279 `convert-standard-filename'.
3280 (org-id-files): New variable.
3281 (org-id-use-hash): New option.
3282 (org-id-update-id-locations): Also search in all files current
3283 listed in `org-id-files'. Convert the resulting alist to a hash
3284 if the user customation says so.
3285 (org-id-locations-save): Handle he case if `org-id-locations' is a
3287 (org-id-locations-load): Convert the alist to a hash.
3288 (org-id-add-location): Handle the hast case.
3289 (kill-emacs-hook): Make sure id locations are saved when Emacs is
3291 (org-id-hash-to-alist, org-id-alist-to-hash)
3292 (org-id-paste-tracker): New functions.
3294 -------------------------------------------------------------------------
3296 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3298 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3299 bindings of calendar variables.
3301 * org-table.el (org-table-find-row-type): Renamed from
3302 `org-find-row-type'.
3303 (org-table-rewrite-old-row-references): Renamed from
3304 `org-rewrite-old-row-references'.
3305 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3306 (org-table-cleanup-narrow-column-properties): Renamed from
3307 `org-cleanup-narrow-column-properties'.
3309 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3311 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3312 for better error messages.
3313 (org-table-get-descriptor-line): Supply the new arguments to
3314 `org-find-row-type'.
3315 (org-table-error-on-row-ref-crossing-hline): New option.
3317 * org.el (org-target-link-regexp): Make buffer-local.
3318 (org-move-subtree-down): Fix bug with trees at beginning of
3321 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
3323 * org-faces.el (org-set-tag-faces): New function.
3324 (org-tags-special-faces-re): New variable.
3326 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3328 * org-faces.el (org-tag-faces): New option.
3329 (org-tag): Mention `org-tag-faces' in the docstring.
3331 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
3333 * org-exp.el (org-export-html-style-default): Implement new
3336 * org-jsinfo.el (org-infojs-template): Implement new quoting.
3338 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3339 command to the `w3m-minor-mode-map'.
3341 * org-archive.el (org-archive-to-archive-sibling): Protect
3342 `this-command' to avoid appending kills during archiving.
3344 * org-exp.el (org-export-with-priority): New variable.
3345 (org-export-add-options-to-plist): Use `org-export-plist-vars'
3346 instead of internal list of strings and properties.
3347 (org-print-icalendar-entries): Retrieve the location property with
3350 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
3352 * org-exp.el (org-export-with-todo-keywords): New option.
3353 (org-export-plist-vars): Include also the keys for the #+OPTIONS
3355 (org-default-export-plist, org-export-add-options-to-plist)
3356 (org-export-as-ascii, org-export-as-html): Use the new structure
3357 of `org-export-plist-vars'.
3359 * org.el (org-map-entries): Return all values.
3361 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
3363 * org.el (org-matcher-time): Recognize more special values.
3365 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3367 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
3369 * org.el (org-tags-exclude-from-inheritance): New option.
3370 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3371 `org-tags-exclude-from-inheritance'.
3373 * org-agenda.el (org-agenda-show-inherited-tags): New option.
3374 (org-format-agenda-item): Add inherited tags to the agenda line
3375 string, and make sure that properties are kept when downcasing the
3377 (org-agenda-add-inherited-tags): New function.
3378 (org-downcase-keep-props): New function.
3380 * org.el (org-scan-tags): Mark inherited tags with a text
3382 (org-get-tags-at): Mark inherited tags with a text property.
3383 (org-add-prop-inherited): New function.
3385 * org-agenda.el (org-agenda-add-inherited-tags): New function.
3386 (org-agenda-show-inherited-tags): New option.
3388 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
3390 * org.el (org-modules): Add org-w3m to the default modules.
3392 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3394 (orgtabl-create-or-convert-from-region): New command.
3396 * org-exp.el (org-export-as-ascii): Remove the handling of
3398 (org-export-ascii-preprocess): Handle targets already in this
3401 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
3403 * org-timer.el (org-timer-start-time): Define this variable.
3404 (org-timer-item): Make argument optional.
3406 * org-list.el (org-insert-item): Automatically insert a timer item
3407 if the current list is a timer list.
3409 * org-timer.el: New file.
3411 * org-publish.el (org-publish-org-index): Only exclude the index
3412 file in the main directory from being added to the site-map.
3413 (org-publish-get-project-from-filename): If the current project is
3414 a component, start publishing from the parent project.
3416 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
3418 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3420 * org-publish.el (org-publish-org-index): Improve removal of
3423 * org-agenda.el (org-get-closed): Re-apply changes
3424 accidentially overwritten by last commit to Emacs.
3426 * org.el (org-outline-path-complete-in-steps): New option.
3427 (org-refile-get-location): Honor
3428 `org-outline-path-complete-in-steps'.
3429 (org-agenda-change-all-lines, org-tags-sparse-tree)
3430 (org-time-string-to-absolute, org-small-year-to-year)
3431 (org-link-escape): Re-apply changes accidentially overwritten
3432 by last commit to Emacs.
3434 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
3436 * org-clock.el (org-dblock-write:clocktable): Make sure the
3437 clocktable sees the first line.
3438 (org-clock-in): Warn if the clock cannot be resumed.
3440 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
3442 * org.el (org-open-at-point): Fix mixup about interactive and
3443 non-interactive elisp links.
3445 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3447 * org-exp.el (org-export-preprocess-string): Allow one comment
3448 line before the first headline to always be included. This is
3449 to not miss a commented target.
3451 * org-mouse.el (org-mouse-insert-item): Call
3452 `org-indent-to-column' instead of `indent-to', for XEmacs
3455 * org.el (org-refile-targets): Fix customize definition so
3456 that it works also in XEmacs.
3457 (org-fixup-indentation): Call `org-indent-to-column' instead
3458 of `indent-to', for XEmacs compatibility.
3460 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
3462 * org-mew.el (org-mew-store-link): Get the correct case folder
3463 for refiled messages.
3465 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3467 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3468 line break indicators.
3470 * org.el (org-ido-completing-read): Remove the "i:" prefix for
3471 ido-completion propts.
3473 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3475 * org-remember.el (org-remember-apply-template): Use
3476 `org-substring-no-properties'.
3478 * org-compat.el (org-substring-no-properties): New function.
3480 * org-remember.el (org-remember-apply-template): Use
3481 `org-substring-no-properties' for compatibility.
3483 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3485 (org-fix-bullet-type): respect
3486 `org-list-two-spaces-after-bullet-regexp'.
3488 * org-clock.el (org-clock-load): Clean up the code.
3490 * org.el (org-adaptive-fill-function): Allow two spaces after
3491 "1." as a list bullet.
3493 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
3495 * org-clock.el (org-clock-save, org-clock-load): Check for
3496 live buffers, existing files, and buffer file names to ensure
3497 consistent information.
3498 (org-clock-persist): Make `clock' a special value of this
3499 variable, and improve docstring.
3501 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3502 (org-get-string-indentation): Adapt indentation when the bullet
3505 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
3507 * org-remember.el (org-remember-finalize): Make interactive.
3508 (org-remember-kill): New command.
3509 (org-remember-finish-immediately): Call `org-remember-finalize'
3511 (org-remember-finalize): Make `org-remember-finalize' an interactive
3514 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
3516 * org-remember.el (org-remember-apply-template): No ido completion
3517 for free prompts in remember templates.
3518 (org-remember-before-finalize-hook): New hook.
3519 (org-remember-mode): New minor mode.
3520 (org-remember-apply-template): Turn on `org-remember-mode'.
3522 * org-id.el (org-id-add-location): Avoid error when no file is
3525 * org-remember.el (org-remember-apply-template): Fix the way how
3526 the list of allowed properties is retrieved from the target file.
3528 * org.el (org-insert-link): Improve file link matching.
3530 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
3532 * org-colview.el (org-columns-display-here): New argument
3533 DATELINE, to trigger using the new face.
3534 (org-agenda-colview-summarize): Call `org-columns-display-here'
3535 with the new argument.
3537 * org-faces.el (org-agenda-column-dateline): New face.
3539 * org-publish.el (org-publish-org-index): Use index-title at page
3540 title, not as section.
3542 * org-exp.el (org-export-html-format-desc): Respect the
3543 org-protect property.
3544 (org-export-as-html): Protect image specifiers that are in the
3545 description part of a link.
3547 * org.el (org-sort-entries-or-items, org-completing-read)
3548 (org-refile-get-location, org-olpath-completing-read, org-todo)
3549 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3550 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3551 (org-set-property, org-delete-property)
3552 (org-delete-property-globally): Use `org-ido-completing-read'.
3554 * org-remember.el (org-remember-apply-template): Use
3555 `org-ido-completing-read'.
3557 * org-publish.el (org-publish): Use `org-ido-completing-read'.
3559 * org-colview.el (org-columns-edit-value, org-columns-new)
3560 (org-insert-columns-dblock): Use `org-ido-completing-read'.
3562 * org-colview-xemacs.el (org-columns-edit-value)
3563 (org-columns-new, org-insert-columns-dblock): Use
3564 `org-ido-completing-read'.
3566 * org-attach.el (org-attach-delete-one, org-attach-open): Use
3567 `org-ido-completing-read'.
3569 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3570 `org-ido-completing-read'.
3572 * org.el (org-time-today): New function.
3573 (org-matcher-time): Use `org-time-today'. Add special treatment
3574 for "<tomorrow>" and "<yesterday>".
3575 (org-ido-completing-read): New function.
3576 (org-completion-use-ido): New option.
3578 * org-exp.el (org-export-format-source-code): Fix bug in require
3580 (org-export-target-internal-links): Fix bug in search for text
3583 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
3585 * org-export-latex.el (org-export-latex-subcontent): Interprete
3586 target aliases as additonal labels.
3588 * org-exp.el (org-export-target-aliases): New variable.
3589 (org-export-preprocess-string)
3590 (org-export-handle-invisible-targets): Fill the alias alist.
3591 (org-export-as-html): Remove the from the anchor, and also
3593 (org-html-level-start): Insert the target aliases as additonal
3596 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3599 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
3601 * org.el (org-open-at-mouse): Ensure correct link abbreviations
3602 when following a link with the mouse from the agenda.
3604 * org-exp.el (org-export-as-html): Avoid lone </div> when no
3605 headlines are created.
3607 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
3609 * org-exp.el (org-export-preprocess-string): Reorder so that we
3610 can still see ID properties when we collect targets.
3611 (org-export-target-internal-links): Also store targets for ID's.
3613 * org.el (org-link-translation-function): New option.
3614 (org-open-at-point): Call `org-link-translation-function' if
3616 (org-translate-link): New function.
3617 (org-translate-link-from-planner): New function.
3618 (org-open-at-point): Allow interactive commands in elisp links.
3620 * org-exp.el (org-icalendar-cleanup-string): Restore the old
3621 iCalendar quoting. The new one seems to caus problems with
3624 * org.el (org-yank): Set `this-command' to `yank', so that
3625 `yank-pop' will work.
3627 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3629 * org-id.el (org-id-search-archives): New option.
3631 * org.el (org-link-to-org-use-id): New option.
3632 (org-store-link): Use `org-link-to-org-use-id'.
3633 (org-id): Make org-id.el a standard component.
3635 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3637 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3638 hexified version of the tag.
3640 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3641 compliance as far as quoting is concerned.
3643 * org-vm.el (org-vm-follow-link): Require `vm-search'.
3645 * org.el (org-up-heading-safe, org-forward-same-level): Always
3646 call `org-back-to-heading' instead of `outline-back-to-heading'.
3647 (org-back-to-heading): New wrapper around outline-back-to-heading,
3648 with a useful error message telling where the error happened.
3650 * org-list.el (org-update-checkbox-count): Always call
3651 `org-back-to-heading' instead of `outline-back-to-heading'.
3653 * org-exp.el (org-export-as-html): Make sure that each <img> tag
3654 has an `alt' attribute, to ensure XHTML validation.
3656 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3658 * org-publish.el (org-publish-attachment): Allow publishing to
3659 overwrite attachment files.
3661 * org-agenda.el (org-agenda-timerange-leaders): New option.
3662 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3664 * org.el (org-edit-src-exit): Untabify ASCII image before
3678 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
3680 * org.el (org-yank): Make any prefix force normal yanking.
3681 Suppress folding if text would be swallowed into a folded
3683 (org-yank-folded-subtrees, org-yank): Docstring updates.
3685 * org-agenda.el (org-agenda-compare-effort): Treat no effort
3688 * org-exp.el (org-export-language-setup): Add Catalan and
3689 Esperanto language entries.
3691 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
3693 * org.el (org-refile): Allow refiling of entire regions.
3695 * org-clock.el (org-clock-time%): New function.
3697 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3698 retrieve property values.
3700 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
3702 * org-agenda.el (org-agenda-list): Handle the value `only' of
3703 org-agenda-show-log'.
3704 (org-agenda-log-mode): Interpret a double prefix arg.
3706 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
3708 * org-exp.el (org-export-html-footnotes-section): New variable.
3709 (org-export-as-html): Use `org-export-html-footnotes-section' to
3710 insert the footnotes.
3711 (org-export-language-setup): Add "Footnotes" to language words.
3713 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
3715 * org.el (org-yank): Fix bug when not inserting a subtree.
3717 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3719 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3720 instead of `vm-beginning-of-message'.
3722 * org.el (org-make-link-regexps): Make sure that links to gnus can
3725 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
3727 * org-attach.el (org-attach-dir): Remove duplicate ID creation
3730 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3733 * org.el (org-link-abbrev-alist): Improve customization type.
3735 * org-attach.el (org-attach-expand-link, org-attach-expand): New
3738 * org-agenda.el (org-agenda-get-progress): Renamed from
3739 `org-get-closed'. Implement searching for state changes as well.
3740 (org-agenda-log-mode-items): New option.
3741 (org-agenda-log-mode): New option prefix argument, interpreted as
3742 request to show all possible progress info.
3743 (org-agenda-get-day-entries): Call `org-get-progress' instead of
3745 (org-agenda-set-mode-name): Handle the more complex log mode
3747 (org-get-closed): New alias, pointing to `org-get-progress'.
3749 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
3751 * org.el (org-file-apps-defaults-gnu)
3752 (org-file-apps-defaults-macosx)
3753 (org-file-apps-defaults-windowsnt): Add an entry defining the
3755 (org-file-apps): Allow `system' as key and value.
3756 (org-open-at-point): Explain the effect of a double prefix arg.
3757 (org-open-file): If the argument `in-emacs' is (16),
3758 i.e. corresponding to a double prefix argument, try to open the
3761 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
3763 * org.el (org-insert-link): Abbreviate absolute files names in
3764 links. Also, fix a bug in which the double C-u prefix would not
3767 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
3769 * org.el (org-insert-heading): If buffer does not end with a
3770 newline, add one if necessary to insert headline correctly.
3772 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3773 paragraphs, not inside.
3775 * org.el (org-todo): Quote
3776 `org-agenda-headline-snapshot-before-repeat'.
3778 * org-exp.el (org-export-as-html): Fully process link descriptions.
3779 (org-export-html-format-desc): New function.
3780 (org-export-as-html): Collect footnotes into the correct basket.
3781 (org-html-protect): No longer protect quotations marks here, this
3784 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3787 * org-compat.el (org-fit-window-to-buffer): New function (not
3788 really, a preliminary and incomplete version was present earlier,
3791 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3792 `org-fit-window-to-buffer'.
3794 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3796 * org-agenda.el (org-agenda-get-restriction-and-command)
3797 (org-fit-agenda-window, org-agenda-convert-date): Use
3798 `org-fit-window-to-buffer'.
3800 * org-exp.el (org-export-as-html): Process href links through
3801 `org-export-html-format-href'.
3802 (org-export-html-format-href): New function.
3804 * org-agenda.el (org-agenda-todo): Update only the current
3805 headline if this is a repeated TODO, marked done for today.
3806 (org-agenda-change-all-lines): New argument JUST-THIS, to change
3807 only the current line.
3809 * org.el (org-todo): Take a snapshot of the headline if the
3810 repeater might change it.
3812 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3814 * org-publish.el (org-publish-find-title): Remove buffers visited
3815 only for extracting the title.
3817 * org-exp.el (org-export-html-style)
3818 (org-export-html-style-default): Mark style definitions as
3821 * org-publish.el (org-publish-validate-link): Function
3824 2008-11-02 Charles Sebold <csebold@gmail.com>
3826 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3828 (org-plot-quote-timestamp-field): New function.
3829 (org-plot-quote-tsv-field): Call timestamp field function when
3830 necessary rather than just quoting as a string.
3831 (org-plot/gnuplot-to-data): Pass in timefmt property.
3832 (org-plot/gnuplot-script): Supports timefmt property.
3833 (org-plot/gnuplot): Checks for timestamp column before checking
3834 for text index column.
3836 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3838 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3840 * org-publish.el (org-publish-org-index): Create a section in the
3842 (org-publish-org-index): Stop linking to directories.
3844 * org.el (org-emphasis-alist): Use span instead of <u> to
3847 * org-exp.el (org-export-as-html): Make sure <p> is closed before
3850 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
3852 * org-jsinfo.el (org-infojs-template): Remove language attribute
3855 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
3857 * org-agenda.el (org-agenda-remove-marked-text): New function.
3858 (org-agenda-mark-filtered-text)
3859 (org-agenda-unmark-filtered-text): New functions.
3860 (org-write-agenda): Remove fltered text.
3862 * org.el (org-make-tags-matcher): Give access to TODO "property"
3863 without speed penalty.
3865 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
3867 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3869 (org-store-link-props): Make sure adding to the plist works
3872 * org-gnus.el (org-gnus-no-new-news): New function.
3873 (org-gnus-follow-link): Allow the article ID to be a message-id,
3874 in addition to allowing article numbers. Message IDs make much
3876 (org-gnus-store-link): Use message-id to create link.
3878 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
3880 * org.el (org-emphasize): Reverse the selection array.
3881 (org-emphasis-alist): Set <code> tags for the verbatim
3884 * org-remember.el (org-remember-handler): Fix bug with
3885 prefix-related changing of the note storage target.
3887 * org-exp.el (org-print-icalendar-entries): Make the exported
3888 priorities compatible with RFC 2445.
3890 * org-clock.el (org-clock-save): Insert time stamp without
3891 dependence on time-stamp.el.
3893 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
3895 * org.el ("saveplace"): If saveplace puts point into an invisible
3896 location, make it visible.
3897 (org-make-tags-matcher): Allow inactive time stamps in time
3899 (org-yank-adjusted-subtrees): New option.
3900 (org-yank): Incorporate adjusting trees.
3901 (org-paste-subtree): New argument FOR-YANK which will cause
3902 insertion at point without backing up over white lines, and leave
3903 point at the end of the inserted text. Also if the cursor is
3904 at the beginning of a headline, use the same level or the inserted
3907 * org-publish.el (org-publish-get-base-files-1): Deal correctly
3908 with broken symlinks
3910 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
3912 * org-exp.el (org-export-select-tags, org-get-current-options):
3915 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
3917 * org-agenda.el (org-format-agenda-item)
3918 (org-agenda-filter-make-matcher): Make sure tags are stored and
3921 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
3923 * org.el (org-insert-todo-heading): Fix bug with force-heading
3926 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
3928 * org-clock.el (org-clock-in-resume): Add a custom option to
3929 toggle starting the clock from an open clock line.
3930 (org-clock-in): When clocking in to an entry, if
3931 `org-clock-in-resume' is set, check if the first clock line is
3932 open and if so, start the clock from the time in the clock line.
3933 (org-clock-persist): Add a custom option to toggle clock
3935 (org-clock-persist-query-save): Add a custom option to toggle
3936 asking the user if they want to save the running clock when
3938 (org-clock-persist-query-resume): Add a custom option to toggle
3939 asking the user if they want to resume the saved clock when Emacs
3941 (org-clock-save): Add a function to save clock data.
3942 This includes the contents of `org-clock-history' and the buffer
3943 and position of the currently clocked task, if any.
3944 (org-clock-load): Add a function to load clock data.
3945 This populates `org-clock-history', and resumes the saved clocked
3946 task if there is one.
3947 (org-clock-persistence-insinuate): Add a method to set up the
3948 hooks for clock persistence.
3950 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
3952 * org-exp.el (org-export-as-ascii): Handle the case that we are
3953 publishing from an indirect buffer.
3955 * org-table.el (org-table-copy-down): Fix bug with time stamp
3958 * org-mouse.el (org-mouse-features): New option.
3959 (org-mode-hook): Turn on features depending on
3960 `org-mouse-features'.
3962 * org.el (org-insert-heading-respect-content): Force heading
3964 (org-insert-heading): keep the folding state of the heading before
3967 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3969 * org-archive.el (org-archive-to-archive-sibling): Handle top
3970 level headlines better.
3972 2008-10-21 Bastien Guerry <bzg@altern.org>
3974 * org-export-latex.el (org-export-latex-classes): Added
3975 \usepackage{graphicx} to the default list of packages.
3977 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3979 * org-agenda.el (org-agenda-filter): Renamed from
3980 `org-agenda-filter-tags'.
3982 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
3984 * org.el (org-entry-properties): Add CATEGORY property, iven if it
3985 is not defined as a property in this entry.
3986 (org-add-log-note): Mask prefix argument when immediately storing
3989 * org-agenda.el (org-agenda-filter-effort-default-operator): New
3992 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
3994 * org.el (org-add-log-setup): Bugfix; code to find insertion point
3995 after drawers was skipping ahead one line too many, so notes were
3996 inserted after the first note instead of before it.
3998 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
4000 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4002 (org-prepare-agenda): Reset the filter tags.
4003 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4004 Show filter tags in mode line.
4006 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4009 * org-export-latex.el (org-latex-entities-regexp): New constant.
4010 (org-export-as-pdf): Use two calls to `shell-command'.
4012 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
4014 * org-export-latex.el (org-export-latex-treat-sub-super-char):
4015 Honor the {} value of the subsuperscript setting. Make sure that
4016 longer subsuperscripts are typeset in a roman font.
4018 * org.el (org-clock-update-time-maybe): Compute negative clock
4019 intervals correctly.
4021 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
4023 * org.el (org-add-log-setup): Respect
4024 `org-log-state-notes-insert-after-drawers'.
4025 (org-log-state-notes-insert-after-drawers): New option.
4026 (org-todo-trigger-tag-changes): New function.
4027 (org-todo): Call `org-todo-trigger-tag-changes'.
4029 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
4031 * org.el (org-add-log-setup): Only skip drawers if the are
4032 immediately after the scheduling keywords.
4034 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4036 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4037 call it with the current todo state to get the state to switch to
4039 (org-clock-in): Use org-indent-line-function to indent clock lines.
4040 (org-clock-find-position): Fix indentation of empty clock drawers.
4042 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
4044 * org-publish.el (org-publish-org-to): Handle case when
4045 org-export-to-pdf does return a file name, not a buffer.
4046 (org-publish-org-to-pdf): New function.
4048 * org-export-latex.el (org-export-as-pdf)
4049 (org-export-as-pdf-and-open): New commands.
4051 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4054 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4055 things in protexted regions.
4057 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
4059 * org-export-latex.el (org-export-latex-preprocess): Improve
4060 quoting of LaTeX environments.
4062 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
4064 * org.el (org-edit-fixed-width-region): Exclude final newline from
4067 * org-export-latex.el (org-export-latex-subcontent): Add labels to
4068 sections, to make internal links work.
4069 (org-export-latex-fontify-headline): Do not remove all text
4070 properties, to make sure that target properties survive this
4073 * org-exp.el (org-export-preprocess-string): Change sequence of
4074 modifications, to make sure links are prepared before the LaTeX
4075 conversions do happen.
4077 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
4079 * org-attach.el (org-attach-delete-all): Renamed from
4080 `org-attch-delete'. Add a security query before deleting the
4081 entire directory. New optional argument FORCE can overrule the
4083 (org-attach-delete-one): New command.
4085 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
4087 * org-attach.el (org-attach-file-list): Fix bug with directory.
4089 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
4091 * org.el (org-apps-regexp-alist): New function.
4092 (org-file-apps): Add auto-mode to the default value.
4093 (org-open-file): Use the new structure of org-file-apps.
4095 * org-attach.el (org-attach): Support the new keys.
4096 (org-attach-method): New option.
4098 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
4100 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4103 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4104 of the list value o `org-use-tag-inheritance'.
4106 * org-attach.el (org-attach-auto-tag): New option.
4107 (org-attach-tag, org-attach-untag): New functions.
4108 (org-attach-attach, org-attach-new, org-attach-sync): Call
4110 (org-attach-delete): Call `org-attach-untag'.
4112 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
4114 * org-table.el (orgtbl-self-insert-command): Make this work for
4117 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
4119 * org.el (org-add-log-setup): Limit searc for drawers to entry
4120 text, not to subtree.
4122 * org-clock.el (org-clock-heading-for-remember): New variable.
4123 (org-clock-in): Set `org-clock-heading-for-remember'.
4125 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
4127 * org-remember.el (org-remember-apply-template): Add new
4128 expansions: %k, %K for currently clocked task and a link to the
4129 currently clocked task, and %< to file notes in the currently
4132 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
4134 * org-export-latex.el (org-export-latex-make-header): Also insert
4135 the content of the property :latex-header-extra.
4137 * org-exp.el (org-infile-export-plist): Put the content of
4138 #+LATEX_HEADER: into the property :latex-header-extra.
4140 * org-colview.el (org-columns-get-format-and-top-level): Remove
4141 resetting the marker.
4143 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4144 Remove resetting the marker.
4146 * org.el (org-entry-property-inherited-from): Improve docstring.
4147 (org-entry-get-with-inheritance): Reset marker before starting the
4150 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4152 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
4154 * org.el (org-entry-get-multivalued-property)
4155 (org-entry-protect-space, org-entry-restore-space): New
4157 (org-file-apps-defaults-macosx): Let postscript files be opened by
4159 (org-time-stamp-inactive): Call `org-time-stamp'.
4160 (org-time-stamp): New argument `inactive'. Also edit inacive
4161 stamps. Convert time stamp type.
4162 (org-open-file): Interpret the `default' value for the `command'
4165 * org-id.el (org-id-int-to-b36-one-digit)
4166 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4167 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4170 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
4172 * org-id.el (org-id-reverse-string): New function.
4173 (org-id-new): Use `org-id-reverse-string' to make sure the
4174 beginning chars of the ID are mutating fast. This allows to use a
4175 directory structure to spread things better.
4176 (org-id-prefix): Changed default to nil.
4178 * org-list.el (org-move-item-down, org-move-item-up): Remember and
4179 restore the column of the cursor position.
4181 * org-remember.el (org-remember-apply-template): Remove properties
4184 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
4186 * org-wl.el (org-wl-open): Remove useless call to
4187 `wl-thread-open-all'.
4189 * org-remember.el (org-remember-handler): Fix bug with `bottom'
4192 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
4194 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4195 `org-bbdb-anniversaries'.
4197 * org.el (org-get-next-sibling, org-forward-same-level): New
4198 functions, similar to the outline versions, but invisible headings
4201 2008-09-25 Bastien Guerry <bzg@altern.org>
4203 * org.el (org-auto-repeat-maybe): Insert a space between
4204 the timestamp's type and the timestamp itself.
4206 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
4208 * org-table.el (org-table-sum): Do not format the result with %g,
4209 it does rounding when there are too many digits.
4211 * org.el (org-map-entries): Protect the keyword-selecting variables.
4213 2008-09-23 Bastien Guerry <bzg@altern.org>
4215 * org-agenda.el (org-agenda-to-appt): Make sure the function check
4216 against all agenda files.
4218 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
4220 * org-list.el: New file, aggregating list functions from org.el
4221 and org-export-latex.el.
4223 * org.el (org-edit-src-region-extra): New option.
4225 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
4227 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4230 2008-09-22 Bastien Guerry <bzg@altern.org>
4232 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4234 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
4236 * org-plot.el (org-plot/gnuplot): Make tables starting with a
4237 hline work correctly.
4238 (org-plot/gnuplot-script): Put commas at the end of each script
4241 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
4243 * org.el (org-get-refile-targets): Replace links with their
4245 (org-imenu-get-tree): Replace links with their descriptions.
4247 * org-remember.el (org-remember-apply-template): Add a new
4248 expansion for adding properties to remember items.
4250 * org.el (org-add-log-setup): Skip over drawers (properties,
4251 clocks etc) when adding notes.
4253 * org-agenda.el (org-agenda-get-closed): show durations of clocked
4254 items as well as the start and end times.
4256 * org-compat.el (org-get-x-clipboard-compat): Add a compat
4257 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4259 * org-remember.el (org-get-x-clipboard): Use the compat
4260 function to get clipboard values when x-selection-value is
4261 unavailable. Use substring-no-properties instead of
4262 set-text-properties to remove text properties from the clipboard
4265 * lisp/org-clock.el (org-update-mode-line): Support limiting the
4266 modeline clock string, and display the full todo value in the
4267 tooltip. Set a local keymap so mouse-3 on the clock string goes to
4268 the currently clocked task.
4269 (org-clock-string-limit): Add a custom value for the maximum
4270 length of the clock string in the modeline.
4271 (org-clock-mode-map): Add a keymap for the modeline string
4273 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
4275 * org-compat.el (org-propertize): New function.
4277 2008-09-20 Bastien Guerry <bzg@altern.org>
4279 * org-export-latex.el (org-export-latex-tables): protect exported
4280 tables from further special chars conversion.
4281 (org-export-latex-preprocess): Preserve LaTeX environments.
4282 (org-list-parse-list): Parse descriptive lists.
4283 (org-list-to-generic, org-list-to-latex, org-list-to-html)
4284 (org-list-to-texinfo): Export descriptive lists.
4285 (org-quote-chars): Remove.
4286 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4287 (org-export-latex-list-beginning-re): Rename to
4288 `org-list-beginning-re'
4289 (org-list-item-begin): Rename to `org-list-item-beginning'
4291 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
4293 * org.el (org-refile): Allow refiling to the last entry in the
4295 (org-get-tags-at): Fix bug when inheritance is turned off.
4297 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
4299 * org.el (org-indent-line-function): No longer check for src
4300 regions, this is too much overhead.
4302 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4305 * org.el (org-scan-tags): Make sure that tags matching is not case
4306 sensitive. TODO keyword matching is case sensitive, however, to
4307 avoid confusion with similar words that are not meant to be
4310 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
4312 * org.el (org-get-local-tags-at): New function.
4313 (org-get-local-tags): New function.
4315 * org-exp.el (org-export-get-categories): New function.
4317 * org-agenda.el (org-sorting-choice)
4318 (org-agenda-sorting-strategy, org-agenda-get-todos)
4319 (org-agenda-get-timestamps, org-agenda-get-deadlines)
4320 (org-agenda-get-scheduled, org-agenda-get-blocks)
4321 (org-entries-lessp): Implement sorting by TODO state.
4322 (org-cmp-todo-state): New defsubst.
4324 * org-colview.el (org-colview-construct-allowed-dates): New
4326 (org-columns-next-allowed-value): Use
4327 `org-colview-construct-allowed-dates'.
4329 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4331 (org-columns-next-allowed-value): Use
4332 `org-colview-construct-allowed-dates'.
4334 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
4336 * org.el (org-protect-slash): New function.
4337 (org-get-refile-targets): Use `org-protect-slash'.
4339 * org-agenda.el (org-global-tags-completion-table): New variable.
4341 * org-exp.el (org-export-handle-export-tags): New function.
4342 (org-export-preprocess-string): Call
4343 `org-export-handle-export-tags'.
4345 * org-plot.el: New file.
4347 * org-publish.el (org-publish-expand-components): Function removed.
4348 (org-publish-expand-projects): Allow components to have components.
4350 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
4352 * org.el (org-indent-line-function): Do not indent in regions that
4353 are external source code.
4354 (org-yank-and-fold-if-subtree): New function.
4356 * org-agenda.el (org-agenda-todayp): New function.
4357 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4358 `org-agenda-todayp'.
4360 * org.el (org-insert-heading-respect-content)
4361 (org-insert-todo-heading-respect-content): New commands.
4362 (org-insert-heading-respect-content): New option.
4363 (org-insert-heading): Respect `org-insert-heading-respect-content'.
4365 * org-clock.el (org-clock-find-position): Make sure the note after
4366 the clock line gets moved into the new clock drawer.
4368 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
4370 * org-id.el (org-id-new): New option.
4372 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
4374 * org-table.el (org-table-copy-down): Avoid overflow during
4375 increment. Use prefix argument 0 to temporarily disable the
4378 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
4380 * org-exp.el (org-export-as-html): Do not turn on the major mode
4381 if the buffer will be killed anyway.
4382 (org-get-current-options): Exclude the #+TEXT field.
4383 (org-export-as-html): Make sure text before the first headline is
4386 * org-publish.el (org-publish-org-to): Tell the exporter that this
4387 buffer will be killed, so it is not necessary to do major mode
4390 * org-archive.el (org-archive-to-archive-sibling): Show empty
4391 lines after folding the archive sibling.
4393 * org.el (org-log-note-extra): New variable.
4395 2008-09-05 Bastien Guerry <bzg@altern.org>
4397 * org.el (org-additional-option-like-keywords): Added keywords for
4398 the _QUOTE, _VERSE and _SRC environments.
4400 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4401 exporting _QUOTE and _VERSE environments.
4403 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
4405 * org-agenda.el (org-agenda-filter-by-tag): New command.
4407 * org-exp.el (org-get-current-options): Remove angular brackets
4408 from the date entry.
4410 * org.el (org-edit-fixed-width-region): New function.
4411 (org-edit-fixed-width-region): Also try
4412 `org-edit-fixed-width-region'.
4413 (org-edit-fixed-width-region-mode): New option.
4414 (org-activate-code): Only interprete lines starting with colon
4415 plus a space as example lines.
4417 * org-remember.el (org-remember-templates): Add nil instead of
4418 empty strings to fix the length of remember templates.
4420 * org-table.el (org-calc-default-modes): Fix the time format for
4421 calc, from 12 hour to 24 hour clock.
4423 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
4425 * org-agenda.el (org-agenda-get-deadlines)
4426 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4427 entries that are pre-warnings of deadlines or reminders.
4429 * org.el (org-sort-entries-or-items): Make numeric and alpha
4430 comparisons ignore any TODO keyword and priority cookie.
4432 * org-remember.el (org-remember-handler): Reinterpretation of the
4435 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
4437 * org-agenda.el (org-agenda-get-scheduled): Use new
4438 `org-scheduled' face.
4440 * org-faces.el (org-scheduled): New face.
4442 * org-wl.el (org-wl-open): Remove incorrect declaration.
4444 * org-gnus.el (org-gnus-store-link): Support for :to information
4447 * org-exp.el (org-export-as-html): Fixed typo in creator
4449 (org-export-protect-examples): New parameter indent. Insert extra
4450 spaces only when this parameter is specified.
4451 (org-export-preprocess-string): Call `org-export-protect-examples'
4452 with an indentation parameter when exporting to ASCII.
4454 * org-remember.el (org-remember-templates)
4455 (org-remember-apply-template): Allow the file component to be a
4458 * org.el (org-goto-local-search-headings): Renamed from
4459 `org-goto-local-search-forward-headings'. Added the possibility
4460 to search backwards.
4462 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
4464 * org-export-latex.el (org-export-latex): New customization
4467 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4469 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
4471 * org-exp.el (org-html-do-expand): Allow {} to terminate
4474 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
4476 * org.el (org-buffer-list): Select buffers based on major mode,
4479 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
4481 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4484 * org-colview.el (org-columns-display-here): Use
4485 `org-columns-modify-value-for-display-function'.
4487 * org-colview-xemacs.el (org-columns-display-here): Use
4488 `org-columns-modify-value-for-display-function'.
4490 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
4492 * org.el (org-columns-modify-value-for-display-function): New option.
4504 * org-publish.el (org-publish-file): Make sure the directory match
4505 for the publishing directory works correctly.
4507 * org-agenda.el (org-agenda-execute-calendar-command)
4508 (org-agenda-diary-entry): Additional optional argument.
4510 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
4512 * org-exp.el (org-export-as-html): Add attributes also in mailto
4515 * org.el (org-autoload): Add `org-dblock-write:columnview'.
4524 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
4526 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4527 sure that calls from `org-export-region-as-html' do not do the
4528 special check for a subtree.
4530 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
4532 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4534 2008-07-20 Juri Linkov <juri@jurta.org>
4536 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4537 new keymap `narrow-map' instead of binding "\C-xns".
4539 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
4541 * org.el (org-open-file): Use
4542 `org-open-directory-means-index-dot-org'.
4543 (org-open-directory-means-index-dot-org): New option.
4545 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
4547 * org.el (org-make-link-string): Remove link attributes from
4549 (org-open-at-point): Remove link attributes bevore using the path.
4551 * org-exp.el (org-export-as-html): Handle link attributes.
4553 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4555 * org-table.el (org-table-to-lisp): New function.
4557 * org.el (org-narrow-to-subtree): Do not include the final newline
4558 into the narrowed region.
4560 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4561 bug with user-define skipping condition.
4563 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
4565 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4567 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
4569 * org-exp.el (org-export-html-style-default): Automatic overflow
4570 handling for pre fields.
4571 (org-export-as-ascii, org-export-as-html): Change default format
4574 * org-table.el (org-table-export): Offer completion for translator
4575 functions, and do not require a heading above the table.
4577 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4578 Cater for the case of a list starting in the first line of the
4581 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
4583 * org-publish.el (org-publish-find-title): Bug fix.
4584 (org-publish-org-index): Implement new :index-style option.
4586 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
4588 * org-publish.el (org-publish-timestamp-filename): Use
4589 SHA1-encoded file names in the timestamp directory.
4591 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
4593 * org-publish.el (org-publish-needed-p): Be verbose about files
4594 published and files skipped.
4596 * org-exp.el (org-export-preprocess-string): Swap link
4597 normalization and inernal link targeting.
4599 * org-publish.el (org-publish-needed-p): Create timestamp
4600 directory when it does not exist.
4602 2008-07-04 Bastien Guerry <bzg@altern.org>
4604 * org-clock.el (org-clock-out-when-done): Doc fix.
4606 * org.el (org-agenda-skip-unavailable-files): Doc fix.
4608 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4609 Ignore case when searching for the COMMENT cookie at export time.
4611 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
4613 * org-exp.el (org-get-file-contents)
4614 (org-get-and-remove-property): New functions.
4615 (org-export-handle-include-files): Handle the new prefix options.
4616 (org-export-as-html): Fix the verse environment.
4618 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
4620 * org.el (org-time=, org-time<, org-time<=, org-time>)
4621 (org-time>=, org-time<>, org-2ft): New functions.
4622 (org-op-to-function): Also provide for the time testing fucntions.
4624 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
4626 * org-exp.el (org-export-html-style-default): New constant.
4628 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
4630 * org-exp.el (org-export-html-style-extra): New variable.
4631 (org-export-splice-style): New function.
4633 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
4635 * org-exp.el (org-export-plist-vars, org-export-as-html):
4636 Implement `org-export-creator-info'.
4637 (org-export-creator-info): New option.
4639 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
4641 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4642 (org-property-drawer-re, org-clock-drawer-re): New constants.
4644 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
4646 * org-exp.el (org-icalendar-use-deadline)
4647 (org-icalendar-use-scheduled): New options.
4648 (org-icalendar-include-todo): Default changed to t.
4649 (org-print-icalendar-entries): Implement better utilization of
4650 scheduling and deadline time stamps.
4651 (org-export-target-internal-links, org-export-as-html): Allow file
4652 lines without the "file:" prefix if the file path is an absolute
4653 path or starts with ".".
4655 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4657 (org-clock-special-range): Also undertand yesterday, lastweek etc.
4659 2008-06-18 Glenn Morris <rgm@gnu.org>
4660 * org.el (org-map-entries): Let-bind `file'.
4662 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
4664 * org.el (org-agenda-skip-archived-trees): Docstring now
4665 discourages using this.
4666 (org-scan-tags): Check for org-agenda-archives-mode.
4667 (org-map-entries): Make sure org-agenda-archives-mode is nil.
4668 (org-agenda-files): Functionality of second arg changed.
4670 * org-agenda.el (org-agenda-archives-mode): New variable
4671 (org-write-agenda, org-prepare-agenda, org-agenda-list)
4672 (org-search-view, org-todo-list, org-tags-view)
4673 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4675 (org-agenda-quit): Reset the archives mode.
4676 (org-agenda-archives-mode): New command.
4677 (org-agenda-set-mode-name): Include archives info.
4679 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
4681 * org.el (org-paste-subtree): Make sure the yanked headline is
4682 visible if it was yanked at a visible point.
4683 (org-move-item-up): Fix the bug with moving white space at the end
4685 (org-show-empty-lines-in-parent): New function.
4687 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
4689 * org-colview.el (org-columns-next-allowed-value): Bug fix.
4691 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4693 * org-agenda.el (org-agenda-get-closed): Get the end time into the
4694 agenda prefix as well.
4696 * org-publish.el (org-publish-org-index): Make a properly indented
4699 * org.el (org-calendar-agenda-action-key): New option.
4700 (org-get-cursor-date): New function.
4701 (org-mark-entry-for-agenda-action): New command.
4702 (org-overriding-default-time): New variable.
4703 (org-read-date): Respect `org-overriding-default-time'.
4705 * org-remember.el (org-remember-apply-template): Respect the
4706 ovverriding default time.
4708 * org-agenda.el (org-agenda-action-marker): New variable.
4709 (org-agenda-action): New command.
4710 (org-agenda-do-action): New function.
4712 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4714 * org.el (org-schedule, org-deadline): Protect scheduled and
4715 deadline tasks against changes that accidently remove the
4716 repeater. Also show a message with the new date when done.
4718 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4720 * org.el (org-beginning-of-line): Cater for the case when there
4721 are tags but no headline text.
4722 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4725 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
4727 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4728 the return value is nil instead of "nil" when there is no match.
4730 * org-exp.el (org-insert-centered): Use fill-column instead of
4732 (org-export-as-ascii): Use string-width to measure the width of
4735 * org.el (org-diary-to-ical-string): No longer kill buffer
4736 FROMBUF, this is now done by the caller.
4738 * org-exp.el (org-print-icalendar-entries): Move the call to
4739 `org-diary-to-ical-string' out of the loop, and kill the buffer
4742 * org-remember.el (org-remember-visit-immediately): Position
4743 cursor after moving to the note.
4744 (org-remember-apply-template): Use a text property to record the
4746 (org-remember-handler): Align tags after pasting the note.
4748 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
4750 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4752 * org-agenda.el (org-agenda-open-link): If there is an
4753 org-bbdb-name property in the current line, jump to that bbdb
4756 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4757 text property, so that the agenda knows where this entry comes
4760 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4761 interaction between clocking-in from the agenda, and automatic
4762 task state switching.
4764 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4766 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4767 zmacs-region stays after this command in XEmacs.
4769 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
4771 * org.el (org-scan-tags): Allow new values for ACTION parameter.
4773 * org-remember.el (org-remember-templates): Fix bug in
4774 customization type definition.
4776 * org.el (org-map-entries): New function.
4778 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
4780 * org-agenda.el (org-agenda-skip-comment-trees): New option.
4781 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4783 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
4785 * org-remember.el (org-jump-to-target-location): New variable.
4786 (org-remember-apply-template): Set
4787 `org-remember-apply-template' if requested by template.
4788 (org-remember-handler): Start an idle timer to jump to
4791 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4793 * org.el (org-set-regexps-and-options): Fix bug with parsing of
4795 (org-get-tags-at): Add the content of `org-file-tags'.
4797 * org-exp.el (org-export-handle-comments): Fix bug with several
4798 comment lines after each other.
4799 (org-number-to-roman, org-number-to-counter): New functions.
4800 (org-export-section-number-format): New option.
4802 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
4804 * org-exp.el (org-export-protect-examples): Catch the case of a
4805 missing end_example line.
4807 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4808 `org-file-tags' to nil.
4810 * org-colview.el (org-columns-next-allowed-value): Handle next
4811 argument NTH to directly select a value.
4813 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4814 argument NTH to directly select a value.
4816 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
4818 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4820 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
4822 * org.el (org-columns-ellipses): New option.
4824 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
4826 * org-colview.el (org-columns-add-ellipses): New function.
4827 (org-columns-compact-links): New function.
4828 (org-columns-cleanup-item): Call `org-columns-compact-links'.
4829 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4831 (org-columns-edit-value): Fixed bug with editing values from
4833 (org-columns-redo): Also redo the agenda itself.
4835 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
4837 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4840 * org-colview.el (org-agenda-columns-cleanup-item): New function.
4842 * org-exp.el (org-export-ascii-preprocess): Renamed from
4843 `org-export-ascii-clean-string'.
4844 (org-export-kill-licensed-text)
4845 (org-export-define-heading-targets)
4846 (org-export-handle-invisible-targets)
4847 (org-export-target-internal-links)
4848 (org-export-remove-or-extract-drawers)
4849 (org-export-remove-archived-trees)
4850 (org-export-protect-quoted-subtrees)
4851 (org-export-protect-verbatim, org-export-protect-examples)
4852 (org-export-select-backend-specific-text)
4853 (org-export-mark-blockquote-and-verse)
4854 (org-export-remove-comment-blocks-and-subtrees)
4855 (org-export-handle-comments, org-export-mark-radio-links)
4856 (org-export-remove-special-table-lines)
4857 (org-export-normalize-links)
4858 (org-export-concatenate-multiline-links)
4859 (org-export-concatenate-multiline-emphasis): New functions,
4860 obtained from spliiting the export preprocessor.
4862 * org-table.el (org-table-recalculate): Improve error message if
4863 the row number is invalid.
4865 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
4867 * org-archive.el (org-archive-save-context-info): Fix bugs in
4868 customization setup and docstring.
4870 * org-exp.el (org-export-html-style): Changed the size of in the
4871 <pre> element to 90%.
4873 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
4875 * org.el (org-find-src-example-start): Function removed.
4876 (org-edit-src-find-region-and-lang): New function.
4878 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
4880 * org.el (org-edit-src-exit): New function.
4881 (org-exit-edit-mode): New minor mode.
4883 * org-exp.el (org-export-preprocess-string): Fix bug with removing
4884 comment-like lines from protected examples.
4886 * org.el (org-edit-src-example, org-find-src-example-start)
4887 (org-protect-source-example, org-edit-special): New functions.
4889 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
4891 * org-publish.el (org-publish-project-alist): Fix typo in
4893 (org-publish-project-alist): Handle :index-title property.
4895 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
4897 * org-export-latex.el (org-export-as-latex): Make sure region
4898 bounds are correct. Parse subtree properties relating to export.
4900 * org-exp.el (org-export-add-options-to-plist): New function.
4901 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4903 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
4905 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4908 * org-exp.el (org-export-get-title-from-subtree)
4909 (org-export-as-ascii, org-export-as-html): Make sure the original
4910 region-beginning and region-end are used, even after moving
4912 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4915 * org-remember.el (org-remember-last-stored-marker): New variable.
4916 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4917 (org-remember-handler): Also use marker to remember
4918 last-stored position.
4920 * org.el (org-goto-marker-or-bmk): New function.
4922 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
4924 * org.el (org-file-properties): Renamed from `org-local-properties'.
4925 (org-scan-tags): Take file tags into account.
4926 (org-tags-match-list-sublevels): Default changed to t.
4928 * org-exp.el (org-export-as-html): Close paragraph after a
4931 * org.el (org-update-parent-todo-statistics): New function.
4933 * org-exp.el (org-icalendar-store-UID): New option.
4934 (org-icalendar-force-UID): Option removed.
4935 (org-print-icalendar-entries): IMplement UIDs.
4937 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
4939 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4941 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
4943 * org-faces.el (org-column): Document how this face is being used
4944 and why sometimes the background faces shine through.
4946 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4948 * org-publish.el (org-publish-attachment): Create publishing
4949 directory if it does not yet exist.
4951 * org-table.el (org-calc-default-modes): Change default number
4952 format to (float 8).
4954 * org.el (org-olpath-completing-read): New function.
4955 (org-time-clocksum-format): New option.
4956 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4958 * org-clock.el (org-clock-display, org-clock-out)
4959 (org-update-mode-line): Use `org-time-clocksum-format'.
4961 * org-colview-xemacs.el (org-columns-number-to-string): Use
4962 `org-time-clocksum-format'.
4964 * org-colview.el (org-columns-number-to-string): Use
4965 `org-time-clocksum-format'.
4967 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
4969 * org-id.el: New file, move from contrib to core.
4971 * org-exp.el (org-icalendar-force-UID): New option.
4973 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
4975 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4976 shifted by one day if theere is a date range without an end
4979 * org.el (org-try-structure-completion): New function.
4981 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
4983 * org.el (org-set-font-lock-defaults): Improve fontification of
4985 (org-insert-item): Handle description lists.
4986 (org-adaptive-fill-function): Improve auto indentation in
4989 * org-exp.el (org-export-as-html, org-export-preprocess-string):
4990 Implement VERSE environment.
4991 (org-export-preprocess-string): Implement the COMMENT
4994 * org-export-latex.el (org-export-latex-preprocess): Implement
4997 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
4999 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5002 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
5004 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5006 * org.el (org-quote-csv-field): New functions.
5008 * org-table.el (org-table-export-default-format): Remove :splice
5009 from default format, we get the same effect by not specifying
5011 (org-table-export): Improve setup, distinguish better between
5012 interactive and non-interactive use, allow specifying the format
5013 on the fly, better protection against wrong file names.
5014 (orgtbl-to-generic): Fix documentation. Do not require :tstart
5015 and :tend when :splice is omitted.
5017 2008-05-09 Bernt Hansen <bernt@norang.ca>
5019 * org-clock.el (org-clock-select-task): Make sure the selection
5020 letters are 1-9 and A-Z, no special characters.
5022 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
5024 * org-exp.el (org-export-htmlize): New group.
5025 (org-export-htmlize-output-type)
5026 (org-export-htmlize-css-font-prefix): New options.
5027 (org-export-htmlize-region-for-paste): New function.
5028 (org-export-htmlize-generate-css): New command.
5030 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
5032 * org/org.el (org-modules, org-format-latex-options):
5033 * org/org-archive.el (org-archive-stamp-time)
5034 (org-archive-save-context-info):
5035 * org/org-faces.el (org-hide):
5036 * org/org-irc.el (org-irc-parse-link):
5037 * org/org-macs.el (org-call-with-arg, org-autoload):
5038 * org/org-mew.el (org-mew-store-link):
5039 * org/org-remember.el (org-remember-store-without-prompt)
5040 (org-remember-templates): Fix typos in docstrings.
5042 * org/org-info.el (org-info-store-link): Remove leftover docstring.
5044 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5045 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5046 (org-bbdb-anniv-split): Fix typos in docstrings.
5048 * org/org-publish.el (org-publish-project-alist): Doc fixes.
5049 (org-publish-use-timestamps-flag): Reflow docstring.
5050 (org-publish-files-alist): Fix typos in docstring.
5052 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
5054 * org.el (org-set-visibility-according-to-property): New function.
5055 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5056 and compute the regular expressions, and update font-lock.
5057 (org-property-re): Allow a dash in property names.
5059 * org-archive.el (org-extract-archive-file): Insert the file name
5060 without the path into the format, to allow the location format to
5061 contain a subdirectory.
5063 * org-agenda.el (org-agenda-post-command-hook): If point is at end
5064 of buffer, and the `org-agenda-type' property undefined, use the
5065 value from the character before.
5067 * org.el (org-add-planning-info): Don't let indentation for
5068 would-be timestamp become extra whitespace at the end of headline.
5070 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
5072 * org.el (org-remove-double-quotes, org-file-contents): New
5075 * org-exp.el (org-infile-export-plist): Also parse the
5076 contents of #+SETUPFILE files, recursively.
5078 * org.el (org-set-regexps-and-options): Also parse the
5079 contents of #+SETUPFILE files, recursively.
5081 * org-exp.el (org-export-handle-include-files): New function.
5082 (org-export-preprocess-string): Call
5083 `org-export-handle-include-files'.
5085 * org.el (org-delete-property-globally)
5086 (org-delete-property, org-set-property): Ignore case during
5088 (org-set-property): Use `org-completing-read' instead of
5091 * org.el (org-complete-expand-structure-template): New,
5092 experimental function.
5093 (org-structure-template-alist): New, experimental option.
5094 (org-complete): Call `org-complete-expand-structure-template'.
5096 2008-05-06 Bastien Guerry <bzg@altern.org>
5098 * org-export-latex.el (org-export-latex-preprocess): Added
5099 support for blockquotes.
5101 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
5103 * org.el (org-read-date-analyze): Catch the case where only a
5106 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
5108 * org.el (org-set-font-lock-defaults): Make the description
5111 * org-exp.el (org-export-as-html, org-close-li): Implement
5114 2008-05-04 Jason Riedy <jason@acm.org>
5116 * org-table.el (*orgtbl-default-fmt*): New variable.
5117 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5118 when there is no other fmt available.
5120 (orgtbl-to-generic): Allow an explicitly nil :tstart or
5121 :tend to suppress the appropriate string.
5123 (orgtbl-to-orgtbl): New function for translating to another orgtbl
5126 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
5128 * org.el (org-read-date-analyze): "." as an alias for "+0" in
5131 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5134 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5137 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
5139 * org-clock.el (org-clock-find-position): Don't include notes
5142 * org-archive.el (org-archive-subtree): No longer remove an
5143 extra line after cutting the subtree. `org-cut-subtree' already
5146 * org-remember.el (org-remember-handler): Only kill the target
5147 buffer if it does not contain the running clock.
5149 * org.el (org-markers-to-move): New variable.
5150 (org-save-markers-in-region, org-check-and-save-marker)
5151 (org-reinstall-markers-in-region): New function.
5152 (org-move-subtree-down, org-copy-subtree): Remember relative
5153 marker positions before cutting.
5154 (org-move-subtree-down, org-paste-subtree): Restore relative
5155 marker positions after pasting.
5157 * org-remember.el (org-remember-clock-out-on-exit): New option.
5158 (org-remember-finalize): Clock out only if the setting in
5159 `org-remember-clock-out-on-exit' requires it.
5160 (org-remember-handler): Do the cleanup in the buffer, to make sure
5161 that the clock marker remains in tact.
5163 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
5165 * org-clock.el (org-clock-goto): Widen buffer if necessary.
5166 (org-clock-in): Make sure that also tasks outside the narrowed
5167 region will be clocked in correctly.
5168 (org-clock-insert-selection-line): Widen the buffer so that we can
5169 find the correct task heading.
5171 * org.el (org-base-buffer): New function.
5173 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5174 and ";" are escaped.
5175 (org-print-icalendar-entries): Also apply
5176 `org-icalendar-cleanup-string' to the headline, not only to the
5179 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
5181 * org-exp.el (org-export-preprocess-hook): New hook.
5182 (org-export-preprocess-string): Call
5183 `org-export-preprocess-hook'.
5185 * org.el (org-font-lock-hook): New variable.
5186 (org-font-lock-hook): New function.
5187 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5191 ;; add-log-time-zone-rule: t
5194 Copyright (C) 2008 Free Software Foundation, Inc.
5196 This file is part of GNU Emacs.
5198 GNU Emacs is free software: you can redistribute it and/or modify
5199 it under the terms of the GNU General Public License as published by
5200 the Free Software Foundation, either version 3 of the License, or
5201 (at your option) any later version.
5203 GNU Emacs is distributed in the hope that it will be useful,
5204 but WITHOUT ANY WARRANTY; without even the implied warranty of
5205 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5206 GNU General Public License for more details.
5208 You should have received a copy of the GNU General Public License
5209 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
5211 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c