1 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-exp.el (org-infile-export-plist): Get macros also from
6 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
8 * org-colview.el (org-columns-capture-view): Protect vertical bars
10 (org-columns-capture-view): Exclude comment and archived trees.
12 * org-colview-xemacs.el (org-columns-capture-view): Protect
13 vertical bars in column values.
14 (org-columns-capture-view): Exclude comment and archived trees.
16 * org.el (org-quote-vert): New function.
18 * org-latex.el (org-export-latex-verbatim-wrap): New option.
20 * org-exp.el (org-export-format-source-code-or-example): Use
21 `org-export-latex-verbatim-wrap'.
23 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
26 * org-html.el (org-export-table-row-tags): New option.
27 (org-format-org-table-html): Rename `nlines' to `nline', use new
31 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
33 * org-exp-blocks.el: Declare functions and variables.
35 * org-remember.el (org-remember-templates): Allow the headline
36 element to be a function.
37 (org-remember-apply-template): If the headline is a function, call
38 it to get the true function.
40 * org-clock.el (org-clock-menu): New function.
41 (org-clock-update-mode-line): Update help string.
42 (org-clock-modify-effort-estimate): New function.
43 (org-clock-mark-default-task): New function.
45 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
47 (org-org-menu): Add new clocking stuff.
48 (org-clock-is-active): New function.
50 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
52 * org.el (org-open-non-existing-files): Improve docstring.
54 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
56 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
58 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
60 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
62 * org-list.el (org-get-checkbox-statistics-face): Use the new
65 * org-faces.el (org-checkbox-statistics-todo)
66 (org-checkbox-statistics-done): New faces.
68 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
70 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
71 (org-edit-src-exit): Better cursor positioning when returning from
74 * org-latex.el (org-export-latex-use-verb): New variable.
75 (org-export-latex-emph-format): Prefer \texttt over \verb when
76 org-export-latex-use-verb is set.
78 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
80 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
81 at normal indentation.
83 * org-html.el (org-export-html-close-lists-maybe): Also look at
86 * org-remember.el (org-remember-handler): Abort remember if the
89 * org-src.el (org-edit-src-content-indentation): New option.
90 (org-edit-src-exit): Apply extra indentation.
92 * org-exp.el (org-export-format-source-code-or-example): Run
95 * org-src.el (org-src-mode-hook): New variable.
96 (org-edit-src-code): Run `org-src-mode-hook'.
98 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
100 * org.el (org-indent-line-function): Fix indentation of +#end lines.
102 * org-src.el (org-edit-src-get-indentation): New function.
103 (org-edit-src-code): Base indentation on the begin line.
105 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
107 * org-gnus.el (org-gnus-store-link): Require message.el in
110 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
112 * org-src.el: New file, split out of org.el
114 * org-docbook.el (org-export-as-docbook): Better indentation
117 * org-macs.el (org-replace-match-keep-properties): New function.
119 * org-exp.el (org-export-mark-blockquote-verse-center): Better
120 preprocessing of center and quote and verse blocks.
122 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
123 (org-export-as-docbook): Close lists when original indentation
126 * org-html.el (org-export-html-close-lists-maybe): New function.
127 (org-export-as-html): Close lists when original indentation
130 * org-list.el (org-list-end): Respect the stored "original"
131 indentation when determining the end of the list.
133 * org-exp.el (org-export-replace-src-segments-and-examples):
134 Remember indentation correctly.
136 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
138 * org-clock.el (org-clock-update-mode-line): Apply face
141 * org-faces.el (org-mode-line-clock): New face.
143 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
145 * org-gnus.el (org-gnus-store-link): Fix bug where
146 `org-gnus-store-link' used wrong subject when called in an article
147 buffer. Patch provided by fengli AT gmail DOT com.
149 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
151 * org-exp.el (org-export-format-source-code-or-example): Remember
152 the original indentation of source code snippets and examples.
154 * org-latex.el (org-export-as-latex): Relocate the table of
157 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
159 * org-agenda.el (org-run-agenda-series): Scope global options also
160 when creating the agenda buffer.
162 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
164 * org.el (org-adapt-indentation): Improve documentation.
165 (org-insert-property-drawer): Respect org-adapt-indentation when
166 inserting the drawer.
167 (org-remove-flyspell-overlays-in): New function.
168 (org-do-emphasis-faces, org-activate-plain-links)
169 (org-activate-code, org-fontify-meta-lines-and-blocks)
170 (org-activate-angle-links, org-activate-footnote-links)
171 (org-activate-bracket-links, org-activate-dates)
172 (org-activate-target-links, org-activate-tags): Remove flyspell
175 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
177 * org.el (org-edit-src-save): New function.
179 * org-clock.el (org-clock-out-switch-to-state): New option.
180 (org-clock-out): Honor `org-clock-out-switch-to-state'.
182 * org-compat.el (org-compatible-face): Improve macro.
184 * org.el (org-global-properties-fixed): Add default for
185 CLOCK_MODELINE_TOTAL.
187 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
189 (org-clock-sum-current-item): Optional argument TSTART, pass it to
191 (org-clock-get-sum-start): New function.
193 * org.el (org-startup-options): New keywords blockhide and
195 (org-mode): Add new invisibility spec.
196 (org-set-startup-visibility): Hide block on startup if so
198 (org-hide-block-startup): New option.
199 (org-block-regexp): New constant.
200 (org-hide-block-overlays): New variable.
201 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
202 (org-show-block-all, org-hide-block-toggle-maybe)
203 (org-hide-block-toggle): New functions.
204 (org-edit-src-exit): Do not quote lines starting with # and no +
206 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
209 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
211 * org.el (org-buffer-property-keys): Add Effort property for
214 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
216 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
217 when retrieving total clocked time in the subtree.
219 * org.el (org-quoting-blocks): New variable.
221 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
223 * org-table.el (org-table-store-formulas)
224 (org-table-get-stored-formulas, org-table-fix-formulas)
225 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
226 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
228 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
229 indented #+TBLFM line.
231 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
232 indented #+TBLFM line.
234 * org-colview.el (org-dblock-write:columnview): Allow indented
237 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
238 indented #+TBLFM line.
240 * org-clock.el (org-dblock-write:clocktable): Allow indented
243 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
245 * org-exp.el (org-export-format-source-code-or-example): Make
246 editing indented blocks work correctly.
248 * org.el (org-edit-src-nindent): New variable.
249 (org-edit-src-code, org-edit-fixed-width-region)
250 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
251 editing indented blocks work correctly.
253 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
255 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
257 (org-export-format-source-code-or-example): Fix indentation of
259 (org-export-remove-indentation): New function.
260 (org-export-select-backend-specific-text): Allow backend-specific
262 (org-export-mark-blockquote-verse-center): Allow markers to be
265 * org.el (org-fontify-meta-lines): New function.
266 (org-set-font-lock-defaults): Call the new fontification
269 * org-faces.el (org-meta-line): New face
270 (org-block): New face.
272 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
274 * org.el (org-treat-insert-todo-heading-as-state-change)
275 (org-treat-S-cursor-todo-selection-as-state-change): New
277 (org-insert-todo-heading): Honor
278 `org-treat-insert-todo-heading-as-state-change'.
279 (org-shiftright, org-shiftleft): Honor
280 `org-treat-S-cursor-todo-selection-as-state-change'.
281 (org-inhibit-logging): New variable.
283 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
285 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
286 range for marker position checking.
288 * org-latex.el (org-export-latex-first-lines): Fix bug when
291 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
293 * org-exp.el (org-export-push-to-kill-ring): Protect using
294 x-set-selection, because that does not always work.
296 * org-agenda.el (org-agenda-list): Apply the new face
297 `org-agenda-date-today'.
299 * org-faces.el (org-agenda-date-today): New face.
301 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
303 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
304 creating appointments.
306 * org-latex.el (org-export-latex-low-levels): Fix customization
309 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
312 * org-agenda.el (org-agenda-priority): Disable priority commands.
314 * org.el (org-enable-priority-commands): New option.
316 * org-colview-xemacs.el (org-columns-compute)
317 (org-columns-number-to-string): Fix problems with empty fields.
319 * org-colview.el (org-columns-compute)
320 (org-columns-number-to-string): Fix problems with empty fields.
322 * org-exp.el (org-export-push-to-kill-ring): New function.
323 (org-export-copy-to-kill-ring): New option.
325 * org-latex.el (org-export-as-latex): Call
326 `org-export-push-to-kill-ring'.
328 * org-html.el (org-export-as-html): Call
329 `org-export-push-to-kill-ring'.
331 * org-docbook.el (org-export-as-docbook): Call
332 `org-export-push-to-kill-ring'.
334 * org-ascii.el (org-export-as-ascii): Call
335 `org-export-push-to-kill-ring'.
337 * org-exp.el (org-export-show-temporary-export-buffer): New
340 * org-latex.el (org-export-as-latex): Use
341 `org-export-show-temporary-export-buffer'.
343 * org-html.el (org-export-as-html): Use
344 `org-export-show-temporary-export-buffer'.
346 * org-docbook.el (org-export-as-docbook): Use
347 `org-export-show-temporary-export-buffer'.
349 * org-ascii.el (org-export-as-ascii-to-buffer): Use
350 `org-export-show-temporary-export-buffer'.
352 * org-exp.el (org-export-show-temporary-export-buffer): New
354 (org-export-push-to-kill-ring): New function.
356 * org-colview.el (org-columns-compile-map): New variable.
357 (org-columns-new, org-columns-compute)
358 (org-columns-number-to-string, org-columns-uncompile-format)
359 (org-columns-compile-format): Implement new operators.
361 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
363 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
365 * org-html.el (org-export-html-xml-declaration): New option.
366 (org-export-as-html): Use `org-export-html-xml-declaration'.
368 * org-list.el (org-update-checkbox-count): Make property
371 * org.el (org-hierarchical-todo-statistics): New option.
372 (org-update-parent-todo-statistics): Modified to handle recursive
375 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
377 * org-publish.el (org-publish): Make this function behave
378 correctly in interactive use when called with a prefix argument.
380 * org.el (org-todo-statistics-hook): New hook.
381 (org-update-parent-todo-statistics): Use new hook.
382 (org-log-into-drawer): New function.
383 (org-add-log-setup): Use the new `org-log-into-drawer' function to
384 determine if we should be logging into a drawer.
385 (org-log-into-drawer): Update docstring.
386 (org-default-properties): Add LOG_INTO_DRAWER as a property.
388 * org-list.el (org-checkbox-statistics-hook): New hook.
389 (org-update-checkbox-count-maybe): Use new hook.
391 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
392 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
395 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
397 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
400 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
402 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
403 better bufer-generating mechanism.
404 (org-edit-src-find-buffer): New function.
406 * org-icalendar.el (org-print-icalendar-entries): Don't check for
407 archive tag, this is already done by `org-agenda-skip'.
408 data while constructing lost of tags.
410 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
412 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
413 as argument separator in macros.
415 * org-html.el (org-export-as-html): Add xml declaration.
417 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
419 * org.el (org-after-sorting-entries-or-items-hook): New hook.
420 (org-sort-entries-or-items): Run the new hook.
421 (org-after-refile-insert-hook): New hook.
422 (org-refile): Run `org-after-refile-insert-hook'.
424 * org-agenda.el (org-agenda-get-progress): Never take time of day
425 from headline when displaying progress.
427 * org-latex.el (org-export-latex-complex-heading-re): New variable.
428 (org-export-as-latex): Force the correct regexp in the
430 (org-export-latex-set-initial-vars): Set
431 `org-export-latex-complex-heading-re'.
433 * org-agenda.el (org-agenda-start-with-log-mode): New option.
434 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
436 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
438 * org-latex.el (org-export-latex-tables-centered): New option.
439 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
441 * org-exp.el (org-export-as-org): New command.
442 (org-export-as-org): New command.
444 * org-publish.el (org-publish-org-to-org): New function.
446 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
448 * org.el (org-yank): Just call `org-yank-generic'.
449 (org-yank-generic): New function, containing the formaer
450 functionality of `org-yank'.
452 * org-latex.el (org-export-latex-not-done-keywords)
453 (org-export-latex-done-keywords): New variables.
454 (org-export-latex-todo-keyword-markup): New option.
455 (org-export-latex-set-initial-vars): Remember the TODO keywords.
456 (org-export-latex-keywords-maybe): Apply the TODO markup.
458 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
460 * org-exp.el (org-infile-export-plist): Add more default macros.
461 (org-export-preprocess-apply-macros): Process macro arguments.
463 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
465 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
467 (org-print-icalendar-entries): Respect the new value of
468 `org-icalendar-include-todo'.
470 * org.el (org-link-try-special-completion)
471 (org-file-complete-link): New functions.
472 (org-insert-link): Add special completion support for some link
475 * org-bbdb.el (org-bbdb-complete-link): New function.
477 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
479 * org-list.el (org-update-checkbox-count): Allow recursive
481 (org-hierarchical-checkbox-statistics): New option.
483 * org.el (org-cycle): Remove erraneous space character.
485 * org-icalendar.el (org-icalendar-timezone): Initialize from
488 * org-html.el (org-format-org-table-html): Specify the scope.
489 (org-format-table-table-html): Specify the scope.
490 (org-export-table-header-tags): Prepare the scope parameter.
492 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
495 (org-export-html-table-use-header-tags-for-first-column): New
498 * org.el (org-autoload): Fix autoloading of ascii export
500 (org-modules): Add org-special-blocks.
502 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
504 * org-icalendar.el (org-start-icalendar-file): Use the new option.
505 (org-ical-timezone): New option.
507 * org-exp.el (org-export-get-coderef-format): Use the description
510 * org.el (org-sort-entries-or-items): Improve docstring, and make
511 better implementation for time sorting.
513 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
515 * org.el (org-edit-src-persistent-message): New option.
516 (org-edit-src-code, org-edit-fixed-width-region): Use the new
519 * org-clock.el (org-clock-insert-selection-line): Fix prefious
522 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
523 separate buffer instead of indirect buffer to edit source code.
524 (org-edit-src-exit): Make this function work with the new setup.
526 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
527 are properly fontified before shown in the selection menu.
529 * org.el (org-fontify-like-in-org-mode): New function.
531 * org-latex.el (org-export-latex-links): Use the property list to
532 retrieve the default image attributes.
534 * org-exp.el (org-export-plist-vars): Add a new option.
536 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
538 * org-exp.el (org-export, org-export-visible): Support ASCII
540 (org-export-normalize-links): Do not protect the description if it
543 * org-ascii.el (org-export-as-ascii-to-buffer)
544 (org-replace-region-by-ascii, org-export-region-as-ascii): New
546 (org-export-as-ascii): Add all the same parameters that are also
547 supported by the other export functions.
549 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
551 (org-reset-checkbox-state-subtree): Call
552 `org-reset-checkbox-state-subtree'.
554 * org-remember.el (org-select-remember-template): For the
555 selection of a valid template.
557 * org-latex.el (org-export-region-as-latex): Supply the
558 force-no-subtree argument.
559 (org-export-as-latex): Provide better limits when exporting the
560 first line. When exporting to string, we still want the first
562 (org-export-latex-first-lines): New argument END, to force the end
564 (org-export-region-as-latex): Use the property list.
565 (org-export-as-latex):
567 * org-colview-xemacs.el (org-columns-remove-overlays)
568 (org-columns): Fix call to `local-variable-p'.
570 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
572 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
573 (org-export-as-html): Run the new hook.
575 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
576 (org-export-latex-preprocess): Run the new hook.
578 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
579 (org-export-preprocess-string): Run the new hook.
581 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
583 * org-macs.el (org-check-external-command): New defsubst.
585 * org.el (org-mode-map): New key for reload.
586 (org-format-latex): Better error message when external programs
589 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
591 * org.el (org-sort-entries-or-items): Explicit sorting function
592 for priorities, needed for XEmacs compatibility.
594 * org-remember.el (org-remember-apply-template): Improve auto-save
597 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
599 * org-latex.el (org-export-latex-preprocess): Also protect
600 environments ending in a star.
602 * org-list.el (org-at-item-p): Fix regular expression.
604 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
606 * org.el (org-end-of-subtree): Improve speed.
608 * org-agenda.el (org-agenda-get-timestamps)
609 (org-agenda-get-progress, org-agenda-get-deadlines)
610 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
611 in particular, wait as long as possible to collect the tags.
612 (org-stuck-projects): Improve docstring.
614 * org.el (org-store-link): No errors when getting custom id before
616 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
618 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
620 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
622 * org-protocol.el: Remove dependency on url.el.
623 (org-protocol-unhex-compound, org-protocol-open-source): Remove
624 dependency on url.el.
626 * org-latex.el (org-export-as-pdf): Use
627 `org-latex-to-pdf-process'.
629 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
631 * org-latex.el (org-latex-to-pdf-process): New option.
633 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
635 (org-agenda-get-timestamps): Honor
636 `org-agenda-skip-additional-timestamps-same-entry'.
638 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
639 (org-clock-goto): Find recent task only if
640 `org-clock-goto-may-find-recent-task' allows it.
642 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
643 drawers, and drawers that are missing the :END: line.
645 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
647 * org-clock.el (org-clock-goto): Go to recently clocked task if no
650 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
652 * org.el (org-update-parent-todo-statistics): Check for
653 STATISTICS_FROM property.
655 * org-list.el (org-update-checkbox-count): Check for
656 STATISTICS_FROM property.
658 * org.el (org-tab-first-hook)
659 (org-tab-after-check-for-table-hook)
660 (org-tab-after-check-for-cycling-hook): New hooks.
661 (org-cycle-internal-global, org-cycle-internal-local): New
662 functions, split out from `org-cycle'.
663 (org-cycle): Call the new hooks.
665 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
667 * org-exp.el (org-export-preprocess-string): Reset the list of
668 preferred targets for each run of the preprocessor.
670 * org.el (org-refile-target-verify-function): Improve
672 (org-get-refile-targets): Respect point being moved by the
673 verification function.
675 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
677 (org-export-latex-keywords): Use new option.
679 * org.el (org-rear-nonsticky-at): New defsubst.
680 (org-activate-plain-links, org-activate-angle-links)
681 (org-activate-footnote-links, org-activate-bracket-links)
682 (org-activate-dates, org-activate-target-links)
683 (org-activate-tags): Place the rear-nonsticky properties at the
686 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
688 * org-protocol.el (server-edit): Declare `server-edit'.
689 (org-protocol-unhex-string, org-protocol-unhex-compound): New
691 (org-protocol-check-filename-for-protocol): Call `server-edit'.
693 * org.el (org-default-properties): New default properteis for
696 * org-exp.el (org-export-add-subtree-options): Add new properties
699 * org-docbook.el (org-export-docbook-keywords-markup)
700 (org-export-docbook-timestamp-markup): New options.
701 (org-export-docbook-protect-tags): New function.
703 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
705 * org-id.el (org-id-get-with-outline-path-completion): Turn off
706 org-refile-target-verify-function for the duration of the command.
708 * org.el (org-link-to-org-use-id): New possible value
709 `create-if-interactive-and-no-custom-id'.
710 (org-store-link): Use custom IDs.
711 (org-link-search): Find custom ID properties from #link.
712 (org-default-properties): Add CUSTOM_ID for property completion.
713 (org-refile-target-verify-function): New option.
714 (org-goto): Turn off org-refile-target-verify-function
715 for the duration of the command.
717 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
719 * org-html.el (org-export-as-html): Use custom IDs in the toc.
721 * org-exp.el (org-export-preferred-target-alist): New variable.
722 (org-export-define-heading-targets): Find the new CUSTOM_ID
724 (org-export-target-internal-links): Target the custom ids when
727 * org-latex.el (org-export-latex-preprocess): Better regexp for
728 matching latex macros with arguments.
730 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
732 * org-remember.el (org-remember-handler): Allow filing to non-org
735 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
737 * org-feed.el (org-feed-alist): New keyword options.
738 (org-feed-update): Use the new options.
739 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
740 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
741 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
744 * org-table.el (org-table-fix-formulas): Do not change references
746 (org-table-get-remote-range): Convert standard coordinates to RC
749 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
751 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
753 * org-compat.el (org-sha1-string): Function removed.
755 * org.el (org-refile-allow-creating-parent-nodes): New option.
756 (org-refile-get-location): New argument NEW-NODES.
757 (org-refile): Call `org-refile-get-location' with the new
759 (org-refile-get-location): Arrange for adding a new child.
760 (org-refile-new-child): New function.
762 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
763 an additional span element.
765 * org-clock.el: Fix a number of docstrings.
766 (org-clock-find-position): New argument
767 FIND-UNCLOSED to make the function find an unclosed clock in the
769 (org-clock-in): Call `org-clock-find-position' with the new
770 argument if we might be resuming a clock.
772 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
774 * org-latex.el (org-export-latex-display-custom-times): New variable.
775 (org-export-latex-timestamp-markup): New option.
776 (org-export-latex-set-initial-vars): Remember the local value of
777 `org-display-custom-times'.
778 (org-export-latex-content): Process time stamps.
779 (org-export-latex-time-stamps): New function.
781 * org-macs.el (org-maybe-intangible): Add intangible property
782 again to invisible text.
784 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
786 * org-exp.el (org-default-export-plist): Handle undefined
789 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
791 * org.el (org-sort-entries-or-items): Match TODO keywrds
792 case-sensitively, when sorting.
793 (org-priority): Do not match TODO keywords with wrong case.
795 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
797 * org-feed.el (org-feed-update): Bind the variable
800 * org-html.el (org-export-as-html): Start paragraphs after literal
803 * org-docbook.el (org-export-as-docbook): Start paragraphs after
806 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
808 * org.el (org-todo): Honor the NOBLOCKING property.
810 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
813 * org.el (org-scan-tags): Fix bug in tag scanner
815 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
817 * org.el (org-modules): Mark obsolete packages.
819 * org-html.el: New file, split out from org-exp.el.
821 * org-icalendar.el: New file, split out from org-exp.el.
823 * org-xoxo.el: New file, split out from org-exp.el.
825 * org-ascii.el: New file, split out from org-exp.el.
827 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
829 * org-compat.el (org-find-library-name): New function.
831 * org.el (org-pre-cycle-hook): New hook.
832 (org-cycle): Call the new hook in appropriate places.
833 (org-reload): Only reload files that have been loaded before.
835 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
837 * org.el (org-set-font-lock-defaults): Enforxe space or line end
839 (org-todo): When changing TODO state, do matching
841 (org-map-continue-from): New variable.
842 (org-scan-tags): Respect values in `org-map-continue-from'.
843 (org-reload): Make XEmacs compatible.
845 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
847 * org-protocol.el (org-protocol-flatten-greedy): New function.
848 (org-protocol-flatten): New function.
850 * org.el (org-open-link-from-string): Pass reference buffer to
852 (org-open-at-point): New optional argument `reference-buffer'.
854 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
856 * org.el (org-scan-tags): Make tag scan find headline in first
858 (org-get-refile-targets): Add the naked file name.
859 (org-refile): Store as top-level entry when only file name was
862 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
864 * org.el (org-block-todo-from-children-or-siblings-or-parent):
865 Renamed from org-block-todo-from-children-or-siblings, and
866 enhanced to look for the parent's status as well.
868 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
869 (org-agenda-get-progress): Add first notes line to log entry if so
872 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
874 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
875 (org-agenda-cleanup-fancy-diary): Call the new hook.
877 * org-remember.el (org-remember-apply-template): Take the default
878 for the annotation from the :annotation property.
880 * org-mac-message.el (org-mac-message-get-link): Remove the
882 (org-mac-message-get-link): Return the result.
884 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
886 * org.el (org-refile-get-location): Add file name only if not
887 already included in outline path.
889 * org-faces.el (org-n-level-faces): Fix customization type from
892 * org-exp.el (org-export-headline-levels): Fix customization type
893 from number to integer.
895 * org-agenda.el (org-agenda-confirm-kill)
896 (org-agenda-custom-commands-local-options)
897 (org-timeline-show-empty-dates, org-agenda-ndays)
898 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
899 customization type from number to integer.
901 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
903 * org-protocol.el: Declare some functions.
905 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
906 postion before inserting modified headline.
908 * org-agenda.el (org-agenda-compare-effort): Honor
909 `org-sort-agenda-noeffort-is-high'.
910 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
911 (org-agenda-compare-effort): Implement the "?" operator for
912 finding entries without effort setting.
914 * org.el (org-extract-attributes-from-string): New function.
916 * org-exp.el (org-export-splice-attributes): New function.
918 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
920 * org-mouse.el: XEmacs compatibility fixes
922 * org-docbook.el (org-export-as-docbook): Process footnotes like
925 * org.el (org-modules): Add org-inlinetasks.el
926 (org-cycle): Implement limiting level on cycling.
927 (org-move-subtree-down): Fix bug with swapping subtrees at end of
930 * org-inlinetask.el: New file.
932 * org.el (org-emphasis-regexp-components): Allow braces in
933 emphasis pre and post match.
935 * org-footnote.el (org-footnote-normalize): When only dorting, do
936 not insert inline notes at the end.
938 * org-docbook.el (org-id-find-id-file): Add function declaration.
940 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
942 * org-docbook.el: New file.
944 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
946 * org.el (org-reftex-citation): New command.
948 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
950 * org-agenda.el (org-agenda-cmp-user-defined): New option.
951 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
953 (org-entries-lessp): Apply the new sorting option.
955 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
956 blocker code, when an older sibling has children.
958 * org-mac-message.el (org-mac-message-get-link): Improve getting
959 links from multiple selected messages.
961 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
963 * org-remember.el (org-remember-finalize): Do not set buffer file
965 (org-remember-handler): Mark buffer as unmodified.
966 (org-remember-handler): Delete backup file and show message about
967 remaining backup files.
968 (org-remember-auto-remove-backup-files): New option.
970 * org.el (org-store-link): Use buffer name as link description in
972 (org-ido-switchb): Fix argument bug for completion.
974 * org-remember.el (org-remember-apply-template): Set local
975 variable `auto-save-visited-file-name' instead of global one.
977 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
979 * org-feed.el: Re-write.
981 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
982 (org-agenda-get-todos): Mark file tags as inherited.
983 (org-agenda-list): Always search diary lines for a time.
985 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
987 * org-feed.el (org-feed-assume-stable): New option.
988 (org-feed-before-adding-hook): New hook.
990 * org-exp.el (org-export-as-html): Close local lists depending on
991 indentation, also when starting a table.
993 * org-remember.el (org-remember-backup-directory)
994 (org-remember-backup-name): New internal variable.
996 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
998 * org-clock.el (org-clock-out-if-current): Make buffer detection
999 work in indirect buffers as well.
1001 * org.el (org-emphasis-regexp-components): Add the exxclamation
1002 mark to the post-emphasis characters.
1004 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
1006 * org.el (org-read-date-minibiffer-septup-hook): New hook.
1007 (org-read-date): Run the new hook.
1009 * org-mac-message.el (org-mac-flagged-mail): New group.
1010 (org-mac-mail-account): New variable.
1011 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1014 * org-remember.el (org-remember-backup-directory): New variable.
1015 (org-remember-apply-template): Write file to backup directory.
1017 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
1019 * org-mouse.el (org-mouse-todo-menu): New function.
1020 (org-mouse-todo-keywords): Function removed.
1021 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1023 * org-table.el (org-table-beginning-of-field)
1024 (org-table-end-of-field): New commands
1025 (org-table-previous-field, org-table-beginning-of-field): Better
1027 (orgtbl-setup): Include `M-a' and `M-e'.
1029 * org.el (org-backward-sentence, org-forward-sentence): New
1032 * org-colview.el (org-colview-initial-truncate-line-value): New
1034 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1035 (org-columns): Remember the value of `truncate-lines'.
1037 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1039 (org-columns-remove-overlays): Restore the value of
1041 (org-columns): Remember the value of `truncate-lines'.
1043 * org.el (org-columns-skip-arrchived-trees): New option.
1045 * org-agenda.el (org-agenda-export-html-style): Define color for
1046 org-agenda-done face.
1047 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1048 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1050 * org.el (org-scan-tags): Use the new face.
1052 * org-faces.el (org-agenda-done): New face.
1054 * org.el (org-scan-tags): Test the value org
1055 `org-tags-match-list-sublevels'.
1056 (org-tags-match-list-sublevels): New allowed value: indented.
1058 * org-export-latex.el (org-export-latex-make-header): Apply macros
1061 * org-exp.el (org-export-apply-macros-in-string): New function.
1063 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1064 with the definition of a checked box.
1066 * org-clock.el (org-clock-find-position): Fix drawer indentations.
1068 * org-export-latex.el (org-export-latex-low-levels): More options
1069 for how to process lower levels in LaTeX.
1070 (org-export-latex-subcontent): Better treatment for lists as a
1071 means of publishing lower levels.
1073 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
1075 * org.el (org-set-font-lock-defaults): Use new checkbox face.
1077 * org-faces.el (org-checkbox): New face.
1079 * org-exp.el (org-export-html-preprocess): Only create LaTeX
1080 fragement images if there is an export file.
1082 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
1084 * org-agenda.el (org-stuck-projects): Document that the subtree of
1085 projects that are not stuck will now be searched for stuck
1087 (org-agenda-skip-entry-when-regexp-matches)
1088 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1089 (org-agenda-list-stuck-projects): Use
1090 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1092 * org-export-latex.el (org-export-latex-preprocess): Improve
1095 * org-exp.el (org-export-as-html): Implement centering as a div
1096 rather than a paragraph. Do a better job with line-end in verse
1099 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
1101 * org.el (org-open-at-point): Fix tags searches by mouse click.
1103 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
1105 * org-export-latex.el (org-export-latex-preprocess): Implement the
1108 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1109 from `org-export-mark-blockquote-and-verse'.
1110 (org-export-as-html): Implement the centering markup.
1112 * org-export-latex.el (org-export-latex-tables): Fix vertical
1115 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
1117 * org.el (org-read-date-history): New variable.
1118 (org-read-date): Use new history variable.
1119 (org-toggle-heading): Fix bug when used before first headline.
1120 (org-store-log-note): Remove drawer if empty while note is
1122 (org-remove-empty-drawer-at): New function.
1123 (org-check-after-date): New command.
1124 (org-sparse-tree): New sparse tree command "a".
1126 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1128 2009-03-14 Bastien Guerry <bzg@altern.org>
1130 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1131 column and a space, not only a column.
1133 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
1135 * org-export-latex.el (org-export-latex-emphasis-alist): Better
1136 defaults for verbose emphasis.
1137 (org-export-latex-emph-format): New function.
1138 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1140 * org-agenda.el (org-agenda-menu): Add new commands to menu.
1141 (org-agenda-do-date-later, org-agenda-do-date-earlier)
1142 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1143 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1146 * org.el (org-timestamp-change): Move end-time along with start
1149 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
1151 * org-exp.el (org-export-target-internal-links)
1152 (org-export-as-html): Protect links specified as #name.
1154 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
1156 * org.el (org-clone-subtree-with-time-shift): New command.
1158 * org-export-latex.el (org-export-latex-special-chars)
1159 (org-export-latex-treat-sub-super-char): Fix subscript export.
1161 * org-exp.el (org-create-multibrace-regexp): Do not add
1162 backslashes to the class.
1164 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-colview.el (org-columns-map): Better functions for moving up
1167 and down a row, even if `truncate-line' is nil.
1169 * org.el (org-insert-todo-heading): Make sure the keyword is
1170 inserted at the correct position.
1172 * org-publish.el (org-publish-project-alist)
1173 (org-publish-projects, org-publish-org-index): Change default anme
1174 for the index of file names to "sitemap.org".
1176 * org-export-latex.el (org-export-latex-tables): Use
1177 `org-split-string', for Emacs 21 compatibility.
1179 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
1181 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1183 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
1185 * org-exp.el (org-export-page-description)
1186 (org-export-page-keywords): New variables.
1187 (org-export-plist-vars): Add entries for :keywords and
1189 (org-infile-export-plist): Parse for new keywords.
1190 (org-get-current-options): Add new keywords
1191 (org-export-as-html): Publish description and keywords.
1193 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1195 (org-agenda-add-entry-text): Honor
1196 `org-agenda-add-entry-text-descriptive-links'.
1198 * org-export-latex.el (org-export-latex-preprocess): Make all
1199 external preprocess functions use a PARAMETER arg.
1201 * org-exp.el (org-export-preprocess-string)
1202 (org-export-select-backend-specific-text)
1203 (org-export-format-source-code-or-example)
1204 (org-format-org-table-html): Support docbook export.
1205 (org-export-preprocess-string): Make all external preprocess
1206 functions use a PARAMETER arg.
1208 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
1210 * org-exp.el (org-export-html-style-include-scripts): New option.
1211 (org-export-plist-vars): Add new option
1212 `org-export-html-style-include-scripts'.
1213 (org-export-as-html): Honor new option
1214 `org-export-html-style-include-scripts'.
1215 (org-export-html-scripts, org-export-html-style-default): Fix
1216 xml issues with the Safari browser.
1218 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
1220 * org-publish.el (org-publish-attachment): Only copy file when the
1223 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
1225 * org-clock.el (org-clocktable-steps): Use inactive time stamps
1226 for clocktable steps.
1228 * org.el (org-additional-option-like-keywords): Add two more
1231 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
1233 * org-exp.el (org-export-format-source-code-or-example): Mark
1234 temporary buffer unmodified, so that it will be killed even if
1235 mode like message mode has decided to assign a file name.
1237 * org.el (org-scan-tags): Improve tag inheritance.
1238 (org-scan-tags, org-make-tags-matcher): Make tag comparison
1240 (org-scan-tags): Use the internal tags list instead of creating it
1242 (org-trust-scanner-tags, org-scanner-tags): New variables.
1243 (org-scan-tags): Set `org-scanner-tags'.
1244 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1245 (org-map-entries): Document the possible speedup using scanner
1248 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
1250 * org.el (org-add-planning-info): Fix bug with looking for keyword
1253 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1254 option for tags filter preset.
1255 (org-prepare-agenda): Store filter preset as a property on the
1257 (org-finalize-agenda): Call the filter, if there is a preset.
1258 (org-agenda-filter-by-tag): Filter again after clearing the
1259 filter, when there still is a preset.
1260 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1261 Include the preset filter.
1262 (org-agenda-redo): Apply the filter again, also the preset filter.
1264 * org-exp.el (org-export-as-html): Use IDs in the correct way.
1266 * org.el (org-uuidgen-p): New funtion.
1268 * org-agenda.el (org-agenda-fontify-priorities): New default value
1270 (org-agenda-fontify-priorities): Renamed from
1271 org-fontify-priorities.
1273 * org.el (org-set-font-lock-defaults): Call
1274 `org-font-lock-add-priority-faces'.
1275 (org-font-lock-add-priority-faces): New function.
1277 * org-faces.el: (org-set-tag-faces): New option.
1278 (org-priority-faces): New variable.
1280 * org-exp.el (org-export-as-html): Add a "content" div around the
1281 entire content of the body tag.
1282 (org-export-html-get-bibliography): New function.
1283 (org-export-html-validation-link): New variable.
1284 (org-export-as-html): Add validation link to exported page.
1286 * org.el (org-match-sparse-tree): Renamed from
1287 `org-tags-sparse-tree'.
1288 (org-tags-sparse-tree): New alias.
1290 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
1292 * org.el (org-get-valid-level): Catch the case where the level
1295 * org-clock.el (org-clock-find-position): Better indentation of
1298 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
1300 * org-agenda.el (org-agenda-quit): Delete window only when the
1301 frame-setup was not `current-window'.
1303 * org.el (org-tag-persistent-alist): New option.
1304 (org-startup-options): Add keyword `noptag'.
1305 (org-fast-todo-selection): Handle :newline correctly.
1306 (org-set-tags): Handle :newline correctly.
1307 (org-fast-tag-selection): Handle :newline correctly.
1309 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
1311 * org-exp.el (org-export-as-ascii): Reverse link buffer before
1313 (org-export-ascii-push-links): Fix bug with pussing links into the
1316 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
1318 * org-archive.el (org-archive-subtree): Do not add 1 to level if
1319 pasting at top level.
1321 * org-bbdb.el: Improve documentation.
1323 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
1325 * org-list.el (org-insert-item): Only consider insert empty lines
1326 is `org-empty-line-terminates-plain-lists' is not nil.
1328 * org.el (org-blank-before-new-entry): Mention the dependence on
1329 `org-empty-line-terminates-plain-lists' in the docstring.
1331 * org-publish.el (org-publish-get-project-from-filename): New
1332 optional argument UP. Only find the top project if UP is set.
1333 (org-publish-current-project): Find the top encloding project.
1335 * org-agenda.el (org-agenda-before-write-hook)
1336 (org-agenda-add-entry-text-maxlines): New options.
1337 (org-write-agenda): Run the new hook in the temporary buffer.
1338 (org-agenda-add-entry-text): New function.
1339 (org-write-agenda): Implement PDF export, using ps2pdf.
1341 * org.el (org-global-properties-fixed, org-global-properties):
1342 Improve documentation string.
1344 * org-exp.el (org-export-ascii-links-to-notes): New option.
1345 (org-export-as-ascii): Handle links better.
1346 (org-export-ascii-wrap, org-export-ascii-push-links): New
1349 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
1351 * org-agenda.el (org-agenda): Make prefix arg optional.
1352 (org-agenda-search-headline-for-time): New option.
1353 (org-format-agenda-item): Honor
1354 `org-agenda-search-headline-for-time'.
1356 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1359 * org.el (org-self-insert-cluster-for-undo): New option.
1360 (org-self-insert-command): Cluster undo for 20 characters.
1361 (org-self-insert-command-undo-counter): New variable.
1363 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
1365 * org-exp.el (org-export-as-html): Fix problem with closing colone
1368 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
1370 * org-export-latex.el (org-export-as-latex)
1371 (org-export-latex-first-lines): Avoid modification flag when
1372 adding or removing text properties.
1373 (org-export-latex-fontify): Catch error when org-emph-alist has
1374 entries that are not defined for LaTeX export.
1376 * org.el (orgstruct++-mode): New function.
1377 (turn-on-orgstruct++): Call `orgstruct++-mode'.
1378 (org-context-p): Allow detecting item context after the first line
1380 (orgstruct-make-binding): Detect if item-body context should be
1382 (orgstruct-is-++): New variable.
1383 (org-add-planning-info): Catch the case when there is no planning
1384 info yet and the call does not want to add anything, only maybe
1385 tries to remove something.
1386 (org-special-ctrl-a/e): All value to be a cons cell with separate
1387 settings for `C-a. and `C-e'.
1388 (org-beginning-of-line, org-end-of-line): Honor separate values
1389 for `C-a' and `C-e'.
1391 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
1393 * org.el (org-reload): New command.
1395 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
1397 * org-exp.el (org-export-htm-get-tag-class-name)
1398 (org-export-htm-get-todo-kwd-class-name): New functions.
1399 (org-export-html-tag-class-prefix)
1400 (org-export-html-todo-kwd-class-prefix): New options.
1401 (org-export-as-html): Call
1402 `org-export-html-get-todo-kwd-class-name'.
1403 (org-html-level-start): Wrap tags into classes.
1404 (org-export-html-get-tag-class-name)
1405 (org-export-html-get-todo-kwd-class-name): New functions.
1407 * org-export-latex.el (org-export-latex-collect-header-macros):
1408 Remove fields that are used anyway.
1409 (org-export-latex-make-header): Insert the options earlier.
1411 * org-agenda.el (org-agenda-get-progress): Fix bug with state
1414 * org-list.el (org-indent-item): Allow point to be at the end of
1417 * org.el (org-metaleft, org-metaright): Be more accurate about
1418 detecting a region where commands apply.
1420 * org-compat.el (org-cursor-to-region-beginning): New function.
1422 * org.el (org-priority): Also find invisible heading.
1424 * org-colview-xemacs.el (org-columns-edit-value): No special
1425 treatment for `org-todo' prefix.
1427 * org-colview.el (org-columns-edit-value): No special treatment
1428 for `org-todo' prefix.
1430 * org-remember.el (org-remember-apply-template): Use
1431 `org-completing-read-no-ido'.
1433 * org.el (org-completing-read-no-ido): New function.
1434 (org-make-tags-matcher, org-set-property): Use
1435 `org-completing-read-no-ido'.
1437 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1439 (org-export-as-latex): Import in-buffer settings as TeX macros.
1440 (org-export-latex-make-header): Additional parameter OPT-DEFS.
1441 (org-export-latex-collect-header-macros): New function.
1443 * org.el (org-refile-get-location): Turn off
1444 `partial-completion-mode'.
1446 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
1448 * org.el (org-block-todo-from-checkboxes): Announce that
1449 checkboxes are the culprit.
1450 (org-block-todo-from-children-or-siblings): Call
1451 `org-up-heading-all instead' of `outline-up-heading'.
1453 * org-agenda.el (org-agenda-show-1): Renamed from
1455 (org-agenda-show): Re-install the old version for now.
1456 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
1457 variable into the blokker hook, so that the checkbox checker can
1458 anounce that it caused the blocking.
1460 * org.el (org-track-ordered-property-with-tag): New option.
1461 (org-toggle-ordered-property): Honor
1462 `org-track-ordered-property-with-tag'.
1463 (org-tag-alist): Add newline options.
1464 (org-set-regexps-and-options): Separate option lines imply a
1466 (org-set-regexps-and-options, org-assign-fast-keys)
1467 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1469 (org-indent-line-function): Make sure this works even if there is
1470 not `org-drawer-regexp' defined. This can happen when
1471 orgstruct-mode is used in a non-org buffer.
1473 * org-list.el (org-checkbox-blocked-p): New function.
1474 (org-toggle-checkbox): Check for blocking.
1476 * org.el (org-modules): Add an entry for org-R.el.
1478 * org-agenda.el (org-agenda-todo-ignore-with-date)
1479 (org-agenda-todo-ignore-scheduled)
1480 (org-agenda-todo-ignore-deadlines): Mention the variable
1481 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
1483 * org.el (org-get-wdays): Find the warning period also if it is in
1485 (org-ido-completing-read): Provide the correct arguments to
1486 ido-completing-read and bind `ido-enter-matching-directory' to
1489 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
1491 * org.el (org-olpath-completing-read): Never use ido for this
1494 * org-exp.el (org-export-normalize-links): Use new macro.
1496 * org-macs.el (org-if-unprotected-at): New macro.
1498 * org-agenda.el (org-agenda-show): Allow numerical prefix
1499 arguments to specify how much context should be shown.
1500 (org-agenda-cycle-show): New command, could be bound to SPC in
1501 org-agenda-mode-map.
1503 * org-exp.el (org-html-level-start): Space after section number.
1505 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
1507 * org-agenda.el (org-agenda-get-sexps): Add todo state as
1508 property, for sorting.
1509 (org-cmp-todo-state): Get the applicable TODO keywords directly
1511 (org-run-agenda-series, org-agenda-list, org-search-view)
1512 (org-todo-list, org-tags-view): Only fit agenda window when the
1513 whole series is done.
1515 * org.el (org-scan-tags): Add todo state as property, for sorting.
1517 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1518 `org-agenda-overriding-header' as an option.
1519 (org-agenda-list): Honor org-agenda-overriding-header'.
1521 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
1523 * org-list.el (org-toggle-checkbox): Improve cursor positioning
1524 after removing a checkbox.
1526 * org.el (org-show-entry): Make this work correctly also if it is
1527 the last entry in the file.
1528 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
1529 falling back to normal, default command.
1530 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
1531 item, call the checkbox toggler to get a box.
1533 * org-list.el (org-toggle-checkbox): Make double prefix set the
1535 (org-fix-bullet-type): Only replace bullet it it is changed.
1536 (org-renumber-ordered-list): Handle case when first item does not
1539 * org.el (org-add-log-setup): Fix positioning when
1540 `org-log-states-order-reversed' is nil.
1542 * org-clock.el (org-clock-in): Fix positioning when
1543 `org-log-states-order-reversed' is nil.
1544 (org-clock-find-position): Fix positioning when
1545 `org-log-states-order-reversed' is nil.
1547 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
1549 * org-clock.el (org-clock-into-drawer): Take default from
1550 `org-log-into-drawer'.
1551 (org-clock-find-position): Look for the correct drawer.
1553 * org.el (org-log-into-drawer): Renamed from
1554 `org-log-state-notes-into-drawer'.
1555 (org-log-state-notes-into-drawer): New variable alias.
1556 (org-add-log-setup): Make drawer name default to LOGBOOK, not
1558 (org-insert-property-drawer): Also skip LOGBOOK drawers.
1560 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
1562 * org-agenda.el (org-agenda): Fix docstring.
1564 * org.el ("org-plot"): Help loading org-plot.
1565 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
1566 (org-metadown-hook, org-shiftmetaleft-hook)
1567 (org-shiftmetaright-hook, org-shiftmetaup-hook)
1568 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
1569 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1570 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
1571 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
1573 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
1574 for selecting files with any (and even without) extension.
1576 * org.el (org-save-all-org-buffers): Also save id locations.
1577 (org-revert-all-org-buffers): Also load id locations.
1579 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
1580 * org.el (org-drawers): Add LOGBOOK to the default drawers.
1581 (org-log-state-notes-into-drawer): New option.
1582 (org-add-log-setup): Place the sate note marker into the drawer,
1583 create drawer when necessary.
1584 (org-refile-targets): Document special interpretation of LEVEL
1585 when odd-levels are used.
1587 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
1589 * org.el (org-store-log-note): Fix note indentation when adding
1590 notes to end of list.
1592 * org-exp.el (org-export-as-html): Add TODO keyword as extra
1593 class, so that each keyword can get special colors through CSS.
1595 * org-clock.el (org-clock-out): Add another nil for the previous
1596 state into the call to `org-add-log-setup'.
1598 * org.el (org-log-note-previous-state): New variable.
1599 (org-log-note-headings): New %S escape for old state.
1600 (org-todo): Call the note setup with the old state as an
1602 (org-add-note): Add another nil for the previous state into the
1603 call to `org-add-log-setup'.
1604 (org-add-log-setup): New argument PREV-STATE.
1605 (org-add-log-note): Handle new %S escape.
1606 (org-store-log-note): Handle new %S escape.
1608 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
1610 * org-clock.el (org-clock-find-position): Do not swallow an item
1611 less indented than the CLOCK line itself.
1612 (org-clock-in): Push markers to lin after the clock line.
1613 (org-clock-find-position): Handle values of
1614 `org-clock-into-drawer' smaller than 2.
1616 * org-exp.el (org-html-level-start): Add a CSS class to section
1618 (org-export-html-toplevel-hlevel): Better documentation of the
1619 influence of this variables on H levels and css classes in
1622 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
1624 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1625 timestamp and nottimestamp to the chooe menu.
1627 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
1628 (org-revert-all-org-buffers): New command.
1630 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
1632 * org.el (org-return): Implement `org-return-follows-link' in the
1633 function org-return. This is more robust than using the mouse
1635 (org-set-regexps-and-options): Match more general #+TODO lines.
1636 (org-make-options-regexp): New optional argument EXTRA, for an
1638 (org-tab-follows-link): Mark as deprecated.
1640 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
1642 * org-exp.el (org-export-preprocess-string): Remove clock lines
1643 earlier, so that they cannot cotribute to verbatim snippets.
1645 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
1647 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
1648 for finding drawers.
1649 (org-export-as-ascii, org-export-as-html): Count levels relative
1650 to the subtree header.
1651 (org-get-min-level): New optional argument OFFSET.
1652 (org-export): Make sure point is restored after popping up that
1655 * org.el (org-do-sort): Also take an inactive timestamp if no
1656 active one is found.
1658 * org-colview-xemacs.el (org-columns-capture-view): Copy before
1659 deleting duplicates.
1661 * org-colview.el (org-columns-capture-view): Copy before
1662 deleting duplicates.
1664 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
1665 text before first headline.
1667 * org.el (org-format-latex): Do not convert LaTeX fragments in
1670 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
1672 * org-exp.el (org-export-html-style-default): Use color values
1673 instead of names for XHTML validation.
1675 * org.el (org-get-scheduled-time, org-get-deadline-time): New
1677 (org-return-follows-link): Revert making this the default untile
1678 issues are resolved.
1680 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
1683 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
1685 * org.el (org-mode): Make dependence stuff work more reliably.
1686 (org-update-parent-todo-statistics): Fix bug with updating
1689 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
1690 ~ as verbatim delimiters.
1692 * org-exp.el (org-export-html-format-image): New argument
1694 (org-export-as-html): Pass par-open to
1695 `org-export-html-format-image'.
1697 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
1699 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
1700 (org-use-fast-todo-selection, org-tags-column): New default
1701 setting for variables, based on a poll what typical uses use.
1703 * org-agenda.el (org-agenda-sorting-strategy)
1704 (org-agenda-tags-column): New default setting for variables, based
1705 on a poll what typical uses use.
1707 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
1709 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
1710 blocked entries from setting the blocked tag.
1712 * org-exp.el (org-export-html-footnotes-section): Use a more
1713 consistent id for footnotes.
1715 * org-export-latex.el (org-export-latex-classes): Remove the
1716 a4paper option from the default styles.
1718 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
1720 * org.el (org-enforce-todo-checkbox-dependencies): New option.
1721 (org-block-todo-from-checkboxes): New function.
1722 (org-todo): Make tripple prefix arg circumvent blocking.
1724 * org-timer.el (org-timer): Provide the timer feature.
1726 * org.el (org-require-autoloaded-modules): Add a few more files to
1727 the list of autoloaded modules.
1729 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
1731 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
1733 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
1734 drawers that are unprotected.
1735 (org-export-html-format-image): Make sure inlined LaTeX fragment
1736 images remain inlined.
1738 * org.el (org-toggle-ordered-property): New function.
1739 (org-mode-map): Add a key for `org-toggle-ordered-property'.
1740 (org-org-menu): Add menu entries for TODO dependencies.
1742 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
1744 * org.el (org-default-properties): Add ORDERED to the default
1745 properties, to get completion support for it.
1747 * org-list.el (org-update-checkbox-count): Update more than one cookie.
1749 * org.el (org-update-parent-todo-statistics): Update more than one
1752 * org-agenda.el (org-agenda-get-todos): Start search from correct
1755 * org.el (org-fast-todo-selection): Make sure TODO selection does
1756 not change buffer position.
1758 * org-list.el (org-toggle-checkbox): Implement adding or removing
1759 checkboxes from line or region when called with a prefix
1762 * org-rmail.el (org-rmail-store-link): Protect the call to
1763 `rmail-narrow-to-non-pruned-header'.
1765 * org-clock.el (org-clock-special-range): Fix week display in
1768 * org-exp.el (org-get-current-options): Fix bug when in indirect
1771 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
1773 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
1774 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
1775 (org-agenda-dim-blocked-tasks): New function.
1777 * org.el (org-enforce-todo-dependencies): New option.
1778 (org-block-todo-from-children-or-siblings): New function.
1780 * org-faces.el (org-agenda-dimmed-todo-face): New face.
1782 * org.el (org-todo): Return correct state type even if the blocker
1784 (org-modifier-cursor-error): Renamed from
1785 `org-shiftcursor-error'.
1786 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1787 (org-shiftmetadown): Call `org-modifier-cursor-error'.
1789 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
1790 to get real errors from the blocker hook.
1792 * org.el (org-shiftselect-error, org-call-for-shift-select): New
1794 (org-set-visibility-according-to-property): Turn off the setting
1795 of `org-show-entry-below', to avoid overruling a FOLDED visibility
1798 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
1800 * org.el (org-support-shift-select): New option.
1801 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
1802 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
1803 selection outside contexts.
1805 * org-list.el (org-at-item-bullet-p): New function.
1807 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
1810 * org-footnote.el (org-footnote-normalize): Remove unnecessary
1812 (org-insert-footnote-reference-near-definition): Remove
1813 unnecessary let form.
1815 * org-export-latex.el (org-export-latex-first-lines): Add
1816 OPT-PLIST parameter.
1817 (org-export-as-latex): Call `org-export-latex-first-lines' with
1818 opt-plits parameter.
1819 (org-export-latex-preprocess): Remove unnecessary variables.
1821 * org-exp.el (org-infile-export-plist)
1822 (org-export-add-options-to-plist, org-export-kill-licensed-text)
1823 (org-export-remove-headline-metadata)
1824 (org-export-get-title-from-subtree, org-get-min-level)
1825 (org-html-do-expand): Remove innecessary let form.
1827 * org-colview-xemacs.el (org-columns-display-here): Remove
1828 unnecessary variables.
1830 * org-colview.el (org-columns-display-here): Remove unnecessary
1833 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
1836 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
1837 unnecessary variables.
1839 * org-agenda.el (org-search-view, org-agenda-get-blocks)
1840 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
1843 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
1844 (org-compact-display-after-subtree-move): Remove unnecessary
1846 (org-edit-fixed-width-region): Remove unnecessary variables.
1847 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
1848 (org-olpath-completing-read): Remove unnecessary variable.
1849 (org-auto-repeat-maybe): Remove unnecessary variable.
1850 (org-map-entries): Remove unnecessary variable.
1851 (org-buffer-property-keys, org-imenu-get-tree)
1852 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
1854 -----------------------------------------------------------------
1856 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
1857 * org-exp.el (org-export-remove-timestamps): Never remove
1858 timestamps from tables.
1860 * org-export-latex.el (org-export-latex-first-lines): Add more
1861 options to the preprocessing of the text before the first
1864 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
1866 * org-faces.el (org-clock-overlay): Make face compatible with
1869 * org.el (org-yank): Add property for delete-selection mode.
1871 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
1873 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
1876 * org-table.el (org-table-insert-hline): Fix typo in fuction call
1879 * org-exp.el (org-export-as-html): Remove the initial space from
1882 * org.el (org-scan-tags): Call
1883 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
1885 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
1886 customization groups.
1887 (org-agenda-tags-todo-honor-ignore-options): New option.
1888 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1890 (org-agenda-get-todos): Use
1891 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
1893 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
1895 * org-exp.el (org-export-format-source-code-or-example): Escape
1896 HTML characters also in examples that anre not treated with
1897 htmlize. Also, just switch to EXAMPLE processing if we do not
1898 have a good version of htmlize.
1900 * org-rmail.el: Fix copyright notice.
1902 * org.el (org-activate-footnote-links): Improve footnote link
1905 * org-footnote.el (org-footnote-normalize): Fix finding the end of
1906 a footnote definition at the end of the file.
1908 * org-table.el (org-table-get-specials): Add an imagined hline at
1909 the end of the table. This can be useful for references that want
1910 to go to the end of the table. Also fix bug when computing last
1911 row constants, in tables that do not start right at the right
1913 (org-table-eval-formula): Match and replace remove references.
1914 (org-table-formula-substitute-names): Make sure that names inside
1915 a "remote" call are left alone, the will be replaced later when
1916 the remote call is handled.
1917 (org-table-convert-refs-to-rc): Do not convert things that might
1918 look like a reference, but are really part of an ID or namei n a
1920 (org-table-get-remote-range): New function.
1922 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
1924 * org-faces.el (org-clock-overlay): Fix bug in face definition.
1926 * org-clock.el (org-clock-put-overlay): Use new face instead of
1927 `secondary-selection'.
1929 * org-faces.el (org-clock-overlay): New face.
1931 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
1933 * org-exp.el (org-get-current-options): Include the option for
1934 publishing time stamps.
1936 * org.el (org-toggle-heading): Renamed from
1937 `org-toggel-region-headings'.
1938 No longer needs a region defined, but will use it if there is one.
1939 (org-ctrl-c-star): Simplified, relying more on the internal
1940 workings of `org-toggle-heading'.
1941 (org-toggle-item): Renamed from `org-toggle-region-items'.
1942 No longer needs a region defined, but will use it if there is one.
1943 (org-ctrl-c-minus): Simplified, relying more on the inernal
1944 workings of `org-toggle-item'.
1946 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
1947 environment detection. Also, do real changes only in unprotected
1950 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
1952 * org-export-latex.el (org-export-latex-quotation-marks): Use
1953 `org-if-unprotected-1'.
1954 (org-export-latex-set-initial-vars): Check for class definition in
1957 * org-macs.el (org-if-unprotected-1): New macro.
1959 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
1961 * org-compat.el (org-count-lines): New function.
1963 * org-exp.el (org-export-format-source-code-or-example): Handle
1964 switches related to text areas.
1966 * org.el (org-activate-footnote-links): Don't allow match inside a
1969 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
1971 * org-export-latex.el (org-export-latex-links): Keep a relative
1972 path relative also after export.
1974 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
1976 * org.el (org-make-tags-matcher): Never use IDO for completing the
1977 tags matcher match string.
1978 (org-completing-read): Also remove the special biding for "?".
1980 * org-attach.el (org-attach-allow-inheritance): New option.
1981 (org-attach-inherited): New variable.
1982 (org-attach-dir): Handle properties related to the attachment
1984 (org-attach-check-absolute-path): New function.
1985 (org-attach-set-directory, org-attach-set-inherit): New commands.
1986 (org-attach): Accommodate the new commands in the dispatcher.
1988 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
1990 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
1991 `window-full-width-p'.
1993 * org-exp.el (org-export-as-html): Only check for images files
1994 that really can be inlined
1996 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
1997 list of extensions to be a parameter.
1999 * org-exp.el (org-export-html-inline-image-extensions): New
2002 * org-agenda.el (org-prepare-agenda): Use
2003 `org-agenda-block-separator'.
2004 (org-agenda-block-separator): New option.
2006 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
2008 * org-export-latex.el (org-export-latex-tables): Call
2009 `org-table-clean-before-export' with the new optional argument.
2011 * org-exp.el (org-table-clean-before-export): New optional
2012 parameter MAYBE-QUOTED, allows for quoted characters like \# in
2015 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
2017 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2020 * org-colview.el (org-colview-construct-allowed-dates): Better
2021 error catching when a date/time property does not have allowed
2024 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2025 Better error catching when a date/time property does not have
2026 allowed values defined.
2028 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
2030 * org.el (org-map-entries): Restore point and restriction after
2033 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
2035 * org.el (org-time=, org-time<, org-time<=, org-time>)
2036 (org-time>=, org-time<>): Make sure both values are dates.
2038 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
2040 * org-archive.el (org-extract-archive-heading): Allow %s for file
2041 name also in achive location heading.
2043 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
2045 * org-archive.el (org-add-archive-files): Uniquify the list before
2048 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
2050 * org-compat.el (org-fit-window-to-buffer): Use
2051 `window-full-width-p'.
2053 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2054 space after the colon in short examples.
2056 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2057 enforce a space after the colon. However, we also allow lines
2058 that are *only* a colon.
2059 (org-export-as-html): Enforce the space after the colon in short
2061 (org-export-preprocess-string): Do the colon example protection
2063 (org-export-remove-timestamps): Do not check for protection at the
2066 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
2068 * org.el (org-format-latex-options): Add new matcher for single
2069 letters between dollars.
2070 (org-get-header): Function removed.
2071 (org-heading-components): New function.
2073 * org-exp.el (org-export-define-heading-targets): Record ID's also
2074 as alternative targets.
2075 (org-export-as-html): Interpret "id:" links to other files by
2076 preserving the relative path.
2078 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2081 * org-exp.el (org-export-normalize-links): Protect the main link,
2082 to avoid special character processing.
2084 * org-export-latex.el (org-export-latex-special-keyword-regexp):
2086 (org-export-latex-special-string-regexps): Variable removed.
2087 (org-export-latex-keywords): Use the new regexp.
2089 * org-exp.el (org-export-handle-include-files): Fetch switches and
2090 put them into the BEGIN statement.
2092 * org-timer.el (org-timer-mode-line-string): New variable.
2094 * org-clock.el (org-clock-mode-line-map): Renamed from
2095 `org-clock-mode-map'.
2096 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2097 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2098 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2099 (org-clock-remove-overlays): Renamed from
2100 `org-remove-clock-overlays'.
2102 * org-timer.el (org-timer-pause-or-continue): Implement stopping
2103 and mode line display.
2104 (org-timer-stop): New command.
2105 (org-timer-seconds): Return correct time when timer is paused.
2106 (org-timer-mode-line-timer): New variable.
2107 (org-timer-set-mode-line, org-timer-update-mode-line): New
2110 * org.el (org-insert-heading): Handle new value `auto' for
2111 `org-blank-before-new-entry'.
2112 (org-org-menu): Add new items for timer functions.
2114 * org-list.el (org-insert-item): Handle new value `auto' for
2115 `org-blank-before-new-entry'.
2117 * org.el (org-blank-before-new-entry): New value `auto', made
2120 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
2122 * org-exp.el (org-export-normalize-links): If the link is also
2123 used as the description, protect the description.
2125 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
2127 * org.el (org-closest-date): Fix bug with yearly repeats, in
2128 combination with preference of the past as it is used for deadline
2129 and scheduling search.
2131 * org-exp.el (org-html-handle-time-stamps): No longer check for
2132 the `org-export-with-timestamps' option, because the preprocesser
2133 has taken care of this already.
2135 * org.el (org-entry-properties): Catch the case when this is
2136 called in a non-org-mode file.
2138 * org-export-latex.el (org-export-latex-remove-from-headlines):
2139 Variable made obsolete, also LaTeX export now uses the standard
2141 (org-export-as-latex): Add the timestamps parameter to the
2142 preprocessor parameter list.
2143 (org-export-latex-content): Export the remaining keywords without
2144 considering to remove them.
2145 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2146 Use bold font instead of tt font for the keywords.
2147 (org-export-latex-fontify-headline): Format headlines, assuming
2148 that all keywords still present should be published.
2149 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2150 publish what ever remains of the time stamps.
2151 (org-export-latex-list-parameters): New option.
2152 (org-export-latex-lists): Pass additional parameters to the list
2155 * org-exp.el (org-export-preprocess-string): Remove clock lines
2156 and timestamps already in the preprocesor.
2157 (org-export-remove-timestamps, org-export-remove-clock-lines): New
2159 (org-export-as-ascii, org-export-as-html): Add the timestamps
2160 parameter to the preprocessor parameter list.
2162 * org-list.el (org-list-parse-list): Parse for checkboxes.
2163 (org-list-to-generic): Introduce and handle new parameters :cbon
2165 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2166 optional parameter PARAMS.
2168 * org-export-latex.el (org-export-latex-special-chars): Fix
2169 problems with interpreting dollar signs.
2170 (org-inside-latex-math-p): New function.
2171 (org-export-latex-preprocess): Protect all the math fragments.
2173 * org.el (org-latex-regexps): Allow a dash after a dollar.
2175 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2178 * org-agenda.el (org-run-agenda-series): Have series options set
2179 when finalizing the agenda.
2181 * org-exp.el (org-export-format-source-code-or-example): Protect
2182 the converted examples.
2184 * org.el (org-set-regexps-and-options): Fix the regexp
2185 `org-complex-heading-regexp'.
2187 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
2189 * org.el (org-edit-src-get-label-format): New function.
2190 (org-coderef-label-format): New option.
2191 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2192 a label format specification and make sure it is used in the edit
2194 (org-edit-src-get-label-format): New function.
2195 (org-store-link): Handle new coderef formats.
2196 (org-link-search): Handle new coderef formats.
2198 * org-footnote.el (org-footnote-create-definition)
2199 (org-footnote-goto-local-insertion-point): Make footnote insertion
2200 work correctly when the "Footnotes" headline is the last line in
2203 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2206 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
2208 * org-w3m.el (org-w3m): New customization group.
2209 (org-w3m-deactivate-mark): New option.
2210 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2213 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
2215 * org.el (org-set-font-lock-defaults): Trigger footnote
2217 (org-activate-footnote-links): New function.
2218 (org-activate-links): New entry `footnote'.
2220 * org-faces.el (org-footnote): New face.
2222 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
2224 * org-macs.el (org-re): Handle the [:word:] class.
2226 * org-exp.el (org-export-preprocess-string): Call
2227 `org-export-protect-colon-examples'.
2228 (org-export-protect-colon-examples): Renamed from
2229 `org-export-protect-examples', and scope limited to lines starting
2232 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
2234 * org-exp.el (org-export-preprocess-string): Move the preprocess
2235 hook to after turning on Org-mode.
2236 (org-export-preprocess-after-include-files-hook)
2237 (org-export-preprocess-after-tree-selection-hook)
2238 (org-export-preprocess-before-backend-specifics-hook)
2239 (org-export-preprocess-final-hook): New hooks.
2240 (org-export-preprocess-string): Run the new hooks.
2242 * org.el (org-ctrl-c-minus): Fix indentation for new items.
2244 * org-footnote.el: New file.
2246 * org.el (org-footnote): Require footnote code.
2247 (org-startup-options): Add new footnote options.
2248 (org-mode-map): New keybindig for footnotes.
2249 (org-ctrl-c-ctrl-c): Add function at footnotes.
2250 (org-org-menu): New menu entries for footnotes.
2252 * org-export-latex.el (org-export-as-latex): Pass footnote
2253 variable to preprocessor.
2254 (org-export-latex-preprocess): Treat multiple references to a
2257 * org-exp.el (org-export-preprocess-string): Call
2258 `org-footnote-normalize'.
2259 (org-export-as-ascii, org-export-as-html): Pass footnote variable
2261 (org-export-as-html): Treat multiple references to a footnote.
2263 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
2265 * org-export-latex.el (org-export-latex-links): Handle coderef
2268 * org.el (org-bracket-link-analytic-regexp++): New variable.
2269 (org-make-link-regexps): Initialize
2270 `org-bracket-link-analytic-regexp++'.
2271 (org-store-link): Implement special case in edit-src buffer.
2272 (org-insert-link): No use of ide to insert stored links.
2273 (org-link-search): Implement special case for coderefs.
2275 * org-exp.el (org-export-html-scripts): New constant.
2276 (org-export-html-style-default): Add a new style for highlighted
2278 (org-export-code-refs): New variable.
2279 (org-export-preprocess-string): Initialize `org-export-code-refs'.
2280 Call `org-export-replace-src-segments-and-examples'
2281 No longer call `org-export-protect-examples'.
2282 (org-export-target-internal-links): Take care of coderef targets.
2283 (org-export-last-code-line-counter-value): New variable.
2284 (org-export-replace-src-segments-and-examples): Renamed from
2285 `org-export-replace-src-segments', and modified.
2286 (org-export-format-source-code-or-example): Renamed from
2287 `org-export-format-source-code'.
2288 (org-export-number-lines): New function.
2289 (org-export-as-ascii, org-export-as-html): Handle coderef links.
2291 --------------------------------------------------------------------------
2293 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
2295 * org-remember.el (org-remember-handler): Safer way to get a new
2296 buffer accessing the target file.
2298 * org.el (org-refile-get-location): Handle case of current buffer
2299 not having a file associated with it.
2301 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
2303 * org-table.el (org-table-get-formula): Only ask to overwrite
2304 field formula if there really is one.
2306 * org-id.el (org-id-find): Allow the ID to be a symbol or a
2307 number, by converting these to a string.
2309 * org-colview.el (org-dblock-write:columnview): Allow ID to be
2310 located in a different file.
2312 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2315 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
2317 * org.el (org-completion-use-ido): Enhance docstring of
2318 `org-completion-use-ido'.
2320 * org-export-latex.el (org-export-latex-make-header): Double the %
2321 in the time stamp format.
2322 (org-export-latex-special-chars): Handle case where there is no
2325 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
2327 * org.el (org-get-refile-targets, org-refile-get-location): Use
2328 expanded file name to improve comparison.
2330 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
2332 * org.el (org-scan-tags): Rescan for tags, to get the correct
2333 upcase/downcase stuff. This slows things down for now, but it
2335 (org-mode): Make sure the tag-faces regexp is initialized.
2337 * org-export-latex.el (org-export-latex-links): Fix bug with
2340 * org-table.el (org-table-get-specials): Set
2341 `org-table-current-last-data-line'.
2342 (org-table-current-last-data-line): New variable.
2343 (org-table-insert-column, org-table-delete-column)
2344 (org-table-move-column, org-table-fix-formulas): Call
2345 `org-table-fix-formulas' a second time to fix the $LR references.
2346 (org-table-get-specials): Add the $LR references to the tables.
2347 (org-table-get-formula): Do not offer last-row names as LHS of
2350 * org.el (org-store-link): Capture link description from
2351 `org-id-store-link'.
2353 * org-exp.el (org-export-html-format-image): Add the / to the end
2355 (org-export-format-source-code): Surround example by empty lines,
2356 to make sure it will not be inside a paragraph.
2358 * org.el (org-ido-switchb): New function.
2360 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
2362 * org-agenda.el (org-agenda-show): New prefix argument
2365 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2368 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2369 `org-agenda-change-all-lines'.
2370 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2371 tags are now retrieved locally.
2373 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
2375 * org.el (org-get-outline-path): Fix bug if level is not given.
2376 (org-org-menu): Do not quote function in menu vector.
2378 * org-agenda.el (org-finalize-agenda): Fix typo with variable
2381 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
2383 * org.el (org-refile): Avoid refiling to within the region to be
2386 * org-export-latex.el (org-export-latex-special-chars): Replace
2387 special characters also in tables.
2389 * org-agenda.el (org-agenda-change-all-lines): New argument
2391 (org-agenda-set-tags): Cet the new tags and pass them to
2392 `org-format-agenda-item'.
2394 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
2396 * org-export-latex.el (org-export-latex-classes): Add longable as
2397 a default package to all classes.
2398 (org-export-latex-tables): Handle the longtable attribute and the
2401 * org-table.el (orgtbl-to-generic): Handle tables that start with
2404 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2405 \verb for colde-like snippets.
2406 (org-export-as-latex): Fix issues with region export.
2408 * org.el (org-up-heading-safe): Speed up function by using a
2409 direct regexp search.
2410 (org-olpa): New variable.
2411 (org-get-outline-path): Speed-up path constructions in cases where
2412 this is possible because the entire hierarchy is scanned anyway.
2413 (org-refile-get-location): Don't compare the truenames of files,
2415 (org-goto-max-level): New option.
2416 (org-goto): Use `org-goto-max-level'.
2418 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
2420 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2421 Strip angle brackets from message-ids in the former and don't do
2423 (org-gnus-follow-link): Open summary reliable, even if the last
2424 messages were deleted, and handle empty groups, too.
2426 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
2428 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2429 instead of \texttt for the =...= and ~===~ emphasis environments.
2430 (org-export-as-latex): Remove any old :org-license-to-kill text
2432 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2433 (org-export-latex-make-header): Add some hard space after the
2435 (org-export-latex-first-lines): Accept RBEG argument. Mark
2436 exported text so that it will be excuded in further steps.
2438 * org-table.el (org-table-get-specials): Make @0 reference the
2439 last line in a table.
2440 (org-table-recalculate): Improve docstring.
2442 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
2444 * org.el (org-log-done): Fix docstring.
2446 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
2448 * org-exp.el (org-export-html-format-image): Fix bugs.
2450 * org-export-latex.el (org-export-latex-tables)
2451 (org-export-latex-links): Implement attribute, label, and caption
2454 * org-exp.el (org-export-html-style-default): Add style
2455 definitions for the figure div.
2456 (org-export-preprocess-string, org-export-as-html): Implement
2457 attribute, label, and caption handling.
2458 (org-export-attach-captions-and-attributes): New function.
2459 (org-export-html-format-image): New function.
2460 (org-format-org-table-html): Implement attribute, label, and
2463 * org.el (org-find-text-property-in-string): New function.
2464 (org-extract-attributes): Use the property org-attr instead of
2465 org-attrobutes, because this property is now set with the #+ATTR
2468 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
2470 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2471 the case that FROM is nil.
2473 * org.el (org-before-first-heading-p): New function.
2475 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
2477 * org-exp.el (org-export-as-html): Do not add a space before
2478 enforces line breaks.
2479 (org-export-as-html): Close paragraph before blockquote and verse
2482 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
2484 * org-id.el (org-id-locations-file): Wrap file name with
2485 `convert-standard-filename'.
2486 (org-id-files): New variable.
2487 (org-id-use-hash): New option.
2488 (org-id-update-id-locations): Also search in all files current
2489 listed in `org-id-files'. Convert the resulting alist to a hash
2490 if the user customation says so.
2491 (org-id-locations-save): Handle he case if `org-id-locations' is a
2493 (org-id-locations-load): Convert the alist to a hash.
2494 (org-id-add-location): Handle the hast case.
2495 (kill-emacs-hook): Make sure id locations are saved when Emacs is
2497 (org-id-hash-to-alist, org-id-alist-to-hash)
2498 (org-id-paste-tracker): New functions.
2500 -------------------------------------------------------------------------
2502 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
2504 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
2505 bindings of calendar variables.
2507 * org-table.el (org-table-find-row-type): Renamed from
2508 `org-find-row-type'.
2509 (org-table-rewrite-old-row-references): Renamed from
2510 `org-rewrite-old-row-references'.
2511 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
2512 (org-table-cleanup-narrow-column-properties): Renamed from
2513 `org-cleanup-narrow-column-properties'.
2515 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
2517 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
2518 for better error messages.
2519 (org-table-get-descriptor-line): Supply the new arguments to
2520 `org-find-row-type'.
2521 (org-table-error-on-row-ref-crossing-hline): New option.
2523 * org.el (org-target-link-regexp): Make buffer-local.
2524 (org-move-subtree-down): Fix bug with trees at beginning of
2527 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
2529 * org-faces.el (org-set-tag-faces): New function.
2530 (org-tags-special-faces-re): New variable.
2532 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
2534 * org-faces.el (org-tag-faces): New option.
2535 (org-tag): Mention `org-tag-faces' in the docstring.
2537 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
2539 * org-exp.el (org-export-html-style-default): Implement new
2542 * org-jsinfo.el (org-infojs-template): Implement new quoting.
2544 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
2545 command to the `w3m-minor-mode-map'.
2547 * org-archive.el (org-archive-to-archive-sibling): Protect
2548 `this-command' to avoid appending kills during archiving.
2550 * org-exp.el (org-export-with-priority): New variable.
2551 (org-export-add-options-to-plist): Use `org-export-plist-vars'
2552 instead of internal list of strings and properties.
2553 (org-print-icalendar-entries): Retrieve the location property with
2556 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
2558 * org-exp.el (org-export-with-todo-keywords): New option.
2559 (org-export-plist-vars): Include also the keys for the #+OPTIONS
2561 (org-default-export-plist, org-export-add-options-to-plist)
2562 (org-export-as-ascii, org-export-as-html): Use the new structure
2563 of `org-export-plist-vars'.
2565 * org.el (org-map-entries): Return all values.
2567 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
2569 * org.el (org-matcher-time): Recognize more special values.
2571 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
2573 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
2575 * org.el (org-tags-exclude-from-inheritance): New option.
2576 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
2577 `org-tags-exclude-from-inheritance'.
2579 * org-agenda.el (org-agenda-show-inherited-tags): New option.
2580 (org-format-agenda-item): Add inherited tags to the agenda line
2581 string, and make sure that properties are kept when downcasing the
2583 (org-agenda-add-inherited-tags): New function.
2584 (org-downcase-keep-props): New function.
2586 * org.el (org-scan-tags): Mark inherited tags with a text
2588 (org-get-tags-at): Mark inherited tags with a text property.
2589 (org-add-prop-inherited): New function.
2591 * org-agenda.el (org-agenda-add-inherited-tags): New function.
2592 (org-agenda-show-inherited-tags): New option.
2594 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
2596 * org.el (org-modules): Add org-w3m to the default modules.
2598 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
2600 (orgtabl-create-or-convert-from-region): New command.
2602 * org-exp.el (org-export-as-ascii): Remove the handling of
2604 (org-export-ascii-preprocess): Handle targets already in this
2607 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
2609 * org-timer.el (org-timer-start-time): Define this variable.
2610 (org-timer-item): Make argument optional.
2612 * org-list.el (org-insert-item): Automatically insert a timer item
2613 if the current list is a timer list.
2615 * org-timer.el: New file.
2617 * org-publish.el (org-publish-org-index): Only exclude the index
2618 file in the main directory from being added to the site-map.
2619 (org-publish-get-project-from-filename): If the current project is
2620 a component, start publishing from the parent project.
2622 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
2624 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
2626 * org-publish.el (org-publish-org-index): Improve removal of
2629 * org-agenda.el (org-get-closed): Re-apply changes
2630 accidentially overwritten by last commit to Emacs.
2632 * org.el (org-outline-path-complete-in-steps): New option.
2633 (org-refile-get-location): Honor
2634 `org-outline-path-complete-in-steps'.
2635 (org-agenda-change-all-lines, org-tags-sparse-tree)
2636 (org-time-string-to-absolute, org-small-year-to-year)
2637 (org-link-escape): Re-apply changes accidentially overwritten
2638 by last commit to Emacs.
2640 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
2642 * org-clock.el (org-dblock-write:clocktable): Make sure the
2643 clocktable sees the first line.
2644 (org-clock-in): Warn if the clock cannot be resumed.
2646 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
2648 * org.el (org-open-at-point): Fix mixup about interactive and
2649 non-interactive elisp links.
2651 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
2653 * org-exp.el (org-export-preprocess-string): Allow one comment
2654 line before the first headline to always be included. This is
2655 to not miss a commented target.
2657 * org-mouse.el (org-mouse-insert-item): Call
2658 `org-indent-to-column' instead of `indent-to', for XEmacs
2661 * org.el (org-refile-targets): Fix customize definition so
2662 that it works also in XEmacs.
2663 (org-fixup-indentation): Call `org-indent-to-column' instead
2664 of `indent-to', for XEmacs compatibility.
2666 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
2668 * org-mew.el (org-mew-store-link): Get the correct case folder
2669 for refiled messages.
2671 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
2673 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
2674 line break indicators.
2676 * org.el (org-ido-completing-read): Remove the "i:" prefix for
2677 ido-completion propts.
2679 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
2681 * org-remember.el (org-remember-apply-template): Use
2682 `org-substring-no-properties'.
2684 * org-compat.el (org-substring-no-properties): New function.
2686 * org-remember.el (org-remember-apply-template): Use
2687 `org-substring-no-properties' for compatibility.
2689 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
2691 (org-fix-bullet-type): respect
2692 `org-list-two-spaces-after-bullet-regexp'.
2694 * org-clock.el (org-clock-load): Clean up the code.
2696 * org.el (org-adaptive-fill-function): Allow two spaces after
2697 "1." as a list bullet.
2699 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
2701 * org-clock.el (org-clock-save, org-clock-load): Check for
2702 live buffers, existing files, and buffer file names to ensure
2703 consistent information.
2704 (org-clock-persist): Make `clock' a special value of this
2705 variable, and improve docstring.
2707 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
2708 (org-get-string-indentation): Adapt indentation when the bullet
2711 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
2713 * org-remember.el (org-remember-finalize): Make interactive.
2714 (org-remember-kill): New command.
2715 (org-remember-finish-immediately): Call `org-remember-finalize'
2717 (org-remember-finalize): Make `org-remember-finalize' an interactive
2720 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
2722 * org-remember.el (org-remember-apply-template): No ido completion
2723 for free prompts in remember templates.
2724 (org-remember-before-finalize-hook): New hook.
2725 (org-remember-mode): New minor mode.
2726 (org-remember-apply-template): Turn on `org-remember-mode'.
2728 * org-id.el (org-id-add-location): Avoid error when no file is
2731 * org-remember.el (org-remember-apply-template): Fix the way how
2732 the list of allowed properties is retrieved from the target file.
2734 * org.el (org-insert-link): Improve file link matching.
2736 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
2738 * org-colview.el (org-columns-display-here): New argument
2739 DATELINE, to trigger using the new face.
2740 (org-agenda-colview-summarize): Call `org-columns-display-here'
2741 with the new argument.
2743 * org-faces.el (org-agenda-column-dateline): New face.
2745 * org-publish.el (org-publish-org-index): Use index-title at page
2746 title, not as section.
2748 * org-exp.el (org-export-html-format-desc): Respect the
2749 org-protect property.
2750 (org-export-as-html): Protect image specifiers that are in the
2751 description part of a link.
2753 * org.el (org-sort-entries-or-items, org-completing-read)
2754 (org-refile-get-location, org-olpath-completing-read, org-todo)
2755 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
2756 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
2757 (org-set-property, org-delete-property)
2758 (org-delete-property-globally): Use `org-ido-completing-read'.
2760 * org-remember.el (org-remember-apply-template): Use
2761 `org-ido-completing-read'.
2763 * org-publish.el (org-publish): Use `org-ido-completing-read'.
2765 * org-colview.el (org-columns-edit-value, org-columns-new)
2766 (org-insert-columns-dblock): Use `org-ido-completing-read'.
2768 * org-colview-xemacs.el (org-columns-edit-value)
2769 (org-columns-new, org-insert-columns-dblock): Use
2770 `org-ido-completing-read'.
2772 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2773 `org-ido-completing-read'.
2775 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
2776 `org-ido-completing-read'.
2778 * org.el (org-time-today): New function.
2779 (org-matcher-time): Use `org-time-today'. Add special treatment
2780 for "<tomorrow>" and "<yesterday>".
2781 (org-ido-completing-read): New function.
2782 (org-completion-use-ido): New option.
2784 * org-exp.el (org-export-format-source-code): Fix bug in require
2786 (org-export-target-internal-links): Fix bug in search for text
2789 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
2791 * org-export-latex.el (org-export-latex-subcontent): Interprete
2792 target aliases as additonal labels.
2794 * org-exp.el (org-export-target-aliases): New variable.
2795 (org-export-preprocess-string)
2796 (org-export-handle-invisible-targets): Fill the alias alist.
2797 (org-export-as-html): Remove the from the anchor, and also
2799 (org-html-level-start): Insert the target aliases as additonal
2802 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
2805 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2807 * org.el (org-open-at-mouse): Ensure correct link abbreviations
2808 when following a link with the mouse from the agenda.
2810 * org-exp.el (org-export-as-html): Avoid lone </div> when no
2811 headlines are created.
2813 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org-exp.el (org-export-preprocess-string): Reorder so that we
2816 can still see ID properties when we collect targets.
2817 (org-export-target-internal-links): Also store targets for ID's.
2819 * org.el (org-link-translation-function): New option.
2820 (org-open-at-point): Call `org-link-translation-function' if
2822 (org-translate-link): New function.
2823 (org-translate-link-from-planner): New function.
2824 (org-open-at-point): Allow interactive commands in elisp links.
2826 * org-exp.el (org-icalendar-cleanup-string): Restore the old
2827 iCalendar quoting. The new one seems to caus problems with
2830 * org.el (org-yank): Set `this-command' to `yank', so that
2831 `yank-pop' will work.
2833 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2835 * org-id.el (org-id-search-archives): New option.
2837 * org.el (org-link-to-org-use-id): New option.
2838 (org-store-link): Use `org-link-to-org-use-id'.
2839 (org-id): Make org-id.el a standard component.
2841 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2843 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
2844 hexified version of the tag.
2846 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
2847 compliance as far as quoting is concerned.
2849 * org-vm.el (org-vm-follow-link): Require `vm-search'.
2851 * org.el (org-up-heading-safe, org-forward-same-level): Always
2852 call `org-back-to-heading' instead of `outline-back-to-heading'.
2853 (org-back-to-heading): New wrapper around outline-back-to-heading,
2854 with a useful error message telling where the error happened.
2856 * org-list.el (org-update-checkbox-count): Always call
2857 `org-back-to-heading' instead of `outline-back-to-heading'.
2859 * org-exp.el (org-export-as-html): Make sure that each <img> tag
2860 has an `alt' attribute, to ensure XHTML validation.
2862 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
2864 * org-publish.el (org-publish-attachment): Allow publishing to
2865 overwrite attachment files.
2867 * org-agenda.el (org-agenda-timerange-leaders): New option.
2868 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
2870 * org.el (org-edit-src-exit): Untabify ASCII image before
2884 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
2886 * org.el (org-yank): Make any prefix force normal yanking.
2887 Suppress folding if text would be swallowed into a folded
2889 (org-yank-folded-subtrees, org-yank): Docstring updates.
2891 * org-agenda.el (org-agenda-compare-effort): Treat no effort
2894 * org-exp.el (org-export-language-setup): Add Catalan and
2895 Esperanto language entries.
2897 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
2899 * org.el (org-refile): Allow refiling of entire regions.
2901 * org-clock.el (org-clock-time%): New function.
2903 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
2904 retrieve property values.
2906 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
2908 * org-agenda.el (org-agenda-list): Handle the value `only' of
2909 org-agenda-show-log'.
2910 (org-agenda-log-mode): Interpret a double prefix arg.
2912 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
2914 * org-exp.el (org-export-html-footnotes-section): New variable.
2915 (org-export-as-html): Use `org-export-html-footnotes-section' to
2916 insert the footnotes.
2917 (org-export-language-setup): Add "Footnotes" to language words.
2919 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
2921 * org.el (org-yank): Fix bug when not inserting a subtree.
2923 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
2925 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
2926 instead of `vm-beginning-of-message'.
2928 * org.el (org-make-link-regexps): Make sure that links to gnus can
2931 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
2933 * org-attach.el (org-attach-dir): Remove duplicate ID creation
2936 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
2939 * org.el (org-link-abbrev-alist): Improve customization type.
2941 * org-attach.el (org-attach-expand-link, org-attach-expand): New
2944 * org-agenda.el (org-agenda-get-progress): Renamed from
2945 `org-get-closed'. Implement searching for state changes as well.
2946 (org-agenda-log-mode-items): New option.
2947 (org-agenda-log-mode): New option prefix argument, interpreted as
2948 request to show all possible progress info.
2949 (org-agenda-get-day-entries): Call `org-get-progress' instead of
2951 (org-agenda-set-mode-name): Handle the more complex log mode
2953 (org-get-closed): New alias, pointing to `org-get-progress'.
2955 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
2957 * org.el (org-file-apps-defaults-gnu)
2958 (org-file-apps-defaults-macosx)
2959 (org-file-apps-defaults-windowsnt): Add an entry defining the
2961 (org-file-apps): Allow `system' as key and value.
2962 (org-open-at-point): Explain the effect of a double prefix arg.
2963 (org-open-file): If the argument `in-emacs' is (16),
2964 i.e. corresponding to a double prefix argument, try to open the
2967 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
2969 * org.el (org-insert-link): Abbreviate absolute files names in
2970 links. Also, fix a bug in which the double C-u prefix would not
2973 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
2975 * org.el (org-insert-heading): If buffer does not end with a
2976 newline, add one if necessary to insert headline correctly.
2978 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
2979 paragraphs, not inside.
2981 * org.el (org-todo): Quote
2982 `org-agenda-headline-snapshot-before-repeat'.
2984 * org-exp.el (org-export-as-html): Fully process link descriptions.
2985 (org-export-html-format-desc): New function.
2986 (org-export-as-html): Collect footnotes into the correct basket.
2987 (org-html-protect): No longer protect quotations marks here, this
2990 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
2993 * org-compat.el (org-fit-window-to-buffer): New function (not
2994 really, a preliminary and incomplete version was present earlier,
2997 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
2998 `org-fit-window-to-buffer'.
3000 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3002 * org-agenda.el (org-agenda-get-restriction-and-command)
3003 (org-fit-agenda-window, org-agenda-convert-date): Use
3004 `org-fit-window-to-buffer'.
3006 * org-exp.el (org-export-as-html): Process href links through
3007 `org-export-html-format-href'.
3008 (org-export-html-format-href): New function.
3010 * org-agenda.el (org-agenda-todo): Update only the current
3011 headline if this is a repeated TODO, marked done for today.
3012 (org-agenda-change-all-lines): New argument JUST-THIS, to change
3013 only the current line.
3015 * org.el (org-todo): Take a snapshot of the headline if the
3016 repeater might change it.
3018 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3020 * org-publish.el (org-publish-find-title): Remove buffers visited
3021 only for extracting the title.
3023 * org-exp.el (org-export-html-style)
3024 (org-export-html-style-default): Mark style definitions as
3027 * org-publish.el (org-publish-validate-link): Function
3030 2008-11-02 Charles Sebold <csebold@gmail.com>
3032 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3034 (org-plot-quote-timestamp-field): New function.
3035 (org-plot-quote-tsv-field): Call timestamp field function when
3036 necessary rather than just quoting as a string.
3037 (org-plot/gnuplot-to-data): Pass in timefmt property.
3038 (org-plot/gnuplot-script): Supports timefmt property.
3039 (org-plot/gnuplot): Checks for timestamp column before checking
3040 for text index column.
3042 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3044 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3046 * org-publish.el (org-publish-org-index): Create a section in the
3048 (org-publish-org-index): Stop linking to directories.
3050 * org.el (org-emphasis-alist): Use span instead of <u> to
3053 * org-exp.el (org-export-as-html): Make sure <p> is closed before
3056 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
3058 * org-jsinfo.el (org-infojs-template): Remove language attribute
3061 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
3063 * org-agenda.el (org-agenda-remove-marked-text): New function.
3064 (org-agenda-mark-filtered-text)
3065 (org-agenda-unmark-filtered-text): New functions.
3066 (org-write-agenda): Remove fltered text.
3068 * org.el (org-make-tags-matcher): Give access to TODO "property"
3069 without speed penalty.
3071 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
3073 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3075 (org-store-link-props): Make sure adding to the plist works
3078 * org-gnus.el (org-gnus-no-new-news): New function.
3079 (org-gnus-follow-link): Allow the article ID to be a message-id,
3080 in addition to allowing article numbers. Message IDs make much
3082 (org-gnus-store-link): Use message-id to create link.
3084 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
3086 * org.el (org-emphasize): Reverse the selection array.
3087 (org-emphasis-alist): Set <code> tags for the verbatim
3090 * org-remember.el (org-remember-handler): Fix bug with
3091 prefix-related changing of the note storage target.
3093 * org-exp.el (org-print-icalendar-entries): Make the exported
3094 priorities compatible with RFC 2445.
3096 * org-clock.el (org-clock-save): Insert time stamp without
3097 dependence on time-stamp.el.
3099 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
3101 * org.el ("saveplace"): If saveplace puts point into an invisible
3102 location, make it visible.
3103 (org-make-tags-matcher): Allow inactive time stamps in time
3105 (org-yank-adjusted-subtrees): New option.
3106 (org-yank): Incorporate adjusting trees.
3107 (org-paste-subtree): New argument FOR-YANK which will cause
3108 insertion at point without backing up over white lines, and leave
3109 point at the end of the inserted text. Also if the cursor is
3110 at the beginning of a headline, use the same level or the inserted
3113 * org-publish.el (org-publish-get-base-files-1): Deal correctly
3114 with broken symlinks
3116 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
3118 * org-exp.el (org-export-select-tags, org-get-current-options):
3121 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
3123 * org-agenda.el (org-format-agenda-item)
3124 (org-agenda-filter-make-matcher): Make sure tags are stored and
3127 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
3129 * org.el (org-insert-todo-heading): Fix bug with force-heading
3132 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
3134 * org-clock.el (org-clock-in-resume): Add a custom option to
3135 toggle starting the clock from an open clock line.
3136 (org-clock-in): When clocking in to an entry, if
3137 `org-clock-in-resume' is set, check if the first clock line is
3138 open and if so, start the clock from the time in the clock line.
3139 (org-clock-persist): Add a custom option to toggle clock
3141 (org-clock-persist-query-save): Add a custom option to toggle
3142 asking the user if they want to save the running clock when
3144 (org-clock-persist-query-resume): Add a custom option to toggle
3145 asking the user if they want to resume the saved clock when Emacs
3147 (org-clock-save): Add a function to save clock data.
3148 This includes the contents of `org-clock-history' and the buffer
3149 and position of the currently clocked task, if any.
3150 (org-clock-load): Add a function to load clock data.
3151 This populates `org-clock-history', and resumes the saved clocked
3152 task if there is one.
3153 (org-clock-persistence-insinuate): Add a method to set up the
3154 hooks for clock persistence.
3156 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
3158 * org-exp.el (org-export-as-ascii): Handle the case that we are
3159 publishing from an indirect buffer.
3161 * org-table.el (org-table-copy-down): Fix bug with time stamp
3164 * org-mouse.el (org-mouse-features): New option.
3165 (org-mode-hook): Turn on features depending on
3166 `org-mouse-features'.
3168 * org.el (org-insert-heading-respect-content): Force heading
3170 (org-insert-heading): keep the folding state of the heading before
3173 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3175 * org-archive.el (org-archive-to-archive-sibling): Handle top
3176 level headlines better.
3178 2008-10-21 Bastien Guerry <bzg@altern.org>
3180 * org-export-latex.el (org-export-latex-classes): Added
3181 \usepackage{graphicx} to the default list of packages.
3183 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3185 * org-agenda.el (org-agenda-filter): Renamed from
3186 `org-agenda-filter-tags'.
3188 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
3190 * org.el (org-entry-properties): Add CATEGORY property, iven if it
3191 is not defined as a property in this entry.
3192 (org-add-log-note): Mask prefix argument when immediately storing
3195 * org-agenda.el (org-agenda-filter-effort-default-operator): New
3198 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
3200 * org.el (org-add-log-setup): Bugfix; code to find insertion point
3201 after drawers was skipping ahead one line too many, so notes were
3202 inserted after the first note instead of before it.
3204 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
3206 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3208 (org-prepare-agenda): Reset the filter tags.
3209 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3210 Show filter tags in mode line.
3212 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3215 * org-export-latex.el (org-latex-entities-regexp): New constant.
3216 (org-export-as-pdf): Use two calls to `shell-command'.
3218 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
3220 * org-export-latex.el (org-export-latex-treat-sub-super-char):
3221 Honor the {} value of the subsuperscript setting. Make sure that
3222 longer subsuperscripts are typeset in a roman font.
3224 * org.el (org-clock-update-time-maybe): Compute negative clock
3225 intervals correctly.
3227 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
3229 * org.el (org-add-log-setup): Respect
3230 `org-log-state-notes-insert-after-drawers'.
3231 (org-log-state-notes-insert-after-drawers): New option.
3232 (org-todo-trigger-tag-changes): New function.
3233 (org-todo): Call `org-todo-trigger-tag-changes'.
3235 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
3237 * org.el (org-add-log-setup): Only skip drawers if the are
3238 immediately after the scheduling keywords.
3240 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3242 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3243 call it with the current todo state to get the state to switch to
3245 (org-clock-in): Use org-indent-line-function to indent clock lines.
3246 (org-clock-find-position): Fix indentation of empty clock drawers.
3248 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
3250 * org-publish.el (org-publish-org-to): Handle case when
3251 org-export-to-pdf does return a file name, not a buffer.
3252 (org-publish-org-to-pdf): New function.
3254 * org-export-latex.el (org-export-as-pdf)
3255 (org-export-as-pdf-and-open): New commands.
3257 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3260 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3261 things in protexted regions.
3263 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
3265 * org-export-latex.el (org-export-latex-preprocess): Improve
3266 quoting of LaTeX environments.
3268 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
3270 * org.el (org-edit-fixed-width-region): Exclude final newline from
3273 * org-export-latex.el (org-export-latex-subcontent): Add labels to
3274 sections, to make internal links work.
3275 (org-export-latex-fontify-headline): Do not remove all text
3276 properties, to make sure that target properties survive this
3279 * org-exp.el (org-export-preprocess-string): Change sequence of
3280 modifications, to make sure links are prepared before the LaTeX
3281 conversions do happen.
3283 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
3285 * org-attach.el (org-attach-delete-all): Renamed from
3286 `org-attch-delete'. Add a security query before deleting the
3287 entire directory. New optional argument FORCE can overrule the
3289 (org-attach-delete-one): New command.
3291 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
3293 * org-attach.el (org-attach-file-list): Fix bug with directory.
3295 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
3297 * org.el (org-apps-regexp-alist): New function.
3298 (org-file-apps): Add auto-mode to the default value.
3299 (org-open-file): Use the new structure of org-file-apps.
3301 * org-attach.el (org-attach): Support the new keys.
3302 (org-attach-method): New option.
3304 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
3306 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3309 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3310 of the list value o `org-use-tag-inheritance'.
3312 * org-attach.el (org-attach-auto-tag): New option.
3313 (org-attach-tag, org-attach-untag): New functions.
3314 (org-attach-attach, org-attach-new, org-attach-sync): Call
3316 (org-attach-delete): Call `org-attach-untag'.
3318 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
3320 * org-table.el (orgtbl-self-insert-command): Make this work for
3323 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
3325 * org.el (org-add-log-setup): Limit searc for drawers to entry
3326 text, not to subtree.
3328 * org-clock.el (org-clock-heading-for-remember): New variable.
3329 (org-clock-in): Set `org-clock-heading-for-remember'.
3331 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
3333 * org-remember.el (org-remember-apply-template): Add new
3334 expansions: %k, %K for currently clocked task and a link to the
3335 currently clocked task, and %< to file notes in the currently
3338 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
3340 * org-export-latex.el (org-export-latex-make-header): Also insert
3341 the content of the property :latex-header-extra.
3343 * org-exp.el (org-infile-export-plist): Put the content of
3344 #+LATEX_HEADER: into the property :latex-header-extra.
3346 * org-colview.el (org-columns-get-format-and-top-level): Remove
3347 resetting the marker.
3349 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3350 Remove resetting the marker.
3352 * org.el (org-entry-property-inherited-from): Improve docstring.
3353 (org-entry-get-with-inheritance): Reset marker before starting the
3356 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3358 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
3360 * org.el (org-entry-get-multivalued-property)
3361 (org-entry-protect-space, org-entry-restore-space): New
3363 (org-file-apps-defaults-macosx): Let postscript files be opened by
3365 (org-time-stamp-inactive): Call `org-time-stamp'.
3366 (org-time-stamp): New argument `inactive'. Also edit inacive
3367 stamps. Convert time stamp type.
3368 (org-open-file): Interpret the `default' value for the `command'
3371 * org-id.el (org-id-int-to-b36-one-digit)
3372 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3373 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3376 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
3378 * org-id.el (org-id-reverse-string): New function.
3379 (org-id-new): Use `org-id-reverse-string' to make sure the
3380 beginning chars of the ID are mutating fast. This allows to use a
3381 directory structure to spread things better.
3382 (org-id-prefix): Changed default to nil.
3384 * org-list.el (org-move-item-down, org-move-item-up): Remember and
3385 restore the column of the cursor position.
3387 * org-remember.el (org-remember-apply-template): Remove properties
3390 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
3392 * org-wl.el (org-wl-open): Remove useless call to
3393 `wl-thread-open-all'.
3395 * org-remember.el (org-remember-handler): Fix bug with `bottom'
3398 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
3400 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3401 `org-bbdb-anniversaries'.
3403 * org.el (org-get-next-sibling, org-forward-same-level): New
3404 functions, similar to the outline versions, but invisible headings
3407 2008-09-25 Bastien Guerry <bzg@altern.org>
3409 * org.el (org-auto-repeat-maybe): Insert a space between
3410 the timestamp's type and the timestamp itself.
3412 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
3414 * org-table.el (org-table-sum): Do not format the result with %g,
3415 it does rounding when there are too many digits.
3417 * org.el (org-map-entries): Protect the keyword-selecting variables.
3419 2008-09-23 Bastien Guerry <bzg@altern.org>
3421 * org-agenda.el (org-agenda-to-appt): Make sure the function check
3422 against all agenda files.
3424 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
3426 * org-list.el: New file, aggregating list functions from org.el
3427 and org-export-latex.el.
3429 * org.el (org-edit-src-region-extra): New option.
3431 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
3433 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3436 2008-09-22 Bastien Guerry <bzg@altern.org>
3438 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3440 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
3442 * org-plot.el (org-plot/gnuplot): Make tables starting with a
3443 hline work correctly.
3444 (org-plot/gnuplot-script): Put commas at the end of each script
3447 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
3449 * org.el (org-get-refile-targets): Replace links with their
3451 (org-imenu-get-tree): Replace links with their descriptions.
3453 * org-remember.el (org-remember-apply-template): Add a new
3454 expansion for adding properties to remember items.
3456 * org.el (org-add-log-setup): Skip over drawers (properties,
3457 clocks etc) when adding notes.
3459 * org-agenda.el (org-agenda-get-closed): show durations of clocked
3460 items as well as the start and end times.
3462 * org-compat.el (org-get-x-clipboard-compat): Add a compat
3463 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3465 * org-remember.el (org-get-x-clipboard): Use the compat
3466 function to get clipboard values when x-selection-value is
3467 unavailable. Use substring-no-properties instead of
3468 set-text-properties to remove text properties from the clipboard
3471 * lisp/org-clock.el (org-update-mode-line): Support limiting the
3472 modeline clock string, and display the full todo value in the
3473 tooltip. Set a local keymap so mouse-3 on the clock string goes to
3474 the currently clocked task.
3475 (org-clock-string-limit): Add a custom value for the maximum
3476 length of the clock string in the modeline.
3477 (org-clock-mode-map): Add a keymap for the modeline string
3479 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
3481 * org-compat.el (org-propertize): New function.
3483 2008-09-20 Bastien Guerry <bzg@altern.org>
3485 * org-export-latex.el (org-export-latex-tables): protect exported
3486 tables from further special chars conversion.
3487 (org-export-latex-preprocess): Preserve LaTeX environments.
3488 (org-list-parse-list): Parse descriptive lists.
3489 (org-list-to-generic, org-list-to-latex, org-list-to-html)
3490 (org-list-to-texinfo): Export descriptive lists.
3491 (org-quote-chars): Remove.
3492 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
3493 (org-export-latex-list-beginning-re): Rename to
3494 `org-list-beginning-re'
3495 (org-list-item-begin): Rename to `org-list-item-beginning'
3497 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
3499 * org.el (org-refile): Allow refiling to the last entry in the
3501 (org-get-tags-at): Fix bug when inheritance is turned off.
3503 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
3505 * org.el (org-indent-line-function): No longer check for src
3506 regions, this is too much overhead.
3508 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
3511 * org.el (org-scan-tags): Make sure that tags matching is not case
3512 sensitive. TODO keyword matching is case sensitive, however, to
3513 avoid confusion with similar words that are not meant to be
3516 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
3518 * org.el (org-get-local-tags-at): New function.
3519 (org-get-local-tags): New function.
3521 * org-exp.el (org-export-get-categories): New function.
3523 * org-agenda.el (org-sorting-choice)
3524 (org-agenda-sorting-strategy, org-agenda-get-todos)
3525 (org-agenda-get-timestamps, org-agenda-get-deadlines)
3526 (org-agenda-get-scheduled, org-agenda-get-blocks)
3527 (org-entries-lessp): Implement sorting by TODO state.
3528 (org-cmp-todo-state): New defsubst.
3530 * org-colview.el (org-colview-construct-allowed-dates): New
3532 (org-columns-next-allowed-value): Use
3533 `org-colview-construct-allowed-dates'.
3535 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
3537 (org-columns-next-allowed-value): Use
3538 `org-colview-construct-allowed-dates'.
3540 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
3542 * org.el (org-protect-slash): New function.
3543 (org-get-refile-targets): Use `org-protect-slash'.
3545 * org-agenda.el (org-global-tags-completion-table): New variable.
3547 * org-exp.el (org-export-handle-export-tags): New function.
3548 (org-export-preprocess-string): Call
3549 `org-export-handle-export-tags'.
3551 * org-plot.el: New file.
3553 * org-publish.el (org-publish-expand-components): Function removed.
3554 (org-publish-expand-projects): Allow components to have components.
3556 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
3558 * org.el (org-indent-line-function): Do not indent in regions that
3559 are external source code.
3560 (org-yank-and-fold-if-subtree): New function.
3562 * org-agenda.el (org-agenda-todayp): New function.
3563 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
3564 `org-agenda-todayp'.
3566 * org.el (org-insert-heading-respect-content)
3567 (org-insert-todo-heading-respect-content): New commands.
3568 (org-insert-heading-respect-content): New option.
3569 (org-insert-heading): Respect `org-insert-heading-respect-content'.
3571 * org-clock.el (org-clock-find-position): Make sure the note after
3572 the clock line gets moved into the new clock drawer.
3574 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
3576 * org-id.el (org-id-new): New option.
3578 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
3580 * org-table.el (org-table-copy-down): Avoid overflow during
3581 increment. Use prefix argument 0 to temporarily disable the
3584 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
3586 * org-exp.el (org-export-as-html): Do not turn on the major mode
3587 if the buffer will be killed anyway.
3588 (org-get-current-options): Exclude the #+TEXT field.
3589 (org-export-as-html): Make sure text before the first headline is
3592 * org-publish.el (org-publish-org-to): Tell the exporter that this
3593 buffer will be killed, so it is not necessary to do major mode
3596 * org-archive.el (org-archive-to-archive-sibling): Show empty
3597 lines after folding the archive sibling.
3599 * org.el (org-log-note-extra): New variable.
3601 2008-09-05 Bastien Guerry <bzg@altern.org>
3603 * org.el (org-additional-option-like-keywords): Added keywords for
3604 the _QUOTE, _VERSE and _SRC environments.
3606 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
3607 exporting _QUOTE and _VERSE environments.
3609 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
3611 * org-agenda.el (org-agenda-filter-by-tag): New command.
3613 * org-exp.el (org-get-current-options): Remove angular brackets
3614 from the date entry.
3616 * org.el (org-edit-fixed-width-region): New function.
3617 (org-edit-fixed-width-region): Also try
3618 `org-edit-fixed-width-region'.
3619 (org-edit-fixed-width-region-mode): New option.
3620 (org-activate-code): Only interprete lines starting with colon
3621 plus a space as example lines.
3623 * org-remember.el (org-remember-templates): Add nil instead of
3624 empty strings to fix the length of remember templates.
3626 * org-table.el (org-calc-default-modes): Fix the time format for
3627 calc, from 12 hour to 24 hour clock.
3629 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
3631 * org-agenda.el (org-agenda-get-deadlines)
3632 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
3633 entries that are pre-warnings of deadlines or reminders.
3635 * org.el (org-sort-entries-or-items): Make numeric and alpha
3636 comparisons ignore any TODO keyword and priority cookie.
3638 * org-remember.el (org-remember-handler): Reinterpretation of the
3641 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
3643 * org-agenda.el (org-agenda-get-scheduled): Use new
3644 `org-scheduled' face.
3646 * org-faces.el (org-scheduled): New face.
3648 * org-wl.el (org-wl-open): Remove incorrect declaration.
3650 * org-gnus.el (org-gnus-store-link): Support for :to information
3653 * org-exp.el (org-export-as-html): Fixed typo in creator
3655 (org-export-protect-examples): New parameter indent. Insert extra
3656 spaces only when this parameter is specified.
3657 (org-export-preprocess-string): Call `org-export-protect-examples'
3658 with an indentation parameter when exporting to ASCII.
3660 * org-remember.el (org-remember-templates)
3661 (org-remember-apply-template): Allow the file component to be a
3664 * org.el (org-goto-local-search-headings): Renamed from
3665 `org-goto-local-search-forward-headings'. Added the possibility
3666 to search backwards.
3668 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
3670 * org-export-latex.el (org-export-latex): New customization
3673 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
3675 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
3677 * org-exp.el (org-html-do-expand): Allow {} to terminate
3680 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
3682 * org.el (org-buffer-list): Select buffers based on major mode,
3685 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
3687 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
3690 * org-colview.el (org-columns-display-here): Use
3691 `org-columns-modify-value-for-display-function'.
3693 * org-colview-xemacs.el (org-columns-display-here): Use
3694 `org-columns-modify-value-for-display-function'.
3696 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
3698 * org.el (org-columns-modify-value-for-display-function): New option.
3710 * org-publish.el (org-publish-file): Make sure the directory match
3711 for the publishing directory works correctly.
3713 * org-agenda.el (org-agenda-execute-calendar-command)
3714 (org-agenda-diary-entry): Additional optional argument.
3716 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
3718 * org-exp.el (org-export-as-html): Add attributes also in mailto
3721 * org.el (org-autoload): Add `org-dblock-write:columnview'.
3730 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
3732 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
3733 sure that calls from `org-export-region-as-html' do not do the
3734 special check for a subtree.
3736 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
3738 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
3740 2008-07-20 Juri Linkov <juri@jurta.org>
3742 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
3743 new keymap `narrow-map' instead of binding "\C-xns".
3745 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
3747 * org.el (org-open-file): Use
3748 `org-open-directory-means-index-dot-org'.
3749 (org-open-directory-means-index-dot-org): New option.
3751 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
3753 * org.el (org-make-link-string): Remove link attributes from
3755 (org-open-at-point): Remove link attributes bevore using the path.
3757 * org-exp.el (org-export-as-html): Handle link attributes.
3759 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
3761 * org-table.el (org-table-to-lisp): New function.
3763 * org.el (org-narrow-to-subtree): Do not include the final newline
3764 into the narrowed region.
3766 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
3767 bug with user-define skipping condition.
3769 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
3771 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
3773 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
3775 * org-exp.el (org-export-html-style-default): Automatic overflow
3776 handling for pre fields.
3777 (org-export-as-ascii, org-export-as-html): Change default format
3780 * org-table.el (org-table-export): Offer completion for translator
3781 functions, and do not require a heading above the table.
3783 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
3784 Cater for the case of a list starting in the first line of the
3787 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
3789 * org-publish.el (org-publish-find-title): Bug fix.
3790 (org-publish-org-index): Implement new :index-style option.
3792 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
3794 * org-publish.el (org-publish-timestamp-filename): Use
3795 SHA1-encoded file names in the timestamp directory.
3797 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
3799 * org-publish.el (org-publish-needed-p): Be verbose about files
3800 published and files skipped.
3802 * org-exp.el (org-export-preprocess-string): Swap link
3803 normalization and inernal link targeting.
3805 * org-publish.el (org-publish-needed-p): Create timestamp
3806 directory when it does not exist.
3808 2008-07-04 Bastien Guerry <bzg@altern.org>
3810 * org-clock.el (org-clock-out-when-done): Doc fix.
3812 * org.el (org-agenda-skip-unavailable-files): Doc fix.
3814 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
3815 Ignore case when searching for the COMMENT cookie at export time.
3817 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
3819 * org-exp.el (org-get-file-contents)
3820 (org-get-and-remove-property): New functions.
3821 (org-export-handle-include-files): Handle the new prefix options.
3822 (org-export-as-html): Fix the verse environment.
3824 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
3826 * org.el (org-time=, org-time<, org-time<=, org-time>)
3827 (org-time>=, org-time<>, org-2ft): New functions.
3828 (org-op-to-function): Also provide for the time testing fucntions.
3830 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
3832 * org-exp.el (org-export-html-style-default): New constant.
3834 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
3836 * org-exp.el (org-export-html-style-extra): New variable.
3837 (org-export-splice-style): New function.
3839 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
3841 * org-exp.el (org-export-plist-vars, org-export-as-html):
3842 Implement `org-export-creator-info'.
3843 (org-export-creator-info): New option.
3845 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
3847 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
3848 (org-property-drawer-re, org-clock-drawer-re): New constants.
3850 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
3852 * org-exp.el (org-icalendar-use-deadline)
3853 (org-icalendar-use-scheduled): New options.
3854 (org-icalendar-include-todo): Default changed to t.
3855 (org-print-icalendar-entries): Implement better utilization of
3856 scheduling and deadline time stamps.
3857 (org-export-target-internal-links, org-export-as-html): Allow file
3858 lines without the "file:" prefix if the file path is an absolute
3859 path or starts with ".".
3861 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
3863 (org-clock-special-range): Also undertand yesterday, lastweek etc.
3865 2008-06-18 Glenn Morris <rgm@gnu.org>
3866 * org.el (org-map-entries): Let-bind `file'.
3868 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
3870 * org.el (org-agenda-skip-archived-trees): Docstring now
3871 discourages using this.
3872 (org-scan-tags): Check for org-agenda-archives-mode.
3873 (org-map-entries): Make sure org-agenda-archives-mode is nil.
3874 (org-agenda-files): Functionality of second arg changed.
3876 * org-agenda.el (org-agenda-archives-mode): New variable
3877 (org-write-agenda, org-prepare-agenda, org-agenda-list)
3878 (org-search-view, org-todo-list, org-tags-view)
3879 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
3881 (org-agenda-quit): Reset the archives mode.
3882 (org-agenda-archives-mode): New command.
3883 (org-agenda-set-mode-name): Include archives info.
3885 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
3887 * org.el (org-paste-subtree): Make sure the yanked headline is
3888 visible if it was yanked at a visible point.
3889 (org-move-item-up): Fix the bug with moving white space at the end
3891 (org-show-empty-lines-in-parent): New function.
3893 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
3895 * org-colview.el (org-columns-next-allowed-value): Bug fix.
3897 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
3899 * org-agenda.el (org-agenda-get-closed): Get the end time into the
3900 agenda prefix as well.
3902 * org-publish.el (org-publish-org-index): Make a properly indented
3905 * org.el (org-calendar-agenda-action-key): New option.
3906 (org-get-cursor-date): New function.
3907 (org-mark-entry-for-agenda-action): New command.
3908 (org-overriding-default-time): New variable.
3909 (org-read-date): Respect `org-overriding-default-time'.
3911 * org-remember.el (org-remember-apply-template): Respect the
3912 ovverriding default time.
3914 * org-agenda.el (org-agenda-action-marker): New variable.
3915 (org-agenda-action): New command.
3916 (org-agenda-do-action): New function.
3918 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
3920 * org.el (org-schedule, org-deadline): Protect scheduled and
3921 deadline tasks against changes that accidently remove the
3922 repeater. Also show a message with the new date when done.
3924 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
3926 * org.el (org-beginning-of-line): Cater for the case when there
3927 are tags but no headline text.
3928 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
3931 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
3933 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
3934 the return value is nil instead of "nil" when there is no match.
3936 * org-exp.el (org-insert-centered): Use fill-column instead of
3938 (org-export-as-ascii): Use string-width to measure the width of
3941 * org.el (org-diary-to-ical-string): No longer kill buffer
3942 FROMBUF, this is now done by the caller.
3944 * org-exp.el (org-print-icalendar-entries): Move the call to
3945 `org-diary-to-ical-string' out of the loop, and kill the buffer
3948 * org-remember.el (org-remember-visit-immediately): Position
3949 cursor after moving to the note.
3950 (org-remember-apply-template): Use a text property to record the
3952 (org-remember-handler): Align tags after pasting the note.
3954 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
3956 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
3958 * org-agenda.el (org-agenda-open-link): If there is an
3959 org-bbdb-name property in the current line, jump to that bbdb
3962 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
3963 text property, so that the agenda knows where this entry comes
3966 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
3967 interaction between clocking-in from the agenda, and automatic
3968 task state switching.
3970 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
3972 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
3973 zmacs-region stays after this command in XEmacs.
3975 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
3977 * org.el (org-scan-tags): Allow new values for ACTION parameter.
3979 * org-remember.el (org-remember-templates): Fix bug in
3980 customization type definition.
3982 * org.el (org-map-entries): New function.
3984 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
3986 * org-agenda.el (org-agenda-skip-comment-trees): New option.
3987 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
3989 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
3991 * org-remember.el (org-jump-to-target-location): New variable.
3992 (org-remember-apply-template): Set
3993 `org-remember-apply-template' if requested by template.
3994 (org-remember-handler): Start an idle timer to jump to
3997 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
3999 * org.el (org-set-regexps-and-options): Fix bug with parsing of
4001 (org-get-tags-at): Add the content of `org-file-tags'.
4003 * org-exp.el (org-export-handle-comments): Fix bug with several
4004 comment lines after each other.
4005 (org-number-to-roman, org-number-to-counter): New functions.
4006 (org-export-section-number-format): New option.
4008 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
4010 * org-exp.el (org-export-protect-examples): Catch the case of a
4011 missing end_example line.
4013 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4014 `org-file-tags' to nil.
4016 * org-colview.el (org-columns-next-allowed-value): Handle next
4017 argument NTH to directly select a value.
4019 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4020 argument NTH to directly select a value.
4022 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
4024 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4026 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
4028 * org.el (org-columns-ellipses): New option.
4030 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
4032 * org-colview.el (org-columns-add-ellipses): New function.
4033 (org-columns-compact-links): New function.
4034 (org-columns-cleanup-item): Call `org-columns-compact-links'.
4035 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4037 (org-columns-edit-value): Fixed bug with editing values from
4039 (org-columns-redo): Also redo the agenda itself.
4041 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
4043 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4046 * org-colview.el (org-agenda-columns-cleanup-item): New function.
4048 * org-exp.el (org-export-ascii-preprocess): Renamed from
4049 `org-export-ascii-clean-string'.
4050 (org-export-kill-licensed-text)
4051 (org-export-define-heading-targets)
4052 (org-export-handle-invisible-targets)
4053 (org-export-target-internal-links)
4054 (org-export-remove-or-extract-drawers)
4055 (org-export-remove-archived-trees)
4056 (org-export-protect-quoted-subtrees)
4057 (org-export-protect-verbatim, org-export-protect-examples)
4058 (org-export-select-backend-specific-text)
4059 (org-export-mark-blockquote-and-verse)
4060 (org-export-remove-comment-blocks-and-subtrees)
4061 (org-export-handle-comments, org-export-mark-radio-links)
4062 (org-export-remove-special-table-lines)
4063 (org-export-normalize-links)
4064 (org-export-concatenate-multiline-links)
4065 (org-export-concatenate-multiline-emphasis): New functions,
4066 obtained from spliiting the export preprocessor.
4068 * org-table.el (org-table-recalculate): Improve error message if
4069 the row number is invalid.
4071 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
4073 * org-archive.el (org-archive-save-context-info): Fix bugs in
4074 customization setup and docstring.
4076 * org-exp.el (org-export-html-style): Changed the size of in the
4077 <pre> element to 90%.
4079 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
4081 * org.el (org-find-src-example-start): Function removed.
4082 (org-edit-src-find-region-and-lang): New function.
4084 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
4086 * org.el (org-edit-src-exit): New function.
4087 (org-exit-edit-mode): New minor mode.
4089 * org-exp.el (org-export-preprocess-string): Fix bug with removing
4090 comment-like lines from protected examples.
4092 * org.el (org-edit-src-example, org-find-src-example-start)
4093 (org-protect-source-example, org-edit-special): New functions.
4095 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
4097 * org-publish.el (org-publish-project-alist): Fix typo in
4099 (org-publish-project-alist): Handle :index-title property.
4101 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
4103 * org-export-latex.el (org-export-as-latex): Make sure region
4104 bounds are correct. Parse subtree properties relating to export.
4106 * org-exp.el (org-export-add-options-to-plist): New function.
4107 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4109 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
4111 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4114 * org-exp.el (org-export-get-title-from-subtree)
4115 (org-export-as-ascii, org-export-as-html): Make sure the original
4116 region-beginning and region-end are used, even after moving
4118 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4121 * org-remember.el (org-remember-last-stored-marker): New variable.
4122 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4123 (org-remember-handler): Also use marker to remember
4124 last-stored position.
4126 * org.el (org-goto-marker-or-bmk): New function.
4128 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
4130 * org.el (org-file-properties): Renamed from `org-local-properties'.
4131 (org-scan-tags): Take file tags into account.
4132 (org-tags-match-list-sublevels): Default changed to t.
4134 * org-exp.el (org-export-as-html): Close paragraph after a
4137 * org.el (org-update-parent-todo-statistics): New function.
4139 * org-exp.el (org-icalendar-store-UID): New option.
4140 (org-icalendar-force-UID): Option removed.
4141 (org-print-icalendar-entries): IMplement UIDs.
4143 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
4145 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4147 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
4149 * org-faces.el (org-column): Document how this face is being used
4150 and why sometimes the background faces shine through.
4152 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4154 * org-publish.el (org-publish-attachment): Create publishing
4155 directory if it does not yet exist.
4157 * org-table.el (org-calc-default-modes): Change default number
4158 format to (float 8).
4160 * org.el (org-olpath-completing-read): New function.
4161 (org-time-clocksum-format): New option.
4162 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4164 * org-clock.el (org-clock-display, org-clock-out)
4165 (org-update-mode-line): Use `org-time-clocksum-format'.
4167 * org-colview-xemacs.el (org-columns-number-to-string): Use
4168 `org-time-clocksum-format'.
4170 * org-colview.el (org-columns-number-to-string): Use
4171 `org-time-clocksum-format'.
4173 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
4175 * org-id.el: New file, move from contrib to core.
4177 * org-exp.el (org-icalendar-force-UID): New option.
4179 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
4181 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4182 shifted by one day if theere is a date range without an end
4185 * org.el (org-try-structure-completion): New function.
4187 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
4189 * org.el (org-set-font-lock-defaults): Improve fontification of
4191 (org-insert-item): Handle description lists.
4192 (org-adaptive-fill-function): Improve auto indentation in
4195 * org-exp.el (org-export-as-html, org-export-preprocess-string):
4196 Implement VERSE environment.
4197 (org-export-preprocess-string): Implement the COMMENT
4200 * org-export-latex.el (org-export-latex-preprocess): Implement
4203 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
4205 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4208 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
4210 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4212 * org.el (org-quote-csv-field): New functions.
4214 * org-table.el (org-table-export-default-format): Remove :splice
4215 from default format, we get the same effect by not specifying
4217 (org-table-export): Improve setup, distinguish better between
4218 interactive and non-interactive use, allow specifying the format
4219 on the fly, better protection against wrong file names.
4220 (orgtbl-to-generic): Fix documentation. Do not require :tstart
4221 and :tend when :splice is omitted.
4223 2008-05-09 Bernt Hansen <bernt@norang.ca>
4225 * org-clock.el (org-clock-select-task): Make sure the selection
4226 letters are 1-9 and A-Z, no special characters.
4228 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
4230 * org-exp.el (org-export-htmlize): New group.
4231 (org-export-htmlize-output-type)
4232 (org-export-htmlize-css-font-prefix): New options.
4233 (org-export-htmlize-region-for-paste): New function.
4234 (org-export-htmlize-generate-css): New command.
4236 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
4238 * org/org.el (org-modules, org-format-latex-options):
4239 * org/org-archive.el (org-archive-stamp-time)
4240 (org-archive-save-context-info):
4241 * org/org-faces.el (org-hide):
4242 * org/org-irc.el (org-irc-parse-link):
4243 * org/org-macs.el (org-call-with-arg, org-autoload):
4244 * org/org-mew.el (org-mew-store-link):
4245 * org/org-remember.el (org-remember-store-without-prompt)
4246 (org-remember-templates): Fix typos in docstrings.
4248 * org/org-info.el (org-info-store-link): Remove leftover docstring.
4250 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4251 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4252 (org-bbdb-anniv-split): Fix typos in docstrings.
4254 * org/org-publish.el (org-publish-project-alist): Doc fixes.
4255 (org-publish-use-timestamps-flag): Reflow docstring.
4256 (org-publish-files-alist): Fix typos in docstring.
4258 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
4260 * org.el (org-set-visibility-according-to-property): New function.
4261 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4262 and compute the regular expressions, and update font-lock.
4263 (org-property-re): Allow a dash in property names.
4265 * org-archive.el (org-extract-archive-file): Insert the file name
4266 without the path into the format, to allow the location format to
4267 contain a subdirectory.
4269 * org-agenda.el (org-agenda-post-command-hook): If point is at end
4270 of buffer, and the `org-agenda-type' property undefined, use the
4271 value from the character before.
4273 * org.el (org-add-planning-info): Don't let indentation for
4274 would-be timestamp become extra whitespace at the end of headline.
4276 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
4278 * org.el (org-remove-double-quotes, org-file-contents): New
4281 * org-exp.el (org-infile-export-plist): Also parse the
4282 contents of #+SETUPFILE files, recursively.
4284 * org.el (org-set-regexps-and-options): Also parse the
4285 contents of #+SETUPFILE files, recursively.
4287 * org-exp.el (org-export-handle-include-files): New function.
4288 (org-export-preprocess-string): Call
4289 `org-export-handle-include-files'.
4291 * org.el (org-delete-property-globally)
4292 (org-delete-property, org-set-property): Ignore case during
4294 (org-set-property): Use `org-completing-read' instead of
4297 * org.el (org-complete-expand-structure-template): New,
4298 experimental function.
4299 (org-structure-template-alist): New, experimental option.
4300 (org-complete): Call `org-complete-expand-structure-template'.
4302 2008-05-06 Bastien Guerry <bzg@altern.org>
4304 * org-export-latex.el (org-export-latex-preprocess): Added
4305 support for blockquotes.
4307 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
4309 * org.el (org-read-date-analyze): Catch the case where only a
4312 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
4314 * org.el (org-set-font-lock-defaults): Make the description
4317 * org-exp.el (org-export-as-html, org-close-li): Implement
4320 2008-05-04 Jason Riedy <jason@acm.org>
4322 * org-table.el (*orgtbl-default-fmt*): New variable.
4323 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4324 when there is no other fmt available.
4326 (orgtbl-to-generic): Allow an explicitly nil :tstart or
4327 :tend to suppress the appropriate string.
4329 (orgtbl-to-orgtbl): New function for translating to another orgtbl
4332 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
4334 * org.el (org-read-date-analyze): "." as an alias for "+0" in
4337 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4340 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4343 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
4345 * org-clock.el (org-clock-find-position): Don't include notes
4348 * org-archive.el (org-archive-subtree): No longer remove an
4349 extra line after cutting the subtree. `org-cut-subtree' already
4352 * org-remember.el (org-remember-handler): Only kill the target
4353 buffer if it does not contain the running clock.
4355 * org.el (org-markers-to-move): New variable.
4356 (org-save-markers-in-region, org-check-and-save-marker)
4357 (org-reinstall-markers-in-region): New function.
4358 (org-move-subtree-down, org-copy-subtree): Remember relative
4359 marker positions before cutting.
4360 (org-move-subtree-down, org-paste-subtree): Restore relative
4361 marker positions after pasting.
4363 * org-remember.el (org-remember-clock-out-on-exit): New option.
4364 (org-remember-finalize): Clock out only if the setting in
4365 `org-remember-clock-out-on-exit' requires it.
4366 (org-remember-handler): Do the cleanup in the buffer, to make sure
4367 that the clock marker remains in tact.
4369 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
4371 * org-clock.el (org-clock-goto): Widen buffer if necessary.
4372 (org-clock-in): Make sure that also tasks outside the narrowed
4373 region will be clocked in correctly.
4374 (org-clock-insert-selection-line): Widen the buffer so that we can
4375 find the correct task heading.
4377 * org.el (org-base-buffer): New function.
4379 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4380 and ";" are escaped.
4381 (org-print-icalendar-entries): Also apply
4382 `org-icalendar-cleanup-string' to the headline, not only to the
4385 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
4387 * org-exp.el (org-export-preprocess-hook): New hook.
4388 (org-export-preprocess-string): Call
4389 `org-export-preprocess-hook'.
4391 * org.el (org-font-lock-hook): New variable.
4392 (org-font-lock-hook): New function.
4393 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4397 ;; add-log-time-zone-rule: t
4400 Copyright (C) 2008 Free Software Foundation, Inc.
4402 This file is part of GNU Emacs.
4404 GNU Emacs is free software: you can redistribute it and/or modify
4405 it under the terms of the GNU General Public License as published by
4406 the Free Software Foundation, either version 3 of the License, or
4407 (at your option) any later version.
4409 GNU Emacs is distributed in the hope that it will be useful,
4410 but WITHOUT ANY WARRANTY; without even the implied warranty of
4411 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4412 GNU General Public License for more details.
4414 You should have received a copy of the GNU General Public License
4415 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4417 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c