1 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
6 * org.el (org-read-date-final-answer): New variable.
7 (org-read-date): Store the final answer string, including the date
8 from the calendar, for reuse by agenda bulk commands.
10 * org-publish.el (org-publish-attachment): Fix publishing of
13 * org-latex.el (org-export-latex-quotation-marks): Fix export of
14 quotation makrs in parenthesis.
15 (org-remove-initial-hash): New function.
16 (org-export-latex-preprocess): Fix bug with infinite loop if
17 environment is not properly closed.
19 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
22 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
23 highlight also when indented.
25 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
27 * org-footnote.el (org-footnote-renumber-fn:N): New command.
28 (org-footnote-action): Offer renumbering.
30 * org.el (org-cycle): Honor the `integrate' value of
31 org-cycle-include-plain-lists'.
33 * org-list.el (org-cycle-include-plain-lists): New allowed value
34 `internal'. Improve the docstring.
36 * org.el (org-set-autofill-regexps): Improve the paragraph-start
37 regexp to work better with LaTeX commands.
39 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
41 * org-feed.el (org-feed-update): fix problem with non-existing
43 (org-feed-skip-http-headers): New function.
44 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
45 (org-feed-get-feed): Fix command line arguments for curl.
47 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
49 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
52 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
54 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
57 * org.el (org-map-entries): No longer force
58 `org-tags-match-list-sublevels' to t during a todo-only tags
61 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
63 * org-latex.el (org-export-latex-low-levels): Allow user-defined
65 (org-export-latex-subcontent): Handle user-defined environment.
67 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
70 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
73 * org-latex.el (org-export-as-pdf): Protect match data during call
74 to shell-quote-argument.
76 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
77 (org-agenda-view-mode-dispatch): New function.
79 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
81 * org-agenda.el (org-agenda-mode): Reset list of marks.
82 (org-agenda-mode-map): Define new keys for refile and bulk action.
83 (org-agenda-menu): Add menu itesm for refile and bulk action.
84 (org-agenda-refile): New function.
85 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
86 (org-agenda-marked-entries): New variable.
87 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
88 (org-agenda-remove-all-bulk-action-marks)
89 (org-agenda-bulk-action): New functions/commands.
91 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
93 * org-exp.el (org-get-file-contents): Protect org-like lines in
95 (org-export-format-source-code-or-example): Remove newlines.
97 * org-latex.el (org-export-latex-links): Check for no-description
100 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
101 argument separator back to comma.
102 (org-export-normalize-links): Mark links without description.
104 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
106 * org-exp.el (org-infile-export-plist): Fix bug in macro
109 * org-agenda.el (org-agenda-clock-out): Update line after clocking
111 (org-agenda-highlight-todo): Fix bug with highlighting.
113 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
115 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
116 new alignment strings.
118 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
120 (org-table-align): Check for forced align type.
122 * org.el (org-self-insert-command): Add yas/expand to command
125 * org-clock.el (org-clock-in-hook): New hook.
126 (org-clock-in): Run `org-clock-in-hook.
127 (org-clock-out-hook): New hook.
128 (org-clock-out): Run `org-clock-out-hook.
129 (org-clock-cancel-hook): New hook.
130 (org-clock-cancel): Run `org-clock-cancel-hook.
131 (org-clock-goto-hook): New hook.
132 (org-clock-goto): Run `org-clock-goto-hook.
134 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
136 * org.el (org-store-link): Better default description for link to
139 * org-exp.el (org-export-generic): Autoload the generic exporter
141 (org-export): Implement the `g' key for the generic exporter.
143 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
145 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
148 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
150 * org-exp.el (org-infile-export-plist): Get macros also from
153 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
155 * org-colview.el (org-columns-capture-view): Protect vertical bars
157 (org-columns-capture-view): Exclude comment and archived trees.
159 * org-colview-xemacs.el (org-columns-capture-view): Protect
160 vertical bars in column values.
161 (org-columns-capture-view): Exclude comment and archived trees.
163 * org.el (org-quote-vert): New function.
165 * org-latex.el (org-export-latex-verbatim-wrap): New option.
167 * org-exp.el (org-export-format-source-code-or-example): Use
168 `org-export-latex-verbatim-wrap'.
170 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
173 * org-html.el (org-export-table-row-tags): New option.
174 (org-format-org-table-html): Rename `nlines' to `nline', use new
178 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
180 * org-exp-blocks.el: Declare functions and variables.
182 * org-remember.el (org-remember-templates): Allow the headline
183 element to be a function.
184 (org-remember-apply-template): If the headline is a function, call
185 it to get the true function.
187 * org-clock.el (org-clock-menu): New function.
188 (org-clock-update-mode-line): Update help string.
189 (org-clock-modify-effort-estimate): New function.
190 (org-clock-mark-default-task): New function.
192 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
194 (org-org-menu): Add new clocking stuff.
195 (org-clock-is-active): New function.
197 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
199 * org.el (org-open-non-existing-files): Improve docstring.
201 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
203 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
205 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
207 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
209 * org-list.el (org-get-checkbox-statistics-face): Use the new
212 * org-faces.el (org-checkbox-statistics-todo)
213 (org-checkbox-statistics-done): New faces.
215 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
217 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
218 (org-edit-src-exit): Better cursor positioning when returning from
221 * org-latex.el (org-export-latex-use-verb): New variable.
222 (org-export-latex-emph-format): Prefer \texttt over \verb when
223 org-export-latex-use-verb is set.
225 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
227 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
228 at normal indentation.
230 * org-html.el (org-export-html-close-lists-maybe): Also look at
233 * org-remember.el (org-remember-handler): Abort remember if the
236 * org-src.el (org-edit-src-content-indentation): New option.
237 (org-edit-src-exit): Apply extra indentation.
239 * org-exp.el (org-export-format-source-code-or-example): Run
242 * org-src.el (org-src-mode-hook): New variable.
243 (org-edit-src-code): Run `org-src-mode-hook'.
245 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
247 * org.el (org-indent-line-function): Fix indentation of +#end lines.
249 * org-src.el (org-edit-src-get-indentation): New function.
250 (org-edit-src-code): Base indentation on the begin line.
252 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
254 * org-gnus.el (org-gnus-store-link): Require message.el in
257 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
259 * org-src.el: New file, split out of org.el
261 * org-docbook.el (org-export-as-docbook): Better indentation
264 * org-macs.el (org-replace-match-keep-properties): New function.
266 * org-exp.el (org-export-mark-blockquote-verse-center): Better
267 preprocessing of center and quote and verse blocks.
269 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
270 (org-export-as-docbook): Close lists when original indentation
273 * org-html.el (org-export-html-close-lists-maybe): New function.
274 (org-export-as-html): Close lists when original indentation
277 * org-list.el (org-list-end): Respect the stored "original"
278 indentation when determining the end of the list.
280 * org-exp.el (org-export-replace-src-segments-and-examples):
281 Remember indentation correctly.
283 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
285 * org-clock.el (org-clock-update-mode-line): Apply face
288 * org-faces.el (org-mode-line-clock): New face.
290 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
292 * org-gnus.el (org-gnus-store-link): Fix bug where
293 `org-gnus-store-link' used wrong subject when called in an article
294 buffer. Patch provided by fengli AT gmail DOT com.
296 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
298 * org-exp.el (org-export-format-source-code-or-example): Remember
299 the original indentation of source code snippets and examples.
301 * org-latex.el (org-export-as-latex): Relocate the table of
304 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
306 * org-agenda.el (org-run-agenda-series): Scope global options also
307 when creating the agenda buffer.
309 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
311 * org.el (org-adapt-indentation): Improve documentation.
312 (org-insert-property-drawer): Respect org-adapt-indentation when
313 inserting the drawer.
314 (org-remove-flyspell-overlays-in): New function.
315 (org-do-emphasis-faces, org-activate-plain-links)
316 (org-activate-code, org-fontify-meta-lines-and-blocks)
317 (org-activate-angle-links, org-activate-footnote-links)
318 (org-activate-bracket-links, org-activate-dates)
319 (org-activate-target-links, org-activate-tags): Remove flyspell
322 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
324 * org.el (org-edit-src-save): New function.
326 * org-clock.el (org-clock-out-switch-to-state): New option.
327 (org-clock-out): Honor `org-clock-out-switch-to-state'.
329 * org-compat.el (org-compatible-face): Improve macro.
331 * org.el (org-global-properties-fixed): Add default for
332 CLOCK_MODELINE_TOTAL.
334 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
336 (org-clock-sum-current-item): Optional argument TSTART, pass it to
338 (org-clock-get-sum-start): New function.
340 * org.el (org-startup-options): New keywords blockhide and
342 (org-mode): Add new invisibility spec.
343 (org-set-startup-visibility): Hide block on startup if so
345 (org-hide-block-startup): New option.
346 (org-block-regexp): New constant.
347 (org-hide-block-overlays): New variable.
348 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
349 (org-show-block-all, org-hide-block-toggle-maybe)
350 (org-hide-block-toggle): New functions.
351 (org-edit-src-exit): Do not quote lines starting with # and no +
353 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
356 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
358 * org.el (org-buffer-property-keys): Add Effort property for
361 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
363 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
364 when retrieving total clocked time in the subtree.
366 * org.el (org-quoting-blocks): New variable.
368 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
370 * org-table.el (org-table-store-formulas)
371 (org-table-get-stored-formulas, org-table-fix-formulas)
372 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
373 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
375 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
376 indented #+TBLFM line.
378 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
379 indented #+TBLFM line.
381 * org-colview.el (org-dblock-write:columnview): Allow indented
384 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
385 indented #+TBLFM line.
387 * org-clock.el (org-dblock-write:clocktable): Allow indented
390 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
392 * org-exp.el (org-export-format-source-code-or-example): Make
393 editing indented blocks work correctly.
395 * org.el (org-edit-src-nindent): New variable.
396 (org-edit-src-code, org-edit-fixed-width-region)
397 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
398 editing indented blocks work correctly.
400 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
402 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
404 (org-export-format-source-code-or-example): Fix indentation of
406 (org-export-remove-indentation): New function.
407 (org-export-select-backend-specific-text): Allow backend-specific
409 (org-export-mark-blockquote-verse-center): Allow markers to be
412 * org.el (org-fontify-meta-lines): New function.
413 (org-set-font-lock-defaults): Call the new fontification
416 * org-faces.el (org-meta-line): New face
417 (org-block): New face.
419 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
421 * org.el (org-treat-insert-todo-heading-as-state-change)
422 (org-treat-S-cursor-todo-selection-as-state-change): New
424 (org-insert-todo-heading): Honor
425 `org-treat-insert-todo-heading-as-state-change'.
426 (org-shiftright, org-shiftleft): Honor
427 `org-treat-S-cursor-todo-selection-as-state-change'.
428 (org-inhibit-logging): New variable.
430 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
432 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
433 range for marker position checking.
435 * org-latex.el (org-export-latex-first-lines): Fix bug when
438 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
440 * org-exp.el (org-export-push-to-kill-ring): Protect using
441 x-set-selection, because that does not always work.
443 * org-agenda.el (org-agenda-list): Apply the new face
444 `org-agenda-date-today'.
446 * org-faces.el (org-agenda-date-today): New face.
448 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
450 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
451 creating appointments.
453 * org-latex.el (org-export-latex-low-levels): Fix customization
456 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
459 * org-agenda.el (org-agenda-priority): Disable priority commands.
461 * org.el (org-enable-priority-commands): New option.
463 * org-colview-xemacs.el (org-columns-compute)
464 (org-columns-number-to-string): Fix problems with empty fields.
466 * org-colview.el (org-columns-compute)
467 (org-columns-number-to-string): Fix problems with empty fields.
469 * org-exp.el (org-export-push-to-kill-ring): New function.
470 (org-export-copy-to-kill-ring): New option.
472 * org-latex.el (org-export-as-latex): Call
473 `org-export-push-to-kill-ring'.
475 * org-html.el (org-export-as-html): Call
476 `org-export-push-to-kill-ring'.
478 * org-docbook.el (org-export-as-docbook): Call
479 `org-export-push-to-kill-ring'.
481 * org-ascii.el (org-export-as-ascii): Call
482 `org-export-push-to-kill-ring'.
484 * org-exp.el (org-export-show-temporary-export-buffer): New
487 * org-latex.el (org-export-as-latex): Use
488 `org-export-show-temporary-export-buffer'.
490 * org-html.el (org-export-as-html): Use
491 `org-export-show-temporary-export-buffer'.
493 * org-docbook.el (org-export-as-docbook): Use
494 `org-export-show-temporary-export-buffer'.
496 * org-ascii.el (org-export-as-ascii-to-buffer): Use
497 `org-export-show-temporary-export-buffer'.
499 * org-exp.el (org-export-show-temporary-export-buffer): New
501 (org-export-push-to-kill-ring): New function.
503 * org-colview.el (org-columns-compile-map): New variable.
504 (org-columns-new, org-columns-compute)
505 (org-columns-number-to-string, org-columns-uncompile-format)
506 (org-columns-compile-format): Implement new operators.
508 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
510 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
512 * org-html.el (org-export-html-xml-declaration): New option.
513 (org-export-as-html): Use `org-export-html-xml-declaration'.
515 * org-list.el (org-update-checkbox-count): Make property
518 * org.el (org-hierarchical-todo-statistics): New option.
519 (org-update-parent-todo-statistics): Modified to handle recursive
522 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
524 * org-publish.el (org-publish): Make this function behave
525 correctly in interactive use when called with a prefix argument.
527 * org.el (org-todo-statistics-hook): New hook.
528 (org-update-parent-todo-statistics): Use new hook.
529 (org-log-into-drawer): New function.
530 (org-add-log-setup): Use the new `org-log-into-drawer' function to
531 determine if we should be logging into a drawer.
532 (org-log-into-drawer): Update docstring.
533 (org-default-properties): Add LOG_INTO_DRAWER as a property.
535 * org-list.el (org-checkbox-statistics-hook): New hook.
536 (org-update-checkbox-count-maybe): Use new hook.
538 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
539 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
542 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
544 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
547 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
549 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
550 better bufer-generating mechanism.
551 (org-edit-src-find-buffer): New function.
553 * org-icalendar.el (org-print-icalendar-entries): Don't check for
554 archive tag, this is already done by `org-agenda-skip'.
555 data while constructing lost of tags.
557 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
559 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
560 as argument separator in macros.
562 * org-html.el (org-export-as-html): Add xml declaration.
564 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
566 * org.el (org-after-sorting-entries-or-items-hook): New hook.
567 (org-sort-entries-or-items): Run the new hook.
568 (org-after-refile-insert-hook): New hook.
569 (org-refile): Run `org-after-refile-insert-hook'.
571 * org-agenda.el (org-agenda-get-progress): Never take time of day
572 from headline when displaying progress.
574 * org-latex.el (org-export-latex-complex-heading-re): New variable.
575 (org-export-as-latex): Force the correct regexp in the
577 (org-export-latex-set-initial-vars): Set
578 `org-export-latex-complex-heading-re'.
580 * org-agenda.el (org-agenda-start-with-log-mode): New option.
581 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
583 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
585 * org-latex.el (org-export-latex-tables-centered): New option.
586 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
588 * org-exp.el (org-export-as-org): New command.
589 (org-export-as-org): New command.
591 * org-publish.el (org-publish-org-to-org): New function.
593 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
595 * org.el (org-yank): Just call `org-yank-generic'.
596 (org-yank-generic): New function, containing the formaer
597 functionality of `org-yank'.
599 * org-latex.el (org-export-latex-not-done-keywords)
600 (org-export-latex-done-keywords): New variables.
601 (org-export-latex-todo-keyword-markup): New option.
602 (org-export-latex-set-initial-vars): Remember the TODO keywords.
603 (org-export-latex-keywords-maybe): Apply the TODO markup.
605 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
607 * org-exp.el (org-infile-export-plist): Add more default macros.
608 (org-export-preprocess-apply-macros): Process macro arguments.
610 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
612 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
614 (org-print-icalendar-entries): Respect the new value of
615 `org-icalendar-include-todo'.
617 * org.el (org-link-try-special-completion)
618 (org-file-complete-link): New functions.
619 (org-insert-link): Add special completion support for some link
622 * org-bbdb.el (org-bbdb-complete-link): New function.
624 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
626 * org-list.el (org-update-checkbox-count): Allow recursive
628 (org-hierarchical-checkbox-statistics): New option.
630 * org.el (org-cycle): Remove erraneous space character.
632 * org-icalendar.el (org-icalendar-timezone): Initialize from
635 * org-html.el (org-format-org-table-html): Specify the scope.
636 (org-format-table-table-html): Specify the scope.
637 (org-export-table-header-tags): Prepare the scope parameter.
639 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
642 (org-export-html-table-use-header-tags-for-first-column): New
645 * org.el (org-autoload): Fix autoloading of ascii export
647 (org-modules): Add org-special-blocks.
649 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
651 * org-icalendar.el (org-start-icalendar-file): Use the new option.
652 (org-ical-timezone): New option.
654 * org-exp.el (org-export-get-coderef-format): Use the description
657 * org.el (org-sort-entries-or-items): Improve docstring, and make
658 better implementation for time sorting.
660 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
662 * org.el (org-edit-src-persistent-message): New option.
663 (org-edit-src-code, org-edit-fixed-width-region): Use the new
666 * org-clock.el (org-clock-insert-selection-line): Fix prefious
669 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
670 separate buffer instead of indirect buffer to edit source code.
671 (org-edit-src-exit): Make this function work with the new setup.
673 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
674 are properly fontified before shown in the selection menu.
676 * org.el (org-fontify-like-in-org-mode): New function.
678 * org-latex.el (org-export-latex-links): Use the property list to
679 retrieve the default image attributes.
681 * org-exp.el (org-export-plist-vars): Add a new option.
683 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
685 * org-exp.el (org-export, org-export-visible): Support ASCII
687 (org-export-normalize-links): Do not protect the description if it
690 * org-ascii.el (org-export-as-ascii-to-buffer)
691 (org-replace-region-by-ascii, org-export-region-as-ascii): New
693 (org-export-as-ascii): Add all the same parameters that are also
694 supported by the other export functions.
696 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
698 (org-reset-checkbox-state-subtree): Call
699 `org-reset-checkbox-state-subtree'.
701 * org-remember.el (org-select-remember-template): For the
702 selection of a valid template.
704 * org-latex.el (org-export-region-as-latex): Supply the
705 force-no-subtree argument.
706 (org-export-as-latex): Provide better limits when exporting the
707 first line. When exporting to string, we still want the first
709 (org-export-latex-first-lines): New argument END, to force the end
711 (org-export-region-as-latex): Use the property list.
712 (org-export-as-latex):
714 * org-colview-xemacs.el (org-columns-remove-overlays)
715 (org-columns): Fix call to `local-variable-p'.
717 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
719 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
720 (org-export-as-html): Run the new hook.
722 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
723 (org-export-latex-preprocess): Run the new hook.
725 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
726 (org-export-preprocess-string): Run the new hook.
728 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
730 * org-macs.el (org-check-external-command): New defsubst.
732 * org.el (org-mode-map): New key for reload.
733 (org-format-latex): Better error message when external programs
736 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
738 * org.el (org-sort-entries-or-items): Explicit sorting function
739 for priorities, needed for XEmacs compatibility.
741 * org-remember.el (org-remember-apply-template): Improve auto-save
744 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
746 * org-latex.el (org-export-latex-preprocess): Also protect
747 environments ending in a star.
749 * org-list.el (org-at-item-p): Fix regular expression.
751 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
753 * org.el (org-end-of-subtree): Improve speed.
755 * org-agenda.el (org-agenda-get-timestamps)
756 (org-agenda-get-progress, org-agenda-get-deadlines)
757 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
758 in particular, wait as long as possible to collect the tags.
759 (org-stuck-projects): Improve docstring.
761 * org.el (org-store-link): No errors when getting custom id before
763 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
765 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
767 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
769 * org-protocol.el: Remove dependency on url.el.
770 (org-protocol-unhex-compound, org-protocol-open-source): Remove
771 dependency on url.el.
773 * org-latex.el (org-export-as-pdf): Use
774 `org-latex-to-pdf-process'.
776 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
778 * org-latex.el (org-latex-to-pdf-process): New option.
780 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
782 (org-agenda-get-timestamps): Honor
783 `org-agenda-skip-additional-timestamps-same-entry'.
785 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
786 (org-clock-goto): Find recent task only if
787 `org-clock-goto-may-find-recent-task' allows it.
789 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
790 drawers, and drawers that are missing the :END: line.
792 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
794 * org-clock.el (org-clock-goto): Go to recently clocked task if no
797 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
799 * org.el (org-update-parent-todo-statistics): Check for
800 STATISTICS_FROM property.
802 * org-list.el (org-update-checkbox-count): Check for
803 STATISTICS_FROM property.
805 * org.el (org-tab-first-hook)
806 (org-tab-after-check-for-table-hook)
807 (org-tab-after-check-for-cycling-hook): New hooks.
808 (org-cycle-internal-global, org-cycle-internal-local): New
809 functions, split out from `org-cycle'.
810 (org-cycle): Call the new hooks.
812 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
814 * org-exp.el (org-export-preprocess-string): Reset the list of
815 preferred targets for each run of the preprocessor.
817 * org.el (org-refile-target-verify-function): Improve
819 (org-get-refile-targets): Respect point being moved by the
820 verification function.
822 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
824 (org-export-latex-keywords): Use new option.
826 * org.el (org-rear-nonsticky-at): New defsubst.
827 (org-activate-plain-links, org-activate-angle-links)
828 (org-activate-footnote-links, org-activate-bracket-links)
829 (org-activate-dates, org-activate-target-links)
830 (org-activate-tags): Place the rear-nonsticky properties at the
833 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
835 * org-protocol.el (server-edit): Declare `server-edit'.
836 (org-protocol-unhex-string, org-protocol-unhex-compound): New
838 (org-protocol-check-filename-for-protocol): Call `server-edit'.
840 * org.el (org-default-properties): New default properteis for
843 * org-exp.el (org-export-add-subtree-options): Add new properties
846 * org-docbook.el (org-export-docbook-keywords-markup)
847 (org-export-docbook-timestamp-markup): New options.
848 (org-export-docbook-protect-tags): New function.
850 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
852 * org-id.el (org-id-get-with-outline-path-completion): Turn off
853 org-refile-target-verify-function for the duration of the command.
855 * org.el (org-link-to-org-use-id): New possible value
856 `create-if-interactive-and-no-custom-id'.
857 (org-store-link): Use custom IDs.
858 (org-link-search): Find custom ID properties from #link.
859 (org-default-properties): Add CUSTOM_ID for property completion.
860 (org-refile-target-verify-function): New option.
861 (org-goto): Turn off org-refile-target-verify-function
862 for the duration of the command.
864 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
866 * org-html.el (org-export-as-html): Use custom IDs in the toc.
868 * org-exp.el (org-export-preferred-target-alist): New variable.
869 (org-export-define-heading-targets): Find the new CUSTOM_ID
871 (org-export-target-internal-links): Target the custom ids when
874 * org-latex.el (org-export-latex-preprocess): Better regexp for
875 matching latex macros with arguments.
877 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
879 * org-remember.el (org-remember-handler): Allow filing to non-org
882 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
884 * org-feed.el (org-feed-alist): New keyword options.
885 (org-feed-update): Use the new options.
886 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
887 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
888 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
891 * org-table.el (org-table-fix-formulas): Do not change references
893 (org-table-get-remote-range): Convert standard coordinates to RC
896 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
898 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
900 * org-compat.el (org-sha1-string): Function removed.
902 * org.el (org-refile-allow-creating-parent-nodes): New option.
903 (org-refile-get-location): New argument NEW-NODES.
904 (org-refile): Call `org-refile-get-location' with the new
906 (org-refile-get-location): Arrange for adding a new child.
907 (org-refile-new-child): New function.
909 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
910 an additional span element.
912 * org-clock.el: Fix a number of docstrings.
913 (org-clock-find-position): New argument
914 FIND-UNCLOSED to make the function find an unclosed clock in the
916 (org-clock-in): Call `org-clock-find-position' with the new
917 argument if we might be resuming a clock.
919 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
921 * org-latex.el (org-export-latex-display-custom-times): New variable.
922 (org-export-latex-timestamp-markup): New option.
923 (org-export-latex-set-initial-vars): Remember the local value of
924 `org-display-custom-times'.
925 (org-export-latex-content): Process time stamps.
926 (org-export-latex-time-stamps): New function.
928 * org-macs.el (org-maybe-intangible): Add intangible property
929 again to invisible text.
931 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
933 * org-exp.el (org-default-export-plist): Handle undefined
936 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
938 * org.el (org-sort-entries-or-items): Match TODO keywrds
939 case-sensitively, when sorting.
940 (org-priority): Do not match TODO keywords with wrong case.
942 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
944 * org-feed.el (org-feed-update): Bind the variable
947 * org-html.el (org-export-as-html): Start paragraphs after literal
950 * org-docbook.el (org-export-as-docbook): Start paragraphs after
953 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
955 * org.el (org-todo): Honor the NOBLOCKING property.
957 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
960 * org.el (org-scan-tags): Fix bug in tag scanner
962 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
964 * org.el (org-modules): Mark obsolete packages.
966 * org-html.el: New file, split out from org-exp.el.
968 * org-icalendar.el: New file, split out from org-exp.el.
970 * org-xoxo.el: New file, split out from org-exp.el.
972 * org-ascii.el: New file, split out from org-exp.el.
974 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
976 * org-compat.el (org-find-library-name): New function.
978 * org.el (org-pre-cycle-hook): New hook.
979 (org-cycle): Call the new hook in appropriate places.
980 (org-reload): Only reload files that have been loaded before.
982 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
984 * org.el (org-set-font-lock-defaults): Enforxe space or line end
986 (org-todo): When changing TODO state, do matching
988 (org-map-continue-from): New variable.
989 (org-scan-tags): Respect values in `org-map-continue-from'.
990 (org-reload): Make XEmacs compatible.
992 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
994 * org-protocol.el (org-protocol-flatten-greedy): New function.
995 (org-protocol-flatten): New function.
997 * org.el (org-open-link-from-string): Pass reference buffer to
999 (org-open-at-point): New optional argument `reference-buffer'.
1001 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
1003 * org.el (org-scan-tags): Make tag scan find headline in first
1005 (org-get-refile-targets): Add the naked file name.
1006 (org-refile): Store as top-level entry when only file name was
1009 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1011 * org.el (org-block-todo-from-children-or-siblings-or-parent):
1012 Renamed from org-block-todo-from-children-or-siblings, and
1013 enhanced to look for the parent's status as well.
1015 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1016 (org-agenda-get-progress): Add first notes line to log entry if so
1019 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
1021 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1022 (org-agenda-cleanup-fancy-diary): Call the new hook.
1024 * org-remember.el (org-remember-apply-template): Take the default
1025 for the annotation from the :annotation property.
1027 * org-mac-message.el (org-mac-message-get-link): Remove the
1029 (org-mac-message-get-link): Return the result.
1031 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
1033 * org.el (org-refile-get-location): Add file name only if not
1034 already included in outline path.
1036 * org-faces.el (org-n-level-faces): Fix customization type from
1039 * org-exp.el (org-export-headline-levels): Fix customization type
1040 from number to integer.
1042 * org-agenda.el (org-agenda-confirm-kill)
1043 (org-agenda-custom-commands-local-options)
1044 (org-timeline-show-empty-dates, org-agenda-ndays)
1045 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1046 customization type from number to integer.
1048 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
1050 * org-protocol.el: Declare some functions.
1052 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1053 postion before inserting modified headline.
1055 * org-agenda.el (org-agenda-compare-effort): Honor
1056 `org-sort-agenda-noeffort-is-high'.
1057 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1058 (org-agenda-compare-effort): Implement the "?" operator for
1059 finding entries without effort setting.
1061 * org.el (org-extract-attributes-from-string): New function.
1063 * org-exp.el (org-export-splice-attributes): New function.
1065 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
1067 * org-mouse.el: XEmacs compatibility fixes
1069 * org-docbook.el (org-export-as-docbook): Process footnotes like
1072 * org.el (org-modules): Add org-inlinetasks.el
1073 (org-cycle): Implement limiting level on cycling.
1074 (org-move-subtree-down): Fix bug with swapping subtrees at end of
1077 * org-inlinetask.el: New file.
1079 * org.el (org-emphasis-regexp-components): Allow braces in
1080 emphasis pre and post match.
1082 * org-footnote.el (org-footnote-normalize): When only dorting, do
1083 not insert inline notes at the end.
1085 * org-docbook.el (org-id-find-id-file): Add function declaration.
1087 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1089 * org-docbook.el: New file.
1091 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
1093 * org.el (org-reftex-citation): New command.
1095 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
1097 * org-agenda.el (org-agenda-cmp-user-defined): New option.
1098 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1100 (org-entries-lessp): Apply the new sorting option.
1102 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1103 blocker code, when an older sibling has children.
1105 * org-mac-message.el (org-mac-message-get-link): Improve getting
1106 links from multiple selected messages.
1108 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
1110 * org-remember.el (org-remember-finalize): Do not set buffer file
1112 (org-remember-handler): Mark buffer as unmodified.
1113 (org-remember-handler): Delete backup file and show message about
1114 remaining backup files.
1115 (org-remember-auto-remove-backup-files): New option.
1117 * org.el (org-store-link): Use buffer name as link description in
1119 (org-ido-switchb): Fix argument bug for completion.
1121 * org-remember.el (org-remember-apply-template): Set local
1122 variable `auto-save-visited-file-name' instead of global one.
1124 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
1126 * org-feed.el: Re-write.
1128 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1129 (org-agenda-get-todos): Mark file tags as inherited.
1130 (org-agenda-list): Always search diary lines for a time.
1132 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
1134 * org-feed.el (org-feed-assume-stable): New option.
1135 (org-feed-before-adding-hook): New hook.
1137 * org-exp.el (org-export-as-html): Close local lists depending on
1138 indentation, also when starting a table.
1140 * org-remember.el (org-remember-backup-directory)
1141 (org-remember-backup-name): New internal variable.
1143 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
1145 * org-clock.el (org-clock-out-if-current): Make buffer detection
1146 work in indirect buffers as well.
1148 * org.el (org-emphasis-regexp-components): Add the exxclamation
1149 mark to the post-emphasis characters.
1151 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
1153 * org.el (org-read-date-minibiffer-septup-hook): New hook.
1154 (org-read-date): Run the new hook.
1156 * org-mac-message.el (org-mac-flagged-mail): New group.
1157 (org-mac-mail-account): New variable.
1158 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1161 * org-remember.el (org-remember-backup-directory): New variable.
1162 (org-remember-apply-template): Write file to backup directory.
1164 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-mouse.el (org-mouse-todo-menu): New function.
1167 (org-mouse-todo-keywords): Function removed.
1168 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1170 * org-table.el (org-table-beginning-of-field)
1171 (org-table-end-of-field): New commands
1172 (org-table-previous-field, org-table-beginning-of-field): Better
1174 (orgtbl-setup): Include `M-a' and `M-e'.
1176 * org.el (org-backward-sentence, org-forward-sentence): New
1179 * org-colview.el (org-colview-initial-truncate-line-value): New
1181 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1182 (org-columns): Remember the value of `truncate-lines'.
1184 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1186 (org-columns-remove-overlays): Restore the value of
1188 (org-columns): Remember the value of `truncate-lines'.
1190 * org.el (org-columns-skip-arrchived-trees): New option.
1192 * org-agenda.el (org-agenda-export-html-style): Define color for
1193 org-agenda-done face.
1194 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1195 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1197 * org.el (org-scan-tags): Use the new face.
1199 * org-faces.el (org-agenda-done): New face.
1201 * org.el (org-scan-tags): Test the value org
1202 `org-tags-match-list-sublevels'.
1203 (org-tags-match-list-sublevels): New allowed value: indented.
1205 * org-export-latex.el (org-export-latex-make-header): Apply macros
1208 * org-exp.el (org-export-apply-macros-in-string): New function.
1210 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1211 with the definition of a checked box.
1213 * org-clock.el (org-clock-find-position): Fix drawer indentations.
1215 * org-export-latex.el (org-export-latex-low-levels): More options
1216 for how to process lower levels in LaTeX.
1217 (org-export-latex-subcontent): Better treatment for lists as a
1218 means of publishing lower levels.
1220 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
1222 * org.el (org-set-font-lock-defaults): Use new checkbox face.
1224 * org-faces.el (org-checkbox): New face.
1226 * org-exp.el (org-export-html-preprocess): Only create LaTeX
1227 fragement images if there is an export file.
1229 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
1231 * org-agenda.el (org-stuck-projects): Document that the subtree of
1232 projects that are not stuck will now be searched for stuck
1234 (org-agenda-skip-entry-when-regexp-matches)
1235 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1236 (org-agenda-list-stuck-projects): Use
1237 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1239 * org-export-latex.el (org-export-latex-preprocess): Improve
1242 * org-exp.el (org-export-as-html): Implement centering as a div
1243 rather than a paragraph. Do a better job with line-end in verse
1246 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
1248 * org.el (org-open-at-point): Fix tags searches by mouse click.
1250 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
1252 * org-export-latex.el (org-export-latex-preprocess): Implement the
1255 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1256 from `org-export-mark-blockquote-and-verse'.
1257 (org-export-as-html): Implement the centering markup.
1259 * org-export-latex.el (org-export-latex-tables): Fix vertical
1262 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
1264 * org.el (org-read-date-history): New variable.
1265 (org-read-date): Use new history variable.
1266 (org-toggle-heading): Fix bug when used before first headline.
1267 (org-store-log-note): Remove drawer if empty while note is
1269 (org-remove-empty-drawer-at): New function.
1270 (org-check-after-date): New command.
1271 (org-sparse-tree): New sparse tree command "a".
1273 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1275 2009-03-14 Bastien Guerry <bzg@altern.org>
1277 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1278 column and a space, not only a column.
1280 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
1282 * org-export-latex.el (org-export-latex-emphasis-alist): Better
1283 defaults for verbose emphasis.
1284 (org-export-latex-emph-format): New function.
1285 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1287 * org-agenda.el (org-agenda-menu): Add new commands to menu.
1288 (org-agenda-do-date-later, org-agenda-do-date-earlier)
1289 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1290 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1293 * org.el (org-timestamp-change): Move end-time along with start
1296 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
1298 * org-exp.el (org-export-target-internal-links)
1299 (org-export-as-html): Protect links specified as #name.
1301 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
1303 * org.el (org-clone-subtree-with-time-shift): New command.
1305 * org-export-latex.el (org-export-latex-special-chars)
1306 (org-export-latex-treat-sub-super-char): Fix subscript export.
1308 * org-exp.el (org-create-multibrace-regexp): Do not add
1309 backslashes to the class.
1311 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
1313 * org-colview.el (org-columns-map): Better functions for moving up
1314 and down a row, even if `truncate-line' is nil.
1316 * org.el (org-insert-todo-heading): Make sure the keyword is
1317 inserted at the correct position.
1319 * org-publish.el (org-publish-project-alist)
1320 (org-publish-projects, org-publish-org-index): Change default anme
1321 for the index of file names to "sitemap.org".
1323 * org-export-latex.el (org-export-latex-tables): Use
1324 `org-split-string', for Emacs 21 compatibility.
1326 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
1328 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1330 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
1332 * org-exp.el (org-export-page-description)
1333 (org-export-page-keywords): New variables.
1334 (org-export-plist-vars): Add entries for :keywords and
1336 (org-infile-export-plist): Parse for new keywords.
1337 (org-get-current-options): Add new keywords
1338 (org-export-as-html): Publish description and keywords.
1340 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1342 (org-agenda-add-entry-text): Honor
1343 `org-agenda-add-entry-text-descriptive-links'.
1345 * org-export-latex.el (org-export-latex-preprocess): Make all
1346 external preprocess functions use a PARAMETER arg.
1348 * org-exp.el (org-export-preprocess-string)
1349 (org-export-select-backend-specific-text)
1350 (org-export-format-source-code-or-example)
1351 (org-format-org-table-html): Support docbook export.
1352 (org-export-preprocess-string): Make all external preprocess
1353 functions use a PARAMETER arg.
1355 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
1357 * org-exp.el (org-export-html-style-include-scripts): New option.
1358 (org-export-plist-vars): Add new option
1359 `org-export-html-style-include-scripts'.
1360 (org-export-as-html): Honor new option
1361 `org-export-html-style-include-scripts'.
1362 (org-export-html-scripts, org-export-html-style-default): Fix
1363 xml issues with the Safari browser.
1365 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
1367 * org-publish.el (org-publish-attachment): Only copy file when the
1370 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
1372 * org-clock.el (org-clocktable-steps): Use inactive time stamps
1373 for clocktable steps.
1375 * org.el (org-additional-option-like-keywords): Add two more
1378 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
1380 * org-exp.el (org-export-format-source-code-or-example): Mark
1381 temporary buffer unmodified, so that it will be killed even if
1382 mode like message mode has decided to assign a file name.
1384 * org.el (org-scan-tags): Improve tag inheritance.
1385 (org-scan-tags, org-make-tags-matcher): Make tag comparison
1387 (org-scan-tags): Use the internal tags list instead of creating it
1389 (org-trust-scanner-tags, org-scanner-tags): New variables.
1390 (org-scan-tags): Set `org-scanner-tags'.
1391 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1392 (org-map-entries): Document the possible speedup using scanner
1395 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
1397 * org.el (org-add-planning-info): Fix bug with looking for keyword
1400 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1401 option for tags filter preset.
1402 (org-prepare-agenda): Store filter preset as a property on the
1404 (org-finalize-agenda): Call the filter, if there is a preset.
1405 (org-agenda-filter-by-tag): Filter again after clearing the
1406 filter, when there still is a preset.
1407 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1408 Include the preset filter.
1409 (org-agenda-redo): Apply the filter again, also the preset filter.
1411 * org-exp.el (org-export-as-html): Use IDs in the correct way.
1413 * org.el (org-uuidgen-p): New funtion.
1415 * org-agenda.el (org-agenda-fontify-priorities): New default value
1417 (org-agenda-fontify-priorities): Renamed from
1418 org-fontify-priorities.
1420 * org.el (org-set-font-lock-defaults): Call
1421 `org-font-lock-add-priority-faces'.
1422 (org-font-lock-add-priority-faces): New function.
1424 * org-faces.el: (org-set-tag-faces): New option.
1425 (org-priority-faces): New variable.
1427 * org-exp.el (org-export-as-html): Add a "content" div around the
1428 entire content of the body tag.
1429 (org-export-html-get-bibliography): New function.
1430 (org-export-html-validation-link): New variable.
1431 (org-export-as-html): Add validation link to exported page.
1433 * org.el (org-match-sparse-tree): Renamed from
1434 `org-tags-sparse-tree'.
1435 (org-tags-sparse-tree): New alias.
1437 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
1439 * org.el (org-get-valid-level): Catch the case where the level
1442 * org-clock.el (org-clock-find-position): Better indentation of
1445 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
1447 * org-agenda.el (org-agenda-quit): Delete window only when the
1448 frame-setup was not `current-window'.
1450 * org.el (org-tag-persistent-alist): New option.
1451 (org-startup-options): Add keyword `noptag'.
1452 (org-fast-todo-selection): Handle :newline correctly.
1453 (org-set-tags): Handle :newline correctly.
1454 (org-fast-tag-selection): Handle :newline correctly.
1456 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
1458 * org-exp.el (org-export-as-ascii): Reverse link buffer before
1460 (org-export-ascii-push-links): Fix bug with pussing links into the
1463 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
1465 * org-archive.el (org-archive-subtree): Do not add 1 to level if
1466 pasting at top level.
1468 * org-bbdb.el: Improve documentation.
1470 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
1472 * org-list.el (org-insert-item): Only consider insert empty lines
1473 is `org-empty-line-terminates-plain-lists' is not nil.
1475 * org.el (org-blank-before-new-entry): Mention the dependence on
1476 `org-empty-line-terminates-plain-lists' in the docstring.
1478 * org-publish.el (org-publish-get-project-from-filename): New
1479 optional argument UP. Only find the top project if UP is set.
1480 (org-publish-current-project): Find the top encloding project.
1482 * org-agenda.el (org-agenda-before-write-hook)
1483 (org-agenda-add-entry-text-maxlines): New options.
1484 (org-write-agenda): Run the new hook in the temporary buffer.
1485 (org-agenda-add-entry-text): New function.
1486 (org-write-agenda): Implement PDF export, using ps2pdf.
1488 * org.el (org-global-properties-fixed, org-global-properties):
1489 Improve documentation string.
1491 * org-exp.el (org-export-ascii-links-to-notes): New option.
1492 (org-export-as-ascii): Handle links better.
1493 (org-export-ascii-wrap, org-export-ascii-push-links): New
1496 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
1498 * org-agenda.el (org-agenda): Make prefix arg optional.
1499 (org-agenda-search-headline-for-time): New option.
1500 (org-format-agenda-item): Honor
1501 `org-agenda-search-headline-for-time'.
1503 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1506 * org.el (org-self-insert-cluster-for-undo): New option.
1507 (org-self-insert-command): Cluster undo for 20 characters.
1508 (org-self-insert-command-undo-counter): New variable.
1510 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
1512 * org-exp.el (org-export-as-html): Fix problem with closing colone
1515 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
1517 * org-export-latex.el (org-export-as-latex)
1518 (org-export-latex-first-lines): Avoid modification flag when
1519 adding or removing text properties.
1520 (org-export-latex-fontify): Catch error when org-emph-alist has
1521 entries that are not defined for LaTeX export.
1523 * org.el (orgstruct++-mode): New function.
1524 (turn-on-orgstruct++): Call `orgstruct++-mode'.
1525 (org-context-p): Allow detecting item context after the first line
1527 (orgstruct-make-binding): Detect if item-body context should be
1529 (orgstruct-is-++): New variable.
1530 (org-add-planning-info): Catch the case when there is no planning
1531 info yet and the call does not want to add anything, only maybe
1532 tries to remove something.
1533 (org-special-ctrl-a/e): All value to be a cons cell with separate
1534 settings for `C-a. and `C-e'.
1535 (org-beginning-of-line, org-end-of-line): Honor separate values
1536 for `C-a' and `C-e'.
1538 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
1540 * org.el (org-reload): New command.
1542 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
1544 * org-exp.el (org-export-htm-get-tag-class-name)
1545 (org-export-htm-get-todo-kwd-class-name): New functions.
1546 (org-export-html-tag-class-prefix)
1547 (org-export-html-todo-kwd-class-prefix): New options.
1548 (org-export-as-html): Call
1549 `org-export-html-get-todo-kwd-class-name'.
1550 (org-html-level-start): Wrap tags into classes.
1551 (org-export-html-get-tag-class-name)
1552 (org-export-html-get-todo-kwd-class-name): New functions.
1554 * org-export-latex.el (org-export-latex-collect-header-macros):
1555 Remove fields that are used anyway.
1556 (org-export-latex-make-header): Insert the options earlier.
1558 * org-agenda.el (org-agenda-get-progress): Fix bug with state
1561 * org-list.el (org-indent-item): Allow point to be at the end of
1564 * org.el (org-metaleft, org-metaright): Be more accurate about
1565 detecting a region where commands apply.
1567 * org-compat.el (org-cursor-to-region-beginning): New function.
1569 * org.el (org-priority): Also find invisible heading.
1571 * org-colview-xemacs.el (org-columns-edit-value): No special
1572 treatment for `org-todo' prefix.
1574 * org-colview.el (org-columns-edit-value): No special treatment
1575 for `org-todo' prefix.
1577 * org-remember.el (org-remember-apply-template): Use
1578 `org-completing-read-no-ido'.
1580 * org.el (org-completing-read-no-ido): New function.
1581 (org-make-tags-matcher, org-set-property): Use
1582 `org-completing-read-no-ido'.
1584 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1586 (org-export-as-latex): Import in-buffer settings as TeX macros.
1587 (org-export-latex-make-header): Additional parameter OPT-DEFS.
1588 (org-export-latex-collect-header-macros): New function.
1590 * org.el (org-refile-get-location): Turn off
1591 `partial-completion-mode'.
1593 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
1595 * org.el (org-block-todo-from-checkboxes): Announce that
1596 checkboxes are the culprit.
1597 (org-block-todo-from-children-or-siblings): Call
1598 `org-up-heading-all instead' of `outline-up-heading'.
1600 * org-agenda.el (org-agenda-show-1): Renamed from
1602 (org-agenda-show): Re-install the old version for now.
1603 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
1604 variable into the blokker hook, so that the checkbox checker can
1605 anounce that it caused the blocking.
1607 * org.el (org-track-ordered-property-with-tag): New option.
1608 (org-toggle-ordered-property): Honor
1609 `org-track-ordered-property-with-tag'.
1610 (org-tag-alist): Add newline options.
1611 (org-set-regexps-and-options): Separate option lines imply a
1613 (org-set-regexps-and-options, org-assign-fast-keys)
1614 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1616 (org-indent-line-function): Make sure this works even if there is
1617 not `org-drawer-regexp' defined. This can happen when
1618 orgstruct-mode is used in a non-org buffer.
1620 * org-list.el (org-checkbox-blocked-p): New function.
1621 (org-toggle-checkbox): Check for blocking.
1623 * org.el (org-modules): Add an entry for org-R.el.
1625 * org-agenda.el (org-agenda-todo-ignore-with-date)
1626 (org-agenda-todo-ignore-scheduled)
1627 (org-agenda-todo-ignore-deadlines): Mention the variable
1628 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
1630 * org.el (org-get-wdays): Find the warning period also if it is in
1632 (org-ido-completing-read): Provide the correct arguments to
1633 ido-completing-read and bind `ido-enter-matching-directory' to
1636 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
1638 * org.el (org-olpath-completing-read): Never use ido for this
1641 * org-exp.el (org-export-normalize-links): Use new macro.
1643 * org-macs.el (org-if-unprotected-at): New macro.
1645 * org-agenda.el (org-agenda-show): Allow numerical prefix
1646 arguments to specify how much context should be shown.
1647 (org-agenda-cycle-show): New command, could be bound to SPC in
1648 org-agenda-mode-map.
1650 * org-exp.el (org-html-level-start): Space after section number.
1652 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
1654 * org-agenda.el (org-agenda-get-sexps): Add todo state as
1655 property, for sorting.
1656 (org-cmp-todo-state): Get the applicable TODO keywords directly
1658 (org-run-agenda-series, org-agenda-list, org-search-view)
1659 (org-todo-list, org-tags-view): Only fit agenda window when the
1660 whole series is done.
1662 * org.el (org-scan-tags): Add todo state as property, for sorting.
1664 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1665 `org-agenda-overriding-header' as an option.
1666 (org-agenda-list): Honor org-agenda-overriding-header'.
1668 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
1670 * org-list.el (org-toggle-checkbox): Improve cursor positioning
1671 after removing a checkbox.
1673 * org.el (org-show-entry): Make this work correctly also if it is
1674 the last entry in the file.
1675 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
1676 falling back to normal, default command.
1677 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
1678 item, call the checkbox toggler to get a box.
1680 * org-list.el (org-toggle-checkbox): Make double prefix set the
1682 (org-fix-bullet-type): Only replace bullet if it is changed.
1683 (org-renumber-ordered-list): Handle case when first item does not
1686 * org.el (org-add-log-setup): Fix positioning when
1687 `org-log-states-order-reversed' is nil.
1689 * org-clock.el (org-clock-in): Fix positioning when
1690 `org-log-states-order-reversed' is nil.
1691 (org-clock-find-position): Fix positioning when
1692 `org-log-states-order-reversed' is nil.
1694 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
1696 * org-clock.el (org-clock-into-drawer): Take default from
1697 `org-log-into-drawer'.
1698 (org-clock-find-position): Look for the correct drawer.
1700 * org.el (org-log-into-drawer): Renamed from
1701 `org-log-state-notes-into-drawer'.
1702 (org-log-state-notes-into-drawer): New variable alias.
1703 (org-add-log-setup): Make drawer name default to LOGBOOK, not
1705 (org-insert-property-drawer): Also skip LOGBOOK drawers.
1707 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
1709 * org-agenda.el (org-agenda): Fix docstring.
1711 * org.el ("org-plot"): Help loading org-plot.
1712 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
1713 (org-metadown-hook, org-shiftmetaleft-hook)
1714 (org-shiftmetaright-hook, org-shiftmetaup-hook)
1715 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
1716 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1717 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
1718 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
1720 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
1721 for selecting files with any (and even without) extension.
1723 * org.el (org-save-all-org-buffers): Also save id locations.
1724 (org-revert-all-org-buffers): Also load id locations.
1726 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
1727 * org.el (org-drawers): Add LOGBOOK to the default drawers.
1728 (org-log-state-notes-into-drawer): New option.
1729 (org-add-log-setup): Place the sate note marker into the drawer,
1730 create drawer when necessary.
1731 (org-refile-targets): Document special interpretation of LEVEL
1732 when odd-levels are used.
1734 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
1736 * org.el (org-store-log-note): Fix note indentation when adding
1737 notes to end of list.
1739 * org-exp.el (org-export-as-html): Add TODO keyword as extra
1740 class, so that each keyword can get special colors through CSS.
1742 * org-clock.el (org-clock-out): Add another nil for the previous
1743 state into the call to `org-add-log-setup'.
1745 * org.el (org-log-note-previous-state): New variable.
1746 (org-log-note-headings): New %S escape for old state.
1747 (org-todo): Call the note setup with the old state as an
1749 (org-add-note): Add another nil for the previous state into the
1750 call to `org-add-log-setup'.
1751 (org-add-log-setup): New argument PREV-STATE.
1752 (org-add-log-note): Handle new %S escape.
1753 (org-store-log-note): Handle new %S escape.
1755 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
1757 * org-clock.el (org-clock-find-position): Do not swallow an item
1758 less indented than the CLOCK line itself.
1759 (org-clock-in): Push markers to lin after the clock line.
1760 (org-clock-find-position): Handle values of
1761 `org-clock-into-drawer' smaller than 2.
1763 * org-exp.el (org-html-level-start): Add a CSS class to section
1765 (org-export-html-toplevel-hlevel): Better documentation of the
1766 influence of this variables on H levels and css classes in
1769 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
1771 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1772 timestamp and nottimestamp to the chooe menu.
1774 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
1775 (org-revert-all-org-buffers): New command.
1777 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
1779 * org.el (org-return): Implement `org-return-follows-link' in the
1780 function org-return. This is more robust than using the mouse
1782 (org-set-regexps-and-options): Match more general #+TODO lines.
1783 (org-make-options-regexp): New optional argument EXTRA, for an
1785 (org-tab-follows-link): Mark as deprecated.
1787 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
1789 * org-exp.el (org-export-preprocess-string): Remove clock lines
1790 earlier, so that they cannot cotribute to verbatim snippets.
1792 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
1794 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
1795 for finding drawers.
1796 (org-export-as-ascii, org-export-as-html): Count levels relative
1797 to the subtree header.
1798 (org-get-min-level): New optional argument OFFSET.
1799 (org-export): Make sure point is restored after popping up that
1802 * org.el (org-do-sort): Also take an inactive timestamp if no
1803 active one is found.
1805 * org-colview-xemacs.el (org-columns-capture-view): Copy before
1806 deleting duplicates.
1808 * org-colview.el (org-columns-capture-view): Copy before
1809 deleting duplicates.
1811 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
1812 text before first headline.
1814 * org.el (org-format-latex): Do not convert LaTeX fragments in
1817 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
1819 * org-exp.el (org-export-html-style-default): Use color values
1820 instead of names for XHTML validation.
1822 * org.el (org-get-scheduled-time, org-get-deadline-time): New
1824 (org-return-follows-link): Revert making this the default untile
1825 issues are resolved.
1827 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
1830 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
1832 * org.el (org-mode): Make dependence stuff work more reliably.
1833 (org-update-parent-todo-statistics): Fix bug with updating
1836 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
1837 ~ as verbatim delimiters.
1839 * org-exp.el (org-export-html-format-image): New argument
1841 (org-export-as-html): Pass par-open to
1842 `org-export-html-format-image'.
1844 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
1846 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
1847 (org-use-fast-todo-selection, org-tags-column): New default
1848 setting for variables, based on a poll what typical uses use.
1850 * org-agenda.el (org-agenda-sorting-strategy)
1851 (org-agenda-tags-column): New default setting for variables, based
1852 on a poll what typical uses use.
1854 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
1856 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
1857 blocked entries from setting the blocked tag.
1859 * org-exp.el (org-export-html-footnotes-section): Use a more
1860 consistent id for footnotes.
1862 * org-export-latex.el (org-export-latex-classes): Remove the
1863 a4paper option from the default styles.
1865 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
1867 * org.el (org-enforce-todo-checkbox-dependencies): New option.
1868 (org-block-todo-from-checkboxes): New function.
1869 (org-todo): Make tripple prefix arg circumvent blocking.
1871 * org-timer.el (org-timer): Provide the timer feature.
1873 * org.el (org-require-autoloaded-modules): Add a few more files to
1874 the list of autoloaded modules.
1876 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
1878 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
1880 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
1881 drawers that are unprotected.
1882 (org-export-html-format-image): Make sure inlined LaTeX fragment
1883 images remain inlined.
1885 * org.el (org-toggle-ordered-property): New function.
1886 (org-mode-map): Add a key for `org-toggle-ordered-property'.
1887 (org-org-menu): Add menu entries for TODO dependencies.
1889 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
1891 * org.el (org-default-properties): Add ORDERED to the default
1892 properties, to get completion support for it.
1894 * org-list.el (org-update-checkbox-count): Update more than one cookie.
1896 * org.el (org-update-parent-todo-statistics): Update more than one
1899 * org-agenda.el (org-agenda-get-todos): Start search from correct
1902 * org.el (org-fast-todo-selection): Make sure TODO selection does
1903 not change buffer position.
1905 * org-list.el (org-toggle-checkbox): Implement adding or removing
1906 checkboxes from line or region when called with a prefix
1909 * org-rmail.el (org-rmail-store-link): Protect the call to
1910 `rmail-narrow-to-non-pruned-header'.
1912 * org-clock.el (org-clock-special-range): Fix week display in
1915 * org-exp.el (org-get-current-options): Fix bug when in indirect
1918 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
1920 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
1921 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
1922 (org-agenda-dim-blocked-tasks): New function.
1924 * org.el (org-enforce-todo-dependencies): New option.
1925 (org-block-todo-from-children-or-siblings): New function.
1927 * org-faces.el (org-agenda-dimmed-todo-face): New face.
1929 * org.el (org-todo): Return correct state type even if the blocker
1931 (org-modifier-cursor-error): Renamed from
1932 `org-shiftcursor-error'.
1933 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1934 (org-shiftmetadown): Call `org-modifier-cursor-error'.
1936 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
1937 to get real errors from the blocker hook.
1939 * org.el (org-shiftselect-error, org-call-for-shift-select): New
1941 (org-set-visibility-according-to-property): Turn off the setting
1942 of `org-show-entry-below', to avoid overruling a FOLDED visibility
1945 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
1947 * org.el (org-support-shift-select): New option.
1948 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
1949 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
1950 selection outside contexts.
1952 * org-list.el (org-at-item-bullet-p): New function.
1954 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
1957 * org-footnote.el (org-footnote-normalize): Remove unnecessary
1959 (org-insert-footnote-reference-near-definition): Remove
1960 unnecessary let form.
1962 * org-export-latex.el (org-export-latex-first-lines): Add
1963 OPT-PLIST parameter.
1964 (org-export-as-latex): Call `org-export-latex-first-lines' with
1965 opt-plits parameter.
1966 (org-export-latex-preprocess): Remove unnecessary variables.
1968 * org-exp.el (org-infile-export-plist)
1969 (org-export-add-options-to-plist, org-export-kill-licensed-text)
1970 (org-export-remove-headline-metadata)
1971 (org-export-get-title-from-subtree, org-get-min-level)
1972 (org-html-do-expand): Remove innecessary let form.
1974 * org-colview-xemacs.el (org-columns-display-here): Remove
1975 unnecessary variables.
1977 * org-colview.el (org-columns-display-here): Remove unnecessary
1980 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
1983 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
1984 unnecessary variables.
1986 * org-agenda.el (org-search-view, org-agenda-get-blocks)
1987 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
1990 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
1991 (org-compact-display-after-subtree-move): Remove unnecessary
1993 (org-edit-fixed-width-region): Remove unnecessary variables.
1994 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
1995 (org-olpath-completing-read): Remove unnecessary variable.
1996 (org-auto-repeat-maybe): Remove unnecessary variable.
1997 (org-map-entries): Remove unnecessary variable.
1998 (org-buffer-property-keys, org-imenu-get-tree)
1999 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2001 -----------------------------------------------------------------
2003 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2004 * org-exp.el (org-export-remove-timestamps): Never remove
2005 timestamps from tables.
2007 * org-export-latex.el (org-export-latex-first-lines): Add more
2008 options to the preprocessing of the text before the first
2011 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
2013 * org-faces.el (org-clock-overlay): Make face compatible with
2016 * org.el (org-yank): Add property for delete-selection mode.
2018 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2020 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2023 * org-table.el (org-table-insert-hline): Fix typo in fuction call
2026 * org-exp.el (org-export-as-html): Remove the initial space from
2029 * org.el (org-scan-tags): Call
2030 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2032 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2033 customization groups.
2034 (org-agenda-tags-todo-honor-ignore-options): New option.
2035 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2037 (org-agenda-get-todos): Use
2038 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2040 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
2042 * org-exp.el (org-export-format-source-code-or-example): Escape
2043 HTML characters also in examples that anre not treated with
2044 htmlize. Also, just switch to EXAMPLE processing if we do not
2045 have a good version of htmlize.
2047 * org-rmail.el: Fix copyright notice.
2049 * org.el (org-activate-footnote-links): Improve footnote link
2052 * org-footnote.el (org-footnote-normalize): Fix finding the end of
2053 a footnote definition at the end of the file.
2055 * org-table.el (org-table-get-specials): Add an imagined hline at
2056 the end of the table. This can be useful for references that want
2057 to go to the end of the table. Also fix bug when computing last
2058 row constants, in tables that do not start right at the right
2060 (org-table-eval-formula): Match and replace remove references.
2061 (org-table-formula-substitute-names): Make sure that names inside
2062 a "remote" call are left alone, the will be replaced later when
2063 the remote call is handled.
2064 (org-table-convert-refs-to-rc): Do not convert things that might
2065 look like a reference, but are really part of an ID or namei n a
2067 (org-table-get-remote-range): New function.
2069 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
2071 * org-faces.el (org-clock-overlay): Fix bug in face definition.
2073 * org-clock.el (org-clock-put-overlay): Use new face instead of
2074 `secondary-selection'.
2076 * org-faces.el (org-clock-overlay): New face.
2078 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
2080 * org-exp.el (org-get-current-options): Include the option for
2081 publishing time stamps.
2083 * org.el (org-toggle-heading): Renamed from
2084 `org-toggel-region-headings'.
2085 No longer needs a region defined, but will use it if there is one.
2086 (org-ctrl-c-star): Simplified, relying more on the internal
2087 workings of `org-toggle-heading'.
2088 (org-toggle-item): Renamed from `org-toggle-region-items'.
2089 No longer needs a region defined, but will use it if there is one.
2090 (org-ctrl-c-minus): Simplified, relying more on the inernal
2091 workings of `org-toggle-item'.
2093 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2094 environment detection. Also, do real changes only in unprotected
2097 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
2099 * org-export-latex.el (org-export-latex-quotation-marks): Use
2100 `org-if-unprotected-1'.
2101 (org-export-latex-set-initial-vars): Check for class definition in
2104 * org-macs.el (org-if-unprotected-1): New macro.
2106 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
2108 * org-compat.el (org-count-lines): New function.
2110 * org-exp.el (org-export-format-source-code-or-example): Handle
2111 switches related to text areas.
2113 * org.el (org-activate-footnote-links): Don't allow match inside a
2116 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2118 * org-export-latex.el (org-export-latex-links): Keep a relative
2119 path relative also after export.
2121 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2123 * org.el (org-make-tags-matcher): Never use IDO for completing the
2124 tags matcher match string.
2125 (org-completing-read): Also remove the special biding for "?".
2127 * org-attach.el (org-attach-allow-inheritance): New option.
2128 (org-attach-inherited): New variable.
2129 (org-attach-dir): Handle properties related to the attachment
2131 (org-attach-check-absolute-path): New function.
2132 (org-attach-set-directory, org-attach-set-inherit): New commands.
2133 (org-attach): Accommodate the new commands in the dispatcher.
2135 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
2137 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2138 `window-full-width-p'.
2140 * org-exp.el (org-export-as-html): Only check for images files
2141 that really can be inlined
2143 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2144 list of extensions to be a parameter.
2146 * org-exp.el (org-export-html-inline-image-extensions): New
2149 * org-agenda.el (org-prepare-agenda): Use
2150 `org-agenda-block-separator'.
2151 (org-agenda-block-separator): New option.
2153 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
2155 * org-export-latex.el (org-export-latex-tables): Call
2156 `org-table-clean-before-export' with the new optional argument.
2158 * org-exp.el (org-table-clean-before-export): New optional
2159 parameter MAYBE-QUOTED, allows for quoted characters like \# in
2162 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
2164 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2167 * org-colview.el (org-colview-construct-allowed-dates): Better
2168 error catching when a date/time property does not have allowed
2171 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2172 Better error catching when a date/time property does not have
2173 allowed values defined.
2175 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
2177 * org.el (org-map-entries): Restore point and restriction after
2180 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
2182 * org.el (org-time=, org-time<, org-time<=, org-time>)
2183 (org-time>=, org-time<>): Make sure both values are dates.
2185 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
2187 * org-archive.el (org-extract-archive-heading): Allow %s for file
2188 name also in achive location heading.
2190 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
2192 * org-archive.el (org-add-archive-files): Uniquify the list before
2195 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
2197 * org-compat.el (org-fit-window-to-buffer): Use
2198 `window-full-width-p'.
2200 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2201 space after the colon in short examples.
2203 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2204 enforce a space after the colon. However, we also allow lines
2205 that are *only* a colon.
2206 (org-export-as-html): Enforce the space after the colon in short
2208 (org-export-preprocess-string): Do the colon example protection
2210 (org-export-remove-timestamps): Do not check for protection at the
2213 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
2215 * org.el (org-format-latex-options): Add new matcher for single
2216 letters between dollars.
2217 (org-get-header): Function removed.
2218 (org-heading-components): New function.
2220 * org-exp.el (org-export-define-heading-targets): Record ID's also
2221 as alternative targets.
2222 (org-export-as-html): Interpret "id:" links to other files by
2223 preserving the relative path.
2225 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2228 * org-exp.el (org-export-normalize-links): Protect the main link,
2229 to avoid special character processing.
2231 * org-export-latex.el (org-export-latex-special-keyword-regexp):
2233 (org-export-latex-special-string-regexps): Variable removed.
2234 (org-export-latex-keywords): Use the new regexp.
2236 * org-exp.el (org-export-handle-include-files): Fetch switches and
2237 put them into the BEGIN statement.
2239 * org-timer.el (org-timer-mode-line-string): New variable.
2241 * org-clock.el (org-clock-mode-line-map): Renamed from
2242 `org-clock-mode-map'.
2243 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2244 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2245 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2246 (org-clock-remove-overlays): Renamed from
2247 `org-remove-clock-overlays'.
2249 * org-timer.el (org-timer-pause-or-continue): Implement stopping
2250 and mode line display.
2251 (org-timer-stop): New command.
2252 (org-timer-seconds): Return correct time when timer is paused.
2253 (org-timer-mode-line-timer): New variable.
2254 (org-timer-set-mode-line, org-timer-update-mode-line): New
2257 * org.el (org-insert-heading): Handle new value `auto' for
2258 `org-blank-before-new-entry'.
2259 (org-org-menu): Add new items for timer functions.
2261 * org-list.el (org-insert-item): Handle new value `auto' for
2262 `org-blank-before-new-entry'.
2264 * org.el (org-blank-before-new-entry): New value `auto', made
2267 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
2269 * org-exp.el (org-export-normalize-links): If the link is also
2270 used as the description, protect the description.
2272 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
2274 * org.el (org-closest-date): Fix bug with yearly repeats, in
2275 combination with preference of the past as it is used for deadline
2276 and scheduling search.
2278 * org-exp.el (org-html-handle-time-stamps): No longer check for
2279 the `org-export-with-timestamps' option, because the preprocesser
2280 has taken care of this already.
2282 * org.el (org-entry-properties): Catch the case when this is
2283 called in a non-org-mode file.
2285 * org-export-latex.el (org-export-latex-remove-from-headlines):
2286 Variable made obsolete, also LaTeX export now uses the standard
2288 (org-export-as-latex): Add the timestamps parameter to the
2289 preprocessor parameter list.
2290 (org-export-latex-content): Export the remaining keywords without
2291 considering to remove them.
2292 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2293 Use bold font instead of tt font for the keywords.
2294 (org-export-latex-fontify-headline): Format headlines, assuming
2295 that all keywords still present should be published.
2296 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2297 publish what ever remains of the time stamps.
2298 (org-export-latex-list-parameters): New option.
2299 (org-export-latex-lists): Pass additional parameters to the list
2302 * org-exp.el (org-export-preprocess-string): Remove clock lines
2303 and timestamps already in the preprocesor.
2304 (org-export-remove-timestamps, org-export-remove-clock-lines): New
2306 (org-export-as-ascii, org-export-as-html): Add the timestamps
2307 parameter to the preprocessor parameter list.
2309 * org-list.el (org-list-parse-list): Parse for checkboxes.
2310 (org-list-to-generic): Introduce and handle new parameters :cbon
2312 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2313 optional parameter PARAMS.
2315 * org-export-latex.el (org-export-latex-special-chars): Fix
2316 problems with interpreting dollar signs.
2317 (org-inside-latex-math-p): New function.
2318 (org-export-latex-preprocess): Protect all the math fragments.
2320 * org.el (org-latex-regexps): Allow a dash after a dollar.
2322 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2325 * org-agenda.el (org-run-agenda-series): Have series options set
2326 when finalizing the agenda.
2328 * org-exp.el (org-export-format-source-code-or-example): Protect
2329 the converted examples.
2331 * org.el (org-set-regexps-and-options): Fix the regexp
2332 `org-complex-heading-regexp'.
2334 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
2336 * org.el (org-edit-src-get-label-format): New function.
2337 (org-coderef-label-format): New option.
2338 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2339 a label format specification and make sure it is used in the edit
2341 (org-edit-src-get-label-format): New function.
2342 (org-store-link): Handle new coderef formats.
2343 (org-link-search): Handle new coderef formats.
2345 * org-footnote.el (org-footnote-create-definition)
2346 (org-footnote-goto-local-insertion-point): Make footnote insertion
2347 work correctly when the "Footnotes" headline is the last line in
2350 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2353 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
2355 * org-w3m.el (org-w3m): New customization group.
2356 (org-w3m-deactivate-mark): New option.
2357 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2360 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
2362 * org.el (org-set-font-lock-defaults): Trigger footnote
2364 (org-activate-footnote-links): New function.
2365 (org-activate-links): New entry `footnote'.
2367 * org-faces.el (org-footnote): New face.
2369 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
2371 * org-macs.el (org-re): Handle the [:word:] class.
2373 * org-exp.el (org-export-preprocess-string): Call
2374 `org-export-protect-colon-examples'.
2375 (org-export-protect-colon-examples): Renamed from
2376 `org-export-protect-examples', and scope limited to lines starting
2379 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
2381 * org-exp.el (org-export-preprocess-string): Move the preprocess
2382 hook to after turning on Org-mode.
2383 (org-export-preprocess-after-include-files-hook)
2384 (org-export-preprocess-after-tree-selection-hook)
2385 (org-export-preprocess-before-backend-specifics-hook)
2386 (org-export-preprocess-final-hook): New hooks.
2387 (org-export-preprocess-string): Run the new hooks.
2389 * org.el (org-ctrl-c-minus): Fix indentation for new items.
2391 * org-footnote.el: New file.
2393 * org.el (org-footnote): Require footnote code.
2394 (org-startup-options): Add new footnote options.
2395 (org-mode-map): New keybindig for footnotes.
2396 (org-ctrl-c-ctrl-c): Add function at footnotes.
2397 (org-org-menu): New menu entries for footnotes.
2399 * org-export-latex.el (org-export-as-latex): Pass footnote
2400 variable to preprocessor.
2401 (org-export-latex-preprocess): Treat multiple references to a
2404 * org-exp.el (org-export-preprocess-string): Call
2405 `org-footnote-normalize'.
2406 (org-export-as-ascii, org-export-as-html): Pass footnote variable
2408 (org-export-as-html): Treat multiple references to a footnote.
2410 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
2412 * org-export-latex.el (org-export-latex-links): Handle coderef
2415 * org.el (org-bracket-link-analytic-regexp++): New variable.
2416 (org-make-link-regexps): Initialize
2417 `org-bracket-link-analytic-regexp++'.
2418 (org-store-link): Implement special case in edit-src buffer.
2419 (org-insert-link): No use of ide to insert stored links.
2420 (org-link-search): Implement special case for coderefs.
2422 * org-exp.el (org-export-html-scripts): New constant.
2423 (org-export-html-style-default): Add a new style for highlighted
2425 (org-export-code-refs): New variable.
2426 (org-export-preprocess-string): Initialize `org-export-code-refs'.
2427 Call `org-export-replace-src-segments-and-examples'
2428 No longer call `org-export-protect-examples'.
2429 (org-export-target-internal-links): Take care of coderef targets.
2430 (org-export-last-code-line-counter-value): New variable.
2431 (org-export-replace-src-segments-and-examples): Renamed from
2432 `org-export-replace-src-segments', and modified.
2433 (org-export-format-source-code-or-example): Renamed from
2434 `org-export-format-source-code'.
2435 (org-export-number-lines): New function.
2436 (org-export-as-ascii, org-export-as-html): Handle coderef links.
2438 --------------------------------------------------------------------------
2440 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
2442 * org-remember.el (org-remember-handler): Safer way to get a new
2443 buffer accessing the target file.
2445 * org.el (org-refile-get-location): Handle case of current buffer
2446 not having a file associated with it.
2448 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
2450 * org-table.el (org-table-get-formula): Only ask to overwrite
2451 field formula if there really is one.
2453 * org-id.el (org-id-find): Allow the ID to be a symbol or a
2454 number, by converting these to a string.
2456 * org-colview.el (org-dblock-write:columnview): Allow ID to be
2457 located in a different file.
2459 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2462 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
2464 * org.el (org-completion-use-ido): Enhance docstring of
2465 `org-completion-use-ido'.
2467 * org-export-latex.el (org-export-latex-make-header): Double the %
2468 in the time stamp format.
2469 (org-export-latex-special-chars): Handle case where there is no
2472 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
2474 * org.el (org-get-refile-targets, org-refile-get-location): Use
2475 expanded file name to improve comparison.
2477 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
2479 * org.el (org-scan-tags): Rescan for tags, to get the correct
2480 upcase/downcase stuff. This slows things down for now, but it
2482 (org-mode): Make sure the tag-faces regexp is initialized.
2484 * org-export-latex.el (org-export-latex-links): Fix bug with
2487 * org-table.el (org-table-get-specials): Set
2488 `org-table-current-last-data-line'.
2489 (org-table-current-last-data-line): New variable.
2490 (org-table-insert-column, org-table-delete-column)
2491 (org-table-move-column, org-table-fix-formulas): Call
2492 `org-table-fix-formulas' a second time to fix the $LR references.
2493 (org-table-get-specials): Add the $LR references to the tables.
2494 (org-table-get-formula): Do not offer last-row names as LHS of
2497 * org.el (org-store-link): Capture link description from
2498 `org-id-store-link'.
2500 * org-exp.el (org-export-html-format-image): Add the / to the end
2502 (org-export-format-source-code): Surround example by empty lines,
2503 to make sure it will not be inside a paragraph.
2505 * org.el (org-ido-switchb): New function.
2507 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
2509 * org-agenda.el (org-agenda-show): New prefix argument
2512 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2515 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2516 `org-agenda-change-all-lines'.
2517 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2518 tags are now retrieved locally.
2520 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
2522 * org.el (org-get-outline-path): Fix bug if level is not given.
2523 (org-org-menu): Do not quote function in menu vector.
2525 * org-agenda.el (org-finalize-agenda): Fix typo with variable
2528 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
2530 * org.el (org-refile): Avoid refiling to within the region to be
2533 * org-export-latex.el (org-export-latex-special-chars): Replace
2534 special characters also in tables.
2536 * org-agenda.el (org-agenda-change-all-lines): New argument
2538 (org-agenda-set-tags): Cet the new tags and pass them to
2539 `org-format-agenda-item'.
2541 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
2543 * org-export-latex.el (org-export-latex-classes): Add longable as
2544 a default package to all classes.
2545 (org-export-latex-tables): Handle the longtable attribute and the
2548 * org-table.el (orgtbl-to-generic): Handle tables that start with
2551 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2552 \verb for colde-like snippets.
2553 (org-export-as-latex): Fix issues with region export.
2555 * org.el (org-up-heading-safe): Speed up function by using a
2556 direct regexp search.
2557 (org-olpa): New variable.
2558 (org-get-outline-path): Speed-up path constructions in cases where
2559 this is possible because the entire hierarchy is scanned anyway.
2560 (org-refile-get-location): Don't compare the truenames of files,
2562 (org-goto-max-level): New option.
2563 (org-goto): Use `org-goto-max-level'.
2565 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
2567 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2568 Strip angle brackets from message-ids in the former and don't do
2570 (org-gnus-follow-link): Open summary reliable, even if the last
2571 messages were deleted, and handle empty groups, too.
2573 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
2575 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2576 instead of \texttt for the =...= and ~===~ emphasis environments.
2577 (org-export-as-latex): Remove any old :org-license-to-kill text
2579 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2580 (org-export-latex-make-header): Add some hard space after the
2582 (org-export-latex-first-lines): Accept RBEG argument. Mark
2583 exported text so that it will be excuded in further steps.
2585 * org-table.el (org-table-get-specials): Make @0 reference the
2586 last line in a table.
2587 (org-table-recalculate): Improve docstring.
2589 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
2591 * org.el (org-log-done): Fix docstring.
2593 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
2595 * org-exp.el (org-export-html-format-image): Fix bugs.
2597 * org-export-latex.el (org-export-latex-tables)
2598 (org-export-latex-links): Implement attribute, label, and caption
2601 * org-exp.el (org-export-html-style-default): Add style
2602 definitions for the figure div.
2603 (org-export-preprocess-string, org-export-as-html): Implement
2604 attribute, label, and caption handling.
2605 (org-export-attach-captions-and-attributes): New function.
2606 (org-export-html-format-image): New function.
2607 (org-format-org-table-html): Implement attribute, label, and
2610 * org.el (org-find-text-property-in-string): New function.
2611 (org-extract-attributes): Use the property org-attr instead of
2612 org-attrobutes, because this property is now set with the #+ATTR
2615 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
2617 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2618 the case that FROM is nil.
2620 * org.el (org-before-first-heading-p): New function.
2622 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
2624 * org-exp.el (org-export-as-html): Do not add a space before
2625 enforces line breaks.
2626 (org-export-as-html): Close paragraph before blockquote and verse
2629 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
2631 * org-id.el (org-id-locations-file): Wrap file name with
2632 `convert-standard-filename'.
2633 (org-id-files): New variable.
2634 (org-id-use-hash): New option.
2635 (org-id-update-id-locations): Also search in all files current
2636 listed in `org-id-files'. Convert the resulting alist to a hash
2637 if the user customation says so.
2638 (org-id-locations-save): Handle he case if `org-id-locations' is a
2640 (org-id-locations-load): Convert the alist to a hash.
2641 (org-id-add-location): Handle the hast case.
2642 (kill-emacs-hook): Make sure id locations are saved when Emacs is
2644 (org-id-hash-to-alist, org-id-alist-to-hash)
2645 (org-id-paste-tracker): New functions.
2647 -------------------------------------------------------------------------
2649 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
2651 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
2652 bindings of calendar variables.
2654 * org-table.el (org-table-find-row-type): Renamed from
2655 `org-find-row-type'.
2656 (org-table-rewrite-old-row-references): Renamed from
2657 `org-rewrite-old-row-references'.
2658 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
2659 (org-table-cleanup-narrow-column-properties): Renamed from
2660 `org-cleanup-narrow-column-properties'.
2662 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
2664 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
2665 for better error messages.
2666 (org-table-get-descriptor-line): Supply the new arguments to
2667 `org-find-row-type'.
2668 (org-table-error-on-row-ref-crossing-hline): New option.
2670 * org.el (org-target-link-regexp): Make buffer-local.
2671 (org-move-subtree-down): Fix bug with trees at beginning of
2674 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
2676 * org-faces.el (org-set-tag-faces): New function.
2677 (org-tags-special-faces-re): New variable.
2679 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
2681 * org-faces.el (org-tag-faces): New option.
2682 (org-tag): Mention `org-tag-faces' in the docstring.
2684 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
2686 * org-exp.el (org-export-html-style-default): Implement new
2689 * org-jsinfo.el (org-infojs-template): Implement new quoting.
2691 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
2692 command to the `w3m-minor-mode-map'.
2694 * org-archive.el (org-archive-to-archive-sibling): Protect
2695 `this-command' to avoid appending kills during archiving.
2697 * org-exp.el (org-export-with-priority): New variable.
2698 (org-export-add-options-to-plist): Use `org-export-plist-vars'
2699 instead of internal list of strings and properties.
2700 (org-print-icalendar-entries): Retrieve the location property with
2703 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
2705 * org-exp.el (org-export-with-todo-keywords): New option.
2706 (org-export-plist-vars): Include also the keys for the #+OPTIONS
2708 (org-default-export-plist, org-export-add-options-to-plist)
2709 (org-export-as-ascii, org-export-as-html): Use the new structure
2710 of `org-export-plist-vars'.
2712 * org.el (org-map-entries): Return all values.
2714 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
2716 * org.el (org-matcher-time): Recognize more special values.
2718 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
2720 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
2722 * org.el (org-tags-exclude-from-inheritance): New option.
2723 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
2724 `org-tags-exclude-from-inheritance'.
2726 * org-agenda.el (org-agenda-show-inherited-tags): New option.
2727 (org-format-agenda-item): Add inherited tags to the agenda line
2728 string, and make sure that properties are kept when downcasing the
2730 (org-agenda-add-inherited-tags): New function.
2731 (org-downcase-keep-props): New function.
2733 * org.el (org-scan-tags): Mark inherited tags with a text
2735 (org-get-tags-at): Mark inherited tags with a text property.
2736 (org-add-prop-inherited): New function.
2738 * org-agenda.el (org-agenda-add-inherited-tags): New function.
2739 (org-agenda-show-inherited-tags): New option.
2741 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
2743 * org.el (org-modules): Add org-w3m to the default modules.
2745 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
2747 (orgtabl-create-or-convert-from-region): New command.
2749 * org-exp.el (org-export-as-ascii): Remove the handling of
2751 (org-export-ascii-preprocess): Handle targets already in this
2754 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
2756 * org-timer.el (org-timer-start-time): Define this variable.
2757 (org-timer-item): Make argument optional.
2759 * org-list.el (org-insert-item): Automatically insert a timer item
2760 if the current list is a timer list.
2762 * org-timer.el: New file.
2764 * org-publish.el (org-publish-org-index): Only exclude the index
2765 file in the main directory from being added to the site-map.
2766 (org-publish-get-project-from-filename): If the current project is
2767 a component, start publishing from the parent project.
2769 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
2771 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
2773 * org-publish.el (org-publish-org-index): Improve removal of
2776 * org-agenda.el (org-get-closed): Re-apply changes
2777 accidentially overwritten by last commit to Emacs.
2779 * org.el (org-outline-path-complete-in-steps): New option.
2780 (org-refile-get-location): Honor
2781 `org-outline-path-complete-in-steps'.
2782 (org-agenda-change-all-lines, org-tags-sparse-tree)
2783 (org-time-string-to-absolute, org-small-year-to-year)
2784 (org-link-escape): Re-apply changes accidentially overwritten
2785 by last commit to Emacs.
2787 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
2789 * org-clock.el (org-dblock-write:clocktable): Make sure the
2790 clocktable sees the first line.
2791 (org-clock-in): Warn if the clock cannot be resumed.
2793 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
2795 * org.el (org-open-at-point): Fix mixup about interactive and
2796 non-interactive elisp links.
2798 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
2800 * org-exp.el (org-export-preprocess-string): Allow one comment
2801 line before the first headline to always be included. This is
2802 to not miss a commented target.
2804 * org-mouse.el (org-mouse-insert-item): Call
2805 `org-indent-to-column' instead of `indent-to', for XEmacs
2808 * org.el (org-refile-targets): Fix customize definition so
2809 that it works also in XEmacs.
2810 (org-fixup-indentation): Call `org-indent-to-column' instead
2811 of `indent-to', for XEmacs compatibility.
2813 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
2815 * org-mew.el (org-mew-store-link): Get the correct case folder
2816 for refiled messages.
2818 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
2820 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
2821 line break indicators.
2823 * org.el (org-ido-completing-read): Remove the "i:" prefix for
2824 ido-completion propts.
2826 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
2828 * org-remember.el (org-remember-apply-template): Use
2829 `org-substring-no-properties'.
2831 * org-compat.el (org-substring-no-properties): New function.
2833 * org-remember.el (org-remember-apply-template): Use
2834 `org-substring-no-properties' for compatibility.
2836 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
2838 (org-fix-bullet-type): respect
2839 `org-list-two-spaces-after-bullet-regexp'.
2841 * org-clock.el (org-clock-load): Clean up the code.
2843 * org.el (org-adaptive-fill-function): Allow two spaces after
2844 "1." as a list bullet.
2846 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
2848 * org-clock.el (org-clock-save, org-clock-load): Check for
2849 live buffers, existing files, and buffer file names to ensure
2850 consistent information.
2851 (org-clock-persist): Make `clock' a special value of this
2852 variable, and improve docstring.
2854 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
2855 (org-get-string-indentation): Adapt indentation when the bullet
2858 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
2860 * org-remember.el (org-remember-finalize): Make interactive.
2861 (org-remember-kill): New command.
2862 (org-remember-finish-immediately): Call `org-remember-finalize'
2864 (org-remember-finalize): Make `org-remember-finalize' an interactive
2867 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
2869 * org-remember.el (org-remember-apply-template): No ido completion
2870 for free prompts in remember templates.
2871 (org-remember-before-finalize-hook): New hook.
2872 (org-remember-mode): New minor mode.
2873 (org-remember-apply-template): Turn on `org-remember-mode'.
2875 * org-id.el (org-id-add-location): Avoid error when no file is
2878 * org-remember.el (org-remember-apply-template): Fix the way how
2879 the list of allowed properties is retrieved from the target file.
2881 * org.el (org-insert-link): Improve file link matching.
2883 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
2885 * org-colview.el (org-columns-display-here): New argument
2886 DATELINE, to trigger using the new face.
2887 (org-agenda-colview-summarize): Call `org-columns-display-here'
2888 with the new argument.
2890 * org-faces.el (org-agenda-column-dateline): New face.
2892 * org-publish.el (org-publish-org-index): Use index-title at page
2893 title, not as section.
2895 * org-exp.el (org-export-html-format-desc): Respect the
2896 org-protect property.
2897 (org-export-as-html): Protect image specifiers that are in the
2898 description part of a link.
2900 * org.el (org-sort-entries-or-items, org-completing-read)
2901 (org-refile-get-location, org-olpath-completing-read, org-todo)
2902 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
2903 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
2904 (org-set-property, org-delete-property)
2905 (org-delete-property-globally): Use `org-ido-completing-read'.
2907 * org-remember.el (org-remember-apply-template): Use
2908 `org-ido-completing-read'.
2910 * org-publish.el (org-publish): Use `org-ido-completing-read'.
2912 * org-colview.el (org-columns-edit-value, org-columns-new)
2913 (org-insert-columns-dblock): Use `org-ido-completing-read'.
2915 * org-colview-xemacs.el (org-columns-edit-value)
2916 (org-columns-new, org-insert-columns-dblock): Use
2917 `org-ido-completing-read'.
2919 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2920 `org-ido-completing-read'.
2922 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
2923 `org-ido-completing-read'.
2925 * org.el (org-time-today): New function.
2926 (org-matcher-time): Use `org-time-today'. Add special treatment
2927 for "<tomorrow>" and "<yesterday>".
2928 (org-ido-completing-read): New function.
2929 (org-completion-use-ido): New option.
2931 * org-exp.el (org-export-format-source-code): Fix bug in require
2933 (org-export-target-internal-links): Fix bug in search for text
2936 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
2938 * org-export-latex.el (org-export-latex-subcontent): Interprete
2939 target aliases as additonal labels.
2941 * org-exp.el (org-export-target-aliases): New variable.
2942 (org-export-preprocess-string)
2943 (org-export-handle-invisible-targets): Fill the alias alist.
2944 (org-export-as-html): Remove the from the anchor, and also
2946 (org-html-level-start): Insert the target aliases as additonal
2949 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
2952 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2954 * org.el (org-open-at-mouse): Ensure correct link abbreviations
2955 when following a link with the mouse from the agenda.
2957 * org-exp.el (org-export-as-html): Avoid lone </div> when no
2958 headlines are created.
2960 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
2962 * org-exp.el (org-export-preprocess-string): Reorder so that we
2963 can still see ID properties when we collect targets.
2964 (org-export-target-internal-links): Also store targets for ID's.
2966 * org.el (org-link-translation-function): New option.
2967 (org-open-at-point): Call `org-link-translation-function' if
2969 (org-translate-link): New function.
2970 (org-translate-link-from-planner): New function.
2971 (org-open-at-point): Allow interactive commands in elisp links.
2973 * org-exp.el (org-icalendar-cleanup-string): Restore the old
2974 iCalendar quoting. The new one seems to caus problems with
2977 * org.el (org-yank): Set `this-command' to `yank', so that
2978 `yank-pop' will work.
2980 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2982 * org-id.el (org-id-search-archives): New option.
2984 * org.el (org-link-to-org-use-id): New option.
2985 (org-store-link): Use `org-link-to-org-use-id'.
2986 (org-id): Make org-id.el a standard component.
2988 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2990 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
2991 hexified version of the tag.
2993 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
2994 compliance as far as quoting is concerned.
2996 * org-vm.el (org-vm-follow-link): Require `vm-search'.
2998 * org.el (org-up-heading-safe, org-forward-same-level): Always
2999 call `org-back-to-heading' instead of `outline-back-to-heading'.
3000 (org-back-to-heading): New wrapper around outline-back-to-heading,
3001 with a useful error message telling where the error happened.
3003 * org-list.el (org-update-checkbox-count): Always call
3004 `org-back-to-heading' instead of `outline-back-to-heading'.
3006 * org-exp.el (org-export-as-html): Make sure that each <img> tag
3007 has an `alt' attribute, to ensure XHTML validation.
3009 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3011 * org-publish.el (org-publish-attachment): Allow publishing to
3012 overwrite attachment files.
3014 * org-agenda.el (org-agenda-timerange-leaders): New option.
3015 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3017 * org.el (org-edit-src-exit): Untabify ASCII image before
3031 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
3033 * org.el (org-yank): Make any prefix force normal yanking.
3034 Suppress folding if text would be swallowed into a folded
3036 (org-yank-folded-subtrees, org-yank): Docstring updates.
3038 * org-agenda.el (org-agenda-compare-effort): Treat no effort
3041 * org-exp.el (org-export-language-setup): Add Catalan and
3042 Esperanto language entries.
3044 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
3046 * org.el (org-refile): Allow refiling of entire regions.
3048 * org-clock.el (org-clock-time%): New function.
3050 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3051 retrieve property values.
3053 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
3055 * org-agenda.el (org-agenda-list): Handle the value `only' of
3056 org-agenda-show-log'.
3057 (org-agenda-log-mode): Interpret a double prefix arg.
3059 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
3061 * org-exp.el (org-export-html-footnotes-section): New variable.
3062 (org-export-as-html): Use `org-export-html-footnotes-section' to
3063 insert the footnotes.
3064 (org-export-language-setup): Add "Footnotes" to language words.
3066 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
3068 * org.el (org-yank): Fix bug when not inserting a subtree.
3070 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3072 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3073 instead of `vm-beginning-of-message'.
3075 * org.el (org-make-link-regexps): Make sure that links to gnus can
3078 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
3080 * org-attach.el (org-attach-dir): Remove duplicate ID creation
3083 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3086 * org.el (org-link-abbrev-alist): Improve customization type.
3088 * org-attach.el (org-attach-expand-link, org-attach-expand): New
3091 * org-agenda.el (org-agenda-get-progress): Renamed from
3092 `org-get-closed'. Implement searching for state changes as well.
3093 (org-agenda-log-mode-items): New option.
3094 (org-agenda-log-mode): New option prefix argument, interpreted as
3095 request to show all possible progress info.
3096 (org-agenda-get-day-entries): Call `org-get-progress' instead of
3098 (org-agenda-set-mode-name): Handle the more complex log mode
3100 (org-get-closed): New alias, pointing to `org-get-progress'.
3102 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
3104 * org.el (org-file-apps-defaults-gnu)
3105 (org-file-apps-defaults-macosx)
3106 (org-file-apps-defaults-windowsnt): Add an entry defining the
3108 (org-file-apps): Allow `system' as key and value.
3109 (org-open-at-point): Explain the effect of a double prefix arg.
3110 (org-open-file): If the argument `in-emacs' is (16),
3111 i.e. corresponding to a double prefix argument, try to open the
3114 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
3116 * org.el (org-insert-link): Abbreviate absolute files names in
3117 links. Also, fix a bug in which the double C-u prefix would not
3120 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
3122 * org.el (org-insert-heading): If buffer does not end with a
3123 newline, add one if necessary to insert headline correctly.
3125 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3126 paragraphs, not inside.
3128 * org.el (org-todo): Quote
3129 `org-agenda-headline-snapshot-before-repeat'.
3131 * org-exp.el (org-export-as-html): Fully process link descriptions.
3132 (org-export-html-format-desc): New function.
3133 (org-export-as-html): Collect footnotes into the correct basket.
3134 (org-html-protect): No longer protect quotations marks here, this
3137 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3140 * org-compat.el (org-fit-window-to-buffer): New function (not
3141 really, a preliminary and incomplete version was present earlier,
3144 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3145 `org-fit-window-to-buffer'.
3147 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3149 * org-agenda.el (org-agenda-get-restriction-and-command)
3150 (org-fit-agenda-window, org-agenda-convert-date): Use
3151 `org-fit-window-to-buffer'.
3153 * org-exp.el (org-export-as-html): Process href links through
3154 `org-export-html-format-href'.
3155 (org-export-html-format-href): New function.
3157 * org-agenda.el (org-agenda-todo): Update only the current
3158 headline if this is a repeated TODO, marked done for today.
3159 (org-agenda-change-all-lines): New argument JUST-THIS, to change
3160 only the current line.
3162 * org.el (org-todo): Take a snapshot of the headline if the
3163 repeater might change it.
3165 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3167 * org-publish.el (org-publish-find-title): Remove buffers visited
3168 only for extracting the title.
3170 * org-exp.el (org-export-html-style)
3171 (org-export-html-style-default): Mark style definitions as
3174 * org-publish.el (org-publish-validate-link): Function
3177 2008-11-02 Charles Sebold <csebold@gmail.com>
3179 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3181 (org-plot-quote-timestamp-field): New function.
3182 (org-plot-quote-tsv-field): Call timestamp field function when
3183 necessary rather than just quoting as a string.
3184 (org-plot/gnuplot-to-data): Pass in timefmt property.
3185 (org-plot/gnuplot-script): Supports timefmt property.
3186 (org-plot/gnuplot): Checks for timestamp column before checking
3187 for text index column.
3189 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3191 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3193 * org-publish.el (org-publish-org-index): Create a section in the
3195 (org-publish-org-index): Stop linking to directories.
3197 * org.el (org-emphasis-alist): Use span instead of <u> to
3200 * org-exp.el (org-export-as-html): Make sure <p> is closed before
3203 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
3205 * org-jsinfo.el (org-infojs-template): Remove language attribute
3208 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
3210 * org-agenda.el (org-agenda-remove-marked-text): New function.
3211 (org-agenda-mark-filtered-text)
3212 (org-agenda-unmark-filtered-text): New functions.
3213 (org-write-agenda): Remove fltered text.
3215 * org.el (org-make-tags-matcher): Give access to TODO "property"
3216 without speed penalty.
3218 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
3220 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3222 (org-store-link-props): Make sure adding to the plist works
3225 * org-gnus.el (org-gnus-no-new-news): New function.
3226 (org-gnus-follow-link): Allow the article ID to be a message-id,
3227 in addition to allowing article numbers. Message IDs make much
3229 (org-gnus-store-link): Use message-id to create link.
3231 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
3233 * org.el (org-emphasize): Reverse the selection array.
3234 (org-emphasis-alist): Set <code> tags for the verbatim
3237 * org-remember.el (org-remember-handler): Fix bug with
3238 prefix-related changing of the note storage target.
3240 * org-exp.el (org-print-icalendar-entries): Make the exported
3241 priorities compatible with RFC 2445.
3243 * org-clock.el (org-clock-save): Insert time stamp without
3244 dependence on time-stamp.el.
3246 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
3248 * org.el ("saveplace"): If saveplace puts point into an invisible
3249 location, make it visible.
3250 (org-make-tags-matcher): Allow inactive time stamps in time
3252 (org-yank-adjusted-subtrees): New option.
3253 (org-yank): Incorporate adjusting trees.
3254 (org-paste-subtree): New argument FOR-YANK which will cause
3255 insertion at point without backing up over white lines, and leave
3256 point at the end of the inserted text. Also if the cursor is
3257 at the beginning of a headline, use the same level or the inserted
3260 * org-publish.el (org-publish-get-base-files-1): Deal correctly
3261 with broken symlinks
3263 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
3265 * org-exp.el (org-export-select-tags, org-get-current-options):
3268 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
3270 * org-agenda.el (org-format-agenda-item)
3271 (org-agenda-filter-make-matcher): Make sure tags are stored and
3274 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
3276 * org.el (org-insert-todo-heading): Fix bug with force-heading
3279 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
3281 * org-clock.el (org-clock-in-resume): Add a custom option to
3282 toggle starting the clock from an open clock line.
3283 (org-clock-in): When clocking in to an entry, if
3284 `org-clock-in-resume' is set, check if the first clock line is
3285 open and if so, start the clock from the time in the clock line.
3286 (org-clock-persist): Add a custom option to toggle clock
3288 (org-clock-persist-query-save): Add a custom option to toggle
3289 asking the user if they want to save the running clock when
3291 (org-clock-persist-query-resume): Add a custom option to toggle
3292 asking the user if they want to resume the saved clock when Emacs
3294 (org-clock-save): Add a function to save clock data.
3295 This includes the contents of `org-clock-history' and the buffer
3296 and position of the currently clocked task, if any.
3297 (org-clock-load): Add a function to load clock data.
3298 This populates `org-clock-history', and resumes the saved clocked
3299 task if there is one.
3300 (org-clock-persistence-insinuate): Add a method to set up the
3301 hooks for clock persistence.
3303 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
3305 * org-exp.el (org-export-as-ascii): Handle the case that we are
3306 publishing from an indirect buffer.
3308 * org-table.el (org-table-copy-down): Fix bug with time stamp
3311 * org-mouse.el (org-mouse-features): New option.
3312 (org-mode-hook): Turn on features depending on
3313 `org-mouse-features'.
3315 * org.el (org-insert-heading-respect-content): Force heading
3317 (org-insert-heading): keep the folding state of the heading before
3320 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3322 * org-archive.el (org-archive-to-archive-sibling): Handle top
3323 level headlines better.
3325 2008-10-21 Bastien Guerry <bzg@altern.org>
3327 * org-export-latex.el (org-export-latex-classes): Added
3328 \usepackage{graphicx} to the default list of packages.
3330 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3332 * org-agenda.el (org-agenda-filter): Renamed from
3333 `org-agenda-filter-tags'.
3335 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
3337 * org.el (org-entry-properties): Add CATEGORY property, iven if it
3338 is not defined as a property in this entry.
3339 (org-add-log-note): Mask prefix argument when immediately storing
3342 * org-agenda.el (org-agenda-filter-effort-default-operator): New
3345 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
3347 * org.el (org-add-log-setup): Bugfix; code to find insertion point
3348 after drawers was skipping ahead one line too many, so notes were
3349 inserted after the first note instead of before it.
3351 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
3353 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3355 (org-prepare-agenda): Reset the filter tags.
3356 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3357 Show filter tags in mode line.
3359 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3362 * org-export-latex.el (org-latex-entities-regexp): New constant.
3363 (org-export-as-pdf): Use two calls to `shell-command'.
3365 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
3367 * org-export-latex.el (org-export-latex-treat-sub-super-char):
3368 Honor the {} value of the subsuperscript setting. Make sure that
3369 longer subsuperscripts are typeset in a roman font.
3371 * org.el (org-clock-update-time-maybe): Compute negative clock
3372 intervals correctly.
3374 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
3376 * org.el (org-add-log-setup): Respect
3377 `org-log-state-notes-insert-after-drawers'.
3378 (org-log-state-notes-insert-after-drawers): New option.
3379 (org-todo-trigger-tag-changes): New function.
3380 (org-todo): Call `org-todo-trigger-tag-changes'.
3382 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
3384 * org.el (org-add-log-setup): Only skip drawers if the are
3385 immediately after the scheduling keywords.
3387 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3389 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3390 call it with the current todo state to get the state to switch to
3392 (org-clock-in): Use org-indent-line-function to indent clock lines.
3393 (org-clock-find-position): Fix indentation of empty clock drawers.
3395 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
3397 * org-publish.el (org-publish-org-to): Handle case when
3398 org-export-to-pdf does return a file name, not a buffer.
3399 (org-publish-org-to-pdf): New function.
3401 * org-export-latex.el (org-export-as-pdf)
3402 (org-export-as-pdf-and-open): New commands.
3404 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3407 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3408 things in protexted regions.
3410 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
3412 * org-export-latex.el (org-export-latex-preprocess): Improve
3413 quoting of LaTeX environments.
3415 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
3417 * org.el (org-edit-fixed-width-region): Exclude final newline from
3420 * org-export-latex.el (org-export-latex-subcontent): Add labels to
3421 sections, to make internal links work.
3422 (org-export-latex-fontify-headline): Do not remove all text
3423 properties, to make sure that target properties survive this
3426 * org-exp.el (org-export-preprocess-string): Change sequence of
3427 modifications, to make sure links are prepared before the LaTeX
3428 conversions do happen.
3430 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
3432 * org-attach.el (org-attach-delete-all): Renamed from
3433 `org-attch-delete'. Add a security query before deleting the
3434 entire directory. New optional argument FORCE can overrule the
3436 (org-attach-delete-one): New command.
3438 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
3440 * org-attach.el (org-attach-file-list): Fix bug with directory.
3442 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
3444 * org.el (org-apps-regexp-alist): New function.
3445 (org-file-apps): Add auto-mode to the default value.
3446 (org-open-file): Use the new structure of org-file-apps.
3448 * org-attach.el (org-attach): Support the new keys.
3449 (org-attach-method): New option.
3451 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
3453 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3456 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3457 of the list value o `org-use-tag-inheritance'.
3459 * org-attach.el (org-attach-auto-tag): New option.
3460 (org-attach-tag, org-attach-untag): New functions.
3461 (org-attach-attach, org-attach-new, org-attach-sync): Call
3463 (org-attach-delete): Call `org-attach-untag'.
3465 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
3467 * org-table.el (orgtbl-self-insert-command): Make this work for
3470 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
3472 * org.el (org-add-log-setup): Limit searc for drawers to entry
3473 text, not to subtree.
3475 * org-clock.el (org-clock-heading-for-remember): New variable.
3476 (org-clock-in): Set `org-clock-heading-for-remember'.
3478 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
3480 * org-remember.el (org-remember-apply-template): Add new
3481 expansions: %k, %K for currently clocked task and a link to the
3482 currently clocked task, and %< to file notes in the currently
3485 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
3487 * org-export-latex.el (org-export-latex-make-header): Also insert
3488 the content of the property :latex-header-extra.
3490 * org-exp.el (org-infile-export-plist): Put the content of
3491 #+LATEX_HEADER: into the property :latex-header-extra.
3493 * org-colview.el (org-columns-get-format-and-top-level): Remove
3494 resetting the marker.
3496 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3497 Remove resetting the marker.
3499 * org.el (org-entry-property-inherited-from): Improve docstring.
3500 (org-entry-get-with-inheritance): Reset marker before starting the
3503 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3505 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
3507 * org.el (org-entry-get-multivalued-property)
3508 (org-entry-protect-space, org-entry-restore-space): New
3510 (org-file-apps-defaults-macosx): Let postscript files be opened by
3512 (org-time-stamp-inactive): Call `org-time-stamp'.
3513 (org-time-stamp): New argument `inactive'. Also edit inacive
3514 stamps. Convert time stamp type.
3515 (org-open-file): Interpret the `default' value for the `command'
3518 * org-id.el (org-id-int-to-b36-one-digit)
3519 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3520 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3523 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
3525 * org-id.el (org-id-reverse-string): New function.
3526 (org-id-new): Use `org-id-reverse-string' to make sure the
3527 beginning chars of the ID are mutating fast. This allows to use a
3528 directory structure to spread things better.
3529 (org-id-prefix): Changed default to nil.
3531 * org-list.el (org-move-item-down, org-move-item-up): Remember and
3532 restore the column of the cursor position.
3534 * org-remember.el (org-remember-apply-template): Remove properties
3537 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
3539 * org-wl.el (org-wl-open): Remove useless call to
3540 `wl-thread-open-all'.
3542 * org-remember.el (org-remember-handler): Fix bug with `bottom'
3545 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
3547 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3548 `org-bbdb-anniversaries'.
3550 * org.el (org-get-next-sibling, org-forward-same-level): New
3551 functions, similar to the outline versions, but invisible headings
3554 2008-09-25 Bastien Guerry <bzg@altern.org>
3556 * org.el (org-auto-repeat-maybe): Insert a space between
3557 the timestamp's type and the timestamp itself.
3559 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
3561 * org-table.el (org-table-sum): Do not format the result with %g,
3562 it does rounding when there are too many digits.
3564 * org.el (org-map-entries): Protect the keyword-selecting variables.
3566 2008-09-23 Bastien Guerry <bzg@altern.org>
3568 * org-agenda.el (org-agenda-to-appt): Make sure the function check
3569 against all agenda files.
3571 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
3573 * org-list.el: New file, aggregating list functions from org.el
3574 and org-export-latex.el.
3576 * org.el (org-edit-src-region-extra): New option.
3578 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
3580 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3583 2008-09-22 Bastien Guerry <bzg@altern.org>
3585 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3587 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
3589 * org-plot.el (org-plot/gnuplot): Make tables starting with a
3590 hline work correctly.
3591 (org-plot/gnuplot-script): Put commas at the end of each script
3594 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
3596 * org.el (org-get-refile-targets): Replace links with their
3598 (org-imenu-get-tree): Replace links with their descriptions.
3600 * org-remember.el (org-remember-apply-template): Add a new
3601 expansion for adding properties to remember items.
3603 * org.el (org-add-log-setup): Skip over drawers (properties,
3604 clocks etc) when adding notes.
3606 * org-agenda.el (org-agenda-get-closed): show durations of clocked
3607 items as well as the start and end times.
3609 * org-compat.el (org-get-x-clipboard-compat): Add a compat
3610 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3612 * org-remember.el (org-get-x-clipboard): Use the compat
3613 function to get clipboard values when x-selection-value is
3614 unavailable. Use substring-no-properties instead of
3615 set-text-properties to remove text properties from the clipboard
3618 * lisp/org-clock.el (org-update-mode-line): Support limiting the
3619 modeline clock string, and display the full todo value in the
3620 tooltip. Set a local keymap so mouse-3 on the clock string goes to
3621 the currently clocked task.
3622 (org-clock-string-limit): Add a custom value for the maximum
3623 length of the clock string in the modeline.
3624 (org-clock-mode-map): Add a keymap for the modeline string
3626 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
3628 * org-compat.el (org-propertize): New function.
3630 2008-09-20 Bastien Guerry <bzg@altern.org>
3632 * org-export-latex.el (org-export-latex-tables): protect exported
3633 tables from further special chars conversion.
3634 (org-export-latex-preprocess): Preserve LaTeX environments.
3635 (org-list-parse-list): Parse descriptive lists.
3636 (org-list-to-generic, org-list-to-latex, org-list-to-html)
3637 (org-list-to-texinfo): Export descriptive lists.
3638 (org-quote-chars): Remove.
3639 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
3640 (org-export-latex-list-beginning-re): Rename to
3641 `org-list-beginning-re'
3642 (org-list-item-begin): Rename to `org-list-item-beginning'
3644 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
3646 * org.el (org-refile): Allow refiling to the last entry in the
3648 (org-get-tags-at): Fix bug when inheritance is turned off.
3650 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
3652 * org.el (org-indent-line-function): No longer check for src
3653 regions, this is too much overhead.
3655 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
3658 * org.el (org-scan-tags): Make sure that tags matching is not case
3659 sensitive. TODO keyword matching is case sensitive, however, to
3660 avoid confusion with similar words that are not meant to be
3663 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
3665 * org.el (org-get-local-tags-at): New function.
3666 (org-get-local-tags): New function.
3668 * org-exp.el (org-export-get-categories): New function.
3670 * org-agenda.el (org-sorting-choice)
3671 (org-agenda-sorting-strategy, org-agenda-get-todos)
3672 (org-agenda-get-timestamps, org-agenda-get-deadlines)
3673 (org-agenda-get-scheduled, org-agenda-get-blocks)
3674 (org-entries-lessp): Implement sorting by TODO state.
3675 (org-cmp-todo-state): New defsubst.
3677 * org-colview.el (org-colview-construct-allowed-dates): New
3679 (org-columns-next-allowed-value): Use
3680 `org-colview-construct-allowed-dates'.
3682 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
3684 (org-columns-next-allowed-value): Use
3685 `org-colview-construct-allowed-dates'.
3687 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
3689 * org.el (org-protect-slash): New function.
3690 (org-get-refile-targets): Use `org-protect-slash'.
3692 * org-agenda.el (org-global-tags-completion-table): New variable.
3694 * org-exp.el (org-export-handle-export-tags): New function.
3695 (org-export-preprocess-string): Call
3696 `org-export-handle-export-tags'.
3698 * org-plot.el: New file.
3700 * org-publish.el (org-publish-expand-components): Function removed.
3701 (org-publish-expand-projects): Allow components to have components.
3703 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
3705 * org.el (org-indent-line-function): Do not indent in regions that
3706 are external source code.
3707 (org-yank-and-fold-if-subtree): New function.
3709 * org-agenda.el (org-agenda-todayp): New function.
3710 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
3711 `org-agenda-todayp'.
3713 * org.el (org-insert-heading-respect-content)
3714 (org-insert-todo-heading-respect-content): New commands.
3715 (org-insert-heading-respect-content): New option.
3716 (org-insert-heading): Respect `org-insert-heading-respect-content'.
3718 * org-clock.el (org-clock-find-position): Make sure the note after
3719 the clock line gets moved into the new clock drawer.
3721 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
3723 * org-id.el (org-id-new): New option.
3725 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
3727 * org-table.el (org-table-copy-down): Avoid overflow during
3728 increment. Use prefix argument 0 to temporarily disable the
3731 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
3733 * org-exp.el (org-export-as-html): Do not turn on the major mode
3734 if the buffer will be killed anyway.
3735 (org-get-current-options): Exclude the #+TEXT field.
3736 (org-export-as-html): Make sure text before the first headline is
3739 * org-publish.el (org-publish-org-to): Tell the exporter that this
3740 buffer will be killed, so it is not necessary to do major mode
3743 * org-archive.el (org-archive-to-archive-sibling): Show empty
3744 lines after folding the archive sibling.
3746 * org.el (org-log-note-extra): New variable.
3748 2008-09-05 Bastien Guerry <bzg@altern.org>
3750 * org.el (org-additional-option-like-keywords): Added keywords for
3751 the _QUOTE, _VERSE and _SRC environments.
3753 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
3754 exporting _QUOTE and _VERSE environments.
3756 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
3758 * org-agenda.el (org-agenda-filter-by-tag): New command.
3760 * org-exp.el (org-get-current-options): Remove angular brackets
3761 from the date entry.
3763 * org.el (org-edit-fixed-width-region): New function.
3764 (org-edit-fixed-width-region): Also try
3765 `org-edit-fixed-width-region'.
3766 (org-edit-fixed-width-region-mode): New option.
3767 (org-activate-code): Only interprete lines starting with colon
3768 plus a space as example lines.
3770 * org-remember.el (org-remember-templates): Add nil instead of
3771 empty strings to fix the length of remember templates.
3773 * org-table.el (org-calc-default-modes): Fix the time format for
3774 calc, from 12 hour to 24 hour clock.
3776 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
3778 * org-agenda.el (org-agenda-get-deadlines)
3779 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
3780 entries that are pre-warnings of deadlines or reminders.
3782 * org.el (org-sort-entries-or-items): Make numeric and alpha
3783 comparisons ignore any TODO keyword and priority cookie.
3785 * org-remember.el (org-remember-handler): Reinterpretation of the
3788 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
3790 * org-agenda.el (org-agenda-get-scheduled): Use new
3791 `org-scheduled' face.
3793 * org-faces.el (org-scheduled): New face.
3795 * org-wl.el (org-wl-open): Remove incorrect declaration.
3797 * org-gnus.el (org-gnus-store-link): Support for :to information
3800 * org-exp.el (org-export-as-html): Fixed typo in creator
3802 (org-export-protect-examples): New parameter indent. Insert extra
3803 spaces only when this parameter is specified.
3804 (org-export-preprocess-string): Call `org-export-protect-examples'
3805 with an indentation parameter when exporting to ASCII.
3807 * org-remember.el (org-remember-templates)
3808 (org-remember-apply-template): Allow the file component to be a
3811 * org.el (org-goto-local-search-headings): Renamed from
3812 `org-goto-local-search-forward-headings'. Added the possibility
3813 to search backwards.
3815 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
3817 * org-export-latex.el (org-export-latex): New customization
3820 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
3822 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
3824 * org-exp.el (org-html-do-expand): Allow {} to terminate
3827 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
3829 * org.el (org-buffer-list): Select buffers based on major mode,
3832 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
3834 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
3837 * org-colview.el (org-columns-display-here): Use
3838 `org-columns-modify-value-for-display-function'.
3840 * org-colview-xemacs.el (org-columns-display-here): Use
3841 `org-columns-modify-value-for-display-function'.
3843 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
3845 * org.el (org-columns-modify-value-for-display-function): New option.
3857 * org-publish.el (org-publish-file): Make sure the directory match
3858 for the publishing directory works correctly.
3860 * org-agenda.el (org-agenda-execute-calendar-command)
3861 (org-agenda-diary-entry): Additional optional argument.
3863 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
3865 * org-exp.el (org-export-as-html): Add attributes also in mailto
3868 * org.el (org-autoload): Add `org-dblock-write:columnview'.
3877 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
3879 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
3880 sure that calls from `org-export-region-as-html' do not do the
3881 special check for a subtree.
3883 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
3885 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
3887 2008-07-20 Juri Linkov <juri@jurta.org>
3889 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
3890 new keymap `narrow-map' instead of binding "\C-xns".
3892 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
3894 * org.el (org-open-file): Use
3895 `org-open-directory-means-index-dot-org'.
3896 (org-open-directory-means-index-dot-org): New option.
3898 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
3900 * org.el (org-make-link-string): Remove link attributes from
3902 (org-open-at-point): Remove link attributes bevore using the path.
3904 * org-exp.el (org-export-as-html): Handle link attributes.
3906 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
3908 * org-table.el (org-table-to-lisp): New function.
3910 * org.el (org-narrow-to-subtree): Do not include the final newline
3911 into the narrowed region.
3913 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
3914 bug with user-define skipping condition.
3916 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
3918 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
3920 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
3922 * org-exp.el (org-export-html-style-default): Automatic overflow
3923 handling for pre fields.
3924 (org-export-as-ascii, org-export-as-html): Change default format
3927 * org-table.el (org-table-export): Offer completion for translator
3928 functions, and do not require a heading above the table.
3930 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
3931 Cater for the case of a list starting in the first line of the
3934 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
3936 * org-publish.el (org-publish-find-title): Bug fix.
3937 (org-publish-org-index): Implement new :index-style option.
3939 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
3941 * org-publish.el (org-publish-timestamp-filename): Use
3942 SHA1-encoded file names in the timestamp directory.
3944 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
3946 * org-publish.el (org-publish-needed-p): Be verbose about files
3947 published and files skipped.
3949 * org-exp.el (org-export-preprocess-string): Swap link
3950 normalization and inernal link targeting.
3952 * org-publish.el (org-publish-needed-p): Create timestamp
3953 directory when it does not exist.
3955 2008-07-04 Bastien Guerry <bzg@altern.org>
3957 * org-clock.el (org-clock-out-when-done): Doc fix.
3959 * org.el (org-agenda-skip-unavailable-files): Doc fix.
3961 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
3962 Ignore case when searching for the COMMENT cookie at export time.
3964 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
3966 * org-exp.el (org-get-file-contents)
3967 (org-get-and-remove-property): New functions.
3968 (org-export-handle-include-files): Handle the new prefix options.
3969 (org-export-as-html): Fix the verse environment.
3971 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
3973 * org.el (org-time=, org-time<, org-time<=, org-time>)
3974 (org-time>=, org-time<>, org-2ft): New functions.
3975 (org-op-to-function): Also provide for the time testing fucntions.
3977 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
3979 * org-exp.el (org-export-html-style-default): New constant.
3981 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
3983 * org-exp.el (org-export-html-style-extra): New variable.
3984 (org-export-splice-style): New function.
3986 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
3988 * org-exp.el (org-export-plist-vars, org-export-as-html):
3989 Implement `org-export-creator-info'.
3990 (org-export-creator-info): New option.
3992 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
3994 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
3995 (org-property-drawer-re, org-clock-drawer-re): New constants.
3997 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
3999 * org-exp.el (org-icalendar-use-deadline)
4000 (org-icalendar-use-scheduled): New options.
4001 (org-icalendar-include-todo): Default changed to t.
4002 (org-print-icalendar-entries): Implement better utilization of
4003 scheduling and deadline time stamps.
4004 (org-export-target-internal-links, org-export-as-html): Allow file
4005 lines without the "file:" prefix if the file path is an absolute
4006 path or starts with ".".
4008 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4010 (org-clock-special-range): Also undertand yesterday, lastweek etc.
4012 2008-06-18 Glenn Morris <rgm@gnu.org>
4013 * org.el (org-map-entries): Let-bind `file'.
4015 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
4017 * org.el (org-agenda-skip-archived-trees): Docstring now
4018 discourages using this.
4019 (org-scan-tags): Check for org-agenda-archives-mode.
4020 (org-map-entries): Make sure org-agenda-archives-mode is nil.
4021 (org-agenda-files): Functionality of second arg changed.
4023 * org-agenda.el (org-agenda-archives-mode): New variable
4024 (org-write-agenda, org-prepare-agenda, org-agenda-list)
4025 (org-search-view, org-todo-list, org-tags-view)
4026 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4028 (org-agenda-quit): Reset the archives mode.
4029 (org-agenda-archives-mode): New command.
4030 (org-agenda-set-mode-name): Include archives info.
4032 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
4034 * org.el (org-paste-subtree): Make sure the yanked headline is
4035 visible if it was yanked at a visible point.
4036 (org-move-item-up): Fix the bug with moving white space at the end
4038 (org-show-empty-lines-in-parent): New function.
4040 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
4042 * org-colview.el (org-columns-next-allowed-value): Bug fix.
4044 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4046 * org-agenda.el (org-agenda-get-closed): Get the end time into the
4047 agenda prefix as well.
4049 * org-publish.el (org-publish-org-index): Make a properly indented
4052 * org.el (org-calendar-agenda-action-key): New option.
4053 (org-get-cursor-date): New function.
4054 (org-mark-entry-for-agenda-action): New command.
4055 (org-overriding-default-time): New variable.
4056 (org-read-date): Respect `org-overriding-default-time'.
4058 * org-remember.el (org-remember-apply-template): Respect the
4059 ovverriding default time.
4061 * org-agenda.el (org-agenda-action-marker): New variable.
4062 (org-agenda-action): New command.
4063 (org-agenda-do-action): New function.
4065 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4067 * org.el (org-schedule, org-deadline): Protect scheduled and
4068 deadline tasks against changes that accidently remove the
4069 repeater. Also show a message with the new date when done.
4071 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4073 * org.el (org-beginning-of-line): Cater for the case when there
4074 are tags but no headline text.
4075 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4078 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
4080 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4081 the return value is nil instead of "nil" when there is no match.
4083 * org-exp.el (org-insert-centered): Use fill-column instead of
4085 (org-export-as-ascii): Use string-width to measure the width of
4088 * org.el (org-diary-to-ical-string): No longer kill buffer
4089 FROMBUF, this is now done by the caller.
4091 * org-exp.el (org-print-icalendar-entries): Move the call to
4092 `org-diary-to-ical-string' out of the loop, and kill the buffer
4095 * org-remember.el (org-remember-visit-immediately): Position
4096 cursor after moving to the note.
4097 (org-remember-apply-template): Use a text property to record the
4099 (org-remember-handler): Align tags after pasting the note.
4101 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
4103 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4105 * org-agenda.el (org-agenda-open-link): If there is an
4106 org-bbdb-name property in the current line, jump to that bbdb
4109 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4110 text property, so that the agenda knows where this entry comes
4113 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4114 interaction between clocking-in from the agenda, and automatic
4115 task state switching.
4117 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4119 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4120 zmacs-region stays after this command in XEmacs.
4122 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
4124 * org.el (org-scan-tags): Allow new values for ACTION parameter.
4126 * org-remember.el (org-remember-templates): Fix bug in
4127 customization type definition.
4129 * org.el (org-map-entries): New function.
4131 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
4133 * org-agenda.el (org-agenda-skip-comment-trees): New option.
4134 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4136 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
4138 * org-remember.el (org-jump-to-target-location): New variable.
4139 (org-remember-apply-template): Set
4140 `org-remember-apply-template' if requested by template.
4141 (org-remember-handler): Start an idle timer to jump to
4144 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4146 * org.el (org-set-regexps-and-options): Fix bug with parsing of
4148 (org-get-tags-at): Add the content of `org-file-tags'.
4150 * org-exp.el (org-export-handle-comments): Fix bug with several
4151 comment lines after each other.
4152 (org-number-to-roman, org-number-to-counter): New functions.
4153 (org-export-section-number-format): New option.
4155 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
4157 * org-exp.el (org-export-protect-examples): Catch the case of a
4158 missing end_example line.
4160 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4161 `org-file-tags' to nil.
4163 * org-colview.el (org-columns-next-allowed-value): Handle next
4164 argument NTH to directly select a value.
4166 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4167 argument NTH to directly select a value.
4169 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
4171 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4173 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
4175 * org.el (org-columns-ellipses): New option.
4177 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
4179 * org-colview.el (org-columns-add-ellipses): New function.
4180 (org-columns-compact-links): New function.
4181 (org-columns-cleanup-item): Call `org-columns-compact-links'.
4182 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4184 (org-columns-edit-value): Fixed bug with editing values from
4186 (org-columns-redo): Also redo the agenda itself.
4188 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
4190 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4193 * org-colview.el (org-agenda-columns-cleanup-item): New function.
4195 * org-exp.el (org-export-ascii-preprocess): Renamed from
4196 `org-export-ascii-clean-string'.
4197 (org-export-kill-licensed-text)
4198 (org-export-define-heading-targets)
4199 (org-export-handle-invisible-targets)
4200 (org-export-target-internal-links)
4201 (org-export-remove-or-extract-drawers)
4202 (org-export-remove-archived-trees)
4203 (org-export-protect-quoted-subtrees)
4204 (org-export-protect-verbatim, org-export-protect-examples)
4205 (org-export-select-backend-specific-text)
4206 (org-export-mark-blockquote-and-verse)
4207 (org-export-remove-comment-blocks-and-subtrees)
4208 (org-export-handle-comments, org-export-mark-radio-links)
4209 (org-export-remove-special-table-lines)
4210 (org-export-normalize-links)
4211 (org-export-concatenate-multiline-links)
4212 (org-export-concatenate-multiline-emphasis): New functions,
4213 obtained from spliiting the export preprocessor.
4215 * org-table.el (org-table-recalculate): Improve error message if
4216 the row number is invalid.
4218 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
4220 * org-archive.el (org-archive-save-context-info): Fix bugs in
4221 customization setup and docstring.
4223 * org-exp.el (org-export-html-style): Changed the size of in the
4224 <pre> element to 90%.
4226 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
4228 * org.el (org-find-src-example-start): Function removed.
4229 (org-edit-src-find-region-and-lang): New function.
4231 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
4233 * org.el (org-edit-src-exit): New function.
4234 (org-exit-edit-mode): New minor mode.
4236 * org-exp.el (org-export-preprocess-string): Fix bug with removing
4237 comment-like lines from protected examples.
4239 * org.el (org-edit-src-example, org-find-src-example-start)
4240 (org-protect-source-example, org-edit-special): New functions.
4242 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
4244 * org-publish.el (org-publish-project-alist): Fix typo in
4246 (org-publish-project-alist): Handle :index-title property.
4248 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
4250 * org-export-latex.el (org-export-as-latex): Make sure region
4251 bounds are correct. Parse subtree properties relating to export.
4253 * org-exp.el (org-export-add-options-to-plist): New function.
4254 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4256 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
4258 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4261 * org-exp.el (org-export-get-title-from-subtree)
4262 (org-export-as-ascii, org-export-as-html): Make sure the original
4263 region-beginning and region-end are used, even after moving
4265 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4268 * org-remember.el (org-remember-last-stored-marker): New variable.
4269 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4270 (org-remember-handler): Also use marker to remember
4271 last-stored position.
4273 * org.el (org-goto-marker-or-bmk): New function.
4275 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
4277 * org.el (org-file-properties): Renamed from `org-local-properties'.
4278 (org-scan-tags): Take file tags into account.
4279 (org-tags-match-list-sublevels): Default changed to t.
4281 * org-exp.el (org-export-as-html): Close paragraph after a
4284 * org.el (org-update-parent-todo-statistics): New function.
4286 * org-exp.el (org-icalendar-store-UID): New option.
4287 (org-icalendar-force-UID): Option removed.
4288 (org-print-icalendar-entries): IMplement UIDs.
4290 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
4292 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4294 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
4296 * org-faces.el (org-column): Document how this face is being used
4297 and why sometimes the background faces shine through.
4299 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4301 * org-publish.el (org-publish-attachment): Create publishing
4302 directory if it does not yet exist.
4304 * org-table.el (org-calc-default-modes): Change default number
4305 format to (float 8).
4307 * org.el (org-olpath-completing-read): New function.
4308 (org-time-clocksum-format): New option.
4309 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4311 * org-clock.el (org-clock-display, org-clock-out)
4312 (org-update-mode-line): Use `org-time-clocksum-format'.
4314 * org-colview-xemacs.el (org-columns-number-to-string): Use
4315 `org-time-clocksum-format'.
4317 * org-colview.el (org-columns-number-to-string): Use
4318 `org-time-clocksum-format'.
4320 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
4322 * org-id.el: New file, move from contrib to core.
4324 * org-exp.el (org-icalendar-force-UID): New option.
4326 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
4328 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4329 shifted by one day if theere is a date range without an end
4332 * org.el (org-try-structure-completion): New function.
4334 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
4336 * org.el (org-set-font-lock-defaults): Improve fontification of
4338 (org-insert-item): Handle description lists.
4339 (org-adaptive-fill-function): Improve auto indentation in
4342 * org-exp.el (org-export-as-html, org-export-preprocess-string):
4343 Implement VERSE environment.
4344 (org-export-preprocess-string): Implement the COMMENT
4347 * org-export-latex.el (org-export-latex-preprocess): Implement
4350 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
4352 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4355 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
4357 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4359 * org.el (org-quote-csv-field): New functions.
4361 * org-table.el (org-table-export-default-format): Remove :splice
4362 from default format, we get the same effect by not specifying
4364 (org-table-export): Improve setup, distinguish better between
4365 interactive and non-interactive use, allow specifying the format
4366 on the fly, better protection against wrong file names.
4367 (orgtbl-to-generic): Fix documentation. Do not require :tstart
4368 and :tend when :splice is omitted.
4370 2008-05-09 Bernt Hansen <bernt@norang.ca>
4372 * org-clock.el (org-clock-select-task): Make sure the selection
4373 letters are 1-9 and A-Z, no special characters.
4375 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
4377 * org-exp.el (org-export-htmlize): New group.
4378 (org-export-htmlize-output-type)
4379 (org-export-htmlize-css-font-prefix): New options.
4380 (org-export-htmlize-region-for-paste): New function.
4381 (org-export-htmlize-generate-css): New command.
4383 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
4385 * org/org.el (org-modules, org-format-latex-options):
4386 * org/org-archive.el (org-archive-stamp-time)
4387 (org-archive-save-context-info):
4388 * org/org-faces.el (org-hide):
4389 * org/org-irc.el (org-irc-parse-link):
4390 * org/org-macs.el (org-call-with-arg, org-autoload):
4391 * org/org-mew.el (org-mew-store-link):
4392 * org/org-remember.el (org-remember-store-without-prompt)
4393 (org-remember-templates): Fix typos in docstrings.
4395 * org/org-info.el (org-info-store-link): Remove leftover docstring.
4397 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4398 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4399 (org-bbdb-anniv-split): Fix typos in docstrings.
4401 * org/org-publish.el (org-publish-project-alist): Doc fixes.
4402 (org-publish-use-timestamps-flag): Reflow docstring.
4403 (org-publish-files-alist): Fix typos in docstring.
4405 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
4407 * org.el (org-set-visibility-according-to-property): New function.
4408 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4409 and compute the regular expressions, and update font-lock.
4410 (org-property-re): Allow a dash in property names.
4412 * org-archive.el (org-extract-archive-file): Insert the file name
4413 without the path into the format, to allow the location format to
4414 contain a subdirectory.
4416 * org-agenda.el (org-agenda-post-command-hook): If point is at end
4417 of buffer, and the `org-agenda-type' property undefined, use the
4418 value from the character before.
4420 * org.el (org-add-planning-info): Don't let indentation for
4421 would-be timestamp become extra whitespace at the end of headline.
4423 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
4425 * org.el (org-remove-double-quotes, org-file-contents): New
4428 * org-exp.el (org-infile-export-plist): Also parse the
4429 contents of #+SETUPFILE files, recursively.
4431 * org.el (org-set-regexps-and-options): Also parse the
4432 contents of #+SETUPFILE files, recursively.
4434 * org-exp.el (org-export-handle-include-files): New function.
4435 (org-export-preprocess-string): Call
4436 `org-export-handle-include-files'.
4438 * org.el (org-delete-property-globally)
4439 (org-delete-property, org-set-property): Ignore case during
4441 (org-set-property): Use `org-completing-read' instead of
4444 * org.el (org-complete-expand-structure-template): New,
4445 experimental function.
4446 (org-structure-template-alist): New, experimental option.
4447 (org-complete): Call `org-complete-expand-structure-template'.
4449 2008-05-06 Bastien Guerry <bzg@altern.org>
4451 * org-export-latex.el (org-export-latex-preprocess): Added
4452 support for blockquotes.
4454 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
4456 * org.el (org-read-date-analyze): Catch the case where only a
4459 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
4461 * org.el (org-set-font-lock-defaults): Make the description
4464 * org-exp.el (org-export-as-html, org-close-li): Implement
4467 2008-05-04 Jason Riedy <jason@acm.org>
4469 * org-table.el (*orgtbl-default-fmt*): New variable.
4470 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4471 when there is no other fmt available.
4473 (orgtbl-to-generic): Allow an explicitly nil :tstart or
4474 :tend to suppress the appropriate string.
4476 (orgtbl-to-orgtbl): New function for translating to another orgtbl
4479 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
4481 * org.el (org-read-date-analyze): "." as an alias for "+0" in
4484 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4487 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4490 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
4492 * org-clock.el (org-clock-find-position): Don't include notes
4495 * org-archive.el (org-archive-subtree): No longer remove an
4496 extra line after cutting the subtree. `org-cut-subtree' already
4499 * org-remember.el (org-remember-handler): Only kill the target
4500 buffer if it does not contain the running clock.
4502 * org.el (org-markers-to-move): New variable.
4503 (org-save-markers-in-region, org-check-and-save-marker)
4504 (org-reinstall-markers-in-region): New function.
4505 (org-move-subtree-down, org-copy-subtree): Remember relative
4506 marker positions before cutting.
4507 (org-move-subtree-down, org-paste-subtree): Restore relative
4508 marker positions after pasting.
4510 * org-remember.el (org-remember-clock-out-on-exit): New option.
4511 (org-remember-finalize): Clock out only if the setting in
4512 `org-remember-clock-out-on-exit' requires it.
4513 (org-remember-handler): Do the cleanup in the buffer, to make sure
4514 that the clock marker remains in tact.
4516 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
4518 * org-clock.el (org-clock-goto): Widen buffer if necessary.
4519 (org-clock-in): Make sure that also tasks outside the narrowed
4520 region will be clocked in correctly.
4521 (org-clock-insert-selection-line): Widen the buffer so that we can
4522 find the correct task heading.
4524 * org.el (org-base-buffer): New function.
4526 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4527 and ";" are escaped.
4528 (org-print-icalendar-entries): Also apply
4529 `org-icalendar-cleanup-string' to the headline, not only to the
4532 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
4534 * org-exp.el (org-export-preprocess-hook): New hook.
4535 (org-export-preprocess-string): Call
4536 `org-export-preprocess-hook'.
4538 * org.el (org-font-lock-hook): New variable.
4539 (org-font-lock-hook): New function.
4540 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4544 ;; add-log-time-zone-rule: t
4547 Copyright (C) 2008 Free Software Foundation, Inc.
4549 This file is part of GNU Emacs.
4551 GNU Emacs is free software: you can redistribute it and/or modify
4552 it under the terms of the GNU General Public License as published by
4553 the Free Software Foundation, either version 3 of the License, or
4554 (at your option) any later version.
4556 GNU Emacs is distributed in the hope that it will be useful,
4557 but WITHOUT ANY WARRANTY; without even the implied warranty of
4558 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4559 GNU General Public License for more details.
4561 You should have received a copy of the GNU General Public License
4562 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4564 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c