1 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-agenda.el (org-agenda-open-link): Handle multiple links and
4 check for after-string.
6 * org-gnus.el (org-gnus-store-link): Simplify.
8 * org.el (org-latex-regexps): Don't add extra empty lines for
11 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
13 * org-agenda.el (org-agenda-get-some-entry-text): New function.
14 (org-agenda-add-entry-text): Use
15 `org-agenda-get-some-entry-text'.
17 * org.el (org-cycle-separator-lines): Update docstring.
18 (org-cycle-show-empty-lines): Handle negative values for
19 `org-cycle-show-empty-lines'.
21 * org-exp.el (org-export-protect-sub-super): New function.
22 (org-export-normalize-links): Protect the url of plain links from
23 supscript and superscript processing.
25 * org-remember.el (org-remember-escaped-%): New function.
26 (org-remember-apply-template): Use `org-remember-escaped-%' to
27 detect escaped % signs.
29 2009-08-23 Bastien Guerry <bzg@altern.org>
31 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
32 sound when showing the notification.
34 * org-clock.el (org-notify): New function.
35 (org-clock-notify-once-if-expired): Use `org-notify'.
37 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
38 and `gnus-article-mode' separately.
39 (gnus-summary-article-header): Fix the declare-function.
41 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
43 * org-exp.el (org-export-format-source-code-or-example): Translate
46 * org-src.el (org-src-lang-modes): New variable
47 (org-edit-src-code): Translate language.
49 * org-exp.el (org-export-format-source-code-or-example): Deal wit
50 the new structure of the `org-export-latex-listings-langs'
53 * org-latex.el (org-export-latex-listings-langs): Change structure
54 of the variable from plist to alist.
56 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
58 * org.el (org-in-commented-line): New function.
60 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
62 * org.el (org-hide-block-toggle): Make folded blocks searchable.
64 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
66 * org.el (org-flag-drawer): More useful error.
68 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
70 * org-remember.el (org-remember-apply-template): Use
73 * org-publish.el (org-publish): Use org-icompleting-read.
75 * org-colview.el (org-columns-edit-value, org-columns-new)
76 (org-insert-columns-dblock): Use org-icompleting-read.
78 * org-colview-xemacs.el (org-columns-edit-value)
79 (org-columns-new, org-insert-columns-dblock): Use
82 * org-attach.el (org-attach-delete-one, org-attach-open): Use
85 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
87 * org.el (org-hierarchical-todo-statistics): Improve docstring.
88 (org-version): Return the version text.
89 (org-org-menu): Add a menu entry for the new bug reporter.
90 (org-submit-bug-report): New command.
92 * org-list.el (org-hierarchical-checkbox-statistics): Improve
95 * org.el (org-emphasis-regexp-components): Add "`" to set of
96 pre-emphasis characters.
98 * org-latex.el (org-export-latex-classes): Always include the soul
100 (org-export-latex-emphasis-alist): Use \st for strikethough.
101 (org-export-latex-fontify): Fix emphasis in quotes.
103 * org-exp-blocks.el (org-export-blocks-preprocess): Use
104 `indent-code-rigidly' to indent.
106 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
107 properties only if MATCH really is a string.
109 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
111 * org-latex.el (org-export-latex-packages-alist): Fix
114 * org.el (org-create-formula-image): Also use
115 `org-export-latex-packages-alist'.
117 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
118 (org-export-as-html): Format footnotes correctly.
120 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
122 * org.el (org-fast-tag-selection): Avoid text properties on tags
125 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
126 text properties on the match element.
128 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
130 * org.el (org-set-regexps-and-options): Make sure the list of done
131 keywords is not invalid.
133 * org-exp.el (org-export-interpolate-newlines): New function.
135 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
137 * org.el (org-format-latex): Avoid nested overlays.
139 * org-latex.el (org-export-latex-listings-langs): Add a few more
142 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
143 ignore newlines and space before the first macro argument.
145 * org-latex.el (org-export-latex-tables): Remove save-excursion
146 around `org-table-align'.
148 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
150 * org.el (org-export-html-special-string-regexps): Definition
153 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
156 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
158 * org-latex.el (org-export-latex-listings)
159 (org-export-latex-listings-langs): New options.
161 * org-exp.el (org-export-format-source-code-or-example): Use
162 listing package if requested by the user.
164 2009-08-08 Bastien Guerry <bzg@altern.org>
166 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
167 command before actually switching to a buffer.
169 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
171 * org-exp.el (org-get-file-contents): Only quote org lines when
172 the markup is src or example.
174 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
176 (org-agenda-get-day-entries): Remember deadline results and pass
177 them on into the function getting the scheduling information.
178 (org-agenda-get-scheduled): Accept deadline results as parameters
179 and maybe skip some entries.
180 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
182 * org.el (org-insert-heading): When respecting content, do not
183 convert current line to headline.
185 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
186 cheeeeeck the hd marker
187 (org-clock-in): Also set the hd marker.
188 (org-clock-out): Also set the hd marker.
189 (org-clock-cancel): Reset markers.
191 * org.el (org-clock-hd-marker): New marker.
193 * org-faces.el (org-agenda-clocking): New face.
195 * org-agenda.el (org-agenda-mark-clocking-task): New function.
196 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
198 * org.el (org-modules): Add org-track.el.
200 * org-agenda.el (org-agenda-bulk-marked-p): New function.
201 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
202 `org-agenda-bulk-marked-p'.
203 (org-agenda-bulk-toggle): New command.
205 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
207 * org.el (org-move-subtree-down): Hide subtree if it was folded,
210 * org-remember.el (org-remember-finalize): Avoid buffer-modified
213 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
215 * org-latex.el (org-export-latex-first-lines): Fix bug with
216 finding the end of the first lines.
218 * org.el (org-create-formula-image): Remove the -E option for
221 * org-exp.el (org-default-export-plist): Respect #+BIND.
222 (org-export-confirm-letbind): New function.
224 * org.el (org-paste-subtree): Test the kill ring entry if it is
226 (org-copy-subtree): Use `org-forward-same-level'.
227 (org-forward-same-level): Respect the `invisibe-ok' arg for
230 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
232 * org.el (org-table-map-tables): Make sure cursor is back at table
233 beginning after funcall.
235 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
236 handled before children, and do not error if an entry is not
237 found, probably because it hase been remove when the parent was
240 * org.el (org-ido-completing-read): Accept straight lists for
241 completion as well as alists.
243 * org-html.el (org-export-as-html): Fix parenthesis error in
246 * org-timer.el (org-timer-cancel-timers): Renamed from
247 `org-timer-cancel-timers'.
249 * org.el (org-cycle-internal-local): Fix problem with finding next
252 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
254 * org-list.el (org-list-send-list): Call
255 `org-list-goto-true-beginning' instead of
256 `org-list-find-true-beginning', which does not exist.
258 * org-timer.el (org-timer-reset-timers): Use `mapc'.
259 (org-timer-set-timer): Do not assign to heading.
261 * org-id.el (org-id-open): Quote function name.
263 * org-macs.el (org-unmodified): Turn off recording undo
264 information while running inside the macro.
266 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
268 (org-indent-mode): Remember and restore value of
269 org-hide-leading-stars before `org-indent-mode'.
271 * org-table.el (org-table-export): Also work in file-less
274 * org.el (org-startup-indented): New option.
275 (org-startup-options): Add new options indent and noindent.
276 (org-unfontify-region): Remove line-prefix and wrap-prefix
278 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
280 (org-promote, org-demote): Run the new hooks.
282 * org-table.el (org-table-align): Replace leading \n as well.
284 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
285 and `line-wrap' text properties.
287 * org-compat.el (org-kill-new): New function.
289 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
290 `line-wrap' text properties.
292 * org-indent.el: New file.
294 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
296 * org.el (org-provide-todo-statistics): Tweak docstring.
298 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
300 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
302 * org-exp.el (org-export-as-org): Insert the "-source" string
303 before the extension.
305 * org.el (org-read-date): Make sure the calendar is in the current
307 (org-set-emph-re): Remove the ? from the post-match.
308 (org-emphasis-regexp-components): Add backslash to the
310 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
311 optional so that also lines at the end of the buffers will still
312 be matched as headlines.
314 * org-table.el (org-table-error-on-row-ref-crossing-hline):
315 Variable made obsolete.
316 (org-table-relative-ref-may-cross-hline): New option.
317 (org-table-find-row-type): Honow the new option
318 `org-table-relative-ref-may-cross-hline'.
320 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
322 * org-table.el (org-table-cut-region, org-table-copy-region): Work
323 on single field if no active region.
325 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
327 * org-latex.el (org-export-latex-make-header): Only insert title
330 * org.el (org-make-options-regexp): Allow empty values.
332 * org-html.el (org-export-as-html): Move hrule detection to after
335 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
337 * org-html.el (org-format-org-table-html): Fix colgroup tags.
339 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
341 * org.el (org-cycle-internal-local): Improved version of finding
343 (org-cycle-hide-drawers): Only hide drawers if this is really
345 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
346 org-version of this function in Org-mode. We use advice to
347 implement this change, so that future changes to this function in
348 outline.el wil be handled properly.
349 (org-forward-same-level, org-backward-same-level): New commands.
351 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
353 * org.el (org-remove-empty-overlays-at)
354 (org-clean-visibility-after-subtree-move): New functons.
355 (org-move-subtree-down): Simplify cleanup of display.
357 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
359 * org-mac-message.el (org-mac-message-get-links): Improve
360 docstring. Make argument SELECT-OR-FLAGGED optional, default to
361 "s". Fix the return value.
362 (org-mac-message-insert-flagged): Simplify.
364 * org.el (org-refile-get-location): Tamper with refile history o
365 that history contains compete matches instead of the entered
368 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
370 * org.el (org-store-link): Never store a link to an inline task.
372 * org-inlinetask.el (org-inlinetask-insert-task): New command.
374 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
375 inline tasks when positioning footnotes.
377 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
380 * org.el (org-refile): Remove the END line when archiving an
381 inline task that does have an END line.
383 * org-archive.el (org-archive-subtree): Remove the END line when
384 archiving an inline task that does have an END line.
386 * org-macs.el (org-with-limited-levels): New macro.
387 (org-get-limited-outline-regexp): New function.
389 * org-exp.el (org-export-format-source-code-or-example): Fix bug
390 that did not enumerate first line.
391 (org-export-mark-radio-links): Skip matches in links.
393 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
395 * org.el (org-activate-plain-links): Make single-match.
396 (org-adapt-indentation): Fix docstring.
398 * org-macs.el (org-unmodified): Turn of modification hooks while
401 2009-08-02 Bastien Guerry <bzg@altern.org>
403 * org.el (org-adapt-indentation): Slightly improve the docstring.
404 (org-occur): Sends an error when the user inputs an empty string.
405 (org-priority): Bugfix: the tag alignement should happen within
408 2009-07-31 Bastien Guerry <bzg@altern.org>
410 * org.el (org-make-link-regexps): Don't exclude parentheses from
412 (org-cycle-internal-local): When locally cycling, switch directly
413 from CHILDREN to FOLDED if there is no subtree
414 (org-cycle): Update the docstring to document the new behavior of
415 `org-cycle-internal-local'.
417 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
419 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
420 an abbreviated format for days.
422 2009-07-27 Bastien Guerry <bzg@altern.org>
424 * org-protocol.el (org-protocol-default-template-key): New
427 * org.el (org-refile): Bugfix: save-excursion before reading the
428 refile target, otherwise cursor moves might confuse `org-refile'.
430 * org-html.el (org-export-as-html): Bugfix: correctly convert the
431 footnote reference before the footnote itself.
433 * org.el (org-toggle-heading): Bugfix: correctly convert list
434 items before the first headline.
436 * org-html.el (org-export-html-footnote-format): New option for
437 formatting the footnote reference.
438 (org-export-as-html): Use the new option.
440 * org.el (org-provide-todo-statistics): Allow a list of TODO
441 keywords to compute statistics against headlines containing a
442 keyword from this list.
443 (org-update-parent-todo-statistics): Possibly use the new allowed
444 value of `org-provide-todo-statistics'.
446 2009-07-26 Bastien Guerry <bzg@altern.org>
448 * org-timer.el: Add autoload cookie.
450 * org.el (org-occur-link-in-agenda-files): New function.
452 * org-timer.el (org-timer-last-timer): New variable.
454 * org-agenda.el (org-agenda-mode-map): New key for
455 org-timer-set-timer called from the agenda.
457 * org.el (org-mode-map): New key for org-timer-set-timer.
459 * org-timer.el (org-timer-reset-timers)
460 (org-timer-show-remaining-time, org-timer-set-timer): New
463 * org-clock.el (org-show-notification): Update the docstring.
465 * org.el (org-provide-todo-statistics): Allow new value
466 'all-headlines for this option, which includes entries with no
467 TODO keywords in the todo statistics.
468 (org-update-parent-todo-statistics): Possibly use the new
469 'all-headline value from `org-provide-todo-statistics'.
471 2009-07-25 Bastien Guerry <bzg@altern.org>
473 * org-clock.el (org-dblock-write:clocktable): Add a new option
474 :timestamp which allows display of timestamps in clock reports.
476 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
477 list to a subtree, preserving the structure of the list.
478 (org-set-emph-re): Make the last element optional in the regexp.
479 This regexp now matches an emphasized string at the end of a line.
481 * org-list.el (org-list-goto-true-beginning)
482 (org-list-make-subtree, org-list-make-subtrees): New functions.
484 * org.el (org-eval-in-calendar): Select the right frame.
485 (org-save-frame-excursion): Remove this macro.
487 2009-07-24 Bastien Guerry <bzg@altern.org>
489 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
490 trying to find the beginning of a list.
492 * org-exp.el (org-get-file-contents): Use a new argument: markup.
493 When present, tell org-get-file-contents not to protect org-like
496 * org-id.el (org-id-uuid-program): New option to set the name of
498 (org-id-method): Use `org-id-uuid-program'.
499 (org-id-new): Use `org-id-uuid-program'.
501 2009-07-23 Bastien Guerry <bzg@altern.org>
503 * org-exp.el (org-export-number-lines): Allow whitespace in code
504 references. Allow the -r switch to remove the references in the
505 source code even when the lines are not numbered: the labels can
508 * org.el (org-fontify-whole-heading-line): New option.
509 (org-set-font-lock-defaults): Use the new option.
511 * org-clock.el (org-show-notification-handler): New option.
512 (org-show-notification): Use the new option.
514 2009-07-21 Bastien Guerry <bzg@altern.org>
516 * org.el (org-eval-in-calendar): Fix a bug about calendar
517 navigation when `calendar-setup' value is 'calendar-only.
519 2009-07-19 Bastien Guerry <bzg@altern.org>
521 * org.el (orgstruct++-mode): Fix typo in docstring.
522 (org-insert-link): Clean up: (or (...)) => (...)
523 (org-insert-link): Use TAB for stored links completion.
525 2009-07-18 Bastien Guerry <bzg@altern.org>
527 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
528 building the list of targets.
530 * org-remember.el (org-remember-delete-empty-lines-at-end): New
532 (org-remember-handler): Use the new option.
534 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
536 * org.el (org-tags-sort-function): New option for sorting tags.
537 (org-set-tags): Use the new option to sort tags.
539 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
540 premature deletion of the data when using org-plot in a script.
542 2009-07-17 Bastien Guerry <bzg@altern.org>
544 * org-clock.el (org-clock-in-prepare-hook): New hook.
545 (org-clock-in): Use this new hook.
547 2009-07-16 Bastien Guerry <bzg@altern.org>
549 * org.el (org-special-ctrl-a/e): Explicitely bind the value
550 'reversed for this option to the "true line boundary first"
552 (org-tags-match-list-sublevels): Document the 'indented value for
555 * org-latex.el (org-export-latex-first-lines): Fix problem with
556 publishing the region.
558 * org-exp.el (org-export-format-source-code-or-example): Fix
559 bad line numbering when exporting examples in HTML.
561 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
563 * org-colview.el (org-format-time-period): Formats a time in
564 fractional days as days, hours, mins, seconds.
565 (org-columns-display-here): Add special handling for SINCE and
566 SINCE_IA to format for display.
568 * org.el (org-time-since): Add a function to get the time since an
570 (org-entry-properties): Add two new special properties: SINCE and
571 SINCE_IA. These give the time since any active or inactive
572 timestamp in an entry.
573 (org-special-properties): Add SINCE, SINCE_IA.
574 (org-tags-sort-function): Add custom declaration for tags
576 (org-set-tags): Sort tags if org-tags-sort-function is set
578 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
580 * org-clock.el (org-clock-goto): Find hidden headlines as well.
582 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
584 * org-plot.el (org-plot/add-options-to-plist): Add timeind
587 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
589 * org-publish.el (org-publish-remove-all-timestamps): New function.
590 (org-publish-all): Remove all timestamp files if `org-publish-all'
591 is called with a prefix argument.
593 * org-list.el (org-indent-item): Fix typo.
594 (org-item-indent-positions): Normalize ordered bullet.
596 * org-html.el (org-export-html-home/up-format): New option.
597 (org-export-as-html): Insert the up and HOME links.
599 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
601 * org-html.el (org-export-as-html): Insert the title into the
603 (org-export-html-insert-plist-item): New function.
604 (org-export-as-html): Call `org-export-html-insert-plist-item'.
606 * org-macs.el (org-set-local): Make a local variable, do not make
607 the variable buffer-local!
609 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
611 * org-html.el (org-export-as-html): Call `org-install-letbind'.
613 * org-docbook.el (org-export-as-docbook): Call
614 `org-install-letbind'.
616 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
618 * org-exp.el (org-infile-export-plist): Read BIND lines.
619 (org-install-letbind): New function.
620 (org-export-as-org, org-export-preprocess-string): Call
621 `org-install-letbind'.
623 * org-src.el (org-edit-src-exit): Untabify the example before
626 * org-list.el (org-list-demote-modify-bullet): New option.
627 (org-first-list-item-p): Save point.
628 (org-fix-bullet-type): New optional argument FORCE-BULLET.
629 (org-indent-item): Honor `org-list-demote-modify-bullet'.
630 (org-item-indent-positions): Return bullet types along with
633 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
635 * org.el (org-show-entry): Hide drawers.
637 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
639 * org-footnote.el (org-footnote-auto-adjust): New option.
640 (org-footnote-auto-adjust-maybe): New function.
641 (org-footnote-new, org-footnote-delete): Call
642 `org-footnote-auto-adjust-maybe'.
644 * org.el (org-startup-options): Add new footnote-related
647 * org-publish.el (org-publish-timestamp-filename): Additional
648 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
649 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
650 TRUE-PUB-DIR. Pass them through to
651 `org-publish-timestamp-filename'.
652 (org-publish-update-timestamp): Additional arguments PUB-DIR and
653 PUB-FUNC, which are included in the hash.
654 (org-publish-file): Delay timestamp test until the publishing
657 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
659 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
660 setting the deadline.
662 * org.el (org-read-date-final-answer): New variable.
663 (org-read-date): Store the final answer string, including the date
664 from the calendar, for reuse by agenda bulk commands.
666 * org-publish.el (org-publish-attachment): Fix publishing of
669 * org-latex.el (org-export-latex-quotation-marks): Fix export of
670 quotation makrs in parenthesis.
671 (org-remove-initial-hash): New function.
672 (org-export-latex-preprocess): Fix bug with infinite loop if
673 environment is not properly closed.
675 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
678 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
679 highlight also when indented.
681 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
683 * org-footnote.el (org-footnote-renumber-fn:N): New command.
684 (org-footnote-action): Offer renumbering.
686 * org.el (org-cycle): Honor the `integrate' value of
687 org-cycle-include-plain-lists'.
689 * org-list.el (org-cycle-include-plain-lists): New allowed value
690 `internal'. Improve the docstring.
692 * org.el (org-set-autofill-regexps): Improve the paragraph-start
693 regexp to work better with LaTeX commands.
695 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
697 * org-feed.el (org-feed-update): fix problem with non-existing
699 (org-feed-skip-http-headers): New function.
700 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
701 (org-feed-get-feed): Fix command line arguments for curl.
703 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
705 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
708 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
710 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
713 * org.el (org-map-entries): No longer force
714 `org-tags-match-list-sublevels' to t during a todo-only tags
717 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
719 * org-latex.el (org-export-latex-low-levels): Allow user-defined
721 (org-export-latex-subcontent): Handle user-defined environment.
723 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
726 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
729 * org-latex.el (org-export-as-pdf): Protect match data during call
730 to shell-quote-argument.
732 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
733 (org-agenda-view-mode-dispatch): New function.
735 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
737 * org-agenda.el (org-agenda-mode): Reset list of marks.
738 (org-agenda-mode-map): Define new keys for refile and bulk action.
739 (org-agenda-menu): Add menu itesm for refile and bulk action.
740 (org-agenda-refile): New function.
741 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
742 (org-agenda-marked-entries): New variable.
743 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
744 (org-agenda-remove-all-bulk-action-marks)
745 (org-agenda-bulk-action): New functions/commands.
747 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
749 * org-exp.el (org-get-file-contents): Protect org-like lines in
751 (org-export-format-source-code-or-example): Remove newlines.
753 * org-latex.el (org-export-latex-links): Check for no-description
756 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
757 argument separator back to comma.
758 (org-export-normalize-links): Mark links without description.
760 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
762 * org-exp.el (org-infile-export-plist): Fix bug in macro
765 * org-agenda.el (org-agenda-clock-out): Update line after clocking
767 (org-agenda-highlight-todo): Fix bug with highlighting.
769 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
771 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
772 new alignment strings.
774 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
776 (org-table-align): Check for forced align type.
778 * org.el (org-self-insert-command): Add yas/expand to command
781 * org-clock.el (org-clock-in-hook): New hook.
782 (org-clock-in): Run `org-clock-in-hook.
783 (org-clock-out-hook): New hook.
784 (org-clock-out): Run `org-clock-out-hook.
785 (org-clock-cancel-hook): New hook.
786 (org-clock-cancel): Run `org-clock-cancel-hook.
787 (org-clock-goto-hook): New hook.
788 (org-clock-goto): Run `org-clock-goto-hook.
790 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
792 * org.el (org-store-link): Better default description for link to
795 * org-exp.el (org-export-generic): Autoload the generic exporter
797 (org-export): Implement the `g' key for the generic exporter.
799 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
801 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
804 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
806 * org-exp.el (org-infile-export-plist): Get macros also from
809 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
811 * org-colview.el (org-columns-capture-view): Protect vertical bars
813 (org-columns-capture-view): Exclude comment and archived trees.
815 * org-colview-xemacs.el (org-columns-capture-view): Protect
816 vertical bars in column values.
817 (org-columns-capture-view): Exclude comment and archived trees.
819 * org.el (org-quote-vert): New function.
821 * org-latex.el (org-export-latex-verbatim-wrap): New option.
823 * org-exp.el (org-export-format-source-code-or-example): Use
824 `org-export-latex-verbatim-wrap'.
826 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
829 * org-html.el (org-export-table-row-tags): New option.
830 (org-format-org-table-html): Rename `nlines' to `nline', use new
834 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
836 * org-exp-blocks.el: Declare functions and variables.
838 * org-remember.el (org-remember-templates): Allow the headline
839 element to be a function.
840 (org-remember-apply-template): If the headline is a function, call
841 it to get the true function.
843 * org-clock.el (org-clock-menu): New function.
844 (org-clock-update-mode-line): Update help string.
845 (org-clock-modify-effort-estimate): New function.
846 (org-clock-mark-default-task): New function.
848 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
850 (org-org-menu): Add new clocking stuff.
851 (org-clock-is-active): New function.
853 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
855 * org.el (org-open-non-existing-files): Improve docstring.
857 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
859 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
861 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
863 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
865 * org-list.el (org-get-checkbox-statistics-face): Use the new
868 * org-faces.el (org-checkbox-statistics-todo)
869 (org-checkbox-statistics-done): New faces.
871 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
873 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
874 (org-edit-src-exit): Better cursor positioning when returning from
877 * org-latex.el (org-export-latex-use-verb): New variable.
878 (org-export-latex-emph-format): Prefer \texttt over \verb when
879 org-export-latex-use-verb is set.
881 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
883 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
884 at normal indentation.
886 * org-html.el (org-export-html-close-lists-maybe): Also look at
889 * org-remember.el (org-remember-handler): Abort remember if the
892 * org-src.el (org-edit-src-content-indentation): New option.
893 (org-edit-src-exit): Apply extra indentation.
895 * org-exp.el (org-export-format-source-code-or-example): Run
898 * org-src.el (org-src-mode-hook): New variable.
899 (org-edit-src-code): Run `org-src-mode-hook'.
901 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
903 * org.el (org-indent-line-function): Fix indentation of +#end lines.
905 * org-src.el (org-edit-src-get-indentation): New function.
906 (org-edit-src-code): Base indentation on the begin line.
908 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
910 * org-gnus.el (org-gnus-store-link): Require message.el in
913 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
915 * org-src.el: New file, split out of org.el
917 * org-docbook.el (org-export-as-docbook): Better indentation
920 * org-macs.el (org-replace-match-keep-properties): New function.
922 * org-exp.el (org-export-mark-blockquote-verse-center): Better
923 preprocessing of center and quote and verse blocks.
925 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
926 (org-export-as-docbook): Close lists when original indentation
929 * org-html.el (org-export-html-close-lists-maybe): New function.
930 (org-export-as-html): Close lists when original indentation
933 * org-list.el (org-list-end): Respect the stored "original"
934 indentation when determining the end of the list.
936 * org-exp.el (org-export-replace-src-segments-and-examples):
937 Remember indentation correctly.
939 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
941 * org-clock.el (org-clock-update-mode-line): Apply face
944 * org-faces.el (org-mode-line-clock): New face.
946 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
948 * org-gnus.el (org-gnus-store-link): Fix bug where
949 `org-gnus-store-link' used wrong subject when called in an article
950 buffer. Patch provided by fengli AT gmail DOT com.
952 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
954 * org-exp.el (org-export-format-source-code-or-example): Remember
955 the original indentation of source code snippets and examples.
957 * org-latex.el (org-export-as-latex): Relocate the table of
960 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
962 * org-agenda.el (org-run-agenda-series): Scope global options also
963 when creating the agenda buffer.
965 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
967 * org.el (org-adapt-indentation): Improve documentation.
968 (org-insert-property-drawer): Respect org-adapt-indentation when
969 inserting the drawer.
970 (org-remove-flyspell-overlays-in): New function.
971 (org-do-emphasis-faces, org-activate-plain-links)
972 (org-activate-code, org-fontify-meta-lines-and-blocks)
973 (org-activate-angle-links, org-activate-footnote-links)
974 (org-activate-bracket-links, org-activate-dates)
975 (org-activate-target-links, org-activate-tags): Remove flyspell
978 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
980 * org.el (org-edit-src-save): New function.
982 * org-clock.el (org-clock-out-switch-to-state): New option.
983 (org-clock-out): Honor `org-clock-out-switch-to-state'.
985 * org-compat.el (org-compatible-face): Improve macro.
987 * org.el (org-global-properties-fixed): Add default for
988 CLOCK_MODELINE_TOTAL.
990 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
992 (org-clock-sum-current-item): Optional argument TSTART, pass it to
994 (org-clock-get-sum-start): New function.
996 * org.el (org-startup-options): New keywords blockhide and
998 (org-mode): Add new invisibility spec.
999 (org-set-startup-visibility): Hide block on startup if so
1001 (org-hide-block-startup): New option.
1002 (org-block-regexp): New constant.
1003 (org-hide-block-overlays): New variable.
1004 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1005 (org-show-block-all, org-hide-block-toggle-maybe)
1006 (org-hide-block-toggle): New functions.
1007 (org-edit-src-exit): Do not quote lines starting with # and no +
1009 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1012 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
1014 * org.el (org-buffer-property-keys): Add Effort property for
1017 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
1019 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1020 when retrieving total clocked time in the subtree.
1022 * org.el (org-quoting-blocks): New variable.
1024 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1026 * org-table.el (org-table-store-formulas)
1027 (org-table-get-stored-formulas, org-table-fix-formulas)
1028 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1029 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1031 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1032 indented #+TBLFM line.
1034 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1035 indented #+TBLFM line.
1037 * org-colview.el (org-dblock-write:columnview): Allow indented
1040 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1041 indented #+TBLFM line.
1043 * org-clock.el (org-dblock-write:clocktable): Allow indented
1046 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
1048 * org-exp.el (org-export-format-source-code-or-example): Make
1049 editing indented blocks work correctly.
1051 * org.el (org-edit-src-nindent): New variable.
1052 (org-edit-src-code, org-edit-fixed-width-region)
1053 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1054 editing indented blocks work correctly.
1056 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
1058 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1060 (org-export-format-source-code-or-example): Fix indentation of
1062 (org-export-remove-indentation): New function.
1063 (org-export-select-backend-specific-text): Allow backend-specific
1064 code to be indented.
1065 (org-export-mark-blockquote-verse-center): Allow markers to be
1068 * org.el (org-fontify-meta-lines): New function.
1069 (org-set-font-lock-defaults): Call the new fontification
1072 * org-faces.el (org-meta-line): New face
1073 (org-block): New face.
1075 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
1077 * org.el (org-treat-insert-todo-heading-as-state-change)
1078 (org-treat-S-cursor-todo-selection-as-state-change): New
1080 (org-insert-todo-heading): Honor
1081 `org-treat-insert-todo-heading-as-state-change'.
1082 (org-shiftright, org-shiftleft): Honor
1083 `org-treat-S-cursor-todo-selection-as-state-change'.
1084 (org-inhibit-logging): New variable.
1086 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
1088 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1089 range for marker position checking.
1091 * org-latex.el (org-export-latex-first-lines): Fix bug when
1094 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
1096 * org-exp.el (org-export-push-to-kill-ring): Protect using
1097 x-set-selection, because that does not always work.
1099 * org-agenda.el (org-agenda-list): Apply the new face
1100 `org-agenda-date-today'.
1102 * org-faces.el (org-agenda-date-today): New face.
1104 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
1106 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1107 creating appointments.
1109 * org-latex.el (org-export-latex-low-levels): Fix customization
1112 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1115 * org-agenda.el (org-agenda-priority): Disable priority commands.
1117 * org.el (org-enable-priority-commands): New option.
1119 * org-colview-xemacs.el (org-columns-compute)
1120 (org-columns-number-to-string): Fix problems with empty fields.
1122 * org-colview.el (org-columns-compute)
1123 (org-columns-number-to-string): Fix problems with empty fields.
1125 * org-exp.el (org-export-push-to-kill-ring): New function.
1126 (org-export-copy-to-kill-ring): New option.
1128 * org-latex.el (org-export-as-latex): Call
1129 `org-export-push-to-kill-ring'.
1131 * org-html.el (org-export-as-html): Call
1132 `org-export-push-to-kill-ring'.
1134 * org-docbook.el (org-export-as-docbook): Call
1135 `org-export-push-to-kill-ring'.
1137 * org-ascii.el (org-export-as-ascii): Call
1138 `org-export-push-to-kill-ring'.
1140 * org-exp.el (org-export-show-temporary-export-buffer): New
1143 * org-latex.el (org-export-as-latex): Use
1144 `org-export-show-temporary-export-buffer'.
1146 * org-html.el (org-export-as-html): Use
1147 `org-export-show-temporary-export-buffer'.
1149 * org-docbook.el (org-export-as-docbook): Use
1150 `org-export-show-temporary-export-buffer'.
1152 * org-ascii.el (org-export-as-ascii-to-buffer): Use
1153 `org-export-show-temporary-export-buffer'.
1155 * org-exp.el (org-export-show-temporary-export-buffer): New
1157 (org-export-push-to-kill-ring): New function.
1159 * org-colview.el (org-columns-compile-map): New variable.
1160 (org-columns-new, org-columns-compute)
1161 (org-columns-number-to-string, org-columns-uncompile-format)
1162 (org-columns-compile-format): Implement new operators.
1164 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1168 * org-html.el (org-export-html-xml-declaration): New option.
1169 (org-export-as-html): Use `org-export-html-xml-declaration'.
1171 * org-list.el (org-update-checkbox-count): Make property
1174 * org.el (org-hierarchical-todo-statistics): New option.
1175 (org-update-parent-todo-statistics): Modified to handle recursive
1178 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
1180 * org-publish.el (org-publish): Make this function behave
1181 correctly in interactive use when called with a prefix argument.
1183 * org.el (org-todo-statistics-hook): New hook.
1184 (org-update-parent-todo-statistics): Use new hook.
1185 (org-log-into-drawer): New function.
1186 (org-add-log-setup): Use the new `org-log-into-drawer' function to
1187 determine if we should be logging into a drawer.
1188 (org-log-into-drawer): Update docstring.
1189 (org-default-properties): Add LOG_INTO_DRAWER as a property.
1191 * org-list.el (org-checkbox-statistics-hook): New hook.
1192 (org-update-checkbox-count-maybe): Use new hook.
1194 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1195 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1198 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
1200 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1203 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
1205 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1206 better bufer-generating mechanism.
1207 (org-edit-src-find-buffer): New function.
1209 * org-icalendar.el (org-print-icalendar-entries): Don't check for
1210 archive tag, this is already done by `org-agenda-skip'.
1211 data while constructing lost of tags.
1213 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
1215 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1216 as argument separator in macros.
1218 * org-html.el (org-export-as-html): Add xml declaration.
1220 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
1222 * org.el (org-after-sorting-entries-or-items-hook): New hook.
1223 (org-sort-entries-or-items): Run the new hook.
1224 (org-after-refile-insert-hook): New hook.
1225 (org-refile): Run `org-after-refile-insert-hook'.
1227 * org-agenda.el (org-agenda-get-progress): Never take time of day
1228 from headline when displaying progress.
1230 * org-latex.el (org-export-latex-complex-heading-re): New variable.
1231 (org-export-as-latex): Force the correct regexp in the
1232 preprocessor buffer.
1233 (org-export-latex-set-initial-vars): Set
1234 `org-export-latex-complex-heading-re'.
1236 * org-agenda.el (org-agenda-start-with-log-mode): New option.
1237 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1239 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
1241 * org-latex.el (org-export-latex-tables-centered): New option.
1242 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1244 * org-exp.el (org-export-as-org): New command.
1245 (org-export-as-org): New command.
1247 * org-publish.el (org-publish-org-to-org): New function.
1249 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
1251 * org.el (org-yank): Just call `org-yank-generic'.
1252 (org-yank-generic): New function, containing the formaer
1253 functionality of `org-yank'.
1255 * org-latex.el (org-export-latex-not-done-keywords)
1256 (org-export-latex-done-keywords): New variables.
1257 (org-export-latex-todo-keyword-markup): New option.
1258 (org-export-latex-set-initial-vars): Remember the TODO keywords.
1259 (org-export-latex-keywords-maybe): Apply the TODO markup.
1261 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
1263 * org-exp.el (org-infile-export-plist): Add more default macros.
1264 (org-export-preprocess-apply-macros): Process macro arguments.
1266 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
1268 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1270 (org-print-icalendar-entries): Respect the new value of
1271 `org-icalendar-include-todo'.
1273 * org.el (org-link-try-special-completion)
1274 (org-file-complete-link): New functions.
1275 (org-insert-link): Add special completion support for some link
1278 * org-bbdb.el (org-bbdb-complete-link): New function.
1280 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
1282 * org-list.el (org-update-checkbox-count): Allow recursive
1284 (org-hierarchical-checkbox-statistics): New option.
1286 * org.el (org-cycle): Remove erraneous space character.
1288 * org-icalendar.el (org-icalendar-timezone): Initialize from
1291 * org-html.el (org-format-org-table-html): Specify the scope.
1292 (org-format-table-table-html): Specify the scope.
1293 (org-export-table-header-tags): Prepare the scope parameter.
1295 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
1298 (org-export-html-table-use-header-tags-for-first-column): New
1301 * org.el (org-autoload): Fix autoloading of ascii export
1303 (org-modules): Add org-special-blocks.
1305 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
1307 * org-icalendar.el (org-start-icalendar-file): Use the new option.
1308 (org-ical-timezone): New option.
1310 * org-exp.el (org-export-get-coderef-format): Use the description
1313 * org.el (org-sort-entries-or-items): Improve docstring, and make
1314 better implementation for time sorting.
1316 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
1318 * org.el (org-edit-src-persistent-message): New option.
1319 (org-edit-src-code, org-edit-fixed-width-region): Use the new
1322 * org-clock.el (org-clock-insert-selection-line): Fix prefious
1325 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1326 separate buffer instead of indirect buffer to edit source code.
1327 (org-edit-src-exit): Make this function work with the new setup.
1329 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1330 are properly fontified before shown in the selection menu.
1332 * org.el (org-fontify-like-in-org-mode): New function.
1334 * org-latex.el (org-export-latex-links): Use the property list to
1335 retrieve the default image attributes.
1337 * org-exp.el (org-export-plist-vars): Add a new option.
1339 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
1341 * org-exp.el (org-export, org-export-visible): Support ASCII
1343 (org-export-normalize-links): Do not protect the description if it
1344 is explicitly given.
1346 * org-ascii.el (org-export-as-ascii-to-buffer)
1347 (org-replace-region-by-ascii, org-export-region-as-ascii): New
1349 (org-export-as-ascii): Add all the same parameters that are also
1350 supported by the other export functions.
1352 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1354 (org-reset-checkbox-state-subtree): Call
1355 `org-reset-checkbox-state-subtree'.
1357 * org-remember.el (org-select-remember-template): For the
1358 selection of a valid template.
1360 * org-latex.el (org-export-region-as-latex): Supply the
1361 force-no-subtree argument.
1362 (org-export-as-latex): Provide better limits when exporting the
1363 first line. When exporting to string, we still want the first
1365 (org-export-latex-first-lines): New argument END, to force the end
1367 (org-export-region-as-latex): Use the property list.
1368 (org-export-as-latex):
1370 * org-colview-xemacs.el (org-columns-remove-overlays)
1371 (org-columns): Fix call to `local-variable-p'.
1373 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
1375 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1376 (org-export-as-html): Run the new hook.
1378 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1379 (org-export-latex-preprocess): Run the new hook.
1381 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1382 (org-export-preprocess-string): Run the new hook.
1384 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
1386 * org-macs.el (org-check-external-command): New defsubst.
1388 * org.el (org-mode-map): New key for reload.
1389 (org-format-latex): Better error message when external programs
1392 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1394 * org.el (org-sort-entries-or-items): Explicit sorting function
1395 for priorities, needed for XEmacs compatibility.
1397 * org-remember.el (org-remember-apply-template): Improve auto-save
1400 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
1402 * org-latex.el (org-export-latex-preprocess): Also protect
1403 environments ending in a star.
1405 * org-list.el (org-at-item-p): Fix regular expression.
1407 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
1409 * org.el (org-end-of-subtree): Improve speed.
1411 * org-agenda.el (org-agenda-get-timestamps)
1412 (org-agenda-get-progress, org-agenda-get-deadlines)
1413 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1414 in particular, wait as long as possible to collect the tags.
1415 (org-stuck-projects): Improve docstring.
1417 * org.el (org-store-link): No errors when getting custom id before
1419 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1421 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
1423 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1425 * org-protocol.el: Remove dependency on url.el.
1426 (org-protocol-unhex-compound, org-protocol-open-source): Remove
1427 dependency on url.el.
1429 * org-latex.el (org-export-as-pdf): Use
1430 `org-latex-to-pdf-process'.
1432 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
1434 * org-latex.el (org-latex-to-pdf-process): New option.
1436 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1438 (org-agenda-get-timestamps): Honor
1439 `org-agenda-skip-additional-timestamps-same-entry'.
1441 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1442 (org-clock-goto): Find recent task only if
1443 `org-clock-goto-may-find-recent-task' allows it.
1445 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1446 drawers, and drawers that are missing the :END: line.
1448 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1450 * org-clock.el (org-clock-goto): Go to recently clocked task if no
1453 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1455 * org.el (org-update-parent-todo-statistics): Check for
1456 STATISTICS_FROM property.
1458 * org-list.el (org-update-checkbox-count): Check for
1459 STATISTICS_FROM property.
1461 * org.el (org-tab-first-hook)
1462 (org-tab-after-check-for-table-hook)
1463 (org-tab-after-check-for-cycling-hook): New hooks.
1464 (org-cycle-internal-global, org-cycle-internal-local): New
1465 functions, split out from `org-cycle'.
1466 (org-cycle): Call the new hooks.
1468 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
1470 * org-exp.el (org-export-preprocess-string): Reset the list of
1471 preferred targets for each run of the preprocessor.
1473 * org.el (org-refile-target-verify-function): Improve
1475 (org-get-refile-targets): Respect point being moved by the
1476 verification function.
1478 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1480 (org-export-latex-keywords): Use new option.
1482 * org.el (org-rear-nonsticky-at): New defsubst.
1483 (org-activate-plain-links, org-activate-angle-links)
1484 (org-activate-footnote-links, org-activate-bracket-links)
1485 (org-activate-dates, org-activate-target-links)
1486 (org-activate-tags): Place the rear-nonsticky properties at the
1489 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
1491 * org-protocol.el (server-edit): Declare `server-edit'.
1492 (org-protocol-unhex-string, org-protocol-unhex-compound): New
1494 (org-protocol-check-filename-for-protocol): Call `server-edit'.
1496 * org.el (org-default-properties): New default properteis for
1499 * org-exp.el (org-export-add-subtree-options): Add new properties
1502 * org-docbook.el (org-export-docbook-keywords-markup)
1503 (org-export-docbook-timestamp-markup): New options.
1504 (org-export-docbook-protect-tags): New function.
1506 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
1508 * org-id.el (org-id-get-with-outline-path-completion): Turn off
1509 org-refile-target-verify-function for the duration of the command.
1511 * org.el (org-link-to-org-use-id): New possible value
1512 `create-if-interactive-and-no-custom-id'.
1513 (org-store-link): Use custom IDs.
1514 (org-link-search): Find custom ID properties from #link.
1515 (org-default-properties): Add CUSTOM_ID for property completion.
1516 (org-refile-target-verify-function): New option.
1517 (org-goto): Turn off org-refile-target-verify-function
1518 for the duration of the command.
1520 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
1522 * org-html.el (org-export-as-html): Use custom IDs in the toc.
1524 * org-exp.el (org-export-preferred-target-alist): New variable.
1525 (org-export-define-heading-targets): Find the new CUSTOM_ID
1527 (org-export-target-internal-links): Target the custom ids when
1530 * org-latex.el (org-export-latex-preprocess): Better regexp for
1531 matching latex macros with arguments.
1533 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
1535 * org-remember.el (org-remember-handler): Allow filing to non-org
1538 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
1540 * org-feed.el (org-feed-alist): New keyword options.
1541 (org-feed-update): Use the new options.
1542 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1543 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1544 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1547 * org-table.el (org-table-fix-formulas): Do not change references
1549 (org-table-get-remote-range): Convert standard coordinates to RC
1552 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1554 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
1556 * org-compat.el (org-sha1-string): Function removed.
1558 * org.el (org-refile-allow-creating-parent-nodes): New option.
1559 (org-refile-get-location): New argument NEW-NODES.
1560 (org-refile): Call `org-refile-get-location' with the new
1562 (org-refile-get-location): Arrange for adding a new child.
1563 (org-refile-new-child): New function.
1565 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1566 an additional span element.
1568 * org-clock.el: Fix a number of docstrings.
1569 (org-clock-find-position): New argument
1570 FIND-UNCLOSED to make the function find an unclosed clock in the
1572 (org-clock-in): Call `org-clock-find-position' with the new
1573 argument if we might be resuming a clock.
1575 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
1577 * org-latex.el (org-export-latex-display-custom-times): New variable.
1578 (org-export-latex-timestamp-markup): New option.
1579 (org-export-latex-set-initial-vars): Remember the local value of
1580 `org-display-custom-times'.
1581 (org-export-latex-content): Process time stamps.
1582 (org-export-latex-time-stamps): New function.
1584 * org-macs.el (org-maybe-intangible): Add intangible property
1585 again to invisible text.
1587 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
1589 * org-exp.el (org-default-export-plist): Handle undefined
1592 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
1594 * org.el (org-sort-entries-or-items): Match TODO keywrds
1595 case-sensitively, when sorting.
1596 (org-priority): Do not match TODO keywords with wrong case.
1598 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
1600 * org-feed.el (org-feed-update): Bind the variable
1603 * org-html.el (org-export-as-html): Start paragraphs after literal
1606 * org-docbook.el (org-export-as-docbook): Start paragraphs after
1609 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
1611 * org.el (org-todo): Honor the NOBLOCKING property.
1613 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1614 NOBLOCKING property.
1616 * org.el (org-scan-tags): Fix bug in tag scanner
1618 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
1620 * org.el (org-modules): Mark obsolete packages.
1622 * org-html.el: New file, split out from org-exp.el.
1624 * org-icalendar.el: New file, split out from org-exp.el.
1626 * org-xoxo.el: New file, split out from org-exp.el.
1628 * org-ascii.el: New file, split out from org-exp.el.
1630 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
1632 * org-compat.el (org-find-library-name): New function.
1634 * org.el (org-pre-cycle-hook): New hook.
1635 (org-cycle): Call the new hook in appropriate places.
1636 (org-reload): Only reload files that have been loaded before.
1638 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
1640 * org.el (org-set-font-lock-defaults): Enforxe space or line end
1642 (org-todo): When changing TODO state, do matching
1644 (org-map-continue-from): New variable.
1645 (org-scan-tags): Respect values in `org-map-continue-from'.
1646 (org-reload): Make XEmacs compatible.
1648 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
1650 * org-protocol.el (org-protocol-flatten-greedy): New function.
1651 (org-protocol-flatten): New function.
1653 * org.el (org-open-link-from-string): Pass reference buffer to
1654 `org-open-at-point'.
1655 (org-open-at-point): New optional argument `reference-buffer'.
1657 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
1659 * org.el (org-scan-tags): Make tag scan find headline in first
1661 (org-get-refile-targets): Add the naked file name.
1662 (org-refile): Store as top-level entry when only file name was
1665 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1667 * org.el (org-block-todo-from-children-or-siblings-or-parent):
1668 Renamed from org-block-todo-from-children-or-siblings, and
1669 enhanced to look for the parent's status as well.
1671 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1672 (org-agenda-get-progress): Add first notes line to log entry if so
1675 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
1677 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1678 (org-agenda-cleanup-fancy-diary): Call the new hook.
1680 * org-remember.el (org-remember-apply-template): Take the default
1681 for the annotation from the :annotation property.
1683 * org-mac-message.el (org-mac-message-get-link): Remove the
1685 (org-mac-message-get-link): Return the result.
1687 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
1689 * org.el (org-refile-get-location): Add file name only if not
1690 already included in outline path.
1692 * org-faces.el (org-n-level-faces): Fix customization type from
1695 * org-exp.el (org-export-headline-levels): Fix customization type
1696 from number to integer.
1698 * org-agenda.el (org-agenda-confirm-kill)
1699 (org-agenda-custom-commands-local-options)
1700 (org-timeline-show-empty-dates, org-agenda-ndays)
1701 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1702 customization type from number to integer.
1704 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
1706 * org-protocol.el: Declare some functions.
1708 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1709 postion before inserting modified headline.
1711 * org-agenda.el (org-agenda-compare-effort): Honor
1712 `org-sort-agenda-noeffort-is-high'.
1713 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1714 (org-agenda-compare-effort): Implement the "?" operator for
1715 finding entries without effort setting.
1717 * org.el (org-extract-attributes-from-string): New function.
1719 * org-exp.el (org-export-splice-attributes): New function.
1721 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
1723 * org-mouse.el: XEmacs compatibility fixes
1725 * org-docbook.el (org-export-as-docbook): Process footnotes like
1728 * org.el (org-modules): Add org-inlinetasks.el
1729 (org-cycle): Implement limiting level on cycling.
1730 (org-move-subtree-down): Fix bug with swapping subtrees at end of
1733 * org-inlinetask.el: New file.
1735 * org.el (org-emphasis-regexp-components): Allow braces in
1736 emphasis pre and post match.
1738 * org-footnote.el (org-footnote-normalize): When only dorting, do
1739 not insert inline notes at the end.
1741 * org-docbook.el (org-id-find-id-file): Add function declaration.
1743 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1745 * org-docbook.el: New file.
1747 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
1749 * org.el (org-reftex-citation): New command.
1751 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
1753 * org-agenda.el (org-agenda-cmp-user-defined): New option.
1754 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1756 (org-entries-lessp): Apply the new sorting option.
1758 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1759 blocker code, when an older sibling has children.
1761 * org-mac-message.el (org-mac-message-get-link): Improve getting
1762 links from multiple selected messages.
1764 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
1766 * org-remember.el (org-remember-finalize): Do not set buffer file
1768 (org-remember-handler): Mark buffer as unmodified.
1769 (org-remember-handler): Delete backup file and show message about
1770 remaining backup files.
1771 (org-remember-auto-remove-backup-files): New option.
1773 * org.el (org-store-link): Use buffer name as link description in
1775 (org-ido-switchb): Fix argument bug for completion.
1777 * org-remember.el (org-remember-apply-template): Set local
1778 variable `auto-save-visited-file-name' instead of global one.
1780 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
1782 * org-feed.el: Re-write.
1784 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1785 (org-agenda-get-todos): Mark file tags as inherited.
1786 (org-agenda-list): Always search diary lines for a time.
1788 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
1790 * org-feed.el (org-feed-assume-stable): New option.
1791 (org-feed-before-adding-hook): New hook.
1793 * org-exp.el (org-export-as-html): Close local lists depending on
1794 indentation, also when starting a table.
1796 * org-remember.el (org-remember-backup-directory)
1797 (org-remember-backup-name): New internal variable.
1799 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
1801 * org-clock.el (org-clock-out-if-current): Make buffer detection
1802 work in indirect buffers as well.
1804 * org.el (org-emphasis-regexp-components): Add the exxclamation
1805 mark to the post-emphasis characters.
1807 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
1809 * org.el (org-read-date-minibiffer-septup-hook): New hook.
1810 (org-read-date): Run the new hook.
1812 * org-mac-message.el (org-mac-flagged-mail): New group.
1813 (org-mac-mail-account): New variable.
1814 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1817 * org-remember.el (org-remember-backup-directory): New variable.
1818 (org-remember-apply-template): Write file to backup directory.
1820 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
1822 * org-mouse.el (org-mouse-todo-menu): New function.
1823 (org-mouse-todo-keywords): Function removed.
1824 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1826 * org-table.el (org-table-beginning-of-field)
1827 (org-table-end-of-field): New commands
1828 (org-table-previous-field, org-table-beginning-of-field): Better
1830 (orgtbl-setup): Include `M-a' and `M-e'.
1832 * org.el (org-backward-sentence, org-forward-sentence): New
1835 * org-colview.el (org-colview-initial-truncate-line-value): New
1837 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1838 (org-columns): Remember the value of `truncate-lines'.
1840 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1842 (org-columns-remove-overlays): Restore the value of
1844 (org-columns): Remember the value of `truncate-lines'.
1846 * org.el (org-columns-skip-arrchived-trees): New option.
1848 * org-agenda.el (org-agenda-export-html-style): Define color for
1849 org-agenda-done face.
1850 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1851 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1853 * org.el (org-scan-tags): Use the new face.
1855 * org-faces.el (org-agenda-done): New face.
1857 * org.el (org-scan-tags): Test the value org
1858 `org-tags-match-list-sublevels'.
1859 (org-tags-match-list-sublevels): New allowed value: indented.
1861 * org-export-latex.el (org-export-latex-make-header): Apply macros
1864 * org-exp.el (org-export-apply-macros-in-string): New function.
1866 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1867 with the definition of a checked box.
1869 * org-clock.el (org-clock-find-position): Fix drawer indentations.
1871 * org-export-latex.el (org-export-latex-low-levels): More options
1872 for how to process lower levels in LaTeX.
1873 (org-export-latex-subcontent): Better treatment for lists as a
1874 means of publishing lower levels.
1876 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
1878 * org.el (org-set-font-lock-defaults): Use new checkbox face.
1880 * org-faces.el (org-checkbox): New face.
1882 * org-exp.el (org-export-html-preprocess): Only create LaTeX
1883 fragement images if there is an export file.
1885 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
1887 * org-agenda.el (org-stuck-projects): Document that the subtree of
1888 projects that are not stuck will now be searched for stuck
1890 (org-agenda-skip-entry-when-regexp-matches)
1891 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1892 (org-agenda-list-stuck-projects): Use
1893 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1895 * org-export-latex.el (org-export-latex-preprocess): Improve
1898 * org-exp.el (org-export-as-html): Implement centering as a div
1899 rather than a paragraph. Do a better job with line-end in verse
1902 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
1904 * org.el (org-open-at-point): Fix tags searches by mouse click.
1906 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org-export-latex.el (org-export-latex-preprocess): Implement the
1911 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1912 from `org-export-mark-blockquote-and-verse'.
1913 (org-export-as-html): Implement the centering markup.
1915 * org-export-latex.el (org-export-latex-tables): Fix vertical
1918 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
1920 * org.el (org-read-date-history): New variable.
1921 (org-read-date): Use new history variable.
1922 (org-toggle-heading): Fix bug when used before first headline.
1923 (org-store-log-note): Remove drawer if empty while note is
1925 (org-remove-empty-drawer-at): New function.
1926 (org-check-after-date): New command.
1927 (org-sparse-tree): New sparse tree command "a".
1929 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1931 2009-03-14 Bastien Guerry <bzg@altern.org>
1933 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1934 column and a space, not only a column.
1936 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
1938 * org-export-latex.el (org-export-latex-emphasis-alist): Better
1939 defaults for verbose emphasis.
1940 (org-export-latex-emph-format): New function.
1941 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1943 * org-agenda.el (org-agenda-menu): Add new commands to menu.
1944 (org-agenda-do-date-later, org-agenda-do-date-earlier)
1945 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1946 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1949 * org.el (org-timestamp-change): Move end-time along with start
1952 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
1954 * org-exp.el (org-export-target-internal-links)
1955 (org-export-as-html): Protect links specified as #name.
1957 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
1959 * org.el (org-clone-subtree-with-time-shift): New command.
1961 * org-export-latex.el (org-export-latex-special-chars)
1962 (org-export-latex-treat-sub-super-char): Fix subscript export.
1964 * org-exp.el (org-create-multibrace-regexp): Do not add
1965 backslashes to the class.
1967 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
1969 * org-colview.el (org-columns-map): Better functions for moving up
1970 and down a row, even if `truncate-line' is nil.
1972 * org.el (org-insert-todo-heading): Make sure the keyword is
1973 inserted at the correct position.
1975 * org-publish.el (org-publish-project-alist)
1976 (org-publish-projects, org-publish-org-index): Change default anme
1977 for the index of file names to "sitemap.org".
1979 * org-export-latex.el (org-export-latex-tables): Use
1980 `org-split-string', for Emacs 21 compatibility.
1982 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
1984 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1986 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
1988 * org-exp.el (org-export-page-description)
1989 (org-export-page-keywords): New variables.
1990 (org-export-plist-vars): Add entries for :keywords and
1992 (org-infile-export-plist): Parse for new keywords.
1993 (org-get-current-options): Add new keywords
1994 (org-export-as-html): Publish description and keywords.
1996 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1998 (org-agenda-add-entry-text): Honor
1999 `org-agenda-add-entry-text-descriptive-links'.
2001 * org-export-latex.el (org-export-latex-preprocess): Make all
2002 external preprocess functions use a PARAMETER arg.
2004 * org-exp.el (org-export-preprocess-string)
2005 (org-export-select-backend-specific-text)
2006 (org-export-format-source-code-or-example)
2007 (org-format-org-table-html): Support docbook export.
2008 (org-export-preprocess-string): Make all external preprocess
2009 functions use a PARAMETER arg.
2011 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
2013 * org-exp.el (org-export-html-style-include-scripts): New option.
2014 (org-export-plist-vars): Add new option
2015 `org-export-html-style-include-scripts'.
2016 (org-export-as-html): Honor new option
2017 `org-export-html-style-include-scripts'.
2018 (org-export-html-scripts, org-export-html-style-default): Fix
2019 xml issues with the Safari browser.
2021 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
2023 * org-publish.el (org-publish-attachment): Only copy file when the
2026 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
2028 * org-clock.el (org-clocktable-steps): Use inactive time stamps
2029 for clocktable steps.
2031 * org.el (org-additional-option-like-keywords): Add two more
2034 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
2036 * org-exp.el (org-export-format-source-code-or-example): Mark
2037 temporary buffer unmodified, so that it will be killed even if
2038 mode like message mode has decided to assign a file name.
2040 * org.el (org-scan-tags): Improve tag inheritance.
2041 (org-scan-tags, org-make-tags-matcher): Make tag comparison
2043 (org-scan-tags): Use the internal tags list instead of creating it
2045 (org-trust-scanner-tags, org-scanner-tags): New variables.
2046 (org-scan-tags): Set `org-scanner-tags'.
2047 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2048 (org-map-entries): Document the possible speedup using scanner
2051 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
2053 * org.el (org-add-planning-info): Fix bug with looking for keyword
2056 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2057 option for tags filter preset.
2058 (org-prepare-agenda): Store filter preset as a property on the
2060 (org-finalize-agenda): Call the filter, if there is a preset.
2061 (org-agenda-filter-by-tag): Filter again after clearing the
2062 filter, when there still is a preset.
2063 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2064 Include the preset filter.
2065 (org-agenda-redo): Apply the filter again, also the preset filter.
2067 * org-exp.el (org-export-as-html): Use IDs in the correct way.
2069 * org.el (org-uuidgen-p): New funtion.
2071 * org-agenda.el (org-agenda-fontify-priorities): New default value
2073 (org-agenda-fontify-priorities): Renamed from
2074 org-fontify-priorities.
2076 * org.el (org-set-font-lock-defaults): Call
2077 `org-font-lock-add-priority-faces'.
2078 (org-font-lock-add-priority-faces): New function.
2080 * org-faces.el: (org-set-tag-faces): New option.
2081 (org-priority-faces): New variable.
2083 * org-exp.el (org-export-as-html): Add a "content" div around the
2084 entire content of the body tag.
2085 (org-export-html-get-bibliography): New function.
2086 (org-export-html-validation-link): New variable.
2087 (org-export-as-html): Add validation link to exported page.
2089 * org.el (org-match-sparse-tree): Renamed from
2090 `org-tags-sparse-tree'.
2091 (org-tags-sparse-tree): New alias.
2093 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
2095 * org.el (org-get-valid-level): Catch the case where the level
2098 * org-clock.el (org-clock-find-position): Better indentation of
2101 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
2103 * org-agenda.el (org-agenda-quit): Delete window only when the
2104 frame-setup was not `current-window'.
2106 * org.el (org-tag-persistent-alist): New option.
2107 (org-startup-options): Add keyword `noptag'.
2108 (org-fast-todo-selection): Handle :newline correctly.
2109 (org-set-tags): Handle :newline correctly.
2110 (org-fast-tag-selection): Handle :newline correctly.
2112 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
2114 * org-exp.el (org-export-as-ascii): Reverse link buffer before
2116 (org-export-ascii-push-links): Fix bug with pussing links into the
2119 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
2121 * org-archive.el (org-archive-subtree): Do not add 1 to level if
2122 pasting at top level.
2124 * org-bbdb.el: Improve documentation.
2126 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
2128 * org-list.el (org-insert-item): Only consider insert empty lines
2129 is `org-empty-line-terminates-plain-lists' is not nil.
2131 * org.el (org-blank-before-new-entry): Mention the dependence on
2132 `org-empty-line-terminates-plain-lists' in the docstring.
2134 * org-publish.el (org-publish-get-project-from-filename): New
2135 optional argument UP. Only find the top project if UP is set.
2136 (org-publish-current-project): Find the top encloding project.
2138 * org-agenda.el (org-agenda-before-write-hook)
2139 (org-agenda-add-entry-text-maxlines): New options.
2140 (org-write-agenda): Run the new hook in the temporary buffer.
2141 (org-agenda-add-entry-text): New function.
2142 (org-write-agenda): Implement PDF export, using ps2pdf.
2144 * org.el (org-global-properties-fixed, org-global-properties):
2145 Improve documentation string.
2147 * org-exp.el (org-export-ascii-links-to-notes): New option.
2148 (org-export-as-ascii): Handle links better.
2149 (org-export-ascii-wrap, org-export-ascii-push-links): New
2152 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
2154 * org-agenda.el (org-agenda): Make prefix arg optional.
2155 (org-agenda-search-headline-for-time): New option.
2156 (org-format-agenda-item): Honor
2157 `org-agenda-search-headline-for-time'.
2159 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2162 * org.el (org-self-insert-cluster-for-undo): New option.
2163 (org-self-insert-command): Cluster undo for 20 characters.
2164 (org-self-insert-command-undo-counter): New variable.
2166 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
2168 * org-exp.el (org-export-as-html): Fix problem with closing colone
2171 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
2173 * org-export-latex.el (org-export-as-latex)
2174 (org-export-latex-first-lines): Avoid modification flag when
2175 adding or removing text properties.
2176 (org-export-latex-fontify): Catch error when org-emph-alist has
2177 entries that are not defined for LaTeX export.
2179 * org.el (orgstruct++-mode): New function.
2180 (turn-on-orgstruct++): Call `orgstruct++-mode'.
2181 (org-context-p): Allow detecting item context after the first line
2183 (orgstruct-make-binding): Detect if item-body context should be
2185 (orgstruct-is-++): New variable.
2186 (org-add-planning-info): Catch the case when there is no planning
2187 info yet and the call does not want to add anything, only maybe
2188 tries to remove something.
2189 (org-special-ctrl-a/e): All value to be a cons cell with separate
2190 settings for `C-a. and `C-e'.
2191 (org-beginning-of-line, org-end-of-line): Honor separate values
2192 for `C-a' and `C-e'.
2194 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
2196 * org.el (org-reload): New command.
2198 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
2200 * org-exp.el (org-export-htm-get-tag-class-name)
2201 (org-export-htm-get-todo-kwd-class-name): New functions.
2202 (org-export-html-tag-class-prefix)
2203 (org-export-html-todo-kwd-class-prefix): New options.
2204 (org-export-as-html): Call
2205 `org-export-html-get-todo-kwd-class-name'.
2206 (org-html-level-start): Wrap tags into classes.
2207 (org-export-html-get-tag-class-name)
2208 (org-export-html-get-todo-kwd-class-name): New functions.
2210 * org-export-latex.el (org-export-latex-collect-header-macros):
2211 Remove fields that are used anyway.
2212 (org-export-latex-make-header): Insert the options earlier.
2214 * org-agenda.el (org-agenda-get-progress): Fix bug with state
2217 * org-list.el (org-indent-item): Allow point to be at the end of
2220 * org.el (org-metaleft, org-metaright): Be more accurate about
2221 detecting a region where commands apply.
2223 * org-compat.el (org-cursor-to-region-beginning): New function.
2225 * org.el (org-priority): Also find invisible heading.
2227 * org-colview-xemacs.el (org-columns-edit-value): No special
2228 treatment for `org-todo' prefix.
2230 * org-colview.el (org-columns-edit-value): No special treatment
2231 for `org-todo' prefix.
2233 * org-remember.el (org-remember-apply-template): Use
2234 `org-completing-read-no-ido'.
2236 * org.el (org-completing-read-no-ido): New function.
2237 (org-make-tags-matcher, org-set-property): Use
2238 `org-completing-read-no-ido'.
2240 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2242 (org-export-as-latex): Import in-buffer settings as TeX macros.
2243 (org-export-latex-make-header): Additional parameter OPT-DEFS.
2244 (org-export-latex-collect-header-macros): New function.
2246 * org.el (org-refile-get-location): Turn off
2247 `partial-completion-mode'.
2249 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
2251 * org.el (org-block-todo-from-checkboxes): Announce that
2252 checkboxes are the culprit.
2253 (org-block-todo-from-children-or-siblings): Call
2254 `org-up-heading-all instead' of `outline-up-heading'.
2256 * org-agenda.el (org-agenda-show-1): Renamed from
2258 (org-agenda-show): Re-install the old version for now.
2259 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
2260 variable into the blokker hook, so that the checkbox checker can
2261 anounce that it caused the blocking.
2263 * org.el (org-track-ordered-property-with-tag): New option.
2264 (org-toggle-ordered-property): Honor
2265 `org-track-ordered-property-with-tag'.
2266 (org-tag-alist): Add newline options.
2267 (org-set-regexps-and-options): Separate option lines imply a
2269 (org-set-regexps-and-options, org-assign-fast-keys)
2270 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2272 (org-indent-line-function): Make sure this works even if there is
2273 not `org-drawer-regexp' defined. This can happen when
2274 orgstruct-mode is used in a non-org buffer.
2276 * org-list.el (org-checkbox-blocked-p): New function.
2277 (org-toggle-checkbox): Check for blocking.
2279 * org.el (org-modules): Add an entry for org-R.el.
2281 * org-agenda.el (org-agenda-todo-ignore-with-date)
2282 (org-agenda-todo-ignore-scheduled)
2283 (org-agenda-todo-ignore-deadlines): Mention the variable
2284 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2286 * org.el (org-get-wdays): Find the warning period also if it is in
2288 (org-ido-completing-read): Provide the correct arguments to
2289 ido-completing-read and bind `ido-enter-matching-directory' to
2292 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
2294 * org.el (org-olpath-completing-read): Never use ido for this
2297 * org-exp.el (org-export-normalize-links): Use new macro.
2299 * org-macs.el (org-if-unprotected-at): New macro.
2301 * org-agenda.el (org-agenda-show): Allow numerical prefix
2302 arguments to specify how much context should be shown.
2303 (org-agenda-cycle-show): New command, could be bound to SPC in
2304 org-agenda-mode-map.
2306 * org-exp.el (org-html-level-start): Space after section number.
2308 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
2310 * org-agenda.el (org-agenda-get-sexps): Add todo state as
2311 property, for sorting.
2312 (org-cmp-todo-state): Get the applicable TODO keywords directly
2314 (org-run-agenda-series, org-agenda-list, org-search-view)
2315 (org-todo-list, org-tags-view): Only fit agenda window when the
2316 whole series is done.
2318 * org.el (org-scan-tags): Add todo state as property, for sorting.
2320 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2321 `org-agenda-overriding-header' as an option.
2322 (org-agenda-list): Honor org-agenda-overriding-header'.
2324 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
2326 * org-list.el (org-toggle-checkbox): Improve cursor positioning
2327 after removing a checkbox.
2329 * org.el (org-show-entry): Make this work correctly also if it is
2330 the last entry in the file.
2331 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2332 falling back to normal, default command.
2333 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2334 item, call the checkbox toggler to get a box.
2336 * org-list.el (org-toggle-checkbox): Make double prefix set the
2338 (org-fix-bullet-type): Only replace bullet if it is changed.
2339 (org-renumber-ordered-list): Handle case when first item does not
2342 * org.el (org-add-log-setup): Fix positioning when
2343 `org-log-states-order-reversed' is nil.
2345 * org-clock.el (org-clock-in): Fix positioning when
2346 `org-log-states-order-reversed' is nil.
2347 (org-clock-find-position): Fix positioning when
2348 `org-log-states-order-reversed' is nil.
2350 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
2352 * org-clock.el (org-clock-into-drawer): Take default from
2353 `org-log-into-drawer'.
2354 (org-clock-find-position): Look for the correct drawer.
2356 * org.el (org-log-into-drawer): Renamed from
2357 `org-log-state-notes-into-drawer'.
2358 (org-log-state-notes-into-drawer): New variable alias.
2359 (org-add-log-setup): Make drawer name default to LOGBOOK, not
2361 (org-insert-property-drawer): Also skip LOGBOOK drawers.
2363 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
2365 * org-agenda.el (org-agenda): Fix docstring.
2367 * org.el ("org-plot"): Help loading org-plot.
2368 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2369 (org-metadown-hook, org-shiftmetaleft-hook)
2370 (org-shiftmetaright-hook, org-shiftmetaup-hook)
2371 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2372 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2373 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2374 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2376 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2377 for selecting files with any (and even without) extension.
2379 * org.el (org-save-all-org-buffers): Also save id locations.
2380 (org-revert-all-org-buffers): Also load id locations.
2382 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2383 * org.el (org-drawers): Add LOGBOOK to the default drawers.
2384 (org-log-state-notes-into-drawer): New option.
2385 (org-add-log-setup): Place the sate note marker into the drawer,
2386 create drawer when necessary.
2387 (org-refile-targets): Document special interpretation of LEVEL
2388 when odd-levels are used.
2390 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2392 * org.el (org-store-log-note): Fix note indentation when adding
2393 notes to end of list.
2395 * org-exp.el (org-export-as-html): Add TODO keyword as extra
2396 class, so that each keyword can get special colors through CSS.
2398 * org-clock.el (org-clock-out): Add another nil for the previous
2399 state into the call to `org-add-log-setup'.
2401 * org.el (org-log-note-previous-state): New variable.
2402 (org-log-note-headings): New %S escape for old state.
2403 (org-todo): Call the note setup with the old state as an
2405 (org-add-note): Add another nil for the previous state into the
2406 call to `org-add-log-setup'.
2407 (org-add-log-setup): New argument PREV-STATE.
2408 (org-add-log-note): Handle new %S escape.
2409 (org-store-log-note): Handle new %S escape.
2411 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
2413 * org-clock.el (org-clock-find-position): Do not swallow an item
2414 less indented than the CLOCK line itself.
2415 (org-clock-in): Push markers to lin after the clock line.
2416 (org-clock-find-position): Handle values of
2417 `org-clock-into-drawer' smaller than 2.
2419 * org-exp.el (org-html-level-start): Add a CSS class to section
2421 (org-export-html-toplevel-hlevel): Better documentation of the
2422 influence of this variables on H levels and css classes in
2425 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
2427 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2428 timestamp and nottimestamp to the chooe menu.
2430 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2431 (org-revert-all-org-buffers): New command.
2433 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
2435 * org.el (org-return): Implement `org-return-follows-link' in the
2436 function org-return. This is more robust than using the mouse
2438 (org-set-regexps-and-options): Match more general #+TODO lines.
2439 (org-make-options-regexp): New optional argument EXTRA, for an
2441 (org-tab-follows-link): Mark as deprecated.
2443 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
2445 * org-exp.el (org-export-preprocess-string): Remove clock lines
2446 earlier, so that they cannot cotribute to verbatim snippets.
2448 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
2450 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2451 for finding drawers.
2452 (org-export-as-ascii, org-export-as-html): Count levels relative
2453 to the subtree header.
2454 (org-get-min-level): New optional argument OFFSET.
2455 (org-export): Make sure point is restored after popping up that
2458 * org.el (org-do-sort): Also take an inactive timestamp if no
2459 active one is found.
2461 * org-colview-xemacs.el (org-columns-capture-view): Copy before
2462 deleting duplicates.
2464 * org-colview.el (org-columns-capture-view): Copy before
2465 deleting duplicates.
2467 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2468 text before first headline.
2470 * org.el (org-format-latex): Do not convert LaTeX fragments in
2473 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
2475 * org-exp.el (org-export-html-style-default): Use color values
2476 instead of names for XHTML validation.
2478 * org.el (org-get-scheduled-time, org-get-deadline-time): New
2480 (org-return-follows-link): Revert making this the default untile
2481 issues are resolved.
2483 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2486 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
2488 * org.el (org-mode): Make dependence stuff work more reliably.
2489 (org-update-parent-todo-statistics): Fix bug with updating
2492 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2493 ~ as verbatim delimiters.
2495 * org-exp.el (org-export-html-format-image): New argument
2497 (org-export-as-html): Pass par-open to
2498 `org-export-html-format-image'.
2500 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
2502 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2503 (org-use-fast-todo-selection, org-tags-column): New default
2504 setting for variables, based on a poll what typical uses use.
2506 * org-agenda.el (org-agenda-sorting-strategy)
2507 (org-agenda-tags-column): New default setting for variables, based
2508 on a poll what typical uses use.
2510 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
2512 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2513 blocked entries from setting the blocked tag.
2515 * org-exp.el (org-export-html-footnotes-section): Use a more
2516 consistent id for footnotes.
2518 * org-export-latex.el (org-export-latex-classes): Remove the
2519 a4paper option from the default styles.
2521 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
2523 * org.el (org-enforce-todo-checkbox-dependencies): New option.
2524 (org-block-todo-from-checkboxes): New function.
2525 (org-todo): Make tripple prefix arg circumvent blocking.
2527 * org-timer.el (org-timer): Provide the timer feature.
2529 * org.el (org-require-autoloaded-modules): Add a few more files to
2530 the list of autoloaded modules.
2532 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2534 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
2536 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2537 drawers that are unprotected.
2538 (org-export-html-format-image): Make sure inlined LaTeX fragment
2539 images remain inlined.
2541 * org.el (org-toggle-ordered-property): New function.
2542 (org-mode-map): Add a key for `org-toggle-ordered-property'.
2543 (org-org-menu): Add menu entries for TODO dependencies.
2545 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
2547 * org.el (org-default-properties): Add ORDERED to the default
2548 properties, to get completion support for it.
2550 * org-list.el (org-update-checkbox-count): Update more than one cookie.
2552 * org.el (org-update-parent-todo-statistics): Update more than one
2555 * org-agenda.el (org-agenda-get-todos): Start search from correct
2558 * org.el (org-fast-todo-selection): Make sure TODO selection does
2559 not change buffer position.
2561 * org-list.el (org-toggle-checkbox): Implement adding or removing
2562 checkboxes from line or region when called with a prefix
2565 * org-rmail.el (org-rmail-store-link): Protect the call to
2566 `rmail-narrow-to-non-pruned-header'.
2568 * org-clock.el (org-clock-special-range): Fix week display in
2571 * org-exp.el (org-get-current-options): Fix bug when in indirect
2574 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
2576 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2577 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2578 (org-agenda-dim-blocked-tasks): New function.
2580 * org.el (org-enforce-todo-dependencies): New option.
2581 (org-block-todo-from-children-or-siblings): New function.
2583 * org-faces.el (org-agenda-dimmed-todo-face): New face.
2585 * org.el (org-todo): Return correct state type even if the blocker
2587 (org-modifier-cursor-error): Renamed from
2588 `org-shiftcursor-error'.
2589 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2590 (org-shiftmetadown): Call `org-modifier-cursor-error'.
2592 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2593 to get real errors from the blocker hook.
2595 * org.el (org-shiftselect-error, org-call-for-shift-select): New
2597 (org-set-visibility-according-to-property): Turn off the setting
2598 of `org-show-entry-below', to avoid overruling a FOLDED visibility
2601 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2603 * org.el (org-support-shift-select): New option.
2604 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2605 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2606 selection outside contexts.
2608 * org-list.el (org-at-item-bullet-p): New function.
2610 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2613 * org-footnote.el (org-footnote-normalize): Remove unnecessary
2615 (org-insert-footnote-reference-near-definition): Remove
2616 unnecessary let form.
2618 * org-export-latex.el (org-export-latex-first-lines): Add
2619 OPT-PLIST parameter.
2620 (org-export-as-latex): Call `org-export-latex-first-lines' with
2621 opt-plits parameter.
2622 (org-export-latex-preprocess): Remove unnecessary variables.
2624 * org-exp.el (org-infile-export-plist)
2625 (org-export-add-options-to-plist, org-export-kill-licensed-text)
2626 (org-export-remove-headline-metadata)
2627 (org-export-get-title-from-subtree, org-get-min-level)
2628 (org-html-do-expand): Remove innecessary let form.
2630 * org-colview-xemacs.el (org-columns-display-here): Remove
2631 unnecessary variables.
2633 * org-colview.el (org-columns-display-here): Remove unnecessary
2636 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2639 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2640 unnecessary variables.
2642 * org-agenda.el (org-search-view, org-agenda-get-blocks)
2643 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2646 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2647 (org-compact-display-after-subtree-move): Remove unnecessary
2649 (org-edit-fixed-width-region): Remove unnecessary variables.
2650 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2651 (org-olpath-completing-read): Remove unnecessary variable.
2652 (org-auto-repeat-maybe): Remove unnecessary variable.
2653 (org-map-entries): Remove unnecessary variable.
2654 (org-buffer-property-keys, org-imenu-get-tree)
2655 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2657 -----------------------------------------------------------------
2659 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2660 * org-exp.el (org-export-remove-timestamps): Never remove
2661 timestamps from tables.
2663 * org-export-latex.el (org-export-latex-first-lines): Add more
2664 options to the preprocessing of the text before the first
2667 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
2669 * org-faces.el (org-clock-overlay): Make face compatible with
2672 * org.el (org-yank): Add property for delete-selection mode.
2674 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2676 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2679 * org-table.el (org-table-insert-hline): Fix typo in fuction call
2682 * org-exp.el (org-export-as-html): Remove the initial space from
2685 * org.el (org-scan-tags): Call
2686 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2688 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2689 customization groups.
2690 (org-agenda-tags-todo-honor-ignore-options): New option.
2691 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2693 (org-agenda-get-todos): Use
2694 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2696 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
2698 * org-exp.el (org-export-format-source-code-or-example): Escape
2699 HTML characters also in examples that anre not treated with
2700 htmlize. Also, just switch to EXAMPLE processing if we do not
2701 have a good version of htmlize.
2703 * org-rmail.el: Fix copyright notice.
2705 * org.el (org-activate-footnote-links): Improve footnote link
2708 * org-footnote.el (org-footnote-normalize): Fix finding the end of
2709 a footnote definition at the end of the file.
2711 * org-table.el (org-table-get-specials): Add an imagined hline at
2712 the end of the table. This can be useful for references that want
2713 to go to the end of the table. Also fix bug when computing last
2714 row constants, in tables that do not start right at the right
2716 (org-table-eval-formula): Match and replace remove references.
2717 (org-table-formula-substitute-names): Make sure that names inside
2718 a "remote" call are left alone, the will be replaced later when
2719 the remote call is handled.
2720 (org-table-convert-refs-to-rc): Do not convert things that might
2721 look like a reference, but are really part of an ID or namei n a
2723 (org-table-get-remote-range): New function.
2725 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
2727 * org-faces.el (org-clock-overlay): Fix bug in face definition.
2729 * org-clock.el (org-clock-put-overlay): Use new face instead of
2730 `secondary-selection'.
2732 * org-faces.el (org-clock-overlay): New face.
2734 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
2736 * org-exp.el (org-get-current-options): Include the option for
2737 publishing time stamps.
2739 * org.el (org-toggle-heading): Renamed from
2740 `org-toggel-region-headings'.
2741 No longer needs a region defined, but will use it if there is one.
2742 (org-ctrl-c-star): Simplified, relying more on the internal
2743 workings of `org-toggle-heading'.
2744 (org-toggle-item): Renamed from `org-toggle-region-items'.
2745 No longer needs a region defined, but will use it if there is one.
2746 (org-ctrl-c-minus): Simplified, relying more on the inernal
2747 workings of `org-toggle-item'.
2749 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2750 environment detection. Also, do real changes only in unprotected
2753 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
2755 * org-export-latex.el (org-export-latex-quotation-marks): Use
2756 `org-if-unprotected-1'.
2757 (org-export-latex-set-initial-vars): Check for class definition in
2760 * org-macs.el (org-if-unprotected-1): New macro.
2762 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
2764 * org-compat.el (org-count-lines): New function.
2766 * org-exp.el (org-export-format-source-code-or-example): Handle
2767 switches related to text areas.
2769 * org.el (org-activate-footnote-links): Don't allow match inside a
2772 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2774 * org-export-latex.el (org-export-latex-links): Keep a relative
2775 path relative also after export.
2777 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2779 * org.el (org-make-tags-matcher): Never use IDO for completing the
2780 tags matcher match string.
2781 (org-completing-read): Also remove the special biding for "?".
2783 * org-attach.el (org-attach-allow-inheritance): New option.
2784 (org-attach-inherited): New variable.
2785 (org-attach-dir): Handle properties related to the attachment
2787 (org-attach-check-absolute-path): New function.
2788 (org-attach-set-directory, org-attach-set-inherit): New commands.
2789 (org-attach): Accommodate the new commands in the dispatcher.
2791 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
2793 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2794 `window-full-width-p'.
2796 * org-exp.el (org-export-as-html): Only check for images files
2797 that really can be inlined
2799 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2800 list of extensions to be a parameter.
2802 * org-exp.el (org-export-html-inline-image-extensions): New
2805 * org-agenda.el (org-prepare-agenda): Use
2806 `org-agenda-block-separator'.
2807 (org-agenda-block-separator): New option.
2809 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
2811 * org-export-latex.el (org-export-latex-tables): Call
2812 `org-table-clean-before-export' with the new optional argument.
2814 * org-exp.el (org-table-clean-before-export): New optional
2815 parameter MAYBE-QUOTED, allows for quoted characters like \# in
2818 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
2820 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2823 * org-colview.el (org-colview-construct-allowed-dates): Better
2824 error catching when a date/time property does not have allowed
2827 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2828 Better error catching when a date/time property does not have
2829 allowed values defined.
2831 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
2833 * org.el (org-map-entries): Restore point and restriction after
2836 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
2838 * org.el (org-time=, org-time<, org-time<=, org-time>)
2839 (org-time>=, org-time<>): Make sure both values are dates.
2841 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
2843 * org-archive.el (org-extract-archive-heading): Allow %s for file
2844 name also in achive location heading.
2846 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
2848 * org-archive.el (org-add-archive-files): Uniquify the list before
2851 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
2853 * org-compat.el (org-fit-window-to-buffer): Use
2854 `window-full-width-p'.
2856 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2857 space after the colon in short examples.
2859 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2860 enforce a space after the colon. However, we also allow lines
2861 that are *only* a colon.
2862 (org-export-as-html): Enforce the space after the colon in short
2864 (org-export-preprocess-string): Do the colon example protection
2866 (org-export-remove-timestamps): Do not check for protection at the
2869 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
2871 * org.el (org-format-latex-options): Add new matcher for single
2872 letters between dollars.
2873 (org-get-header): Function removed.
2874 (org-heading-components): New function.
2876 * org-exp.el (org-export-define-heading-targets): Record ID's also
2877 as alternative targets.
2878 (org-export-as-html): Interpret "id:" links to other files by
2879 preserving the relative path.
2881 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2884 * org-exp.el (org-export-normalize-links): Protect the main link,
2885 to avoid special character processing.
2887 * org-export-latex.el (org-export-latex-special-keyword-regexp):
2889 (org-export-latex-special-string-regexps): Variable removed.
2890 (org-export-latex-keywords): Use the new regexp.
2892 * org-exp.el (org-export-handle-include-files): Fetch switches and
2893 put them into the BEGIN statement.
2895 * org-timer.el (org-timer-mode-line-string): New variable.
2897 * org-clock.el (org-clock-mode-line-map): Renamed from
2898 `org-clock-mode-map'.
2899 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2900 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2901 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2902 (org-clock-remove-overlays): Renamed from
2903 `org-remove-clock-overlays'.
2905 * org-timer.el (org-timer-pause-or-continue): Implement stopping
2906 and mode line display.
2907 (org-timer-stop): New command.
2908 (org-timer-seconds): Return correct time when timer is paused.
2909 (org-timer-mode-line-timer): New variable.
2910 (org-timer-set-mode-line, org-timer-update-mode-line): New
2913 * org.el (org-insert-heading): Handle new value `auto' for
2914 `org-blank-before-new-entry'.
2915 (org-org-menu): Add new items for timer functions.
2917 * org-list.el (org-insert-item): Handle new value `auto' for
2918 `org-blank-before-new-entry'.
2920 * org.el (org-blank-before-new-entry): New value `auto', made
2923 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
2925 * org-exp.el (org-export-normalize-links): If the link is also
2926 used as the description, protect the description.
2928 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
2930 * org.el (org-closest-date): Fix bug with yearly repeats, in
2931 combination with preference of the past as it is used for deadline
2932 and scheduling search.
2934 * org-exp.el (org-html-handle-time-stamps): No longer check for
2935 the `org-export-with-timestamps' option, because the preprocesser
2936 has taken care of this already.
2938 * org.el (org-entry-properties): Catch the case when this is
2939 called in a non-org-mode file.
2941 * org-export-latex.el (org-export-latex-remove-from-headlines):
2942 Variable made obsolete, also LaTeX export now uses the standard
2944 (org-export-as-latex): Add the timestamps parameter to the
2945 preprocessor parameter list.
2946 (org-export-latex-content): Export the remaining keywords without
2947 considering to remove them.
2948 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2949 Use bold font instead of tt font for the keywords.
2950 (org-export-latex-fontify-headline): Format headlines, assuming
2951 that all keywords still present should be published.
2952 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2953 publish what ever remains of the time stamps.
2954 (org-export-latex-list-parameters): New option.
2955 (org-export-latex-lists): Pass additional parameters to the list
2958 * org-exp.el (org-export-preprocess-string): Remove clock lines
2959 and timestamps already in the preprocesor.
2960 (org-export-remove-timestamps, org-export-remove-clock-lines): New
2962 (org-export-as-ascii, org-export-as-html): Add the timestamps
2963 parameter to the preprocessor parameter list.
2965 * org-list.el (org-list-parse-list): Parse for checkboxes.
2966 (org-list-to-generic): Introduce and handle new parameters :cbon
2968 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2969 optional parameter PARAMS.
2971 * org-export-latex.el (org-export-latex-special-chars): Fix
2972 problems with interpreting dollar signs.
2973 (org-inside-latex-math-p): New function.
2974 (org-export-latex-preprocess): Protect all the math fragments.
2976 * org.el (org-latex-regexps): Allow a dash after a dollar.
2978 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2981 * org-agenda.el (org-run-agenda-series): Have series options set
2982 when finalizing the agenda.
2984 * org-exp.el (org-export-format-source-code-or-example): Protect
2985 the converted examples.
2987 * org.el (org-set-regexps-and-options): Fix the regexp
2988 `org-complex-heading-regexp'.
2990 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
2992 * org.el (org-edit-src-get-label-format): New function.
2993 (org-coderef-label-format): New option.
2994 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2995 a label format specification and make sure it is used in the edit
2997 (org-edit-src-get-label-format): New function.
2998 (org-store-link): Handle new coderef formats.
2999 (org-link-search): Handle new coderef formats.
3001 * org-footnote.el (org-footnote-create-definition)
3002 (org-footnote-goto-local-insertion-point): Make footnote insertion
3003 work correctly when the "Footnotes" headline is the last line in
3006 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3009 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
3011 * org-w3m.el (org-w3m): New customization group.
3012 (org-w3m-deactivate-mark): New option.
3013 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3016 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
3018 * org.el (org-set-font-lock-defaults): Trigger footnote
3020 (org-activate-footnote-links): New function.
3021 (org-activate-links): New entry `footnote'.
3023 * org-faces.el (org-footnote): New face.
3025 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
3027 * org-macs.el (org-re): Handle the [:word:] class.
3029 * org-exp.el (org-export-preprocess-string): Call
3030 `org-export-protect-colon-examples'.
3031 (org-export-protect-colon-examples): Renamed from
3032 `org-export-protect-examples', and scope limited to lines starting
3035 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
3037 * org-exp.el (org-export-preprocess-string): Move the preprocess
3038 hook to after turning on Org-mode.
3039 (org-export-preprocess-after-include-files-hook)
3040 (org-export-preprocess-after-tree-selection-hook)
3041 (org-export-preprocess-before-backend-specifics-hook)
3042 (org-export-preprocess-final-hook): New hooks.
3043 (org-export-preprocess-string): Run the new hooks.
3045 * org.el (org-ctrl-c-minus): Fix indentation for new items.
3047 * org-footnote.el: New file.
3049 * org.el (org-footnote): Require footnote code.
3050 (org-startup-options): Add new footnote options.
3051 (org-mode-map): New keybindig for footnotes.
3052 (org-ctrl-c-ctrl-c): Add function at footnotes.
3053 (org-org-menu): New menu entries for footnotes.
3055 * org-export-latex.el (org-export-as-latex): Pass footnote
3056 variable to preprocessor.
3057 (org-export-latex-preprocess): Treat multiple references to a
3060 * org-exp.el (org-export-preprocess-string): Call
3061 `org-footnote-normalize'.
3062 (org-export-as-ascii, org-export-as-html): Pass footnote variable
3064 (org-export-as-html): Treat multiple references to a footnote.
3066 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
3068 * org-export-latex.el (org-export-latex-links): Handle coderef
3071 * org.el (org-bracket-link-analytic-regexp++): New variable.
3072 (org-make-link-regexps): Initialize
3073 `org-bracket-link-analytic-regexp++'.
3074 (org-store-link): Implement special case in edit-src buffer.
3075 (org-insert-link): No use of ide to insert stored links.
3076 (org-link-search): Implement special case for coderefs.
3078 * org-exp.el (org-export-html-scripts): New constant.
3079 (org-export-html-style-default): Add a new style for highlighted
3081 (org-export-code-refs): New variable.
3082 (org-export-preprocess-string): Initialize `org-export-code-refs'.
3083 Call `org-export-replace-src-segments-and-examples'
3084 No longer call `org-export-protect-examples'.
3085 (org-export-target-internal-links): Take care of coderef targets.
3086 (org-export-last-code-line-counter-value): New variable.
3087 (org-export-replace-src-segments-and-examples): Renamed from
3088 `org-export-replace-src-segments', and modified.
3089 (org-export-format-source-code-or-example): Renamed from
3090 `org-export-format-source-code'.
3091 (org-export-number-lines): New function.
3092 (org-export-as-ascii, org-export-as-html): Handle coderef links.
3094 --------------------------------------------------------------------------
3096 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
3098 * org-remember.el (org-remember-handler): Safer way to get a new
3099 buffer accessing the target file.
3101 * org.el (org-refile-get-location): Handle case of current buffer
3102 not having a file associated with it.
3104 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
3106 * org-table.el (org-table-get-formula): Only ask to overwrite
3107 field formula if there really is one.
3109 * org-id.el (org-id-find): Allow the ID to be a symbol or a
3110 number, by converting these to a string.
3112 * org-colview.el (org-dblock-write:columnview): Allow ID to be
3113 located in a different file.
3115 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3118 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
3120 * org.el (org-completion-use-ido): Enhance docstring of
3121 `org-completion-use-ido'.
3123 * org-export-latex.el (org-export-latex-make-header): Double the %
3124 in the time stamp format.
3125 (org-export-latex-special-chars): Handle case where there is no
3128 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
3130 * org.el (org-get-refile-targets, org-refile-get-location): Use
3131 expanded file name to improve comparison.
3133 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
3135 * org.el (org-scan-tags): Rescan for tags, to get the correct
3136 upcase/downcase stuff. This slows things down for now, but it
3138 (org-mode): Make sure the tag-faces regexp is initialized.
3140 * org-export-latex.el (org-export-latex-links): Fix bug with
3143 * org-table.el (org-table-get-specials): Set
3144 `org-table-current-last-data-line'.
3145 (org-table-current-last-data-line): New variable.
3146 (org-table-insert-column, org-table-delete-column)
3147 (org-table-move-column, org-table-fix-formulas): Call
3148 `org-table-fix-formulas' a second time to fix the $LR references.
3149 (org-table-get-specials): Add the $LR references to the tables.
3150 (org-table-get-formula): Do not offer last-row names as LHS of
3153 * org.el (org-store-link): Capture link description from
3154 `org-id-store-link'.
3156 * org-exp.el (org-export-html-format-image): Add the / to the end
3158 (org-export-format-source-code): Surround example by empty lines,
3159 to make sure it will not be inside a paragraph.
3161 * org.el (org-ido-switchb): New function.
3163 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3165 * org-agenda.el (org-agenda-show): New prefix argument
3168 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3171 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3172 `org-agenda-change-all-lines'.
3173 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3174 tags are now retrieved locally.
3176 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
3178 * org.el (org-get-outline-path): Fix bug if level is not given.
3179 (org-org-menu): Do not quote function in menu vector.
3181 * org-agenda.el (org-finalize-agenda): Fix typo with variable
3184 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
3186 * org.el (org-refile): Avoid refiling to within the region to be
3189 * org-export-latex.el (org-export-latex-special-chars): Replace
3190 special characters also in tables.
3192 * org-agenda.el (org-agenda-change-all-lines): New argument
3194 (org-agenda-set-tags): Cet the new tags and pass them to
3195 `org-format-agenda-item'.
3197 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
3199 * org-export-latex.el (org-export-latex-classes): Add longable as
3200 a default package to all classes.
3201 (org-export-latex-tables): Handle the longtable attribute and the
3204 * org-table.el (orgtbl-to-generic): Handle tables that start with
3207 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3208 \verb for colde-like snippets.
3209 (org-export-as-latex): Fix issues with region export.
3211 * org.el (org-up-heading-safe): Speed up function by using a
3212 direct regexp search.
3213 (org-olpa): New variable.
3214 (org-get-outline-path): Speed-up path constructions in cases where
3215 this is possible because the entire hierarchy is scanned anyway.
3216 (org-refile-get-location): Don't compare the truenames of files,
3218 (org-goto-max-level): New option.
3219 (org-goto): Use `org-goto-max-level'.
3221 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
3223 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3224 Strip angle brackets from message-ids in the former and don't do
3226 (org-gnus-follow-link): Open summary reliable, even if the last
3227 messages were deleted, and handle empty groups, too.
3229 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
3231 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3232 instead of \texttt for the =...= and ~===~ emphasis environments.
3233 (org-export-as-latex): Remove any old :org-license-to-kill text
3235 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3236 (org-export-latex-make-header): Add some hard space after the
3238 (org-export-latex-first-lines): Accept RBEG argument. Mark
3239 exported text so that it will be excuded in further steps.
3241 * org-table.el (org-table-get-specials): Make @0 reference the
3242 last line in a table.
3243 (org-table-recalculate): Improve docstring.
3245 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
3247 * org.el (org-log-done): Fix docstring.
3249 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
3251 * org-exp.el (org-export-html-format-image): Fix bugs.
3253 * org-export-latex.el (org-export-latex-tables)
3254 (org-export-latex-links): Implement attribute, label, and caption
3257 * org-exp.el (org-export-html-style-default): Add style
3258 definitions for the figure div.
3259 (org-export-preprocess-string, org-export-as-html): Implement
3260 attribute, label, and caption handling.
3261 (org-export-attach-captions-and-attributes): New function.
3262 (org-export-html-format-image): New function.
3263 (org-format-org-table-html): Implement attribute, label, and
3266 * org.el (org-find-text-property-in-string): New function.
3267 (org-extract-attributes): Use the property org-attr instead of
3268 org-attrobutes, because this property is now set with the #+ATTR
3271 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
3273 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3274 the case that FROM is nil.
3276 * org.el (org-before-first-heading-p): New function.
3278 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
3280 * org-exp.el (org-export-as-html): Do not add a space before
3281 enforces line breaks.
3282 (org-export-as-html): Close paragraph before blockquote and verse
3285 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
3287 * org-id.el (org-id-locations-file): Wrap file name with
3288 `convert-standard-filename'.
3289 (org-id-files): New variable.
3290 (org-id-use-hash): New option.
3291 (org-id-update-id-locations): Also search in all files current
3292 listed in `org-id-files'. Convert the resulting alist to a hash
3293 if the user customation says so.
3294 (org-id-locations-save): Handle he case if `org-id-locations' is a
3296 (org-id-locations-load): Convert the alist to a hash.
3297 (org-id-add-location): Handle the hast case.
3298 (kill-emacs-hook): Make sure id locations are saved when Emacs is
3300 (org-id-hash-to-alist, org-id-alist-to-hash)
3301 (org-id-paste-tracker): New functions.
3303 -------------------------------------------------------------------------
3305 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3307 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3308 bindings of calendar variables.
3310 * org-table.el (org-table-find-row-type): Renamed from
3311 `org-find-row-type'.
3312 (org-table-rewrite-old-row-references): Renamed from
3313 `org-rewrite-old-row-references'.
3314 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3315 (org-table-cleanup-narrow-column-properties): Renamed from
3316 `org-cleanup-narrow-column-properties'.
3318 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3320 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3321 for better error messages.
3322 (org-table-get-descriptor-line): Supply the new arguments to
3323 `org-find-row-type'.
3324 (org-table-error-on-row-ref-crossing-hline): New option.
3326 * org.el (org-target-link-regexp): Make buffer-local.
3327 (org-move-subtree-down): Fix bug with trees at beginning of
3330 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
3332 * org-faces.el (org-set-tag-faces): New function.
3333 (org-tags-special-faces-re): New variable.
3335 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3337 * org-faces.el (org-tag-faces): New option.
3338 (org-tag): Mention `org-tag-faces' in the docstring.
3340 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
3342 * org-exp.el (org-export-html-style-default): Implement new
3345 * org-jsinfo.el (org-infojs-template): Implement new quoting.
3347 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3348 command to the `w3m-minor-mode-map'.
3350 * org-archive.el (org-archive-to-archive-sibling): Protect
3351 `this-command' to avoid appending kills during archiving.
3353 * org-exp.el (org-export-with-priority): New variable.
3354 (org-export-add-options-to-plist): Use `org-export-plist-vars'
3355 instead of internal list of strings and properties.
3356 (org-print-icalendar-entries): Retrieve the location property with
3359 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
3361 * org-exp.el (org-export-with-todo-keywords): New option.
3362 (org-export-plist-vars): Include also the keys for the #+OPTIONS
3364 (org-default-export-plist, org-export-add-options-to-plist)
3365 (org-export-as-ascii, org-export-as-html): Use the new structure
3366 of `org-export-plist-vars'.
3368 * org.el (org-map-entries): Return all values.
3370 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
3372 * org.el (org-matcher-time): Recognize more special values.
3374 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3376 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
3378 * org.el (org-tags-exclude-from-inheritance): New option.
3379 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3380 `org-tags-exclude-from-inheritance'.
3382 * org-agenda.el (org-agenda-show-inherited-tags): New option.
3383 (org-format-agenda-item): Add inherited tags to the agenda line
3384 string, and make sure that properties are kept when downcasing the
3386 (org-agenda-add-inherited-tags): New function.
3387 (org-downcase-keep-props): New function.
3389 * org.el (org-scan-tags): Mark inherited tags with a text
3391 (org-get-tags-at): Mark inherited tags with a text property.
3392 (org-add-prop-inherited): New function.
3394 * org-agenda.el (org-agenda-add-inherited-tags): New function.
3395 (org-agenda-show-inherited-tags): New option.
3397 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
3399 * org.el (org-modules): Add org-w3m to the default modules.
3401 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3403 (orgtabl-create-or-convert-from-region): New command.
3405 * org-exp.el (org-export-as-ascii): Remove the handling of
3407 (org-export-ascii-preprocess): Handle targets already in this
3410 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
3412 * org-timer.el (org-timer-start-time): Define this variable.
3413 (org-timer-item): Make argument optional.
3415 * org-list.el (org-insert-item): Automatically insert a timer item
3416 if the current list is a timer list.
3418 * org-timer.el: New file.
3420 * org-publish.el (org-publish-org-index): Only exclude the index
3421 file in the main directory from being added to the site-map.
3422 (org-publish-get-project-from-filename): If the current project is
3423 a component, start publishing from the parent project.
3425 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
3427 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3429 * org-publish.el (org-publish-org-index): Improve removal of
3432 * org-agenda.el (org-get-closed): Re-apply changes
3433 accidentially overwritten by last commit to Emacs.
3435 * org.el (org-outline-path-complete-in-steps): New option.
3436 (org-refile-get-location): Honor
3437 `org-outline-path-complete-in-steps'.
3438 (org-agenda-change-all-lines, org-tags-sparse-tree)
3439 (org-time-string-to-absolute, org-small-year-to-year)
3440 (org-link-escape): Re-apply changes accidentially overwritten
3441 by last commit to Emacs.
3443 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
3445 * org-clock.el (org-dblock-write:clocktable): Make sure the
3446 clocktable sees the first line.
3447 (org-clock-in): Warn if the clock cannot be resumed.
3449 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
3451 * org.el (org-open-at-point): Fix mixup about interactive and
3452 non-interactive elisp links.
3454 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3456 * org-exp.el (org-export-preprocess-string): Allow one comment
3457 line before the first headline to always be included. This is
3458 to not miss a commented target.
3460 * org-mouse.el (org-mouse-insert-item): Call
3461 `org-indent-to-column' instead of `indent-to', for XEmacs
3464 * org.el (org-refile-targets): Fix customize definition so
3465 that it works also in XEmacs.
3466 (org-fixup-indentation): Call `org-indent-to-column' instead
3467 of `indent-to', for XEmacs compatibility.
3469 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
3471 * org-mew.el (org-mew-store-link): Get the correct case folder
3472 for refiled messages.
3474 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3476 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3477 line break indicators.
3479 * org.el (org-ido-completing-read): Remove the "i:" prefix for
3480 ido-completion propts.
3482 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3484 * org-remember.el (org-remember-apply-template): Use
3485 `org-substring-no-properties'.
3487 * org-compat.el (org-substring-no-properties): New function.
3489 * org-remember.el (org-remember-apply-template): Use
3490 `org-substring-no-properties' for compatibility.
3492 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3494 (org-fix-bullet-type): respect
3495 `org-list-two-spaces-after-bullet-regexp'.
3497 * org-clock.el (org-clock-load): Clean up the code.
3499 * org.el (org-adaptive-fill-function): Allow two spaces after
3500 "1." as a list bullet.
3502 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
3504 * org-clock.el (org-clock-save, org-clock-load): Check for
3505 live buffers, existing files, and buffer file names to ensure
3506 consistent information.
3507 (org-clock-persist): Make `clock' a special value of this
3508 variable, and improve docstring.
3510 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3511 (org-get-string-indentation): Adapt indentation when the bullet
3514 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
3516 * org-remember.el (org-remember-finalize): Make interactive.
3517 (org-remember-kill): New command.
3518 (org-remember-finish-immediately): Call `org-remember-finalize'
3520 (org-remember-finalize): Make `org-remember-finalize' an interactive
3523 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
3525 * org-remember.el (org-remember-apply-template): No ido completion
3526 for free prompts in remember templates.
3527 (org-remember-before-finalize-hook): New hook.
3528 (org-remember-mode): New minor mode.
3529 (org-remember-apply-template): Turn on `org-remember-mode'.
3531 * org-id.el (org-id-add-location): Avoid error when no file is
3534 * org-remember.el (org-remember-apply-template): Fix the way how
3535 the list of allowed properties is retrieved from the target file.
3537 * org.el (org-insert-link): Improve file link matching.
3539 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
3541 * org-colview.el (org-columns-display-here): New argument
3542 DATELINE, to trigger using the new face.
3543 (org-agenda-colview-summarize): Call `org-columns-display-here'
3544 with the new argument.
3546 * org-faces.el (org-agenda-column-dateline): New face.
3548 * org-publish.el (org-publish-org-index): Use index-title at page
3549 title, not as section.
3551 * org-exp.el (org-export-html-format-desc): Respect the
3552 org-protect property.
3553 (org-export-as-html): Protect image specifiers that are in the
3554 description part of a link.
3556 * org.el (org-sort-entries-or-items, org-completing-read)
3557 (org-refile-get-location, org-olpath-completing-read, org-todo)
3558 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3559 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3560 (org-set-property, org-delete-property)
3561 (org-delete-property-globally): Use `org-ido-completing-read'.
3563 * org-remember.el (org-remember-apply-template): Use
3564 `org-ido-completing-read'.
3566 * org-publish.el (org-publish): Use `org-ido-completing-read'.
3568 * org-colview.el (org-columns-edit-value, org-columns-new)
3569 (org-insert-columns-dblock): Use `org-ido-completing-read'.
3571 * org-colview-xemacs.el (org-columns-edit-value)
3572 (org-columns-new, org-insert-columns-dblock): Use
3573 `org-ido-completing-read'.
3575 * org-attach.el (org-attach-delete-one, org-attach-open): Use
3576 `org-ido-completing-read'.
3578 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3579 `org-ido-completing-read'.
3581 * org.el (org-time-today): New function.
3582 (org-matcher-time): Use `org-time-today'. Add special treatment
3583 for "<tomorrow>" and "<yesterday>".
3584 (org-ido-completing-read): New function.
3585 (org-completion-use-ido): New option.
3587 * org-exp.el (org-export-format-source-code): Fix bug in require
3589 (org-export-target-internal-links): Fix bug in search for text
3592 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
3594 * org-export-latex.el (org-export-latex-subcontent): Interprete
3595 target aliases as additonal labels.
3597 * org-exp.el (org-export-target-aliases): New variable.
3598 (org-export-preprocess-string)
3599 (org-export-handle-invisible-targets): Fill the alias alist.
3600 (org-export-as-html): Remove the from the anchor, and also
3602 (org-html-level-start): Insert the target aliases as additonal
3605 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3608 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
3610 * org.el (org-open-at-mouse): Ensure correct link abbreviations
3611 when following a link with the mouse from the agenda.
3613 * org-exp.el (org-export-as-html): Avoid lone </div> when no
3614 headlines are created.
3616 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
3618 * org-exp.el (org-export-preprocess-string): Reorder so that we
3619 can still see ID properties when we collect targets.
3620 (org-export-target-internal-links): Also store targets for ID's.
3622 * org.el (org-link-translation-function): New option.
3623 (org-open-at-point): Call `org-link-translation-function' if
3625 (org-translate-link): New function.
3626 (org-translate-link-from-planner): New function.
3627 (org-open-at-point): Allow interactive commands in elisp links.
3629 * org-exp.el (org-icalendar-cleanup-string): Restore the old
3630 iCalendar quoting. The new one seems to caus problems with
3633 * org.el (org-yank): Set `this-command' to `yank', so that
3634 `yank-pop' will work.
3636 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3638 * org-id.el (org-id-search-archives): New option.
3640 * org.el (org-link-to-org-use-id): New option.
3641 (org-store-link): Use `org-link-to-org-use-id'.
3642 (org-id): Make org-id.el a standard component.
3644 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3646 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3647 hexified version of the tag.
3649 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3650 compliance as far as quoting is concerned.
3652 * org-vm.el (org-vm-follow-link): Require `vm-search'.
3654 * org.el (org-up-heading-safe, org-forward-same-level): Always
3655 call `org-back-to-heading' instead of `outline-back-to-heading'.
3656 (org-back-to-heading): New wrapper around outline-back-to-heading,
3657 with a useful error message telling where the error happened.
3659 * org-list.el (org-update-checkbox-count): Always call
3660 `org-back-to-heading' instead of `outline-back-to-heading'.
3662 * org-exp.el (org-export-as-html): Make sure that each <img> tag
3663 has an `alt' attribute, to ensure XHTML validation.
3665 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3667 * org-publish.el (org-publish-attachment): Allow publishing to
3668 overwrite attachment files.
3670 * org-agenda.el (org-agenda-timerange-leaders): New option.
3671 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3673 * org.el (org-edit-src-exit): Untabify ASCII image before
3687 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
3689 * org.el (org-yank): Make any prefix force normal yanking.
3690 Suppress folding if text would be swallowed into a folded
3692 (org-yank-folded-subtrees, org-yank): Docstring updates.
3694 * org-agenda.el (org-agenda-compare-effort): Treat no effort
3697 * org-exp.el (org-export-language-setup): Add Catalan and
3698 Esperanto language entries.
3700 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
3702 * org.el (org-refile): Allow refiling of entire regions.
3704 * org-clock.el (org-clock-time%): New function.
3706 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3707 retrieve property values.
3709 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
3711 * org-agenda.el (org-agenda-list): Handle the value `only' of
3712 org-agenda-show-log'.
3713 (org-agenda-log-mode): Interpret a double prefix arg.
3715 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
3717 * org-exp.el (org-export-html-footnotes-section): New variable.
3718 (org-export-as-html): Use `org-export-html-footnotes-section' to
3719 insert the footnotes.
3720 (org-export-language-setup): Add "Footnotes" to language words.
3722 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
3724 * org.el (org-yank): Fix bug when not inserting a subtree.
3726 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3728 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3729 instead of `vm-beginning-of-message'.
3731 * org.el (org-make-link-regexps): Make sure that links to gnus can
3734 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
3736 * org-attach.el (org-attach-dir): Remove duplicate ID creation
3739 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3742 * org.el (org-link-abbrev-alist): Improve customization type.
3744 * org-attach.el (org-attach-expand-link, org-attach-expand): New
3747 * org-agenda.el (org-agenda-get-progress): Renamed from
3748 `org-get-closed'. Implement searching for state changes as well.
3749 (org-agenda-log-mode-items): New option.
3750 (org-agenda-log-mode): New option prefix argument, interpreted as
3751 request to show all possible progress info.
3752 (org-agenda-get-day-entries): Call `org-get-progress' instead of
3754 (org-agenda-set-mode-name): Handle the more complex log mode
3756 (org-get-closed): New alias, pointing to `org-get-progress'.
3758 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
3760 * org.el (org-file-apps-defaults-gnu)
3761 (org-file-apps-defaults-macosx)
3762 (org-file-apps-defaults-windowsnt): Add an entry defining the
3764 (org-file-apps): Allow `system' as key and value.
3765 (org-open-at-point): Explain the effect of a double prefix arg.
3766 (org-open-file): If the argument `in-emacs' is (16),
3767 i.e. corresponding to a double prefix argument, try to open the
3770 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
3772 * org.el (org-insert-link): Abbreviate absolute files names in
3773 links. Also, fix a bug in which the double C-u prefix would not
3776 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
3778 * org.el (org-insert-heading): If buffer does not end with a
3779 newline, add one if necessary to insert headline correctly.
3781 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3782 paragraphs, not inside.
3784 * org.el (org-todo): Quote
3785 `org-agenda-headline-snapshot-before-repeat'.
3787 * org-exp.el (org-export-as-html): Fully process link descriptions.
3788 (org-export-html-format-desc): New function.
3789 (org-export-as-html): Collect footnotes into the correct basket.
3790 (org-html-protect): No longer protect quotations marks here, this
3793 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3796 * org-compat.el (org-fit-window-to-buffer): New function (not
3797 really, a preliminary and incomplete version was present earlier,
3800 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3801 `org-fit-window-to-buffer'.
3803 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3805 * org-agenda.el (org-agenda-get-restriction-and-command)
3806 (org-fit-agenda-window, org-agenda-convert-date): Use
3807 `org-fit-window-to-buffer'.
3809 * org-exp.el (org-export-as-html): Process href links through
3810 `org-export-html-format-href'.
3811 (org-export-html-format-href): New function.
3813 * org-agenda.el (org-agenda-todo): Update only the current
3814 headline if this is a repeated TODO, marked done for today.
3815 (org-agenda-change-all-lines): New argument JUST-THIS, to change
3816 only the current line.
3818 * org.el (org-todo): Take a snapshot of the headline if the
3819 repeater might change it.
3821 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3823 * org-publish.el (org-publish-find-title): Remove buffers visited
3824 only for extracting the title.
3826 * org-exp.el (org-export-html-style)
3827 (org-export-html-style-default): Mark style definitions as
3830 * org-publish.el (org-publish-validate-link): Function
3833 2008-11-02 Charles Sebold <csebold@gmail.com>
3835 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3837 (org-plot-quote-timestamp-field): New function.
3838 (org-plot-quote-tsv-field): Call timestamp field function when
3839 necessary rather than just quoting as a string.
3840 (org-plot/gnuplot-to-data): Pass in timefmt property.
3841 (org-plot/gnuplot-script): Supports timefmt property.
3842 (org-plot/gnuplot): Checks for timestamp column before checking
3843 for text index column.
3845 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3847 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3849 * org-publish.el (org-publish-org-index): Create a section in the
3851 (org-publish-org-index): Stop linking to directories.
3853 * org.el (org-emphasis-alist): Use span instead of <u> to
3856 * org-exp.el (org-export-as-html): Make sure <p> is closed before
3859 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
3861 * org-jsinfo.el (org-infojs-template): Remove language attribute
3864 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
3866 * org-agenda.el (org-agenda-remove-marked-text): New function.
3867 (org-agenda-mark-filtered-text)
3868 (org-agenda-unmark-filtered-text): New functions.
3869 (org-write-agenda): Remove fltered text.
3871 * org.el (org-make-tags-matcher): Give access to TODO "property"
3872 without speed penalty.
3874 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
3876 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3878 (org-store-link-props): Make sure adding to the plist works
3881 * org-gnus.el (org-gnus-no-new-news): New function.
3882 (org-gnus-follow-link): Allow the article ID to be a message-id,
3883 in addition to allowing article numbers. Message IDs make much
3885 (org-gnus-store-link): Use message-id to create link.
3887 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
3889 * org.el (org-emphasize): Reverse the selection array.
3890 (org-emphasis-alist): Set <code> tags for the verbatim
3893 * org-remember.el (org-remember-handler): Fix bug with
3894 prefix-related changing of the note storage target.
3896 * org-exp.el (org-print-icalendar-entries): Make the exported
3897 priorities compatible with RFC 2445.
3899 * org-clock.el (org-clock-save): Insert time stamp without
3900 dependence on time-stamp.el.
3902 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
3904 * org.el ("saveplace"): If saveplace puts point into an invisible
3905 location, make it visible.
3906 (org-make-tags-matcher): Allow inactive time stamps in time
3908 (org-yank-adjusted-subtrees): New option.
3909 (org-yank): Incorporate adjusting trees.
3910 (org-paste-subtree): New argument FOR-YANK which will cause
3911 insertion at point without backing up over white lines, and leave
3912 point at the end of the inserted text. Also if the cursor is
3913 at the beginning of a headline, use the same level or the inserted
3916 * org-publish.el (org-publish-get-base-files-1): Deal correctly
3917 with broken symlinks
3919 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
3921 * org-exp.el (org-export-select-tags, org-get-current-options):
3924 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
3926 * org-agenda.el (org-format-agenda-item)
3927 (org-agenda-filter-make-matcher): Make sure tags are stored and
3930 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
3932 * org.el (org-insert-todo-heading): Fix bug with force-heading
3935 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
3937 * org-clock.el (org-clock-in-resume): Add a custom option to
3938 toggle starting the clock from an open clock line.
3939 (org-clock-in): When clocking in to an entry, if
3940 `org-clock-in-resume' is set, check if the first clock line is
3941 open and if so, start the clock from the time in the clock line.
3942 (org-clock-persist): Add a custom option to toggle clock
3944 (org-clock-persist-query-save): Add a custom option to toggle
3945 asking the user if they want to save the running clock when
3947 (org-clock-persist-query-resume): Add a custom option to toggle
3948 asking the user if they want to resume the saved clock when Emacs
3950 (org-clock-save): Add a function to save clock data.
3951 This includes the contents of `org-clock-history' and the buffer
3952 and position of the currently clocked task, if any.
3953 (org-clock-load): Add a function to load clock data.
3954 This populates `org-clock-history', and resumes the saved clocked
3955 task if there is one.
3956 (org-clock-persistence-insinuate): Add a method to set up the
3957 hooks for clock persistence.
3959 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
3961 * org-exp.el (org-export-as-ascii): Handle the case that we are
3962 publishing from an indirect buffer.
3964 * org-table.el (org-table-copy-down): Fix bug with time stamp
3967 * org-mouse.el (org-mouse-features): New option.
3968 (org-mode-hook): Turn on features depending on
3969 `org-mouse-features'.
3971 * org.el (org-insert-heading-respect-content): Force heading
3973 (org-insert-heading): keep the folding state of the heading before
3976 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3978 * org-archive.el (org-archive-to-archive-sibling): Handle top
3979 level headlines better.
3981 2008-10-21 Bastien Guerry <bzg@altern.org>
3983 * org-export-latex.el (org-export-latex-classes): Added
3984 \usepackage{graphicx} to the default list of packages.
3986 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3988 * org-agenda.el (org-agenda-filter): Renamed from
3989 `org-agenda-filter-tags'.
3991 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
3993 * org.el (org-entry-properties): Add CATEGORY property, iven if it
3994 is not defined as a property in this entry.
3995 (org-add-log-note): Mask prefix argument when immediately storing
3998 * org-agenda.el (org-agenda-filter-effort-default-operator): New
4001 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
4003 * org.el (org-add-log-setup): Bugfix; code to find insertion point
4004 after drawers was skipping ahead one line too many, so notes were
4005 inserted after the first note instead of before it.
4007 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
4009 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4011 (org-prepare-agenda): Reset the filter tags.
4012 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4013 Show filter tags in mode line.
4015 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4018 * org-export-latex.el (org-latex-entities-regexp): New constant.
4019 (org-export-as-pdf): Use two calls to `shell-command'.
4021 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
4023 * org-export-latex.el (org-export-latex-treat-sub-super-char):
4024 Honor the {} value of the subsuperscript setting. Make sure that
4025 longer subsuperscripts are typeset in a roman font.
4027 * org.el (org-clock-update-time-maybe): Compute negative clock
4028 intervals correctly.
4030 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
4032 * org.el (org-add-log-setup): Respect
4033 `org-log-state-notes-insert-after-drawers'.
4034 (org-log-state-notes-insert-after-drawers): New option.
4035 (org-todo-trigger-tag-changes): New function.
4036 (org-todo): Call `org-todo-trigger-tag-changes'.
4038 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
4040 * org.el (org-add-log-setup): Only skip drawers if the are
4041 immediately after the scheduling keywords.
4043 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4045 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4046 call it with the current todo state to get the state to switch to
4048 (org-clock-in): Use org-indent-line-function to indent clock lines.
4049 (org-clock-find-position): Fix indentation of empty clock drawers.
4051 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
4053 * org-publish.el (org-publish-org-to): Handle case when
4054 org-export-to-pdf does return a file name, not a buffer.
4055 (org-publish-org-to-pdf): New function.
4057 * org-export-latex.el (org-export-as-pdf)
4058 (org-export-as-pdf-and-open): New commands.
4060 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4063 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4064 things in protexted regions.
4066 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
4068 * org-export-latex.el (org-export-latex-preprocess): Improve
4069 quoting of LaTeX environments.
4071 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
4073 * org.el (org-edit-fixed-width-region): Exclude final newline from
4076 * org-export-latex.el (org-export-latex-subcontent): Add labels to
4077 sections, to make internal links work.
4078 (org-export-latex-fontify-headline): Do not remove all text
4079 properties, to make sure that target properties survive this
4082 * org-exp.el (org-export-preprocess-string): Change sequence of
4083 modifications, to make sure links are prepared before the LaTeX
4084 conversions do happen.
4086 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
4088 * org-attach.el (org-attach-delete-all): Renamed from
4089 `org-attch-delete'. Add a security query before deleting the
4090 entire directory. New optional argument FORCE can overrule the
4092 (org-attach-delete-one): New command.
4094 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
4096 * org-attach.el (org-attach-file-list): Fix bug with directory.
4098 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
4100 * org.el (org-apps-regexp-alist): New function.
4101 (org-file-apps): Add auto-mode to the default value.
4102 (org-open-file): Use the new structure of org-file-apps.
4104 * org-attach.el (org-attach): Support the new keys.
4105 (org-attach-method): New option.
4107 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
4109 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4112 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4113 of the list value o `org-use-tag-inheritance'.
4115 * org-attach.el (org-attach-auto-tag): New option.
4116 (org-attach-tag, org-attach-untag): New functions.
4117 (org-attach-attach, org-attach-new, org-attach-sync): Call
4119 (org-attach-delete): Call `org-attach-untag'.
4121 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
4123 * org-table.el (orgtbl-self-insert-command): Make this work for
4126 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
4128 * org.el (org-add-log-setup): Limit searc for drawers to entry
4129 text, not to subtree.
4131 * org-clock.el (org-clock-heading-for-remember): New variable.
4132 (org-clock-in): Set `org-clock-heading-for-remember'.
4134 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
4136 * org-remember.el (org-remember-apply-template): Add new
4137 expansions: %k, %K for currently clocked task and a link to the
4138 currently clocked task, and %< to file notes in the currently
4141 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
4143 * org-export-latex.el (org-export-latex-make-header): Also insert
4144 the content of the property :latex-header-extra.
4146 * org-exp.el (org-infile-export-plist): Put the content of
4147 #+LATEX_HEADER: into the property :latex-header-extra.
4149 * org-colview.el (org-columns-get-format-and-top-level): Remove
4150 resetting the marker.
4152 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4153 Remove resetting the marker.
4155 * org.el (org-entry-property-inherited-from): Improve docstring.
4156 (org-entry-get-with-inheritance): Reset marker before starting the
4159 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4161 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
4163 * org.el (org-entry-get-multivalued-property)
4164 (org-entry-protect-space, org-entry-restore-space): New
4166 (org-file-apps-defaults-macosx): Let postscript files be opened by
4168 (org-time-stamp-inactive): Call `org-time-stamp'.
4169 (org-time-stamp): New argument `inactive'. Also edit inacive
4170 stamps. Convert time stamp type.
4171 (org-open-file): Interpret the `default' value for the `command'
4174 * org-id.el (org-id-int-to-b36-one-digit)
4175 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4176 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4179 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
4181 * org-id.el (org-id-reverse-string): New function.
4182 (org-id-new): Use `org-id-reverse-string' to make sure the
4183 beginning chars of the ID are mutating fast. This allows to use a
4184 directory structure to spread things better.
4185 (org-id-prefix): Changed default to nil.
4187 * org-list.el (org-move-item-down, org-move-item-up): Remember and
4188 restore the column of the cursor position.
4190 * org-remember.el (org-remember-apply-template): Remove properties
4193 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
4195 * org-wl.el (org-wl-open): Remove useless call to
4196 `wl-thread-open-all'.
4198 * org-remember.el (org-remember-handler): Fix bug with `bottom'
4201 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
4203 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4204 `org-bbdb-anniversaries'.
4206 * org.el (org-get-next-sibling, org-forward-same-level): New
4207 functions, similar to the outline versions, but invisible headings
4210 2008-09-25 Bastien Guerry <bzg@altern.org>
4212 * org.el (org-auto-repeat-maybe): Insert a space between
4213 the timestamp's type and the timestamp itself.
4215 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
4217 * org-table.el (org-table-sum): Do not format the result with %g,
4218 it does rounding when there are too many digits.
4220 * org.el (org-map-entries): Protect the keyword-selecting variables.
4222 2008-09-23 Bastien Guerry <bzg@altern.org>
4224 * org-agenda.el (org-agenda-to-appt): Make sure the function check
4225 against all agenda files.
4227 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
4229 * org-list.el: New file, aggregating list functions from org.el
4230 and org-export-latex.el.
4232 * org.el (org-edit-src-region-extra): New option.
4234 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
4236 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4239 2008-09-22 Bastien Guerry <bzg@altern.org>
4241 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4243 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
4245 * org-plot.el (org-plot/gnuplot): Make tables starting with a
4246 hline work correctly.
4247 (org-plot/gnuplot-script): Put commas at the end of each script
4250 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
4252 * org.el (org-get-refile-targets): Replace links with their
4254 (org-imenu-get-tree): Replace links with their descriptions.
4256 * org-remember.el (org-remember-apply-template): Add a new
4257 expansion for adding properties to remember items.
4259 * org.el (org-add-log-setup): Skip over drawers (properties,
4260 clocks etc) when adding notes.
4262 * org-agenda.el (org-agenda-get-closed): show durations of clocked
4263 items as well as the start and end times.
4265 * org-compat.el (org-get-x-clipboard-compat): Add a compat
4266 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4268 * org-remember.el (org-get-x-clipboard): Use the compat
4269 function to get clipboard values when x-selection-value is
4270 unavailable. Use substring-no-properties instead of
4271 set-text-properties to remove text properties from the clipboard
4274 * lisp/org-clock.el (org-update-mode-line): Support limiting the
4275 modeline clock string, and display the full todo value in the
4276 tooltip. Set a local keymap so mouse-3 on the clock string goes to
4277 the currently clocked task.
4278 (org-clock-string-limit): Add a custom value for the maximum
4279 length of the clock string in the modeline.
4280 (org-clock-mode-map): Add a keymap for the modeline string
4282 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
4284 * org-compat.el (org-propertize): New function.
4286 2008-09-20 Bastien Guerry <bzg@altern.org>
4288 * org-export-latex.el (org-export-latex-tables): protect exported
4289 tables from further special chars conversion.
4290 (org-export-latex-preprocess): Preserve LaTeX environments.
4291 (org-list-parse-list): Parse descriptive lists.
4292 (org-list-to-generic, org-list-to-latex, org-list-to-html)
4293 (org-list-to-texinfo): Export descriptive lists.
4294 (org-quote-chars): Remove.
4295 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4296 (org-export-latex-list-beginning-re): Rename to
4297 `org-list-beginning-re'
4298 (org-list-item-begin): Rename to `org-list-item-beginning'
4300 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
4302 * org.el (org-refile): Allow refiling to the last entry in the
4304 (org-get-tags-at): Fix bug when inheritance is turned off.
4306 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
4308 * org.el (org-indent-line-function): No longer check for src
4309 regions, this is too much overhead.
4311 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4314 * org.el (org-scan-tags): Make sure that tags matching is not case
4315 sensitive. TODO keyword matching is case sensitive, however, to
4316 avoid confusion with similar words that are not meant to be
4319 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
4321 * org.el (org-get-local-tags-at): New function.
4322 (org-get-local-tags): New function.
4324 * org-exp.el (org-export-get-categories): New function.
4326 * org-agenda.el (org-sorting-choice)
4327 (org-agenda-sorting-strategy, org-agenda-get-todos)
4328 (org-agenda-get-timestamps, org-agenda-get-deadlines)
4329 (org-agenda-get-scheduled, org-agenda-get-blocks)
4330 (org-entries-lessp): Implement sorting by TODO state.
4331 (org-cmp-todo-state): New defsubst.
4333 * org-colview.el (org-colview-construct-allowed-dates): New
4335 (org-columns-next-allowed-value): Use
4336 `org-colview-construct-allowed-dates'.
4338 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4340 (org-columns-next-allowed-value): Use
4341 `org-colview-construct-allowed-dates'.
4343 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
4345 * org.el (org-protect-slash): New function.
4346 (org-get-refile-targets): Use `org-protect-slash'.
4348 * org-agenda.el (org-global-tags-completion-table): New variable.
4350 * org-exp.el (org-export-handle-export-tags): New function.
4351 (org-export-preprocess-string): Call
4352 `org-export-handle-export-tags'.
4354 * org-plot.el: New file.
4356 * org-publish.el (org-publish-expand-components): Function removed.
4357 (org-publish-expand-projects): Allow components to have components.
4359 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
4361 * org.el (org-indent-line-function): Do not indent in regions that
4362 are external source code.
4363 (org-yank-and-fold-if-subtree): New function.
4365 * org-agenda.el (org-agenda-todayp): New function.
4366 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4367 `org-agenda-todayp'.
4369 * org.el (org-insert-heading-respect-content)
4370 (org-insert-todo-heading-respect-content): New commands.
4371 (org-insert-heading-respect-content): New option.
4372 (org-insert-heading): Respect `org-insert-heading-respect-content'.
4374 * org-clock.el (org-clock-find-position): Make sure the note after
4375 the clock line gets moved into the new clock drawer.
4377 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
4379 * org-id.el (org-id-new): New option.
4381 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
4383 * org-table.el (org-table-copy-down): Avoid overflow during
4384 increment. Use prefix argument 0 to temporarily disable the
4387 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
4389 * org-exp.el (org-export-as-html): Do not turn on the major mode
4390 if the buffer will be killed anyway.
4391 (org-get-current-options): Exclude the #+TEXT field.
4392 (org-export-as-html): Make sure text before the first headline is
4395 * org-publish.el (org-publish-org-to): Tell the exporter that this
4396 buffer will be killed, so it is not necessary to do major mode
4399 * org-archive.el (org-archive-to-archive-sibling): Show empty
4400 lines after folding the archive sibling.
4402 * org.el (org-log-note-extra): New variable.
4404 2008-09-05 Bastien Guerry <bzg@altern.org>
4406 * org.el (org-additional-option-like-keywords): Added keywords for
4407 the _QUOTE, _VERSE and _SRC environments.
4409 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4410 exporting _QUOTE and _VERSE environments.
4412 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
4414 * org-agenda.el (org-agenda-filter-by-tag): New command.
4416 * org-exp.el (org-get-current-options): Remove angular brackets
4417 from the date entry.
4419 * org.el (org-edit-fixed-width-region): New function.
4420 (org-edit-fixed-width-region): Also try
4421 `org-edit-fixed-width-region'.
4422 (org-edit-fixed-width-region-mode): New option.
4423 (org-activate-code): Only interprete lines starting with colon
4424 plus a space as example lines.
4426 * org-remember.el (org-remember-templates): Add nil instead of
4427 empty strings to fix the length of remember templates.
4429 * org-table.el (org-calc-default-modes): Fix the time format for
4430 calc, from 12 hour to 24 hour clock.
4432 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
4434 * org-agenda.el (org-agenda-get-deadlines)
4435 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4436 entries that are pre-warnings of deadlines or reminders.
4438 * org.el (org-sort-entries-or-items): Make numeric and alpha
4439 comparisons ignore any TODO keyword and priority cookie.
4441 * org-remember.el (org-remember-handler): Reinterpretation of the
4444 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
4446 * org-agenda.el (org-agenda-get-scheduled): Use new
4447 `org-scheduled' face.
4449 * org-faces.el (org-scheduled): New face.
4451 * org-wl.el (org-wl-open): Remove incorrect declaration.
4453 * org-gnus.el (org-gnus-store-link): Support for :to information
4456 * org-exp.el (org-export-as-html): Fixed typo in creator
4458 (org-export-protect-examples): New parameter indent. Insert extra
4459 spaces only when this parameter is specified.
4460 (org-export-preprocess-string): Call `org-export-protect-examples'
4461 with an indentation parameter when exporting to ASCII.
4463 * org-remember.el (org-remember-templates)
4464 (org-remember-apply-template): Allow the file component to be a
4467 * org.el (org-goto-local-search-headings): Renamed from
4468 `org-goto-local-search-forward-headings'. Added the possibility
4469 to search backwards.
4471 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
4473 * org-export-latex.el (org-export-latex): New customization
4476 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4478 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
4480 * org-exp.el (org-html-do-expand): Allow {} to terminate
4483 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
4485 * org.el (org-buffer-list): Select buffers based on major mode,
4488 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
4490 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4493 * org-colview.el (org-columns-display-here): Use
4494 `org-columns-modify-value-for-display-function'.
4496 * org-colview-xemacs.el (org-columns-display-here): Use
4497 `org-columns-modify-value-for-display-function'.
4499 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
4501 * org.el (org-columns-modify-value-for-display-function): New option.
4513 * org-publish.el (org-publish-file): Make sure the directory match
4514 for the publishing directory works correctly.
4516 * org-agenda.el (org-agenda-execute-calendar-command)
4517 (org-agenda-diary-entry): Additional optional argument.
4519 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
4521 * org-exp.el (org-export-as-html): Add attributes also in mailto
4524 * org.el (org-autoload): Add `org-dblock-write:columnview'.
4533 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
4535 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4536 sure that calls from `org-export-region-as-html' do not do the
4537 special check for a subtree.
4539 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
4541 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4543 2008-07-20 Juri Linkov <juri@jurta.org>
4545 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4546 new keymap `narrow-map' instead of binding "\C-xns".
4548 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
4550 * org.el (org-open-file): Use
4551 `org-open-directory-means-index-dot-org'.
4552 (org-open-directory-means-index-dot-org): New option.
4554 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
4556 * org.el (org-make-link-string): Remove link attributes from
4558 (org-open-at-point): Remove link attributes bevore using the path.
4560 * org-exp.el (org-export-as-html): Handle link attributes.
4562 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4564 * org-table.el (org-table-to-lisp): New function.
4566 * org.el (org-narrow-to-subtree): Do not include the final newline
4567 into the narrowed region.
4569 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4570 bug with user-define skipping condition.
4572 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
4574 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4576 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
4578 * org-exp.el (org-export-html-style-default): Automatic overflow
4579 handling for pre fields.
4580 (org-export-as-ascii, org-export-as-html): Change default format
4583 * org-table.el (org-table-export): Offer completion for translator
4584 functions, and do not require a heading above the table.
4586 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4587 Cater for the case of a list starting in the first line of the
4590 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
4592 * org-publish.el (org-publish-find-title): Bug fix.
4593 (org-publish-org-index): Implement new :index-style option.
4595 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
4597 * org-publish.el (org-publish-timestamp-filename): Use
4598 SHA1-encoded file names in the timestamp directory.
4600 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
4602 * org-publish.el (org-publish-needed-p): Be verbose about files
4603 published and files skipped.
4605 * org-exp.el (org-export-preprocess-string): Swap link
4606 normalization and inernal link targeting.
4608 * org-publish.el (org-publish-needed-p): Create timestamp
4609 directory when it does not exist.
4611 2008-07-04 Bastien Guerry <bzg@altern.org>
4613 * org-clock.el (org-clock-out-when-done): Doc fix.
4615 * org.el (org-agenda-skip-unavailable-files): Doc fix.
4617 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4618 Ignore case when searching for the COMMENT cookie at export time.
4620 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
4622 * org-exp.el (org-get-file-contents)
4623 (org-get-and-remove-property): New functions.
4624 (org-export-handle-include-files): Handle the new prefix options.
4625 (org-export-as-html): Fix the verse environment.
4627 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
4629 * org.el (org-time=, org-time<, org-time<=, org-time>)
4630 (org-time>=, org-time<>, org-2ft): New functions.
4631 (org-op-to-function): Also provide for the time testing fucntions.
4633 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
4635 * org-exp.el (org-export-html-style-default): New constant.
4637 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
4639 * org-exp.el (org-export-html-style-extra): New variable.
4640 (org-export-splice-style): New function.
4642 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
4644 * org-exp.el (org-export-plist-vars, org-export-as-html):
4645 Implement `org-export-creator-info'.
4646 (org-export-creator-info): New option.
4648 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
4650 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4651 (org-property-drawer-re, org-clock-drawer-re): New constants.
4653 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
4655 * org-exp.el (org-icalendar-use-deadline)
4656 (org-icalendar-use-scheduled): New options.
4657 (org-icalendar-include-todo): Default changed to t.
4658 (org-print-icalendar-entries): Implement better utilization of
4659 scheduling and deadline time stamps.
4660 (org-export-target-internal-links, org-export-as-html): Allow file
4661 lines without the "file:" prefix if the file path is an absolute
4662 path or starts with ".".
4664 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4666 (org-clock-special-range): Also undertand yesterday, lastweek etc.
4668 2008-06-18 Glenn Morris <rgm@gnu.org>
4669 * org.el (org-map-entries): Let-bind `file'.
4671 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
4673 * org.el (org-agenda-skip-archived-trees): Docstring now
4674 discourages using this.
4675 (org-scan-tags): Check for org-agenda-archives-mode.
4676 (org-map-entries): Make sure org-agenda-archives-mode is nil.
4677 (org-agenda-files): Functionality of second arg changed.
4679 * org-agenda.el (org-agenda-archives-mode): New variable
4680 (org-write-agenda, org-prepare-agenda, org-agenda-list)
4681 (org-search-view, org-todo-list, org-tags-view)
4682 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4684 (org-agenda-quit): Reset the archives mode.
4685 (org-agenda-archives-mode): New command.
4686 (org-agenda-set-mode-name): Include archives info.
4688 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
4690 * org.el (org-paste-subtree): Make sure the yanked headline is
4691 visible if it was yanked at a visible point.
4692 (org-move-item-up): Fix the bug with moving white space at the end
4694 (org-show-empty-lines-in-parent): New function.
4696 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
4698 * org-colview.el (org-columns-next-allowed-value): Bug fix.
4700 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4702 * org-agenda.el (org-agenda-get-closed): Get the end time into the
4703 agenda prefix as well.
4705 * org-publish.el (org-publish-org-index): Make a properly indented
4708 * org.el (org-calendar-agenda-action-key): New option.
4709 (org-get-cursor-date): New function.
4710 (org-mark-entry-for-agenda-action): New command.
4711 (org-overriding-default-time): New variable.
4712 (org-read-date): Respect `org-overriding-default-time'.
4714 * org-remember.el (org-remember-apply-template): Respect the
4715 ovverriding default time.
4717 * org-agenda.el (org-agenda-action-marker): New variable.
4718 (org-agenda-action): New command.
4719 (org-agenda-do-action): New function.
4721 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4723 * org.el (org-schedule, org-deadline): Protect scheduled and
4724 deadline tasks against changes that accidently remove the
4725 repeater. Also show a message with the new date when done.
4727 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4729 * org.el (org-beginning-of-line): Cater for the case when there
4730 are tags but no headline text.
4731 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4734 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
4736 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4737 the return value is nil instead of "nil" when there is no match.
4739 * org-exp.el (org-insert-centered): Use fill-column instead of
4741 (org-export-as-ascii): Use string-width to measure the width of
4744 * org.el (org-diary-to-ical-string): No longer kill buffer
4745 FROMBUF, this is now done by the caller.
4747 * org-exp.el (org-print-icalendar-entries): Move the call to
4748 `org-diary-to-ical-string' out of the loop, and kill the buffer
4751 * org-remember.el (org-remember-visit-immediately): Position
4752 cursor after moving to the note.
4753 (org-remember-apply-template): Use a text property to record the
4755 (org-remember-handler): Align tags after pasting the note.
4757 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
4759 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4761 * org-agenda.el (org-agenda-open-link): If there is an
4762 org-bbdb-name property in the current line, jump to that bbdb
4765 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4766 text property, so that the agenda knows where this entry comes
4769 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4770 interaction between clocking-in from the agenda, and automatic
4771 task state switching.
4773 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4775 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4776 zmacs-region stays after this command in XEmacs.
4778 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
4780 * org.el (org-scan-tags): Allow new values for ACTION parameter.
4782 * org-remember.el (org-remember-templates): Fix bug in
4783 customization type definition.
4785 * org.el (org-map-entries): New function.
4787 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
4789 * org-agenda.el (org-agenda-skip-comment-trees): New option.
4790 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4792 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
4794 * org-remember.el (org-jump-to-target-location): New variable.
4795 (org-remember-apply-template): Set
4796 `org-remember-apply-template' if requested by template.
4797 (org-remember-handler): Start an idle timer to jump to
4800 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4802 * org.el (org-set-regexps-and-options): Fix bug with parsing of
4804 (org-get-tags-at): Add the content of `org-file-tags'.
4806 * org-exp.el (org-export-handle-comments): Fix bug with several
4807 comment lines after each other.
4808 (org-number-to-roman, org-number-to-counter): New functions.
4809 (org-export-section-number-format): New option.
4811 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
4813 * org-exp.el (org-export-protect-examples): Catch the case of a
4814 missing end_example line.
4816 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4817 `org-file-tags' to nil.
4819 * org-colview.el (org-columns-next-allowed-value): Handle next
4820 argument NTH to directly select a value.
4822 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4823 argument NTH to directly select a value.
4825 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
4827 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4829 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
4831 * org.el (org-columns-ellipses): New option.
4833 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
4835 * org-colview.el (org-columns-add-ellipses): New function.
4836 (org-columns-compact-links): New function.
4837 (org-columns-cleanup-item): Call `org-columns-compact-links'.
4838 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4840 (org-columns-edit-value): Fixed bug with editing values from
4842 (org-columns-redo): Also redo the agenda itself.
4844 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
4846 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4849 * org-colview.el (org-agenda-columns-cleanup-item): New function.
4851 * org-exp.el (org-export-ascii-preprocess): Renamed from
4852 `org-export-ascii-clean-string'.
4853 (org-export-kill-licensed-text)
4854 (org-export-define-heading-targets)
4855 (org-export-handle-invisible-targets)
4856 (org-export-target-internal-links)
4857 (org-export-remove-or-extract-drawers)
4858 (org-export-remove-archived-trees)
4859 (org-export-protect-quoted-subtrees)
4860 (org-export-protect-verbatim, org-export-protect-examples)
4861 (org-export-select-backend-specific-text)
4862 (org-export-mark-blockquote-and-verse)
4863 (org-export-remove-comment-blocks-and-subtrees)
4864 (org-export-handle-comments, org-export-mark-radio-links)
4865 (org-export-remove-special-table-lines)
4866 (org-export-normalize-links)
4867 (org-export-concatenate-multiline-links)
4868 (org-export-concatenate-multiline-emphasis): New functions,
4869 obtained from spliiting the export preprocessor.
4871 * org-table.el (org-table-recalculate): Improve error message if
4872 the row number is invalid.
4874 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
4876 * org-archive.el (org-archive-save-context-info): Fix bugs in
4877 customization setup and docstring.
4879 * org-exp.el (org-export-html-style): Changed the size of in the
4880 <pre> element to 90%.
4882 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
4884 * org.el (org-find-src-example-start): Function removed.
4885 (org-edit-src-find-region-and-lang): New function.
4887 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
4889 * org.el (org-edit-src-exit): New function.
4890 (org-exit-edit-mode): New minor mode.
4892 * org-exp.el (org-export-preprocess-string): Fix bug with removing
4893 comment-like lines from protected examples.
4895 * org.el (org-edit-src-example, org-find-src-example-start)
4896 (org-protect-source-example, org-edit-special): New functions.
4898 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
4900 * org-publish.el (org-publish-project-alist): Fix typo in
4902 (org-publish-project-alist): Handle :index-title property.
4904 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
4906 * org-export-latex.el (org-export-as-latex): Make sure region
4907 bounds are correct. Parse subtree properties relating to export.
4909 * org-exp.el (org-export-add-options-to-plist): New function.
4910 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4912 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
4914 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4917 * org-exp.el (org-export-get-title-from-subtree)
4918 (org-export-as-ascii, org-export-as-html): Make sure the original
4919 region-beginning and region-end are used, even after moving
4921 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4924 * org-remember.el (org-remember-last-stored-marker): New variable.
4925 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4926 (org-remember-handler): Also use marker to remember
4927 last-stored position.
4929 * org.el (org-goto-marker-or-bmk): New function.
4931 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
4933 * org.el (org-file-properties): Renamed from `org-local-properties'.
4934 (org-scan-tags): Take file tags into account.
4935 (org-tags-match-list-sublevels): Default changed to t.
4937 * org-exp.el (org-export-as-html): Close paragraph after a
4940 * org.el (org-update-parent-todo-statistics): New function.
4942 * org-exp.el (org-icalendar-store-UID): New option.
4943 (org-icalendar-force-UID): Option removed.
4944 (org-print-icalendar-entries): IMplement UIDs.
4946 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
4948 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4950 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
4952 * org-faces.el (org-column): Document how this face is being used
4953 and why sometimes the background faces shine through.
4955 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4957 * org-publish.el (org-publish-attachment): Create publishing
4958 directory if it does not yet exist.
4960 * org-table.el (org-calc-default-modes): Change default number
4961 format to (float 8).
4963 * org.el (org-olpath-completing-read): New function.
4964 (org-time-clocksum-format): New option.
4965 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4967 * org-clock.el (org-clock-display, org-clock-out)
4968 (org-update-mode-line): Use `org-time-clocksum-format'.
4970 * org-colview-xemacs.el (org-columns-number-to-string): Use
4971 `org-time-clocksum-format'.
4973 * org-colview.el (org-columns-number-to-string): Use
4974 `org-time-clocksum-format'.
4976 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
4978 * org-id.el: New file, move from contrib to core.
4980 * org-exp.el (org-icalendar-force-UID): New option.
4982 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
4984 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4985 shifted by one day if theere is a date range without an end
4988 * org.el (org-try-structure-completion): New function.
4990 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
4992 * org.el (org-set-font-lock-defaults): Improve fontification of
4994 (org-insert-item): Handle description lists.
4995 (org-adaptive-fill-function): Improve auto indentation in
4998 * org-exp.el (org-export-as-html, org-export-preprocess-string):
4999 Implement VERSE environment.
5000 (org-export-preprocess-string): Implement the COMMENT
5003 * org-export-latex.el (org-export-latex-preprocess): Implement
5006 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
5008 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5011 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
5013 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5015 * org.el (org-quote-csv-field): New functions.
5017 * org-table.el (org-table-export-default-format): Remove :splice
5018 from default format, we get the same effect by not specifying
5020 (org-table-export): Improve setup, distinguish better between
5021 interactive and non-interactive use, allow specifying the format
5022 on the fly, better protection against wrong file names.
5023 (orgtbl-to-generic): Fix documentation. Do not require :tstart
5024 and :tend when :splice is omitted.
5026 2008-05-09 Bernt Hansen <bernt@norang.ca>
5028 * org-clock.el (org-clock-select-task): Make sure the selection
5029 letters are 1-9 and A-Z, no special characters.
5031 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
5033 * org-exp.el (org-export-htmlize): New group.
5034 (org-export-htmlize-output-type)
5035 (org-export-htmlize-css-font-prefix): New options.
5036 (org-export-htmlize-region-for-paste): New function.
5037 (org-export-htmlize-generate-css): New command.
5039 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
5041 * org/org.el (org-modules, org-format-latex-options):
5042 * org/org-archive.el (org-archive-stamp-time)
5043 (org-archive-save-context-info):
5044 * org/org-faces.el (org-hide):
5045 * org/org-irc.el (org-irc-parse-link):
5046 * org/org-macs.el (org-call-with-arg, org-autoload):
5047 * org/org-mew.el (org-mew-store-link):
5048 * org/org-remember.el (org-remember-store-without-prompt)
5049 (org-remember-templates): Fix typos in docstrings.
5051 * org/org-info.el (org-info-store-link): Remove leftover docstring.
5053 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5054 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5055 (org-bbdb-anniv-split): Fix typos in docstrings.
5057 * org/org-publish.el (org-publish-project-alist): Doc fixes.
5058 (org-publish-use-timestamps-flag): Reflow docstring.
5059 (org-publish-files-alist): Fix typos in docstring.
5061 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
5063 * org.el (org-set-visibility-according-to-property): New function.
5064 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5065 and compute the regular expressions, and update font-lock.
5066 (org-property-re): Allow a dash in property names.
5068 * org-archive.el (org-extract-archive-file): Insert the file name
5069 without the path into the format, to allow the location format to
5070 contain a subdirectory.
5072 * org-agenda.el (org-agenda-post-command-hook): If point is at end
5073 of buffer, and the `org-agenda-type' property undefined, use the
5074 value from the character before.
5076 * org.el (org-add-planning-info): Don't let indentation for
5077 would-be timestamp become extra whitespace at the end of headline.
5079 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
5081 * org.el (org-remove-double-quotes, org-file-contents): New
5084 * org-exp.el (org-infile-export-plist): Also parse the
5085 contents of #+SETUPFILE files, recursively.
5087 * org.el (org-set-regexps-and-options): Also parse the
5088 contents of #+SETUPFILE files, recursively.
5090 * org-exp.el (org-export-handle-include-files): New function.
5091 (org-export-preprocess-string): Call
5092 `org-export-handle-include-files'.
5094 * org.el (org-delete-property-globally)
5095 (org-delete-property, org-set-property): Ignore case during
5097 (org-set-property): Use `org-completing-read' instead of
5100 * org.el (org-complete-expand-structure-template): New,
5101 experimental function.
5102 (org-structure-template-alist): New, experimental option.
5103 (org-complete): Call `org-complete-expand-structure-template'.
5105 2008-05-06 Bastien Guerry <bzg@altern.org>
5107 * org-export-latex.el (org-export-latex-preprocess): Added
5108 support for blockquotes.
5110 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
5112 * org.el (org-read-date-analyze): Catch the case where only a
5115 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
5117 * org.el (org-set-font-lock-defaults): Make the description
5120 * org-exp.el (org-export-as-html, org-close-li): Implement
5123 2008-05-04 Jason Riedy <jason@acm.org>
5125 * org-table.el (*orgtbl-default-fmt*): New variable.
5126 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5127 when there is no other fmt available.
5129 (orgtbl-to-generic): Allow an explicitly nil :tstart or
5130 :tend to suppress the appropriate string.
5132 (orgtbl-to-orgtbl): New function for translating to another orgtbl
5135 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
5137 * org.el (org-read-date-analyze): "." as an alias for "+0" in
5140 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5143 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5146 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
5148 * org-clock.el (org-clock-find-position): Don't include notes
5151 * org-archive.el (org-archive-subtree): No longer remove an
5152 extra line after cutting the subtree. `org-cut-subtree' already
5155 * org-remember.el (org-remember-handler): Only kill the target
5156 buffer if it does not contain the running clock.
5158 * org.el (org-markers-to-move): New variable.
5159 (org-save-markers-in-region, org-check-and-save-marker)
5160 (org-reinstall-markers-in-region): New function.
5161 (org-move-subtree-down, org-copy-subtree): Remember relative
5162 marker positions before cutting.
5163 (org-move-subtree-down, org-paste-subtree): Restore relative
5164 marker positions after pasting.
5166 * org-remember.el (org-remember-clock-out-on-exit): New option.
5167 (org-remember-finalize): Clock out only if the setting in
5168 `org-remember-clock-out-on-exit' requires it.
5169 (org-remember-handler): Do the cleanup in the buffer, to make sure
5170 that the clock marker remains in tact.
5172 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
5174 * org-clock.el (org-clock-goto): Widen buffer if necessary.
5175 (org-clock-in): Make sure that also tasks outside the narrowed
5176 region will be clocked in correctly.
5177 (org-clock-insert-selection-line): Widen the buffer so that we can
5178 find the correct task heading.
5180 * org.el (org-base-buffer): New function.
5182 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5183 and ";" are escaped.
5184 (org-print-icalendar-entries): Also apply
5185 `org-icalendar-cleanup-string' to the headline, not only to the
5188 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
5190 * org-exp.el (org-export-preprocess-hook): New hook.
5191 (org-export-preprocess-string): Call
5192 `org-export-preprocess-hook'.
5194 * org.el (org-font-lock-hook): New variable.
5195 (org-font-lock-hook): New function.
5196 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5200 ;; add-log-time-zone-rule: t
5203 Copyright (C) 2008 Free Software Foundation, Inc.
5205 This file is part of GNU Emacs.
5207 GNU Emacs is free software: you can redistribute it and/or modify
5208 it under the terms of the GNU General Public License as published by
5209 the Free Software Foundation, either version 3 of the License, or
5210 (at your option) any later version.
5212 GNU Emacs is distributed in the hope that it will be useful,
5213 but WITHOUT ANY WARRANTY; without even the implied warranty of
5214 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5215 GNU General Public License for more details.
5217 You should have received a copy of the GNU General Public License
5218 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
5220 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c