1 2009-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-all-time-keywords): New variable.
4 (org-set-regexps-and-options): Set `org-all-time-keywords'.
5 (org-entry-blocked-p): New function.
6 (org-special-properties): Add BLOCKED as a new special property.
7 (org-entry-properties): New optional argument SPECIFIC, only parse
8 for this property when it is specified.
9 (org-entry-get): Pass a SPECIFIC argument to
10 `org-entry-properties'.
12 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
14 2009-12-17 Carsten Dominik <carsten.dominik@gmail.com>
16 * org-latex.el (org-export-latex-tables): No forced line end if
19 2009-12-16 Carsten Dominik <carsten.dominik@gmail.com>
21 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
24 * org-latex.el (org-export-latex-tables): Only add a caption when
25 macro in in longtable environments if one has been defined.
27 * org-html.el (org-export-as-html): Only take title from buffer if
28 not exporting body-only.
30 * org-latex.el (org-export-latex-preprocess): Better version of
31 the regular expression for protecting LaTeX macros.
32 (org-export-latex-preprocess): Start searching for macros to
33 protect from beginning of buffer.
35 * org-exp.el (org-export-target-internal-links): Check for
36 protectedness earlier in the string.
38 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
41 * org-id.el (org-id-store-link): Match TODO keywords case
44 * org.el (org-heading-components, org-get-outline-path)
45 (org-display-outline-path): Match TODO keywords case sensitively.
47 * org-latex.el (org-export-as-latex): Ignore read-only
50 * org-exp.el (org-export-preprocess-string): Remove any
51 `read-only' properties.
53 * org-agenda.el (org-agenda-inactive-leader): New option.
54 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
55 (org-tags-view): Prompt for matcher if MATCH is an empty string.
56 (org-todo-list): Prompt for matcher if ARG is an empty string.
58 2009-12-15 Carsten Dominik <carsten.dominik@gmail.com>
60 * org.el (org-open-link-functions): New hook.
61 (org-open-at-point): Run `org-open-link-functions'.
63 2009-12-14 Carsten Dominik <carsten.dominik@gmail.com>
65 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
68 * org.el (org-inhibit-startup-visibility-stuff): New variable.
69 (org-mode): Don't do startup visibility if inhibited.
70 (org-outline-overlay-data, org-set-outline-overlay-data): New
72 (org-save-outline-visibility): New macro.
73 (org-log-note-headings): Document that one should not change the
76 2009-12-13 Carsten Dominik <carsten.dominik@gmail.com>
78 * org.el (org-make-link-regexps): Capture link path into a group.
80 2009-12-12 Carsten Dominik <carsten.dominik@gmail.com>
82 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
85 2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
87 * org.el (org-startup-with-beamer-mode): New option.
88 (org-property-changed-functions)
89 (org-property-allowed-value-functions): New hooks.
90 (org-entry-put, org-property-get-allowed-values): Run the new
92 (org-property-next-allowed-value): Run the new hooks.
94 * org-exp.el (org-export-select-backend-specific-text): Add the
98 (org-export-preprocess-before-selecting-backend-code-hook): New
101 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
102 (org-export-as-latex): Run
103 `org-export-latex-after-initial-vars-hook'.
104 (org-export-latex-format-toc-function)
105 (org-export-latex-make-header): Call
106 `org-export-latex-format-toc-function'.
108 * org.el (org-fill-template): Make template searches case sensitive.
110 * org-exp.el (org-export): Use "1" as a sign to export only the
113 * org-colview-xemacs.el (org-columns-edit-value): Use
114 org-unrestricted property.
116 * org-colview.el (org-columns-edit-value): Use
117 org-unrestricted property.
119 * org.el (org-compute-property-at-point): Set org-unrestricted
120 text property if the list contains ":ETC".
121 (org-insert-property-drawer): Use
122 org-unrestricted property.
125 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
126 (org-export-preprocess-string): Run
127 `org-export-preprocess-before-selecting-backend-code-hook'.
129 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
131 * org-latex.el (org-export-region-as-latex): Run
132 `org-export-first-hook'.
134 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
136 * org-docbook.el (org-export-as-docbook): Run
137 `org-export-first-hook'.
139 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
141 * org-exp.el (org-export-first-hook): New hook.
143 2009-12-10 Carsten Dominik <carsten.dominik@gmail.com>
145 * org-list.el (org-previous-item): Exit at the beginning of the
148 * org-id.el (org-id-locations-save): Only write the id locations
151 * org-archive.el (org-archive-all-done): Make this work in a file
152 with org-odd-levels-only set.
154 * org.el (org-get-refile-targets): Catch the case when a buffer
157 * org-latex.el (org-export-as-latex): Cleanup forced line ends
158 where they are not needed.
159 (org-export-latex-subcontent): Remove unnecessary newlines.
161 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
163 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
164 (org-export-latex-fontify): Fix regexp bug that takes special
165 care of protecting the right boundary characters in emphasis
167 (org-export-latex-preprocess): Allow multiple arguments to latex
170 * org.el (org-make-link-regexps): Use John Gruber's regexp for
173 * org-macs.el (org-re): Interpret :punct: in regexps.
175 * org-exp.el (org-export-replace-src-segments-and-examples): Also
176 take the final newline after the END line.
178 * org.el (org-clean-visibility-after-subtree-move): Only fix
179 entries that are not entirely invisible already.
180 (org-insert-link): Respect org-link-file-path-type for
181 "docview:" links in addition to "file:" links.
183 2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
185 * org-exp.el (org-export-format-source-code-or-example): Avoid
186 additional extra white lines in LaTeX.
188 * org-list.el (org-list-parse-list): Leave empty lines after the
189 list, don't consider them as part of the list.
191 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
194 * org-clock.el (org-clock-select-task): Convert integer to
195 character for XEmacs.
197 2009-12-02 Carsten Dominik <carsten.dominik@gmail.com>
199 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
202 2009-11-30 Tassilo Horn <tassilo@member.fsf.org>
204 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
206 (org-set-tags): Use it.
208 2009-11-30 Carsten Dominik <carsten.dominik@gmail.com>
210 * org-list.el (org-empty-line-terminates-plain-lists): Update
213 * org.el (org-format-latex): Fix link creation for processed latex
216 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
218 * org-footnote.el (org-footnote-normalize): Protect replacement
221 * org.el (org-inside-latex-macro-p): Save match data.
223 2009-11-28 Jan Böcker <jan.boecker@jboecker.de>
225 * org-docview.el: New file.
227 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
229 * org-latex.el (org-export-latex-class-options): New variable.
230 (org-export-latex-set-initial-vars): Use the class options.
232 * org.el (org-forward-same-level): Stop at headings that start
233 with an invisible character.
234 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
236 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
238 * org-footnote.el (org-footnote-normalize): Don't take optional
239 arguments in LaTeX macros as footnotes.
241 * org.el (org-inside-latex-macro-p): New function.
243 * org-latex.el (org-latex-to-pdf-process): Change customization
244 group to `org-export-pdf'.
246 * org-agenda.el (org-agenda-get-blocks): Look at time string also
247 on days after the first one.
249 * org.el (org-insert-heading): Also check for item before assuming
250 before-first-heading condition.
252 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
253 (org-export-pdf-logfiles): New option.
254 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
255 (org-export-pdf-logfiles): Fix customization type.
257 * org.el (org-insert-link): Improve error message when there is no
258 default link to select with RET.
260 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
263 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
265 * org-latex.el (org-export-latex-parse-global)
266 (org-export-latex-parse-content)
267 (org-export-latex-parse-subcontent): Use
268 `org-re-search-forward-unprotected'.
269 (org-export-as-pdf): Remove log files produced by XeTeX.
271 * org-macs.el (org-re-search-forward-unprotected): New function.
273 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
275 * org-colview.el (org-agenda-colview-summarize): Sort out some
276 confusion between properties and titles, which resulted in
277 agenda summaries not working if a title was set for a column.
279 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
281 * org-mobile.el (org-mobile-agendas): New option.
282 (org-mobile-sumo-agenda-command): Select the right agendas.
284 * org-latex.el (org-export-latex-format-image): Preserve the
285 original-indentation property.
287 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
289 * org-clock.el (org-clock-insert-selection-line): Catch error when
290 an old tasks no longer exists.
292 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
293 (org-export-as-pdf): Don't remove the old PDF file before making
296 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
297 (org-mouse-context-menu): Use `org-looking-back'.
299 * org.el (org-cycle-level): Use `org-looking-back'.
301 * org-list.el (org-cycle-item-indentation): Use
304 * org-compat.el (org-looking-back): New function.
306 * org.el (org-insert-heading): Catch before-first-headline when
307 inserting a headline.
309 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
311 * org-latex.el (org-export-latex-format-image): Indent figure
312 environment, so that it does not interrupt plain list.
314 * org.el (org-open-at-point): Allow long link descriptions.
316 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
318 * org-html.el (org-export-as-html): Remove empty lines at the
319 beginning of the exported text.
321 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
323 * org-protocol.el (org-protocol-remember): Cater for empty title,
326 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
327 agenda after adding new entry.
328 (org-agenda-get-represented-tags): New function.
329 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
330 to get a list of tags in the agenda.
332 * org-datetree.el (org-datetree-find-day-create): Fix regular
335 * org.el (org-display-outline-path): Use a format specifier for
336 message, to avoid problems with heading containing `%'.
338 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
339 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
340 (org-agenda-fix-displayed-tags): New function.
341 (org-agenda-do-context-action): Just call
342 `org-display-outline-path', without piping the result through
345 * org-latex.el (org-export-latex-preprocess): Protect secondary
348 * org-indent.el (org-indent-initialize): Avoid empty strings as
351 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
352 hat checking for the mark does not throw an error.
353 (org-agenda-diary-entry-in-org-file): Catch the case that there is
354 not `day' text property in the cursor line.
356 * org.el (org-sort-entries-or-items): Make sure that the final
357 entry has a newline before doing the sorting.
359 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
360 property at the beginning of the line.
362 * org.el (org-make-link-string): Don't allow a description with
365 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
367 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
368 (org-agenda-insert-diary-as-top-level): New function.
369 (org-agenda-add-entry-to-org-agenda-diary-file): Call
370 `org-agenda-insert-diary-as-top-level'.
372 * org.el (org-occur-in-agenda-files): Make sure none of the
374 (org-activate-plain-links): Add the face property here.
375 (org-set-font-lock-defaults): Do not add the face to plain links,
376 the activator function does this.
378 * org-habit.el (org-is-habit-p): Add doc string.
380 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
382 * org-archive.el (org-archive-subtree-default-with-confirmation):
385 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
386 after match optional (happens at the end of a line...).
388 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
391 * org-faces.el (org-copy-face): Set lisp indentation.
392 (org-quote, org-verse): New faces.
394 * org-agenda.el (org-agenda-remove-date): Remove variable.
396 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
398 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
400 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
402 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
403 hash keys to cache and re-use images generated by the
404 org-exp-blocks interface to ditaa and dot.
406 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
408 * org-html.el (org-export-as-html): Move the home/up link into
411 * org.el (org-export-latex-packages-alist): Option definition
412 moved here from org-latex.el.
414 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
416 * org.el (org-format-latex): Latex images are now saved to files
417 named by the sha1 hash of the latex source text avoiding
418 regeneration of identical images.
420 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
422 * org-html.el (org-export-html-home/up-format): Add an ID to the
425 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
427 * org-wl.el (org-wl-store-link): Handle the case that
428 `wl-use-petname' is set.
430 * org.el (org-set-effort): Improve prompt.
431 (org-get-outline-path): Widen to get full path.
432 (org-compact-display-after-subtree-move): Function removed.
434 * org-latex.el (org-export-as-latex): Add the :drawers property.
436 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
438 * org.el (org-speed-commands-user): Allow documentation headlines.
439 (org-speed-commands-default): Organize the value of this constant
440 with descriptive headlines.
441 (org-print-speed-command): Output the headlines.
443 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
445 * org-agenda.el (org-agenda-show-outline-path): New option.
446 (org-agenda-do-context-action): New function.
447 (org-agenda-next-line, org-agenda-previous-line): Use
448 `org-agenda-do-context-action'.
450 * org.el (org-use-speed-commands): Allow function value.
451 (org-speed-commands-default): Make headline motion safe, so that
452 these commands always end on a headline.
453 (org-speed-commands-default): New key `v' for `org-agenda'.
454 (org-speed-move-safe): New function.
455 (org-self-insert-command): Use the function value of
456 `org-use-speed-commands'.
457 (org-get-outline-path): Improve docstring.
458 (org-format-outline-path): New function.
459 (org-display-outline-path): New function.
461 2009-11-12 John Wiegley <jwiegley@gmail.com>
463 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
464 a string, use that to find the LOGBOOK drawer.
466 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
468 * org.el (org-clone-subtree-with-time-shift): Make it work at the
471 * org-mobile.el (org-mobile-write-checksums): Specify coding
473 (org-mobile-timestamp-buffer): Keep local variable/mode line at
476 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
478 * org.el (org-block-todo-from-children-or-siblings-or-parent)
479 (org-block-todo-from-checkboxes): Do not block changes to a nil
482 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
484 * org-habit.el (org-habit-parse-todo): Indicate which habit is
485 wrongly set up in the error messages.
487 * org-colview.el (org-columns-display-here): Don't try to
488 calculate values if the underlying property is not set.
489 (org-columns-string-to-number): Convert age strings back into
491 (org-agenda-colview-summarize): Handle extended summary types
494 * org-colview-xemacs.el (org-columns-display-here): Don't try to
495 calculate values if the underlying property is not set.
496 (org-columns-string-to-number): Convert age strings back into
498 (org-agenda-colview-summarize): Handle extended summary types
501 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
503 * org-exp.el (org-export-format-drawer-function): New variable.
504 (org-export-format-drawer): New function.
505 (org-export-preprocess-string): Pass the backend as a parameter to
506 `org-export-remove-or-extract-drawers'.
507 (org-export-remove-or-extract-drawers): New parameter BACKEND.
509 * org-protocol.el (org-protocol-char-to-string): New defsubst.
511 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
513 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
514 message when no block is selected.
516 * org-latex.el (org-export-latex-links): Check for protectedness
517 in the last matched character, not after the match.
519 * org-datetree.el (org-datetree-find-date-create): Respect
520 restriction when KEEP-RESTRICTION is set.
521 (org-datetree-file-entry-under): New function.
522 (org-datetree-cleanup): New command.
524 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
526 * org-src.el (org-edit-src-code): New optional argument context
527 allows calling functions to avoid altering the saved window
529 (org-edit-src-exit): Do not restore window configuration when this
530 function is used in the context of saving the edit buffer.
532 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
534 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
535 instances to switching to with-current-buffer, because these seem
536 to cause problems - no idea why.
538 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
539 Require diary-lib for (diary-date-display-form).
541 * org.el (org-log-reschedule, org-log-redeadline): New options.
542 (org-log-note-headings): Add templates for rescheduling and
544 (org-startup-options): Add in-buffer settings for logging changing
545 schedule and deadline time stamps.
546 (org-deadline, org-schedule): Check for existing date and arrange
547 for logging if the user requests it.
548 (org-add-log-note): Prepare proper note buffers for rescheduling
549 and deadline changes.
551 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
553 * org-agenda.el (org-agenda-diary-entry-in-org-file)
554 (org-agenda-add-entry-to-org-agenda-diary-file)
555 (org-agenda-insert-diary-make-new-entry): New functions.
556 (org-agenda-diary-entry): Call
557 `org-agenda-diary-entry-in-org-file' when appropriate.
559 * org.el (org-calendar-insert-diary-entry-key): New option.
560 (org-agenda-diary-file): New option.
561 ("calendar"): Install our insertion function in the calendar.
563 * org-remember.el (org-datetree): Require.
564 (org-remember-templates): Add new positioning option.
565 (org-remember-reference-date): New variable.
566 (org-remember-apply-template): Store the reference date in a local
568 (org-remember-handler): Implement date tree positioning of entries.
570 * org-datetree.el: New file.
572 * org-latex.el (org-export-latex-preprocess): Protect targets in
575 * org-html.el (org-export-as-html): Protect targets in verbatim
578 * org-docbook.el (org-export-as-docbook): Protect targets in
581 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
583 * org.el (org-link-display-format): Should be literal replacement.
585 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
587 * org-clock.el (org-show-notification): Handle messages that
588 contain a percent character.
590 * org-remember.el (org-remember-apply-template): Turn of partial
593 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
594 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
596 * org.el (org-indent-mode): Define variable already in org.el.
597 (org-unfontify-region): Remove line-prefix and wrap-prefix
598 properties only if org-indent-mode is active.
600 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
602 * org-icalendar.el (org-print-icalendar-entries): Save match data
603 around call to verify function.
604 (org-print-icalendar-entries): Add a call to the verification
607 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
608 save-restrivtion' form.
610 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
612 * org-exp.el (org-export-format-source-code-or-example): restrict
613 scope of preserve-indentp to the let binding.
614 (org-src): require org-src, since org-src-preserve-indentation is used.
616 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
618 * org-timer.el (org-timer-set-timer): Set variables
619 org-timer-timer[123] correctly.
622 * org-mobile.el (org-mobile-files-alist): Make it work when
623 `agenda-archives' is included in
624 `org-agenda-text-search-extra-files'.
625 (org-mobile-push): Restore agenda after mobile push.
627 2009-11-05 John Wiegley <jwiegley@gmail.com>
629 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
630 way the amount of idle time is presented in the minibuffer.
632 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
634 * org-icalendar.el (org-print-icalendar-entries): Use
635 org-icalendar-verify-function only if non-nil.
637 * org.el (org-refile): Refile to clock only if the prefix arg is
639 (org-sparse-tree): Fix docstring to be in line with prompt.
640 (org-update-parent-todo-statistics): Call
641 `org-after-todo-statistics-hook' on each level.
643 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
645 * org-remember.el (org-remember-apply-template): Make sure the
648 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
650 * org.el (org-tab-ind-state): New variable.
651 (org-cycle-level): New function.
652 (org-cycle-level-after-item/entry-creation): New option.
653 (org-flag-subtree): New function.
654 (org-hide-archived-subtrees): Call `org-flag-subtree'.
655 (org-set-effort): Indexed access.
657 * org-list.el (org-cycle-item-indentation): New function.
659 * org.el (org-refile): Make prefix argument 2 refile to current
661 (org-priority): Interpret action `remove' as call to remove the
664 * org-remember.el (org-remember-apply-template): Don't depend on
665 buffer name being like file name.
667 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
669 * org-clock.el (org-clock-play-sound): Expand file in
670 org-clock-sound, to allow ~ for home.
672 * org-remember.el (org-remember-handler): Set
673 text-before-node-creation even if this already looks like a node,
674 because the string might be needed on non-org-mode target files.
676 * org-agenda.el (org-agenda-open-link): Make this work in agenda
678 (org-agenda-switch-to): Follow a link at point if
679 org-return-follows-link' is set and there is nothing else to do in
682 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
684 * org-colview-xemacs.el: Add in changes from org-colview.el
686 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
688 * org-exp-blocks.el: Modify split separator regexp to avoid empty
691 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
693 * org-colview.el (org-columns-new): Make this work with the new
695 (org-columns-store-format): Make this work with the new operators.
697 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
699 * org-src.el (org-src-preserve-indentation): Document that this
700 variable is also used during export.
702 * org-exp.el (org-export-format-source-code-or-example): Preserve
703 indentation if a block has a -i option, or if
704 `org-src-preserve-indentation' is set.
706 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
707 indentation if a block has a -i option, or if
708 `org-src-preserve-indentation' is set.
710 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
712 * org.el (org-mode-map): Define the new archiving keys.
713 (org-speed-commands-default): Define an archiving key in the speed
715 (org-org-menu): Improve the menu structure concerning archiving.
717 * org-archive.el (org-archive-subtree-default-with-confirmation):
720 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
721 (org-agenda-menu): Add the new archiving commands to the menu.
722 (org-agenda-archive-default)
723 (org-agenda-archive-default-with-confirmation): New commands.
724 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
725 call `org-agenda-archive-with'.
726 (org-agenda-archive-with): New function.
728 * org-table.el (org-table-convert-region): Inert spaces around "|"
729 to avoid line beginnings like "|-1" which will be mistaken as
732 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
734 * org.el (org-offer-links-in-entry): Return nil if there are no
735 links, t if a link has been selected.
736 (org-open-at-point): Open attachment directory when called in the
737 headline and there are no links in the entry body.
738 (org-speed-commands-default): Add "o" for open-at-point as a speed
741 * org-attach.el (org-attach-reveal): Optional prefix arg
742 IF-EXISTS, which avoids creating the attachment directory if it
745 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
748 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
750 * org.el ("abbrev"): Work with abbrev tables only after they have
753 * org-list.el (org-list-send-list): Fix bug related to match
756 * org-latex.el (org-export-latex-fontify): Apply verbatim
758 (org-export-latex-make-header): Insert \obeylines if line breaks
761 * org-exp.el (org-export-protect-verbatim): Add an
762 `org-verbatim-emph' property to such text.
764 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
766 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
767 (org-print-icalendar-entries): Skip entries where the timestamp is
768 not a deadline and not scheduled, if the user requests that.
770 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
771 before an opening quote.
773 * org-archive.el (org-archive-subtree): Keep archive after
776 * org-id.el (org-id-update-id-locations): Add archive files if
777 that is required by `org-id-extra-files'.
779 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
781 * org-src.el (org-src-window-setup): New option.
782 (org-src-switch-to-buffer): New function.
783 (org-edit-src-exit): Add optional argument CONTEXT and use it to
784 restore window configuration.
785 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
786 Call `org-src-switch-to-buffer'.
788 * org.el (org-default-properties): Add STYLE property.
789 (org-files-list): Use the function call to get the files.
790 (org-additional-option-like-keywords): Add SETUPFILE to completion
793 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
795 * org-table.el (org-table-convert-region): Correctly interpret
796 quoting in csv import.
798 * org.el (org-icompleting-read): Make iswitchb completion work
799 with lists and tables.
801 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
802 while pushing the mobile agenda.
804 2009-10-25 John Wiegley <jwiegley@gmail.com>
807 (org-clock-auto-clock-resolution): Now takes three values: nil, t
808 and `when-no-clock-is-running'.
809 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
810 whether or not to resolve Org buffers on clock in.
812 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
814 * org-colview.el (org-format-time-period): Function to format
815 times in fractional days for display.
816 (org-columns-display-here): Add support for showing a calculated
817 value in place of the property.
818 (org-columns): Set `org-columns-time' to the current time so time
819 difference calculations will work.
820 (org-columns-time): Use to store the current time when column view
821 is displayed, so all time differences will use the same reference
823 (org-columns-compile-map): There is now an extra position in each
824 entry specifying the function to use to calculate the displayed
825 value for the non-calculated properties in the column,
826 (org-columns-compute-all): Set `org-columns-time' to the current
827 time so time difference calculations will work.
828 (org-columns-compute): Handle column operators where the values
829 used are calculated from the underlying property.
830 (org-columns-number-to-string): Handle the 'age' column format
831 (org-columns-string-to-number): Correct the function name (was
832 org-column...). Add support for the 'age' column format.
833 (org-columns-compile-format): Support the additional parameter in
834 org-columns-compile-map.
836 2009-10-26 Bastien Guerry <bzg@altern.org>
838 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
841 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
843 * org-clock.el (org-clock-has-been-used): New variable.
844 (org-clock-in): Set `org-clock-has-been-used'.
845 (org-clock-save): Save only if clock data has been used or created
848 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
850 * org-clock.el (org-clock-persist): New value, to store only the
852 (org-clock-save): Don't save the clock if only the history should
854 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
855 when restoring a saved clock.
857 2009-10-24 John Wiegley <jwiegley@gmail.com>
859 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
860 `org-time-clock-use-fractional'.
862 * org.el (org-time-clocksum-use-fractional)
863 (org-time-clocksum-fractional-format): Two new customizable
864 variables which allow the user to select fractional times (1.25
865 instead of 1:25) in the `org-clock-display' report.
867 2009-10-23 John Wiegley <jwiegley@gmail.com>
869 * org-habit.el (org-habit-build-graph): None of the arguments
871 (org-habit-parse-todo, org-habit-deadline)
872 (org-habit-get-priority, org-habit-get-faces)
873 (org-habit-build-graph): Further simplifications by storing all
874 past, scheduled and deadline dates as a number of days past the
875 epoch, and not as times.
877 * org-habit.el (org-habit-warning-face)
878 (org-habit-warning-future-face): Removed because these are no
880 (org-habit-deadline, org-habit-deadline-repeat): Now always
881 returns a date; computed if there was a scheduled repeater but no
883 (org-habit-get-priority): Further improvements to the priority
884 algorithm. In particular, items past due should always appear
885 before items due or not yet due.
886 (org-habit-get-faces): Greatly simplified the logic, now that
887 `org-habit-deadline' always returns a valid time.
889 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
891 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
894 * org.el (org-tag-alist): Fix customization type.
896 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
898 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
899 Make sure the regexp search can fail without throwing an error.
900 (org-mobile-apply): Save the inbox buffer after removing
901 successfully applied changes.
903 2009-10-22 John Wiegley <jwiegley@gmail.com>
905 * org-habit.el (org-habit-build-graph): Fix to the graph building
906 when last DONE date is earlier than `org-habit-preceding-days'.
908 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
909 time is reported after the user comes back (but before they
912 * org.el (org-get-repeat): Change so that this function can be
913 called with either `org-scheduled-string' or
914 `org-deadline-string'.
916 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
917 to find the scheduled date.
919 * org-clock.el (org-clock-auto-clock-resolution): Renamed
920 `org-clock-disable-clock-resolution', since negatives don't sound
921 good in customization variables.
922 (org-clock-in): Don't use the auto-resolution logic if the user is
923 clocking into a different task while an active clock is running.
924 This then allows the default behavior of clocking out of the open
925 task and then into the new task.
927 * org-habit.el (org-habit-parse-todo): Generate an error if a
928 habit has a scheduled repeat period < 1.
929 (org-habit-get-faces): Fixes to the way that colors are computed.
930 (org-habit-build-graph): The graph wasn't displaying beyond any
931 day that had two completions in it.
933 * org.el (org-modules): Made this variable more consistent, since
934 it was referring to Org, OrgMode and Org-mode, whereas the docs
935 for the variable always refer to Org-mode.
937 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
939 * org.el (org-repeat-re): The changed org-repeat-re no longer
940 matched simple +2d type repeaters. Fix it so it does.
942 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
944 * org-latex.el (org-export-latex-preprocess): Protect the vspace
945 macro in the VERSE environment.
947 2009-10-20 John Wiegley <jwiegley@gmail.com>
949 * org-habit.el (org-habit-get-priority): A new function that
950 determines the relative priority of a habit, based on how long
951 past its scheduled date it is, and how near the deadline is.
953 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
954 using `org-habit-get-priority'.
956 * org-habit.el (org-habit-build-graph): Start displaying colors
957 from the first scheduled date, if that date is earlier than the
958 first completion date.
960 * org-habit.el: Changed all "color" variables to faces, and made
961 them appropriate for light and dark backgrounds.
963 * org-habit.el (org-habit-duration-to-days): Made this function
965 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
967 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
968 habits, since they don't use DEADLINE anymore.
970 * org.el (org-repeat-re, org-display-custom-time)
971 (org-timestamp-change): Extended to support the new ".+N/N"
972 syntax, used for habits.
974 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
977 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
978 modeline when habits are being displayed (if that module is being
981 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
983 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
984 idle time using the xscreensaver extension.
985 (org-user-idle-seconds): Use X11 idle time if available.
987 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
989 * org-agenda.el (org-agenda-next-line): New command.
990 (org-agenda-previous-line): New commands.
991 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
993 (org-agenda-follow-mode): Do the follow immediately if the mode is
995 (previous-line, next-line): Replace keys with the corresponding
997 (org-agenda-mode-map): Bind backspace and delete to the scrolling
1000 * org.el (org-icompleting-read): Turn off partial completion mode
1001 for the duration of this completion round.
1003 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1004 macros in author lines and similar stuff.
1006 * org.el (org-file-tags): Fix docstring.
1007 (org-get-buffer-tags): Add the #+FILETAGS tags.
1008 ("ecb"): Maks ecb show context after jumping into an Org file.
1010 2009-10-20 John Wiegley <johnw@newartisans.com>
1012 * org-agenda.el (org-finalize-agenda): Draw habit consistency
1013 graphs after everything else in the buffer has been setup.
1015 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
1017 * org-mobile.el (org-mobile-apply): Count success and failure.
1019 * org.el (org-indent-line-function): Fix regexp replace problem.
1021 2009-10-19 John Wiegley <johnw@newartisans.com>
1023 * org-clock.el (org-clock-disable-clock-resolution): New
1024 customization variable that disable automatic clock resolution on
1026 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1027 not automatically resolve anything. This is does not affect
1028 idle-time resolution, however, if `org-clock-idle-time' is set.
1030 2009-10-19 John Wiegley <johnw@newartisans.com>
1032 * org-habit.el: New file, which implements code to build a "habit
1035 * org-agenda.el (org-agenda-get-deadlines)
1036 (org-agenda-get-scheduled): Display consistency graphs when
1037 outputting habits into the agenda. The graphs are always relative
1038 to the current time.
1039 (org-format-agenda-item): Added new parameter `habitp', which
1040 indicates whether we are formatting a habit or not. Do not
1041 display "extra" leading information if habitp is true.
1043 * org.el (org-repeat-re): Improved regexp to include .+ and ++
1044 leaders for repeat strings.
1045 (org-get-repeat): Now takes a string parameter `tagline', so the
1046 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1048 2009-10-19 John Wiegley <johnw@newartisans.com>
1050 * org-agenda.el (org-agenda-auto-exclude-function): New
1051 customization variable for allowing the user to create an "auto
1052 exclusion" filter for doing context-aware auto tag filtering.
1053 (org-agenda-filter-by-tag): Changes to support the use of
1054 `org-agenda-auto-exclude-function'. See the new manual addition,.
1056 2009-10-18 John Wiegley <johnw@newartisans.com>
1058 * org.el (org-files-list): Don't attempt to return a file name for
1059 Org buffers which have no associated file.
1061 * org-agenda.el (org-agenda-do-action): Fixed a typo.
1063 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
1065 * org-mobile.el (org-mobile-locate-entry): Interpret files
1066 relative to org-directory.
1067 (org-mobile-inbox-for-pull): Document the best location for this
1069 (org-mobile-check-setup): Verify `org-directory'.
1070 (org-mobile-create-index-file): Sort the files to be listed in
1073 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
1075 * org.el (org-fast-tag-selection): Add a way to display a
1076 description for a tag group. This is done by adding a string to
1077 either the startgroup or endgroup cell.
1079 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1081 * org-clock.el (org-clock-resolve, org-resolve-clocks)
1082 (org-emacs-idle-seconds): Use `org-float-time' instead of
1085 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1087 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1090 * org.el (org-pre-cycle-hook): Document that `empty' can also be
1091 the value of ARG when doing local cycling.
1093 2009-10-17 John Wiegley <johnw@newartisans.com>
1095 * org-clock.el (org-clock-resolve-clock): If keeping or
1096 subtracting time results in a clock out at a time in the past, and
1097 if the resolution occurred due to idleness or invoking `M-x
1098 org-resolve-clocks', remember that past moment in time. On the
1099 next clock in, the user will be prompted to see if they want to
1100 back-date their new clock to then.
1101 (org-clock-resolve): Do not jump the user to the location of a
1102 dangling clock if the resolution is occuring due to an idle
1103 timeout. In that case there is typically only one dangling clock,
1104 the active one, and there is no value gained by shuffling their
1105 windows around to show it to them. Being prompted to resolve an
1106 idle clock should be as inobtrusive as possible.
1107 (org-resolve-clocks-if-idle): New function that resolves only the
1108 currently active clock if the user has exceeded the time returned
1109 by `org-user-idle-seconds', based on the value of
1110 `org-clock-idle-time'.
1111 (org-clock-in): If, after resolving clocks,
1112 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1114 * org-clock.el (org-clock-resolve-clock): New function that
1115 resolves a clock to a specific time, closing or resuming as need
1116 be, and possibly even starting a new clock.
1117 (org-clock-resolve): New function used by `org-resolve-clocks'
1118 that sets up for the call to `org-clock-resolve-clock'. It
1119 determines the time to resolve to based on a single-character
1120 selection from the user to either keep time, subtract away time or
1122 (org-resolve-clocks): New user command which resolves dangling
1123 clocks -- that is, open but not active -- anywhere in the file
1124 list returned by `org-files-list'.
1125 (org-clock-in): Automatically resolve dangling clocks whenever a
1127 (org-clock-cancel): If the user cancels the solely clock in a
1128 LOGBOOK, remove the empty drawer.
1130 * org-clock.el (org-clock-idle-time): New user customizable option
1131 for detecting whether the user has left a clock idle. Note: it is
1132 only used in this commit to test whether it's worthwhile to check
1133 OS X to get the Mac user's current idle time. If the Emacs idle
1134 time is less than the value, the user hasn't been away long enough
1135 to be worth checking (a more expensive test than just getting
1137 (org-user-idle-seconds, org-mac-idle-seconds)
1138 (org-emacs-idle-seconds): This three functions, in conjunction
1139 with the user customization variable `org-clock-idle-time', return
1140 the number of seconds (as a floating point) that the user has been
1141 away from their Emacs (or, if running on OS X, their computer).
1143 * org-clock.el (org-find-open-clocks): New function that returns a
1144 list of all open clocks in the given FILE. Note that each clock
1145 it returns is a cons cell of the format (MARKER . START-TIME).
1146 This "clock" value is used by several of the new clock module
1148 (org-is-active-clock): New inline function which tests whether the
1149 given clock value is the same as the currently active clock.
1150 Returns non-nil if this is the case.
1151 (org-with-clock-position): New macro that evaluates FORMS with
1152 point in the buffer and at the position of the given clock.
1153 Changes to the current clock are global.
1154 (org-with-clock): New macro that evaluates FORMS with point in the
1155 buffer and at the position of the given clock. However, changes
1156 to the current clock are local and have no effect on the user's
1157 active clock. This allows, for example, far any clock to be
1158 cancelled without cancelling the active clock.
1159 (org-clock-clock-in): New inline function that switches the active
1160 clock to the given clock. If either the argument RESUME, or the
1161 global `org-clock-in-resume', are non-nil, it will resume a clock
1162 that was previously left open.
1163 (org-clock-clock-out): New inline function that clocks out the
1164 given clock value without affecting the currently active clock.
1165 (org-clock-clock-cancel): New inline function that cancels the
1166 given clock value without affecting the currently active clock.
1168 * org-clock.el (org-clock-in): Before creating
1169 `org-clock-mode-line-timer', check to make sure an older timer is
1170 not currently running.
1171 (org-clock-out): Accept new third parameter `at-time', which
1172 permits a clock to be clocked out at a specific time. Note that
1173 no attempt is made to verify that the clock out time is later than
1176 * org.el (org-files-list): New utility function for returning a
1177 list of all open org-mode buffers, plus all files used to build
1178 the agenda buffer. Note that not all the files will necessarily
1179 be visited by a buffer at time of call.
1180 (org-entry-beginning-position): Like the function
1181 `line-beginning-position', this inline function returns the
1182 beginning position of the current heading/entry.
1183 (org-entry-end-position): Like the function `line-end-position',
1184 this inline function returns the end position of the current
1187 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
1189 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1192 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
1194 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1196 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
1198 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1199 entries that have no tags.
1200 (org-agenda-search-view): New customize group.
1201 (org-agenda-search-view-search-words-only): New option.
1202 (org-search-view): Implement substring search.
1204 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
1206 * org.el (org-outline-level): Add doc string.
1208 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
1210 * org-inlinetask.el (org-inlinetask-export): Re-introduce
1212 (org-inlinetask-export-handler): Only export inline task if the
1213 user option calls for it.
1215 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
1217 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1220 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
1222 * org-latex.el (org-export-latex-tables): Don't format in
1225 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
1227 * org-src.el (org-edit-src-code)
1228 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1231 * org-agenda.el (org-prefix-category-max-length): New variable.
1232 (org-format-agenda-item): Use `org-prefix-category-max-length'.
1233 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1235 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
1237 * org-mobile.el (org-mobile-create-index-file): Improve the
1238 listing of tags and todo keywords.
1240 * org-latex.el (org-export-latex-format-image): New function.
1241 (org-export-latex-links): Use `org-export-latex-format-image'.
1243 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
1245 * org-inlinetask.el (org-inlinetask-get-current-indentation)
1246 (org-inlinetask-remove-terminator): New functions.
1247 (org-inlinetask-export-handler): Terminate the description list.
1249 * org-exp.el (org-export-select-backend-specific-text): Remove the
1252 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1253 tasks without content.
1255 * org-clock.el: Make sure the clock-in target position does not
1256 move to a different node by widening the buffer.
1258 * org-html.el (org-export-html-format-image): Wrap image into
1259 figure div only when there is a caption.
1261 * org-archive.el (org-archive-mark-done): Change default value to
1264 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1266 * org.el (org-context): Call `bobp', not `eobp'.
1268 * org-clock.el (org-clock-cancel): Remove quotes from marker
1271 * org.el (org-read-date-prefer-future): New allowed value `time'.
1272 (org-read-date-analyze): Shift day to tomorrow depending on time
1273 entered and value of `org-read-date-prefer-future'.
1275 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
1277 * org.el (org-set-tags-to): New command.
1279 * org-mobile.el (org-mobile-action-alist): Add more options and
1280 update the docstring.
1281 (org-mobile-apply-flags): Parse for and use the data.
1283 * org-latex.el (org-export-latex-set-initial-vars): Also check in
1286 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1289 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1291 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
1293 * org-inlinetask.el (org-inlinetask-export): Option removed.
1294 (org-inlinetask-export-handler): Better export.
1296 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1297 (org-export-as-xoxo): Run the new hook.
1299 * org-html.el (org-export-html-final-hook): New hook.
1300 (org-export-as-html): Run the new hook.
1302 * org-docbook.el (org-export-docbook-final-hook): New hook.
1303 (org-export-as-docbook): Run the new hook.
1305 * org-ascii.el (org-export-ascii-final-hook): New hook.
1306 (org-export-as-ascii): Run the new hook.
1308 * org-mobile.el (org-mobile-create-sumo-agenda): Call
1309 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1311 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1312 space character as the character before the ^/_.
1313 (org-export-latex-final-hook): New hook.
1314 (org-export-as-latex): Run `org-export-latex-final-hook'.
1316 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
1318 * org-macs.el (org-if-unprotected-at): Fix docstring.
1320 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1321 text in the prefix (if category is a link).
1323 * org-latex.el (org-export-latex-preprocess): Deal properly with
1324 empty lines in verse environments.
1326 * org.el (org-format-latex-header): Inline fullpage.sty.
1328 * org-footnote.el (org-footnote-create-definition): Reveal context
1329 to add a new footnote definition.
1331 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1333 (org-mobile-files): New option.
1334 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1335 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1337 (org-mobile-push): Start by creating the files lists.
1338 (org-mobile-copy-agenda-files): Move killing the buffer to after
1339 the save-excursion has exited.
1340 (org-mobile-write-checksums): Write checksums also for files in
1343 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1344 org-table-recalculate when cursor is in TBLFM line.
1346 * org-list.el (org-renumber-ordered-list): Fix cursor position
1347 when bullet length has changed.
1349 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1351 * org.el (org-format-latex): Mention `org-format-latex-options' in
1354 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1356 * org.el (org-agenda-get): New function.
1358 * org-agenda.el (org-agenda-post-command-hook): No longer move
1359 point away from end of line.
1360 (org-agenda-add-entry-text, org-agenda-collect-markers)
1361 (org-finalize-agenda, org-agenda-mark-clocking-task)
1362 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1363 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1364 (org-agenda-compare-effort, org-agenda-filter-apply)
1365 (org-agenda-later, org-agenda-change-time-span)
1366 (org-agenda-post-command-hook, org-agenda-show-priority)
1367 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1368 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1369 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1370 (org-agenda-open-link, org-agenda-copy-local-variable)
1371 (org-agenda-switch-to, org-agenda-check-no-diary)
1372 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1373 (org-agenda-add-note, org-agenda-change-all-lines)
1374 (org-agenda-priority, org-agenda-set-tags)
1375 (org-agenda-set-property, org-agenda-set-effort)
1376 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1377 (org-agenda-show-new-time, org-agenda-date-prompt)
1378 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1379 (org-agenda-clock-in, org-agenda-bulk-mark)
1380 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1383 * org-colview.el (org-columns-display-here)
1384 (org-columns-edit-allowed, org-agenda-columns): Use
1387 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1389 * org.el (org-special-ctrl-a/e): Improve documentation and
1391 (org-end-of-line): Don't jump to after the ellipsis.
1392 (org-mode-map): Bind <home> and <end> as well.
1394 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1396 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1397 space after #+ as comments.
1398 (org-open-at-point): Run `org-follow-link-hook' always.
1400 * org-latex.el (org-export-latex-emph-format): Use better commands
1401 to insert special characters in verbatim snippets.
1403 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1405 * org-faces.el (org-copy-face): New function. Use it to create
1406 various faces formerly created by using `copy-face'.
1408 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1410 (org-agenda-quit): Kill the frame containing the agenda window if
1411 that frame was created for the agenda.
1413 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1415 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1416 stamp in the agenda.
1418 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1420 * org-mobile.el (org-mobile-create-index-file): Add the list of
1421 TODO keywords, and the list of drawers to the index file.
1423 * org-agenda.el (org-prepare-agenda): Reset
1424 `org-drawers-for-agenda'.
1425 (org-prepare-agenda): Uniquify list of drawers.
1427 * org.el (org-complex-heading-regexp-format): New variable.
1428 (org-set-regexps-and-options): Define
1429 `org-complex-heading-regexp-format'.
1430 (org-drawers-for-agenda): New variable.
1431 (org-map-entries): Bind `org-drawers-for-agenda'.
1432 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1434 * org-remember.el (org-go-to-remember-target)
1435 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1437 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1439 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1442 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1443 the capture file, and make it non-configurable.
1445 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1446 always with `invisible-ok'.
1447 (org-store-link): No error when there is nothing to link to in the
1450 * org-list.el (org-update-checkbox-count): Insert changed cookie
1451 before the old, to avoid problems with invisibility at the end of
1453 (org-update-checkbox-count): Insert changed cookie before the old,
1454 to avoid problems with invisibility at the end of the line.
1456 * org.el (org-sort-entries-or-items): Include the final newline.
1457 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1458 lines for fontification.
1459 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1460 (org-prepare-dblock): Store the current indentation of the BEGIN
1462 (org-update-dblock): Apply the indentation of the begin line to
1463 the rest of the block.
1464 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1465 (org-startup-folded): New allowed value `showeverything'.
1466 (org-startup-options): Add STARTUP keyword `showeverything'.
1467 (org-set-startup-visibility): Respect value `showeverything' in
1470 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1472 * org.el (org-closest-date): Fix issue with past preference.
1474 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1476 * org-archive.el (org-archive-set-tag)
1477 (org-archive-subtree-default): New commands.
1479 * org-mobile.el (org-mobile-create-index-file): Fix link to
1481 (org-mobile-copy-agenda-files): Create the capture file if it does
1484 * org-clock.el (org-clock-clocktable-default-properties): New
1486 (org-clock-report): Use
1487 `org-clock-clocktable-default-properties'.
1489 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1491 * org.el (org-iswitchb-completing-read): Fix typo.
1493 * org-crypt.el: New file.
1495 * org.el: Add an entry for org-crypt.
1497 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1499 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1501 (org-batch-store-agenda-views): New function.
1502 (org-mobile-force-id-on-agenda-items): Mention variable.
1503 (org-agenda-title-append): Define variable.
1504 (org-write-agenda): New export to Org files.
1505 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1506 (org-agenda): Allow to keep the restricted file list if a special
1507 variable is bound to t.
1508 (org-agenda): Define a special agenda view for working on flagged
1510 (org-agenda-get-restriction-and-command): List the new agenda
1512 (org-agenda-show-the-flagging-note): New command.
1513 (org-agenda-mode-map): New key `?' for looking at the flagging
1516 * org.el (org-autoload): Autoload org-mobile.el.
1517 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1519 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1521 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1523 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1525 (org-table-get-remote-range): Match indented #+TBLNAME
1528 * org.el (org-convert-to-odd-levels)
1529 (org-convert-to-oddeven-levels): Work also correctly if the file
1532 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1534 * org.el (org-store-link): When in agenda buffer, link to
1536 (org-add-planning-info): Remove spaces at eol.
1538 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1541 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1543 * org-latex.el (org-export-latex-first-lines): Fix problem with
1544 LaTeX export of first line and selected subtree.
1546 * org.el (org-shifttab): Interpret arg differently when using only
1549 2009-09-09 Bastien Guerry <bzg@altern.org>
1551 * org.el (org-check-agenda-file): Use a more explicit message
1553 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1555 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1558 2009-09-08 Bastien Guerry <bzg@altern.org>
1560 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1561 prompt in the temporary window.
1563 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1564 prefix for marked entries in the agenda view.
1566 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1568 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1569 a way that prevents any trailing character from being displayed.
1571 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1573 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1576 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1579 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1581 * org-latex.el (org-export-latex-preprocess): Do not protect in
1584 * org-src.el (org-edit-src-save): Save window setup while saving.
1585 (org-edit-src-code): Use new buffer name construction scheme.
1587 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1589 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1591 (org-agenda-entry-text-cleanup-hook): New hook.
1592 (org-agenda-get-some-entry-text): Remove matches of
1593 `org-agenda-entry-text-exclude-regexps' and run the hook
1594 `org-agenda-entry-text-cleanup-hook'.
1596 * org.el (org-offer-links-in-entry): New argument ZERO to
1597 implement a link with index zero.
1598 (org-cycle-show-empty-lines): Not keep empty line under header
1600 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1601 to nil for special completion.
1602 (org-store-link): Don't error before the first heading.
1604 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1605 `org-offer-links-in-entry'.
1607 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1609 * org-agenda.el (org-agenda-quit): Provide the window argument for
1610 `window-dedicated-p', Emacs 22 needs it.
1611 (org-format-agenda-item): If the category is a link, arrange for
1612 invisible text to replaced with spaces.
1613 (org-compile-prefix-format): Add the extra space.
1614 (org-prefix-category-length): New variable.
1616 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1617 references from TOC lines.
1619 * org.el (org-selected-window): New variable.
1621 * org-table.el (org-table-edit-formulas): Remember the selected
1623 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1624 that was originally selected.
1626 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1627 expansion of a macro for more macro definitions.
1629 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1630 invisibility overlay starts on the newline.
1632 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1634 * org-protocol.el (org-protocol-store-link)
1635 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1637 * org-compat.el (org-float-time): New function.
1639 * org.el (org-clock-update-time-maybe)
1640 (org-sort-entries-or-items, org-do-sort)
1641 (org-evaluate-time-range, org-time-string-to-seconds)
1642 (org-closed-in-range): Use `org-float-time'.
1644 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1645 (org-timer-seconds): Use `org-float-time'.
1647 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1648 (org-clock-sum, org-dblock-write:clocktable)
1649 (org-clocktable-steps): Use `org-float-time'.
1651 * org-agenda.el (org-agenda-last-marker-time)
1652 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1654 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1657 * org-exp.el (org-get-file-contents): Only protect lines that
1660 * org-html.el (require): Require cl for compilation.
1662 * org.el: Avoid using `default-major-mode'.
1664 * org-plot.el (require): Require CL only at compile time.
1666 * org-exp.el (require): Require CL only at compile time.
1668 * org-agenda.el (org-agenda-quit): When the agenda window is
1669 dedicated, remove other windows before exiting, so that the frame
1670 really will be killed.
1672 * org-exp.el (org-export-handle-include-files): Reset START and
1673 END for each loop cycle.
1675 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1677 * org.el (org-eval-in-calendar): Use
1678 `org-select-frame-set-input-focus'.
1680 * org-compat.el (org-select-frame-set-input-focus): New function.
1682 * org.el (org-update-statistics-cookies): New function.
1683 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1685 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1687 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1688 after the local variables are set.
1690 * org-latex.el (org-export-latex-protect-amp): New function.
1691 (org-export-latex-links): Protect link ampersands in tables.
1693 * org-exp.el (org-export-select-backend-specific-text): Match in
1694 two steps, to avoid regexp problems.
1696 * org.el (org-offer-links-in-entry): Improve working with many and
1699 * org-agenda.el (org-agenda-show-1): Make more consistent with
1701 (org-agenda-cycle-show): Make more consistent with normal cycling.
1703 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1706 2009-08-30 Bastien Guerry <bzg@altern.org>
1708 * org-latex.el (org-export-latex-first-lines): Bugfix.
1710 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1712 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1715 * org.el (org-set-effort): New function.
1716 (org-mode-map): New key for effort setting command.
1718 * org-agenda.el (org-agenda): Keep window setup when calling
1719 agenda from within agenda window.
1720 (org-agenda-mode-map): New keys for effort setting commands.
1721 (org-agenda-menu): Add effort setting commands to menu.
1722 (org-agenda-set-property, org-agenda-set-effort): New functions.
1724 * org-latex.el (org-export-latex-tables): Fix
1725 `org-table-last-alignment' and `org-table-last-column-widths' if
1726 the first column has been removed.
1728 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1730 * org.el (org-remove-timestamp-with-keyword): Only remove in
1731 entry, not in subtree.
1733 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1736 * org.el (org-open-at-point): When on headline, offer all strings
1739 * org-remember.el (org-remember-templates): Documentation fix.
1741 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1742 `org-get-last-sibling' instead of the outline versions of these
1744 (org-get-last-sibling): New function.
1745 (org-refile): Use `org-get-next-sibling' instead of the outline
1746 version of this function.
1747 (org-clean-visibility-after-subtree-move): Use
1748 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1749 outline versions of these functions.
1751 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1753 * org-agenda.el (org-prepare-agenda): When creating a new frame
1754 for the agenda, make the window dedicated.
1756 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1758 * org-table.el (org-table-align): Change the order of reinsertion
1759 and deletion, to avoid problems with overlays following the table.
1761 * org.el (org-parse-time-string): Better error message.
1762 (org-show-subtree): Use org-end-of-subtree.
1764 * org-macs.el (org-goto-line): New defsubst.
1766 * org.el (org-open-file, org-change-tag-in-region)
1767 (org-fast-tag-show-exit): Don't use `goto-line'.
1769 * org-table.el (org-table-align, org-table-insert-column)
1770 (org-table-delete-column, org-table-move-column)
1771 (org-table-sort-lines, org-table-copy-region)
1772 (org-table-paste-rectangle, org-table-wrap-region)
1773 (org-table-get-specials, org-table-rotate-recalc-marks)
1774 (org-table-get-range, org-table-recalculate)
1775 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1776 (org-table-show-reference, org-table-highlight-rectangle): Don't
1779 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1780 (org-edit-src-exit): Don't use `goto-line'.
1782 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1784 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1785 Don't use `goto-line'.
1787 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1789 * org-colview.el (org-columns, org-columns-redo)
1790 (org-agenda-columns): Don't use `goto-line'.
1792 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1795 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1796 (org-agenda-add-entry-text-maxlines): Improve docstring.
1797 (org-agenda-start-with-entry-text-mode): New option.
1798 (org-agenda-entry-text-maxlines): New option.
1799 (org-agenda-entry-text-mode): New variable.
1800 (org-agenda-mode): Set initial value of
1801 `org-agenda-entry-text-mode'.
1802 (org-agenda-mode-map): Add the `E' key.
1803 (org-agenda-menu): Add entry text mode to the menu.
1804 (org-agenda-get-some-entry-text): Fix line count bug.
1805 (org-finalize-agenda): Apply entry text mode if appropriate.
1806 (org-agenda-entry-text-show-here): New function.
1807 (org-agenda-entry-text-show): New function.
1808 (org-agenda-entry-text-hide): New function.
1809 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1811 (org-agenda-entry-text-mode): New command.
1812 (org-agenda-set-mode-name): Add entry text mode to the mode line
1814 (org-agenda-undo, org-agenda-get-restriction-and-command)
1815 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1818 2009-08-26 Bernt Hansen <bernt@norang.ca>
1820 * org-clock.el (org-notify): Bugfix.
1822 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1824 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1825 check for after-string.
1827 * org-gnus.el (org-gnus-store-link): Simplify.
1829 * org.el (org-latex-regexps): Don't add extra empty lines for
1832 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1834 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1835 (org-agenda-add-entry-text): Use
1836 `org-agenda-get-some-entry-text'.
1838 * org.el (org-cycle-separator-lines): Update docstring.
1839 (org-cycle-show-empty-lines): Handle negative values for
1840 `org-cycle-show-empty-lines'.
1842 * org-exp.el (org-export-protect-sub-super): New function.
1843 (org-export-normalize-links): Protect the url of plain links from
1844 supscript and superscript processing.
1846 * org-remember.el (org-remember-escaped-%): New function.
1847 (org-remember-apply-template): Use `org-remember-escaped-%' to
1848 detect escaped % signs.
1850 2009-08-23 Bastien Guerry <bzg@altern.org>
1852 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1853 sound when showing the notification.
1855 * org-clock.el (org-notify): New function.
1856 (org-clock-notify-once-if-expired): Use `org-notify'.
1858 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1859 and `gnus-article-mode' separately.
1860 (gnus-summary-article-header): Fix the declare-function.
1862 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1864 * org-exp.el (org-export-format-source-code-or-example): Translate
1867 * org-src.el (org-src-lang-modes): New variable
1868 (org-edit-src-code): Translate language.
1870 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1871 the new structure of the `org-export-latex-listings-langs'
1874 * org-latex.el (org-export-latex-listings-langs): Change structure
1875 of the variable from plist to alist.
1877 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1879 * org.el (org-in-commented-line): New function.
1881 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1883 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1885 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1887 * org.el (org-flag-drawer): More useful error.
1889 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1891 * org-remember.el (org-remember-apply-template): Use
1892 org-icompleting-read.
1894 * org-publish.el (org-publish): Use org-icompleting-read.
1896 * org-colview.el (org-columns-edit-value, org-columns-new)
1897 (org-insert-columns-dblock): Use org-icompleting-read.
1899 * org-colview-xemacs.el (org-columns-edit-value)
1900 (org-columns-new, org-insert-columns-dblock): Use
1901 org-icompleting-read.
1903 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1904 org-icompleting-read.
1906 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1909 (org-version): Return the version text.
1910 (org-org-menu): Add a menu entry for the new bug reporter.
1911 (org-submit-bug-report): New command.
1913 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1916 * org.el (org-emphasis-regexp-components): Add "`" to set of
1917 pre-emphasis characters.
1919 * org-latex.el (org-export-latex-classes): Always include the soul
1921 (org-export-latex-emphasis-alist): Use \st for strikethough.
1923 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1924 `indent-code-rigidly' to indent.
1926 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1927 properties only if MATCH really is a string.
1929 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1931 * org-latex.el (org-export-latex-packages-alist): Fix
1934 * org.el (org-create-formula-image): Also use
1935 `org-export-latex-packages-alist'.
1937 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1938 (org-export-as-html): Format footnotes correctly.
1940 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1942 * org.el (org-fast-tag-selection): Avoid text properties on tags
1945 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1946 text properties on the match element.
1948 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1950 * org.el (org-set-regexps-and-options): Make sure the list of done
1951 keywords is not invalid.
1953 * org-exp.el (org-export-interpolate-newlines): New function.
1955 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1957 * org.el (org-format-latex): Avoid nested overlays.
1959 * org-latex.el (org-export-latex-listings-langs): Add a few more
1962 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1963 ignore newlines and space before the first macro argument.
1965 * org-latex.el (org-export-latex-tables): Remove save-excursion
1966 around `org-table-align'.
1968 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1970 * org.el (org-export-html-special-string-regexps): Definition
1973 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1976 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1978 * org-latex.el (org-export-latex-listings)
1979 (org-export-latex-listings-langs): New options.
1981 * org-exp.el (org-export-format-source-code-or-example): Use
1982 listing package if requested by the user.
1984 2009-08-08 Bastien Guerry <bzg@altern.org>
1986 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1987 command before actually switching to a buffer.
1989 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1991 * org-exp.el (org-get-file-contents): Only quote org lines when
1992 the markup is src or example.
1994 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1996 (org-agenda-get-day-entries): Remember deadline results and pass
1997 them on into the function getting the scheduling information.
1998 (org-agenda-get-scheduled): Accept deadline results as parameters
1999 and maybe skip some entries.
2000 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2002 * org.el (org-insert-heading): When respecting content, do not
2003 convert current line to headline.
2005 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2006 cheeeeeck the hd marker
2007 (org-clock-in): Also set the hd marker.
2008 (org-clock-out): Also set the hd marker.
2009 (org-clock-cancel): Reset markers.
2011 * org.el (org-clock-hd-marker): New marker.
2013 * org-faces.el (org-agenda-clocking): New face.
2015 * org-agenda.el (org-agenda-mark-clocking-task): New function.
2016 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2018 * org.el (org-modules): Add org-track.el.
2020 * org-agenda.el (org-agenda-bulk-marked-p): New function.
2021 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2022 `org-agenda-bulk-marked-p'.
2023 (org-agenda-bulk-toggle): New command.
2025 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2027 * org.el (org-move-subtree-down): Hide subtree if it was folded,
2030 * org-remember.el (org-remember-finalize): Avoid buffer-modified
2033 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2035 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2036 before gnuplot can read it.
2038 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
2040 * org-latex.el (org-export-latex-first-lines): Fix bug with
2041 finding the end of the first lines.
2043 * org.el (org-create-formula-image): Remove the -E option for
2046 * org-exp.el (org-default-export-plist): Respect #+BIND.
2047 (org-export-confirm-letbind): New function.
2049 * org.el (org-paste-subtree): Test the kill ring entry if it is
2051 (org-copy-subtree): Use `org-forward-same-level'.
2052 (org-forward-same-level): Respect the `invisibe-ok' arg for
2055 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
2057 * org.el (org-table-map-tables): Make sure cursor is back at table
2058 beginning after funcall.
2060 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2061 handled before children, and do not error if an entry is not
2062 found, probably because it hase been remove when the parent was
2063 archived or refiled.
2065 * org.el (org-ido-completing-read): Accept straight lists for
2066 completion as well as alists.
2068 * org-html.el (org-export-as-html): Fix parenthesis error in
2071 * org-timer.el (org-timer-cancel-timers): Renamed from
2072 `org-timer-cancel-timers'.
2074 * org.el (org-cycle-internal-local): Fix problem with finding next
2077 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
2079 * org-list.el (org-list-send-list): Call
2080 `org-list-goto-true-beginning' instead of
2081 `org-list-find-true-beginning', which does not exist.
2083 * org-timer.el (org-timer-reset-timers): Use `mapc'.
2084 (org-timer-set-timer): Do not assign to heading.
2086 * org-id.el (org-id-open): Quote function name.
2088 * org-macs.el (org-unmodified): Turn off recording undo
2089 information while running inside the macro.
2091 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2093 (org-indent-mode): Remember and restore value of
2094 org-hide-leading-stars before `org-indent-mode'.
2096 * org-table.el (org-table-export): Also work in file-less
2099 * org.el (org-startup-indented): New option.
2100 (org-startup-options): Add new options indent and noindent.
2101 (org-unfontify-region): Remove line-prefix and wrap-prefix
2103 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2105 (org-promote, org-demote): Run the new hooks.
2107 * org-table.el (org-table-align): Replace leading \n as well.
2109 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2110 and `line-wrap' text properties.
2112 * org-compat.el (org-kill-new): New function.
2114 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2115 `line-wrap' text properties.
2117 * org-indent.el: New file.
2119 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
2121 * org.el (org-provide-todo-statistics): Tweak docstring.
2123 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2125 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
2127 * org-exp.el (org-export-as-org): Insert the "-source" string
2128 before the extension.
2130 * org.el (org-read-date): Make sure the calendar is in the current
2132 (org-set-emph-re): Remove the ? from the post-match.
2133 (org-emphasis-regexp-components): Add backslash to the
2135 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2136 optional so that also lines at the end of the buffers will still
2137 be matched as headlines.
2139 * org-table.el (org-table-error-on-row-ref-crossing-hline):
2140 Variable made obsolete.
2141 (org-table-relative-ref-may-cross-hline): New option.
2142 (org-table-find-row-type): Honow the new option
2143 `org-table-relative-ref-may-cross-hline'.
2145 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
2147 * org-table.el (org-table-cut-region, org-table-copy-region): Work
2148 on single field if no active region.
2150 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
2152 * org-latex.el (org-export-latex-make-header): Only insert title
2155 * org.el (org-make-options-regexp): Allow empty values.
2157 * org-html.el (org-export-as-html): Move hrule detection to after
2158 plain list handling.
2160 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
2162 * org-html.el (org-format-org-table-html): Fix colgroup tags.
2164 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
2166 * org.el (org-cycle-internal-local): Improved version of finding
2168 (org-cycle-hide-drawers): Only hide drawers if this is really
2170 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2171 org-version of this function in Org-mode. We use advice to
2172 implement this change, so that future changes to this function in
2173 outline.el wil be handled properly.
2174 (org-forward-same-level, org-backward-same-level): New commands.
2176 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
2178 * org.el (org-remove-empty-overlays-at)
2179 (org-clean-visibility-after-subtree-move): New functons.
2180 (org-move-subtree-down): Simplify cleanup of display.
2182 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
2184 * org-mac-message.el (org-mac-message-get-links): Improve
2185 docstring. Make argument SELECT-OR-FLAGGED optional, default to
2186 "s". Fix the return value.
2187 (org-mac-message-insert-flagged): Simplify.
2189 * org.el (org-refile-get-location): Tamper with refile history o
2190 that history contains compete matches instead of the entered
2193 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
2195 * org.el (org-store-link): Never store a link to an inline task.
2197 * org-inlinetask.el (org-inlinetask-insert-task): New command.
2199 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2200 inline tasks when positioning footnotes.
2202 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2205 * org.el (org-refile): Remove the END line when archiving an
2206 inline task that does have an END line.
2208 * org-archive.el (org-archive-subtree): Remove the END line when
2209 archiving an inline task that does have an END line.
2211 * org-macs.el (org-with-limited-levels): New macro.
2212 (org-get-limited-outline-regexp): New function.
2214 * org-exp.el (org-export-format-source-code-or-example): Fix bug
2215 that did not enumerate first line.
2216 (org-export-mark-radio-links): Skip matches in links.
2218 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
2220 * org.el (org-activate-plain-links): Make single-match.
2221 (org-adapt-indentation): Fix docstring.
2223 * org-macs.el (org-unmodified): Turn of modification hooks while
2226 2009-08-02 Bastien Guerry <bzg@altern.org>
2228 * org.el (org-adapt-indentation): Slightly improve the docstring.
2229 (org-occur): Sends an error when the user inputs an empty string.
2230 (org-priority): Bugfix: the tag alignement should happen within
2233 2009-07-31 Bastien Guerry <bzg@altern.org>
2235 * org.el (org-make-link-regexps): Don't exclude parentheses from
2237 (org-cycle-internal-local): When locally cycling, switch directly
2238 from CHILDREN to FOLDED if there is no subtree
2239 (org-cycle): Update the docstring to document the new behavior of
2240 `org-cycle-internal-local'.
2242 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
2244 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2245 an abbreviated format for days.
2247 2009-07-27 Bastien Guerry <bzg@altern.org>
2249 * org-protocol.el (org-protocol-default-template-key): New
2252 * org.el (org-refile): Bugfix: save-excursion before reading the
2253 refile target, otherwise cursor moves might confuse `org-refile'.
2255 * org-html.el (org-export-as-html): Bugfix: correctly convert the
2256 footnote reference before the footnote itself.
2258 * org.el (org-toggle-heading): Bugfix: correctly convert list
2259 items before the first headline.
2261 * org-html.el (org-export-html-footnote-format): New option for
2262 formatting the footnote reference.
2263 (org-export-as-html): Use the new option.
2265 * org.el (org-provide-todo-statistics): Allow a list of TODO
2266 keywords to compute statistics against headlines containing a
2267 keyword from this list.
2268 (org-update-parent-todo-statistics): Possibly use the new allowed
2269 value of `org-provide-todo-statistics'.
2271 2009-07-26 Bastien Guerry <bzg@altern.org>
2273 * org-timer.el: Add autoload cookie.
2275 * org.el (org-occur-link-in-agenda-files): New function.
2277 * org-timer.el (org-timer-last-timer): New variable.
2279 * org-agenda.el (org-agenda-mode-map): New key for
2280 org-timer-set-timer called from the agenda.
2282 * org.el (org-mode-map): New key for org-timer-set-timer.
2284 * org-timer.el (org-timer-reset-timers)
2285 (org-timer-show-remaining-time, org-timer-set-timer): New
2288 * org-clock.el (org-show-notification): Update the docstring.
2290 * org.el (org-provide-todo-statistics): Allow new value
2291 'all-headlines for this option, which includes entries with no
2292 TODO keywords in the todo statistics.
2293 (org-update-parent-todo-statistics): Possibly use the new
2294 'all-headline value from `org-provide-todo-statistics'.
2296 2009-07-25 Bastien Guerry <bzg@altern.org>
2298 * org-clock.el (org-dblock-write:clocktable): Add a new option
2299 :timestamp which allows display of timestamps in clock reports.
2301 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2302 list to a subtree, preserving the structure of the list.
2303 (org-set-emph-re): Make the last element optional in the regexp.
2304 This regexp now matches an emphasized string at the end of a line.
2306 * org-list.el (org-list-goto-true-beginning)
2307 (org-list-make-subtree, org-list-make-subtrees): New functions.
2309 * org.el (org-eval-in-calendar): Select the right frame.
2310 (org-save-frame-excursion): Remove this macro.
2312 2009-07-24 Bastien Guerry <bzg@altern.org>
2314 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2315 trying to find the beginning of a list.
2317 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2318 When present, tell org-get-file-contents not to protect org-like
2321 * org-id.el (org-id-uuid-program): New option to set the name of
2322 the uuidgen program.
2323 (org-id-method): Use `org-id-uuid-program'.
2324 (org-id-new): Use `org-id-uuid-program'.
2326 2009-07-23 Bastien Guerry <bzg@altern.org>
2328 * org-exp.el (org-export-number-lines): Allow whitespace in code
2329 references. Allow the -r switch to remove the references in the
2330 source code even when the lines are not numbered: the labels can
2333 * org.el (org-fontify-whole-heading-line): New option.
2334 (org-set-font-lock-defaults): Use the new option.
2336 * org-clock.el (org-show-notification-handler): New option.
2337 (org-show-notification): Use the new option.
2339 2009-07-21 Bastien Guerry <bzg@altern.org>
2341 * org.el (org-eval-in-calendar): Fix a bug about calendar
2342 navigation when `calendar-setup' value is 'calendar-only.
2344 2009-07-19 Bastien Guerry <bzg@altern.org>
2346 * org.el (orgstruct++-mode): Fix typo in docstring.
2347 (org-insert-link): Clean up: (or (...)) => (...)
2348 (org-insert-link): Use TAB for stored links completion.
2350 2009-07-18 Bastien Guerry <bzg@altern.org>
2352 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2353 building the list of targets.
2355 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2357 (org-remember-handler): Use the new option.
2359 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2361 * org.el (org-tags-sort-function): New option for sorting tags.
2362 (org-set-tags): Use the new option to sort tags.
2364 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2365 premature deletion of the data when using org-plot in a script.
2367 2009-07-17 Bastien Guerry <bzg@altern.org>
2369 * org-clock.el (org-clock-in-prepare-hook): New hook.
2370 (org-clock-in): Use this new hook.
2372 2009-07-16 Bastien Guerry <bzg@altern.org>
2374 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2375 'reversed for this option to the "true line boundary first"
2377 (org-tags-match-list-sublevels): Document the 'indented value for
2380 * org-latex.el (org-export-latex-first-lines): Fix problem with
2381 publishing the region.
2383 * org-exp.el (org-export-format-source-code-or-example): Fix
2384 bad line numbering when exporting examples in HTML.
2386 * org-colview.el (org-format-time-period): Formats a time in
2387 fractional days as days, hours, mins, seconds.
2388 (org-columns-display-here): Add special handling for SINCE and
2389 SINCE_IA to format for display.
2391 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2393 * org.el (org-tags-sort-function): Add custom declaration for tags
2395 (org-set-tags): Sort tags if org-tags-sort-function is set
2397 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2399 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2401 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2403 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2406 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2408 * org-publish.el (org-publish-remove-all-timestamps): New function.
2409 (org-publish-all): Remove all timestamp files if `org-publish-all'
2410 is called with a prefix argument.
2412 * org-list.el (org-indent-item): Fix typo.
2413 (org-item-indent-positions): Normalize ordered bullet.
2415 * org-html.el (org-export-html-home/up-format): New option.
2416 (org-export-as-html): Insert the up and HOME links.
2418 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2420 * org-html.el (org-export-as-html): Insert the title into the
2422 (org-export-html-insert-plist-item): New function.
2423 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2425 * org-macs.el (org-set-local): Make a local variable, do not make
2426 the variable buffer-local!
2428 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2430 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2432 * org-docbook.el (org-export-as-docbook): Call
2433 `org-install-letbind'.
2435 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2437 * org-exp.el (org-infile-export-plist): Read BIND lines.
2438 (org-install-letbind): New function.
2439 (org-export-as-org, org-export-preprocess-string): Call
2440 `org-install-letbind'.
2442 * org-src.el (org-edit-src-exit): Untabify the example before
2445 * org-list.el (org-list-demote-modify-bullet): New option.
2446 (org-first-list-item-p): Save point.
2447 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2448 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2449 (org-item-indent-positions): Return bullet types along with
2452 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2454 * org.el (org-show-entry): Hide drawers.
2456 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2458 * org-footnote.el (org-footnote-auto-adjust): New option.
2459 (org-footnote-auto-adjust-maybe): New function.
2460 (org-footnote-new, org-footnote-delete): Call
2461 `org-footnote-auto-adjust-maybe'.
2463 * org.el (org-startup-options): Add new footnote-related
2466 * org-publish.el (org-publish-timestamp-filename): Additional
2467 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2468 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2469 TRUE-PUB-DIR. Pass them through to
2470 `org-publish-timestamp-filename'.
2471 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2472 PUB-FUNC, which are included in the hash.
2473 (org-publish-file): Delay timestamp test until the publishing
2476 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2478 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2479 setting the deadline.
2481 * org.el (org-read-date-final-answer): New variable.
2482 (org-read-date): Store the final answer string, including the date
2483 from the calendar, for reuse by agenda bulk commands.
2485 * org-publish.el (org-publish-attachment): Fix publishing of
2488 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2489 quotation makrs in parenthesis.
2490 (org-remove-initial-hash): New function.
2491 (org-export-latex-preprocess): Fix bug with infinite loop if
2492 environment is not properly closed.
2494 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2497 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2498 highlight also when indented.
2500 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2502 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2503 (org-footnote-action): Offer renumbering.
2505 * org.el (org-cycle): Honor the `integrate' value of
2506 org-cycle-include-plain-lists'.
2508 * org-list.el (org-cycle-include-plain-lists): New allowed value
2509 `internal'. Improve the docstring.
2511 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2512 regexp to work better with LaTeX commands.
2514 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2516 * org-feed.el (org-feed-update): fix problem with non-existing
2518 (org-feed-skip-http-headers): New function.
2519 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2520 (org-feed-get-feed): Fix command line arguments for curl.
2522 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2524 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2527 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2529 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2532 * org.el (org-map-entries): No longer force
2533 `org-tags-match-list-sublevels' to t during a todo-only tags
2536 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2538 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2540 (org-export-latex-subcontent): Handle user-defined environment.
2542 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2543 the View dispatcher.
2545 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2548 * org-latex.el (org-export-as-pdf): Protect match data during call
2549 to shell-quote-argument.
2551 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2552 (org-agenda-view-mode-dispatch): New function.
2554 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2556 * org-agenda.el (org-agenda-mode): Reset list of marks.
2557 (org-agenda-mode-map): Define new keys for refile and bulk action.
2558 (org-agenda-menu): Add menu itesm for refile and bulk action.
2559 (org-agenda-refile): New function.
2560 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2561 (org-agenda-marked-entries): New variable.
2562 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2563 (org-agenda-remove-all-bulk-action-marks)
2564 (org-agenda-bulk-action): New functions/commands.
2566 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2568 * org-exp.el (org-get-file-contents): Protect org-like lines in
2570 (org-export-format-source-code-or-example): Remove newlines.
2572 * org-latex.el (org-export-latex-links): Check for no-description
2575 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2576 argument separator back to comma.
2577 (org-export-normalize-links): Mark links without description.
2579 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2581 * org-exp.el (org-infile-export-plist): Fix bug in macro
2584 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2586 (org-agenda-highlight-todo): Fix bug with highlighting.
2588 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2590 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2591 new alignment strings.
2593 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2595 (org-table-align): Check for forced align type.
2597 * org.el (org-self-insert-command): Add yas/expand to command
2600 * org-clock.el (org-clock-in-hook): New hook.
2601 (org-clock-in): Run `org-clock-in-hook.
2602 (org-clock-out-hook): New hook.
2603 (org-clock-out): Run `org-clock-out-hook.
2604 (org-clock-cancel-hook): New hook.
2605 (org-clock-cancel): Run `org-clock-cancel-hook.
2606 (org-clock-goto-hook): New hook.
2607 (org-clock-goto): Run `org-clock-goto-hook.
2609 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2611 * org.el (org-store-link): Better default description for link to
2614 * org-exp.el (org-export-generic): Autoload the generic exporter
2616 (org-export): Implement the `g' key for the generic exporter.
2618 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2620 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2623 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2625 * org-exp.el (org-infile-export-plist): Get macros also from
2628 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2630 * org-colview.el (org-columns-capture-view): Protect vertical bars
2632 (org-columns-capture-view): Exclude comment and archived trees.
2634 * org-colview-xemacs.el (org-columns-capture-view): Protect
2635 vertical bars in column values.
2636 (org-columns-capture-view): Exclude comment and archived trees.
2638 * org.el (org-quote-vert): New function.
2640 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2642 * org-exp.el (org-export-format-source-code-or-example): Use
2643 `org-export-latex-verbatim-wrap'.
2645 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2648 * org-html.el (org-export-table-row-tags): New option.
2649 (org-format-org-table-html): Rename `nlines' to `nline', use new
2653 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2655 * org-exp-blocks.el: Declare functions and variables.
2657 * org-remember.el (org-remember-templates): Allow the headline
2658 element to be a function.
2659 (org-remember-apply-template): If the headline is a function, call
2660 it to get the true function.
2662 * org-clock.el (org-clock-menu): New function.
2663 (org-clock-update-mode-line): Update help string.
2664 (org-clock-modify-effort-estimate): New function.
2665 (org-clock-mark-default-task): New function.
2667 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2669 (org-org-menu): Add new clocking stuff.
2670 (org-clock-is-active): New function.
2672 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2674 * org.el (org-open-non-existing-files): Improve docstring.
2676 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2678 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2680 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2682 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2684 * org-list.el (org-get-checkbox-statistics-face): Use the new
2687 * org-faces.el (org-checkbox-statistics-todo)
2688 (org-checkbox-statistics-done): New faces.
2690 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2692 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2693 (org-edit-src-exit): Better cursor positioning when returning from
2696 * org-latex.el (org-export-latex-use-verb): New variable.
2697 (org-export-latex-emph-format): Prefer \texttt over \verb when
2698 org-export-latex-use-verb is set.
2700 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2702 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2703 at normal indentation.
2705 * org-html.el (org-export-html-close-lists-maybe): Also look at
2708 * org-remember.el (org-remember-handler): Abort remember if the
2711 * org-src.el (org-edit-src-content-indentation): New option.
2712 (org-edit-src-exit): Apply extra indentation.
2714 * org-exp.el (org-export-format-source-code-or-example): Run
2715 `org-src-mode-hook'.
2717 * org-src.el (org-src-mode-hook): New variable.
2718 (org-edit-src-code): Run `org-src-mode-hook'.
2720 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2722 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2724 * org-src.el (org-edit-src-get-indentation): New function.
2725 (org-edit-src-code): Base indentation on the begin line.
2727 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2729 * org-gnus.el (org-gnus-store-link): Require message.el in
2730 org-gnus-store-link.
2732 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2734 * org-src.el: New file, split out of org.el
2736 * org-docbook.el (org-export-as-docbook): Better indentation
2739 * org-macs.el (org-replace-match-keep-properties): New function.
2741 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2742 preprocessing of center and quote and verse blocks.
2744 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2745 (org-export-as-docbook): Close lists when original indentation
2748 * org-html.el (org-export-html-close-lists-maybe): New function.
2749 (org-export-as-html): Close lists when original indentation
2752 * org-list.el (org-list-end): Respect the stored "original"
2753 indentation when determining the end of the list.
2755 * org-exp.el (org-export-replace-src-segments-and-examples):
2756 Remember indentation correctly.
2758 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2760 * org-clock.el (org-clock-update-mode-line): Apply face
2761 org-mode-line-clock.
2763 * org-faces.el (org-mode-line-clock): New face.
2765 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2767 * org-gnus.el (org-gnus-store-link): Fix bug where
2768 `org-gnus-store-link' used wrong subject when called in an article
2769 buffer. Patch provided by fengli AT gmail DOT com.
2771 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2773 * org-exp.el (org-export-format-source-code-or-example): Remember
2774 the original indentation of source code snippets and examples.
2776 * org-latex.el (org-export-as-latex): Relocate the table of
2779 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2781 * org-agenda.el (org-run-agenda-series): Scope global options also
2782 when creating the agenda buffer.
2784 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2786 * org.el (org-adapt-indentation): Improve documentation.
2787 (org-insert-property-drawer): Respect org-adapt-indentation when
2788 inserting the drawer.
2789 (org-remove-flyspell-overlays-in): New function.
2790 (org-do-emphasis-faces, org-activate-plain-links)
2791 (org-activate-code, org-fontify-meta-lines-and-blocks)
2792 (org-activate-angle-links, org-activate-footnote-links)
2793 (org-activate-bracket-links, org-activate-dates)
2794 (org-activate-target-links, org-activate-tags): Remove flyspell
2797 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2799 * org.el (org-edit-src-save): New function.
2801 * org-clock.el (org-clock-out-switch-to-state): New option.
2802 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2804 * org-compat.el (org-compatible-face): Improve macro.
2806 * org.el (org-global-properties-fixed): Add default for
2807 CLOCK_MODELINE_TOTAL.
2809 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2811 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2813 (org-clock-get-sum-start): New function.
2815 * org.el (org-startup-options): New keywords blockhide and
2817 (org-mode): Add new invisibility spec.
2818 (org-set-startup-visibility): Hide block on startup if so
2820 (org-hide-block-startup): New option.
2821 (org-block-regexp): New constant.
2822 (org-hide-block-overlays): New variable.
2823 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2824 (org-show-block-all, org-hide-block-toggle-maybe)
2825 (org-hide-block-toggle): New functions.
2826 (org-edit-src-exit): Do not quote lines starting with # and no +
2828 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2831 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2833 * org.el (org-buffer-property-keys): Add Effort property for
2836 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2838 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2839 when retrieving total clocked time in the subtree.
2841 * org.el (org-quoting-blocks): New variable.
2843 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2845 * org-table.el (org-table-store-formulas)
2846 (org-table-get-stored-formulas, org-table-fix-formulas)
2847 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2848 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2850 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2851 indented #+TBLFM line.
2853 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2854 indented #+TBLFM line.
2856 * org-colview.el (org-dblock-write:columnview): Allow indented
2859 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2860 indented #+TBLFM line.
2862 * org-clock.el (org-dblock-write:clocktable): Allow indented
2865 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2867 * org-exp.el (org-export-format-source-code-or-example): Make
2868 editing indented blocks work correctly.
2870 * org.el (org-edit-src-nindent): New variable.
2871 (org-edit-src-code, org-edit-fixed-width-region)
2872 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2873 editing indented blocks work correctly.
2875 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2877 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2879 (org-export-format-source-code-or-example): Fix indentation of
2881 (org-export-remove-indentation): New function.
2882 (org-export-select-backend-specific-text): Allow backend-specific
2883 code to be indented.
2884 (org-export-mark-blockquote-verse-center): Allow markers to be
2887 * org.el (org-fontify-meta-lines): New function.
2888 (org-set-font-lock-defaults): Call the new fontification
2891 * org-faces.el (org-meta-line): New face
2892 (org-block): New face.
2894 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2896 * org.el (org-treat-insert-todo-heading-as-state-change)
2897 (org-treat-S-cursor-todo-selection-as-state-change): New
2899 (org-insert-todo-heading): Honor
2900 `org-treat-insert-todo-heading-as-state-change'.
2901 (org-shiftright, org-shiftleft): Honor
2902 `org-treat-S-cursor-todo-selection-as-state-change'.
2903 (org-inhibit-logging): New variable.
2905 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2907 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2908 range for marker position checking.
2910 * org-latex.el (org-export-latex-first-lines): Fix bug when
2913 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2915 * org-exp.el (org-export-push-to-kill-ring): Protect using
2916 x-set-selection, because that does not always work.
2918 * org-agenda.el (org-agenda-list): Apply the new face
2919 `org-agenda-date-today'.
2921 * org-faces.el (org-agenda-date-today): New face.
2923 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2925 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2926 creating appointments.
2928 * org-latex.el (org-export-latex-low-levels): Fix customization
2931 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2934 * org-agenda.el (org-agenda-priority): Disable priority commands.
2936 * org.el (org-enable-priority-commands): New option.
2938 * org-colview-xemacs.el (org-columns-compute)
2939 (org-columns-number-to-string): Fix problems with empty fields.
2941 * org-colview.el (org-columns-compute)
2942 (org-columns-number-to-string): Fix problems with empty fields.
2944 * org-exp.el (org-export-push-to-kill-ring): New function.
2945 (org-export-copy-to-kill-ring): New option.
2947 * org-latex.el (org-export-as-latex): Call
2948 `org-export-push-to-kill-ring'.
2950 * org-html.el (org-export-as-html): Call
2951 `org-export-push-to-kill-ring'.
2953 * org-docbook.el (org-export-as-docbook): Call
2954 `org-export-push-to-kill-ring'.
2956 * org-ascii.el (org-export-as-ascii): Call
2957 `org-export-push-to-kill-ring'.
2959 * org-exp.el (org-export-show-temporary-export-buffer): New
2962 * org-latex.el (org-export-as-latex): Use
2963 `org-export-show-temporary-export-buffer'.
2965 * org-html.el (org-export-as-html): Use
2966 `org-export-show-temporary-export-buffer'.
2968 * org-docbook.el (org-export-as-docbook): Use
2969 `org-export-show-temporary-export-buffer'.
2971 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2972 `org-export-show-temporary-export-buffer'.
2974 * org-exp.el (org-export-show-temporary-export-buffer): New
2976 (org-export-push-to-kill-ring): New function.
2978 * org-colview.el (org-columns-compile-map): New variable.
2979 (org-columns-new, org-columns-compute)
2980 (org-columns-number-to-string, org-columns-uncompile-format)
2981 (org-columns-compile-format): Implement new operators.
2983 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2985 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2987 * org-html.el (org-export-html-xml-declaration): New option.
2988 (org-export-as-html): Use `org-export-html-xml-declaration'.
2990 * org-list.el (org-update-checkbox-count): Make property
2993 * org.el (org-hierarchical-todo-statistics): New option.
2994 (org-update-parent-todo-statistics): Modified to handle recursive
2997 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2999 * org-publish.el (org-publish): Make this function behave
3000 correctly in interactive use when called with a prefix argument.
3002 * org.el (org-todo-statistics-hook): New hook.
3003 (org-update-parent-todo-statistics): Use new hook.
3004 (org-log-into-drawer): New function.
3005 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3006 determine if we should be logging into a drawer.
3007 (org-log-into-drawer): Update docstring.
3008 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3010 * org-list.el (org-checkbox-statistics-hook): New hook.
3011 (org-update-checkbox-count-maybe): Use new hook.
3013 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3014 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3017 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
3019 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3022 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
3024 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3025 better bufer-generating mechanism.
3026 (org-edit-src-find-buffer): New function.
3028 * org-icalendar.el (org-print-icalendar-entries): Don't check for
3029 archive tag, this is already done by `org-agenda-skip'.
3030 data while constructing lost of tags.
3032 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
3034 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3035 as argument separator in macros.
3037 * org-html.el (org-export-as-html): Add xml declaration.
3039 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
3041 * org.el (org-after-sorting-entries-or-items-hook): New hook.
3042 (org-sort-entries-or-items): Run the new hook.
3043 (org-after-refile-insert-hook): New hook.
3044 (org-refile): Run `org-after-refile-insert-hook'.
3046 * org-agenda.el (org-agenda-get-progress): Never take time of day
3047 from headline when displaying progress.
3049 * org-latex.el (org-export-latex-complex-heading-re): New variable.
3050 (org-export-as-latex): Force the correct regexp in the
3051 preprocessor buffer.
3052 (org-export-latex-set-initial-vars): Set
3053 `org-export-latex-complex-heading-re'.
3055 * org-agenda.el (org-agenda-start-with-log-mode): New option.
3056 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3058 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
3060 * org-latex.el (org-export-latex-tables-centered): New option.
3061 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3063 * org-exp.el (org-export-as-org): New command.
3064 (org-export-as-org): New command.
3066 * org-publish.el (org-publish-org-to-org): New function.
3068 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
3070 * org.el (org-yank): Just call `org-yank-generic'.
3071 (org-yank-generic): New function, containing the formaer
3072 functionality of `org-yank'.
3074 * org-latex.el (org-export-latex-not-done-keywords)
3075 (org-export-latex-done-keywords): New variables.
3076 (org-export-latex-todo-keyword-markup): New option.
3077 (org-export-latex-set-initial-vars): Remember the TODO keywords.
3078 (org-export-latex-keywords-maybe): Apply the TODO markup.
3080 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
3082 * org-exp.el (org-infile-export-plist): Add more default macros.
3083 (org-export-preprocess-apply-macros): Process macro arguments.
3085 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
3087 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3089 (org-print-icalendar-entries): Respect the new value of
3090 `org-icalendar-include-todo'.
3092 * org.el (org-link-try-special-completion)
3093 (org-file-complete-link): New functions.
3094 (org-insert-link): Add special completion support for some link
3097 * org-bbdb.el (org-bbdb-complete-link): New function.
3099 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
3101 * org-list.el (org-update-checkbox-count): Allow recursive
3103 (org-hierarchical-checkbox-statistics): New option.
3105 * org.el (org-cycle): Remove erraneous space character.
3107 * org-icalendar.el (org-icalendar-timezone): Initialize from
3110 * org-html.el (org-format-org-table-html): Specify the scope.
3111 (org-format-table-table-html): Specify the scope.
3112 (org-export-table-header-tags): Prepare the scope parameter.
3114 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
3117 (org-export-html-table-use-header-tags-for-first-column): New
3120 * org.el (org-autoload): Fix autoloading of ascii export
3122 (org-modules): Add org-special-blocks.
3124 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
3126 * org-icalendar.el (org-start-icalendar-file): Use the new option.
3127 (org-ical-timezone): New option.
3129 * org-exp.el (org-export-get-coderef-format): Use the description
3132 * org.el (org-sort-entries-or-items): Improve docstring, and make
3133 better implementation for time sorting.
3135 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
3137 * org.el (org-edit-src-persistent-message): New option.
3138 (org-edit-src-code, org-edit-fixed-width-region): Use the new
3141 * org-clock.el (org-clock-insert-selection-line): Fix prefious
3144 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3145 separate buffer instead of indirect buffer to edit source code.
3146 (org-edit-src-exit): Make this function work with the new setup.
3148 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3149 are properly fontified before shown in the selection menu.
3151 * org.el (org-fontify-like-in-org-mode): New function.
3153 * org-latex.el (org-export-latex-links): Use the property list to
3154 retrieve the default image attributes.
3156 * org-exp.el (org-export-plist-vars): Add a new option.
3158 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
3160 * org-exp.el (org-export, org-export-visible): Support ASCII
3162 (org-export-normalize-links): Do not protect the description if it
3163 is explicitly given.
3165 * org-ascii.el (org-export-as-ascii-to-buffer)
3166 (org-replace-region-by-ascii, org-export-region-as-ascii): New
3168 (org-export-as-ascii): Add all the same parameters that are also
3169 supported by the other export functions.
3171 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3173 (org-reset-checkbox-state-subtree): Call
3174 `org-reset-checkbox-state-subtree'.
3176 * org-remember.el (org-select-remember-template): For the
3177 selection of a valid template.
3179 * org-latex.el (org-export-region-as-latex): Supply the
3180 force-no-subtree argument.
3181 (org-export-as-latex): Provide better limits when exporting the
3182 first line. When exporting to string, we still want the first
3184 (org-export-latex-first-lines): New argument END, to force the end
3186 (org-export-region-as-latex): Use the property list.
3187 (org-export-as-latex):
3189 * org-colview-xemacs.el (org-columns-remove-overlays)
3190 (org-columns): Fix call to `local-variable-p'.
3192 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
3194 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3195 (org-export-as-html): Run the new hook.
3197 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3198 (org-export-latex-preprocess): Run the new hook.
3200 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3201 (org-export-preprocess-string): Run the new hook.
3203 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
3205 * org-macs.el (org-check-external-command): New defsubst.
3207 * org.el (org-mode-map): New key for reload.
3208 (org-format-latex): Better error message when external programs
3211 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3213 * org.el (org-sort-entries-or-items): Explicit sorting function
3214 for priorities, needed for XEmacs compatibility.
3216 * org-remember.el (org-remember-apply-template): Improve auto-save
3219 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
3221 * org-latex.el (org-export-latex-preprocess): Also protect
3222 environments ending in a star.
3224 * org-list.el (org-at-item-p): Fix regular expression.
3226 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
3228 * org.el (org-end-of-subtree): Improve speed.
3230 * org-agenda.el (org-agenda-get-timestamps)
3231 (org-agenda-get-progress, org-agenda-get-deadlines)
3232 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3233 in particular, wait as long as possible to collect the tags.
3234 (org-stuck-projects): Improve docstring.
3236 * org.el (org-store-link): No errors when getting custom id before
3238 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3240 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
3242 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3244 * org-protocol.el: Remove dependency on url.el.
3245 (org-protocol-unhex-compound, org-protocol-open-source): Remove
3246 dependency on url.el.
3248 * org-latex.el (org-export-as-pdf): Use
3249 `org-latex-to-pdf-process'.
3251 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
3253 * org-latex.el (org-latex-to-pdf-process): New option.
3255 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3257 (org-agenda-get-timestamps): Honor
3258 `org-agenda-skip-additional-timestamps-same-entry'.
3260 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3261 (org-clock-goto): Find recent task only if
3262 `org-clock-goto-may-find-recent-task' allows it.
3264 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3265 drawers, and drawers that are missing the :END: line.
3267 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3269 * org-clock.el (org-clock-goto): Go to recently clocked task if no
3272 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3274 * org.el (org-update-parent-todo-statistics): Check for
3275 STATISTICS_FROM property.
3277 * org-list.el (org-update-checkbox-count): Check for
3278 STATISTICS_FROM property.
3280 * org.el (org-tab-first-hook)
3281 (org-tab-after-check-for-table-hook)
3282 (org-tab-after-check-for-cycling-hook): New hooks.
3283 (org-cycle-internal-global, org-cycle-internal-local): New
3284 functions, split out from `org-cycle'.
3285 (org-cycle): Call the new hooks.
3287 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
3289 * org-exp.el (org-export-preprocess-string): Reset the list of
3290 preferred targets for each run of the preprocessor.
3292 * org.el (org-refile-target-verify-function): Improve
3294 (org-get-refile-targets): Respect point being moved by the
3295 verification function.
3297 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3299 (org-export-latex-keywords): Use new option.
3301 * org.el (org-rear-nonsticky-at): New defsubst.
3302 (org-activate-plain-links, org-activate-angle-links)
3303 (org-activate-footnote-links, org-activate-bracket-links)
3304 (org-activate-dates, org-activate-target-links)
3305 (org-activate-tags): Place the rear-nonsticky properties at the
3308 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
3310 * org-protocol.el (server-edit): Declare `server-edit'.
3311 (org-protocol-unhex-string, org-protocol-unhex-compound): New
3313 (org-protocol-check-filename-for-protocol): Call `server-edit'.
3315 * org.el (org-default-properties): New default properteis for
3318 * org-exp.el (org-export-add-subtree-options): Add new properties
3321 * org-docbook.el (org-export-docbook-keywords-markup)
3322 (org-export-docbook-timestamp-markup): New options.
3323 (org-export-docbook-protect-tags): New function.
3325 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
3327 * org-id.el (org-id-get-with-outline-path-completion): Turn off
3328 org-refile-target-verify-function for the duration of the command.
3330 * org.el (org-link-to-org-use-id): New possible value
3331 `create-if-interactive-and-no-custom-id'.
3332 (org-store-link): Use custom IDs.
3333 (org-link-search): Find custom ID properties from #link.
3334 (org-default-properties): Add CUSTOM_ID for property completion.
3335 (org-refile-target-verify-function): New option.
3336 (org-goto): Turn off org-refile-target-verify-function
3337 for the duration of the command.
3339 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
3341 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3343 * org-exp.el (org-export-preferred-target-alist): New variable.
3344 (org-export-define-heading-targets): Find the new CUSTOM_ID
3346 (org-export-target-internal-links): Target the custom ids when
3349 * org-latex.el (org-export-latex-preprocess): Better regexp for
3350 matching latex macros with arguments.
3352 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3354 * org-remember.el (org-remember-handler): Allow filing to non-org
3357 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3359 * org-feed.el (org-feed-alist): New keyword options.
3360 (org-feed-update): Use the new options.
3361 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3362 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3363 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3366 * org-table.el (org-table-fix-formulas): Do not change references
3368 (org-table-get-remote-range): Convert standard coordinates to RC
3371 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3373 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3375 * org-compat.el (org-sha1-string): Function removed.
3377 * org.el (org-refile-allow-creating-parent-nodes): New option.
3378 (org-refile-get-location): New argument NEW-NODES.
3379 (org-refile): Call `org-refile-get-location' with the new
3381 (org-refile-get-location): Arrange for adding a new child.
3382 (org-refile-new-child): New function.
3384 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3385 an additional span element.
3387 * org-clock.el: Fix a number of docstrings.
3388 (org-clock-find-position): New argument
3389 FIND-UNCLOSED to make the function find an unclosed clock in the
3391 (org-clock-in): Call `org-clock-find-position' with the new
3392 argument if we might be resuming a clock.
3394 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3396 * org-latex.el (org-export-latex-display-custom-times): New variable.
3397 (org-export-latex-timestamp-markup): New option.
3398 (org-export-latex-set-initial-vars): Remember the local value of
3399 `org-display-custom-times'.
3400 (org-export-latex-content): Process time stamps.
3401 (org-export-latex-time-stamps): New function.
3403 * org-macs.el (org-maybe-intangible): Add intangible property
3404 again to invisible text.
3406 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3408 * org-exp.el (org-default-export-plist): Handle undefined
3411 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3413 * org.el (org-sort-entries-or-items): Match TODO keywrds
3414 case-sensitively, when sorting.
3415 (org-priority): Do not match TODO keywords with wrong case.
3417 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3419 * org-feed.el (org-feed-update): Bind the variable
3422 * org-html.el (org-export-as-html): Start paragraphs after literal
3425 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3428 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3430 * org.el (org-todo): Honor the NOBLOCKING property.
3432 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3433 NOBLOCKING property.
3435 * org.el (org-scan-tags): Fix bug in tag scanner
3437 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3439 * org.el (org-modules): Mark obsolete packages.
3441 * org-html.el: New file, split out from org-exp.el.
3443 * org-icalendar.el: New file, split out from org-exp.el.
3445 * org-xoxo.el: New file, split out from org-exp.el.
3447 * org-ascii.el: New file, split out from org-exp.el.
3449 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3451 * org-compat.el (org-find-library-name): New function.
3453 * org.el (org-pre-cycle-hook): New hook.
3454 (org-cycle): Call the new hook in appropriate places.
3455 (org-reload): Only reload files that have been loaded before.
3457 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3459 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3461 (org-todo): When changing TODO state, do matching
3463 (org-map-continue-from): New variable.
3464 (org-scan-tags): Respect values in `org-map-continue-from'.
3465 (org-reload): Make XEmacs compatible.
3467 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3469 * org-protocol.el (org-protocol-flatten-greedy): New function.
3470 (org-protocol-flatten): New function.
3472 * org.el (org-open-link-from-string): Pass reference buffer to
3473 `org-open-at-point'.
3474 (org-open-at-point): New optional argument `reference-buffer'.
3476 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3478 * org.el (org-scan-tags): Make tag scan find headline in first
3480 (org-get-refile-targets): Add the naked file name.
3481 (org-refile): Store as top-level entry when only file name was
3484 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3486 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3487 Renamed from org-block-todo-from-children-or-siblings, and
3488 enhanced to look for the parent's status as well.
3490 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3491 (org-agenda-get-progress): Add first notes line to log entry if so
3494 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3496 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3497 (org-agenda-cleanup-fancy-diary): Call the new hook.
3499 * org-remember.el (org-remember-apply-template): Take the default
3500 for the annotation from the :annotation property.
3502 * org-mac-message.el (org-mac-message-get-link): Remove the
3504 (org-mac-message-get-link): Return the result.
3506 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3508 * org.el (org-refile-get-location): Add file name only if not
3509 already included in outline path.
3511 * org-faces.el (org-n-level-faces): Fix customization type from
3514 * org-exp.el (org-export-headline-levels): Fix customization type
3515 from number to integer.
3517 * org-agenda.el (org-agenda-confirm-kill)
3518 (org-agenda-custom-commands-local-options)
3519 (org-timeline-show-empty-dates, org-agenda-ndays)
3520 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3521 customization type from number to integer.
3523 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3525 * org-protocol.el: Declare some functions.
3527 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3528 postion before inserting modified headline.
3530 * org-agenda.el (org-agenda-compare-effort): Honor
3531 `org-sort-agenda-noeffort-is-high'.
3532 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3533 (org-agenda-compare-effort): Implement the "?" operator for
3534 finding entries without effort setting.
3536 * org.el (org-extract-attributes-from-string): New function.
3538 * org-exp.el (org-export-splice-attributes): New function.
3540 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3542 * org-mouse.el: XEmacs compatibility fixes
3544 * org-docbook.el (org-export-as-docbook): Process footnotes like
3547 * org.el (org-modules): Add org-inlinetasks.el
3548 (org-cycle): Implement limiting level on cycling.
3549 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3552 * org-inlinetask.el: New file.
3554 * org.el (org-emphasis-regexp-components): Allow braces in
3555 emphasis pre and post match.
3557 * org-footnote.el (org-footnote-normalize): When only dorting, do
3558 not insert inline notes at the end.
3560 * org-docbook.el (org-id-find-id-file): Add function declaration.
3562 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3564 * org-docbook.el: New file.
3566 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3568 * org.el (org-reftex-citation): New command.
3570 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3572 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3573 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3575 (org-entries-lessp): Apply the new sorting option.
3577 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3578 blocker code, when an older sibling has children.
3580 * org-mac-message.el (org-mac-message-get-link): Improve getting
3581 links from multiple selected messages.
3583 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3585 * org-remember.el (org-remember-finalize): Do not set buffer file
3587 (org-remember-handler): Mark buffer as unmodified.
3588 (org-remember-handler): Delete backup file and show message about
3589 remaining backup files.
3590 (org-remember-auto-remove-backup-files): New option.
3592 * org.el (org-store-link): Use buffer name as link description in
3594 (org-ido-switchb): Fix argument bug for completion.
3596 * org-remember.el (org-remember-apply-template): Set local
3597 variable `auto-save-visited-file-name' instead of global one.
3599 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3601 * org-feed.el: Re-write.
3603 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3604 (org-agenda-get-todos): Mark file tags as inherited.
3605 (org-agenda-list): Always search diary lines for a time.
3607 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3609 * org-feed.el (org-feed-assume-stable): New option.
3610 (org-feed-before-adding-hook): New hook.
3612 * org-exp.el (org-export-as-html): Close local lists depending on
3613 indentation, also when starting a table.
3615 * org-remember.el (org-remember-backup-directory)
3616 (org-remember-backup-name): New internal variable.
3618 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3620 * org-clock.el (org-clock-out-if-current): Make buffer detection
3621 work in indirect buffers as well.
3623 * org.el (org-emphasis-regexp-components): Add the exxclamation
3624 mark to the post-emphasis characters.
3626 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3628 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3629 (org-read-date): Run the new hook.
3631 * org-mac-message.el (org-mac-flagged-mail): New group.
3632 (org-mac-mail-account): New variable.
3633 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3636 * org-remember.el (org-remember-backup-directory): New variable.
3637 (org-remember-apply-template): Write file to backup directory.
3639 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3641 * org-mouse.el (org-mouse-todo-menu): New function.
3642 (org-mouse-todo-keywords): Function removed.
3643 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3645 * org-table.el (org-table-beginning-of-field)
3646 (org-table-end-of-field): New commands
3647 (org-table-previous-field, org-table-beginning-of-field): Better
3649 (orgtbl-setup): Include `M-a' and `M-e'.
3651 * org.el (org-backward-sentence, org-forward-sentence): New
3654 * org-colview.el (org-colview-initial-truncate-line-value): New
3656 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3657 (org-columns): Remember the value of `truncate-lines'.
3659 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3661 (org-columns-remove-overlays): Restore the value of
3663 (org-columns): Remember the value of `truncate-lines'.
3665 * org.el (org-columns-skip-arrchived-trees): New option.
3667 * org-agenda.el (org-agenda-export-html-style): Define color for
3668 org-agenda-done face.
3669 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3670 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3672 * org.el (org-scan-tags): Use the new face.
3674 * org-faces.el (org-agenda-done): New face.
3676 * org.el (org-scan-tags): Test the value org
3677 `org-tags-match-list-sublevels'.
3678 (org-tags-match-list-sublevels): New allowed value: indented.
3680 * org-export-latex.el (org-export-latex-make-header): Apply macros
3683 * org-exp.el (org-export-apply-macros-in-string): New function.
3685 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3686 with the definition of a checked box.
3688 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3690 * org-export-latex.el (org-export-latex-low-levels): More options
3691 for how to process lower levels in LaTeX.
3692 (org-export-latex-subcontent): Better treatment for lists as a
3693 means of publishing lower levels.
3695 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3697 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3699 * org-faces.el (org-checkbox): New face.
3701 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3702 fragement images if there is an export file.
3704 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3706 * org-agenda.el (org-stuck-projects): Document that the subtree of
3707 projects that are not stuck will now be searched for stuck
3709 (org-agenda-skip-entry-when-regexp-matches)
3710 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3711 (org-agenda-list-stuck-projects): Use
3712 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3714 * org-export-latex.el (org-export-latex-preprocess): Improve
3717 * org-exp.el (org-export-as-html): Implement centering as a div
3718 rather than a paragraph. Do a better job with line-end in verse
3721 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3723 * org.el (org-open-at-point): Fix tags searches by mouse click.
3725 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3727 * org-export-latex.el (org-export-latex-preprocess): Implement the
3730 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3731 from `org-export-mark-blockquote-and-verse'.
3732 (org-export-as-html): Implement the centering markup.
3734 * org-export-latex.el (org-export-latex-tables): Fix vertical
3737 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3739 * org.el (org-read-date-history): New variable.
3740 (org-read-date): Use new history variable.
3741 (org-toggle-heading): Fix bug when used before first headline.
3742 (org-store-log-note): Remove drawer if empty while note is
3744 (org-remove-empty-drawer-at): New function.
3745 (org-check-after-date): New command.
3746 (org-sparse-tree): New sparse tree command "a".
3748 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3750 2009-03-14 Bastien Guerry <bzg@altern.org>
3752 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3753 column and a space, not only a column.
3755 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3757 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3758 defaults for verbose emphasis.
3759 (org-export-latex-emph-format): New function.
3760 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3762 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3763 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3764 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3765 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3768 * org.el (org-timestamp-change): Move end-time along with start
3771 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3773 * org-exp.el (org-export-target-internal-links)
3774 (org-export-as-html): Protect links specified as #name.
3776 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3778 * org.el (org-clone-subtree-with-time-shift): New command.
3780 * org-export-latex.el (org-export-latex-special-chars)
3781 (org-export-latex-treat-sub-super-char): Fix subscript export.
3783 * org-exp.el (org-create-multibrace-regexp): Do not add
3784 backslashes to the class.
3786 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3788 * org-colview.el (org-columns-map): Better functions for moving up
3789 and down a row, even if `truncate-line' is nil.
3791 * org.el (org-insert-todo-heading): Make sure the keyword is
3792 inserted at the correct position.
3794 * org-publish.el (org-publish-project-alist)
3795 (org-publish-projects, org-publish-org-index): Change default anme
3796 for the index of file names to "sitemap.org".
3798 * org-export-latex.el (org-export-latex-tables): Use
3799 `org-split-string', for Emacs 21 compatibility.
3801 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3803 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3805 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3807 * org-exp.el (org-export-page-description)
3808 (org-export-page-keywords): New variables.
3809 (org-export-plist-vars): Add entries for :keywords and
3811 (org-infile-export-plist): Parse for new keywords.
3812 (org-get-current-options): Add new keywords
3813 (org-export-as-html): Publish description and keywords.
3815 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3817 (org-agenda-add-entry-text): Honor
3818 `org-agenda-add-entry-text-descriptive-links'.
3820 * org-export-latex.el (org-export-latex-preprocess): Make all
3821 external preprocess functions use a PARAMETER arg.
3823 * org-exp.el (org-export-preprocess-string)
3824 (org-export-select-backend-specific-text)
3825 (org-export-format-source-code-or-example)
3826 (org-format-org-table-html): Support docbook export.
3827 (org-export-preprocess-string): Make all external preprocess
3828 functions use a PARAMETER arg.
3830 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3832 * org-exp.el (org-export-html-style-include-scripts): New option.
3833 (org-export-plist-vars): Add new option
3834 `org-export-html-style-include-scripts'.
3835 (org-export-as-html): Honor new option
3836 `org-export-html-style-include-scripts'.
3837 (org-export-html-scripts, org-export-html-style-default): Fix
3838 xml issues with the Safari browser.
3840 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3842 * org-publish.el (org-publish-attachment): Only copy file when the
3845 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3847 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3848 for clocktable steps.
3850 * org.el (org-additional-option-like-keywords): Add two more
3853 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3855 * org-exp.el (org-export-format-source-code-or-example): Mark
3856 temporary buffer unmodified, so that it will be killed even if
3857 mode like message mode has decided to assign a file name.
3859 * org.el (org-scan-tags): Improve tag inheritance.
3860 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3862 (org-scan-tags): Use the internal tags list instead of creating it
3864 (org-trust-scanner-tags, org-scanner-tags): New variables.
3865 (org-scan-tags): Set `org-scanner-tags'.
3866 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3867 (org-map-entries): Document the possible speedup using scanner
3870 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3872 * org.el (org-add-planning-info): Fix bug with looking for keyword
3875 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3876 option for tags filter preset.
3877 (org-prepare-agenda): Store filter preset as a property on the
3879 (org-finalize-agenda): Call the filter, if there is a preset.
3880 (org-agenda-filter-by-tag): Filter again after clearing the
3881 filter, when there still is a preset.
3882 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3883 Include the preset filter.
3884 (org-agenda-redo): Apply the filter again, also the preset filter.
3886 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3888 * org.el (org-uuidgen-p): New funtion.
3890 * org-agenda.el (org-agenda-fontify-priorities): New default value
3892 (org-agenda-fontify-priorities): Renamed from
3893 org-fontify-priorities.
3895 * org.el (org-set-font-lock-defaults): Call
3896 `org-font-lock-add-priority-faces'.
3897 (org-font-lock-add-priority-faces): New function.
3899 * org-faces.el: (org-set-tag-faces): New option.
3900 (org-priority-faces): New variable.
3902 * org-exp.el (org-export-as-html): Add a "content" div around the
3903 entire content of the body tag.
3904 (org-export-html-get-bibliography): New function.
3905 (org-export-html-validation-link): New variable.
3906 (org-export-as-html): Add validation link to exported page.
3908 * org.el (org-match-sparse-tree): Renamed from
3909 `org-tags-sparse-tree'.
3910 (org-tags-sparse-tree): New alias.
3912 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3914 * org.el (org-get-valid-level): Catch the case where the level
3917 * org-clock.el (org-clock-find-position): Better indentation of
3920 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3922 * org-agenda.el (org-agenda-quit): Delete window only when the
3923 frame-setup was not `current-window'.
3925 * org.el (org-tag-persistent-alist): New option.
3926 (org-startup-options): Add keyword `noptag'.
3927 (org-fast-todo-selection): Handle :newline correctly.
3928 (org-set-tags): Handle :newline correctly.
3929 (org-fast-tag-selection): Handle :newline correctly.
3931 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3933 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3935 (org-export-ascii-push-links): Fix bug with pussing links into the
3938 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3940 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3941 pasting at top level.
3943 * org-bbdb.el: Improve documentation.
3945 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3947 * org-list.el (org-insert-item): Only consider insert empty lines
3948 is `org-empty-line-terminates-plain-lists' is not nil.
3950 * org.el (org-blank-before-new-entry): Mention the dependence on
3951 `org-empty-line-terminates-plain-lists' in the docstring.
3953 * org-publish.el (org-publish-get-project-from-filename): New
3954 optional argument UP. Only find the top project if UP is set.
3955 (org-publish-current-project): Find the top encloding project.
3957 * org-agenda.el (org-agenda-before-write-hook)
3958 (org-agenda-add-entry-text-maxlines): New options.
3959 (org-write-agenda): Run the new hook in the temporary buffer.
3960 (org-agenda-add-entry-text): New function.
3961 (org-write-agenda): Implement PDF export, using ps2pdf.
3963 * org.el (org-global-properties-fixed, org-global-properties):
3964 Improve documentation string.
3966 * org-exp.el (org-export-ascii-links-to-notes): New option.
3967 (org-export-as-ascii): Handle links better.
3968 (org-export-ascii-wrap, org-export-ascii-push-links): New
3971 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3973 * org-agenda.el (org-agenda): Make prefix arg optional.
3974 (org-agenda-search-headline-for-time): New option.
3975 (org-format-agenda-item): Honor
3976 `org-agenda-search-headline-for-time'.
3978 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3981 * org.el (org-self-insert-cluster-for-undo): New option.
3982 (org-self-insert-command): Cluster undo for 20 characters.
3983 (org-self-insert-command-undo-counter): New variable.
3985 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3987 * org-exp.el (org-export-as-html): Fix problem with closing colone
3990 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3992 * org-export-latex.el (org-export-as-latex)
3993 (org-export-latex-first-lines): Avoid modification flag when
3994 adding or removing text properties.
3995 (org-export-latex-fontify): Catch error when org-emph-alist has
3996 entries that are not defined for LaTeX export.
3998 * org.el (orgstruct++-mode): New function.
3999 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4000 (org-context-p): Allow detecting item context after the first line
4002 (orgstruct-make-binding): Detect if item-body context should be
4004 (orgstruct-is-++): New variable.
4005 (org-add-planning-info): Catch the case when there is no planning
4006 info yet and the call does not want to add anything, only maybe
4007 tries to remove something.
4008 (org-special-ctrl-a/e): All value to be a cons cell with separate
4009 settings for `C-a. and `C-e'.
4010 (org-beginning-of-line, org-end-of-line): Honor separate values
4011 for `C-a' and `C-e'.
4013 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
4015 * org.el (org-reload): New command.
4017 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
4019 * org-exp.el (org-export-htm-get-tag-class-name)
4020 (org-export-htm-get-todo-kwd-class-name): New functions.
4021 (org-export-html-tag-class-prefix)
4022 (org-export-html-todo-kwd-class-prefix): New options.
4023 (org-export-as-html): Call
4024 `org-export-html-get-todo-kwd-class-name'.
4025 (org-html-level-start): Wrap tags into classes.
4026 (org-export-html-get-tag-class-name)
4027 (org-export-html-get-todo-kwd-class-name): New functions.
4029 * org-export-latex.el (org-export-latex-collect-header-macros):
4030 Remove fields that are used anyway.
4031 (org-export-latex-make-header): Insert the options earlier.
4033 * org-agenda.el (org-agenda-get-progress): Fix bug with state
4036 * org-list.el (org-indent-item): Allow point to be at the end of
4039 * org.el (org-metaleft, org-metaright): Be more accurate about
4040 detecting a region where commands apply.
4042 * org-compat.el (org-cursor-to-region-beginning): New function.
4044 * org.el (org-priority): Also find invisible heading.
4046 * org-colview-xemacs.el (org-columns-edit-value): No special
4047 treatment for `org-todo' prefix.
4049 * org-colview.el (org-columns-edit-value): No special treatment
4050 for `org-todo' prefix.
4052 * org-remember.el (org-remember-apply-template): Use
4053 `org-completing-read-no-ido'.
4055 * org.el (org-completing-read-no-ido): New function.
4056 (org-make-tags-matcher, org-set-property): Use
4057 `org-completing-read-no-ido'.
4059 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4061 (org-export-as-latex): Import in-buffer settings as TeX macros.
4062 (org-export-latex-make-header): Additional parameter OPT-DEFS.
4063 (org-export-latex-collect-header-macros): New function.
4065 * org.el (org-refile-get-location): Turn off
4066 `partial-completion-mode'.
4068 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
4070 * org.el (org-block-todo-from-checkboxes): Announce that
4071 checkboxes are the culprit.
4072 (org-block-todo-from-children-or-siblings): Call
4073 `org-up-heading-all instead' of `outline-up-heading'.
4075 * org-agenda.el (org-agenda-show-1): Renamed from
4077 (org-agenda-show): Re-install the old version for now.
4078 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
4079 variable into the blokker hook, so that the checkbox checker can
4080 anounce that it caused the blocking.
4082 * org.el (org-track-ordered-property-with-tag): New option.
4083 (org-toggle-ordered-property): Honor
4084 `org-track-ordered-property-with-tag'.
4085 (org-tag-alist): Add newline options.
4086 (org-set-regexps-and-options): Separate option lines imply a
4088 (org-set-regexps-and-options, org-assign-fast-keys)
4089 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4091 (org-indent-line-function): Make sure this works even if there is
4092 not `org-drawer-regexp' defined. This can happen when
4093 orgstruct-mode is used in a non-org buffer.
4095 * org-list.el (org-checkbox-blocked-p): New function.
4096 (org-toggle-checkbox): Check for blocking.
4098 * org.el (org-modules): Add an entry for org-R.el.
4100 * org-agenda.el (org-agenda-todo-ignore-with-date)
4101 (org-agenda-todo-ignore-scheduled)
4102 (org-agenda-todo-ignore-deadlines): Mention the variable
4103 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4105 * org.el (org-get-wdays): Find the warning period also if it is in
4107 (org-ido-completing-read): Provide the correct arguments to
4108 ido-completing-read and bind `ido-enter-matching-directory' to
4111 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
4113 * org.el (org-olpath-completing-read): Never use ido for this
4116 * org-exp.el (org-export-normalize-links): Use new macro.
4118 * org-macs.el (org-if-unprotected-at): New macro.
4120 * org-agenda.el (org-agenda-show): Allow numerical prefix
4121 arguments to specify how much context should be shown.
4122 (org-agenda-cycle-show): New command, could be bound to SPC in
4123 org-agenda-mode-map.
4125 * org-exp.el (org-html-level-start): Space after section number.
4127 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
4129 * org-agenda.el (org-agenda-get-sexps): Add todo state as
4130 property, for sorting.
4131 (org-cmp-todo-state): Get the applicable TODO keywords directly
4133 (org-run-agenda-series, org-agenda-list, org-search-view)
4134 (org-todo-list, org-tags-view): Only fit agenda window when the
4135 whole series is done.
4137 * org.el (org-scan-tags): Add todo state as property, for sorting.
4139 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4140 `org-agenda-overriding-header' as an option.
4141 (org-agenda-list): Honor org-agenda-overriding-header'.
4143 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
4145 * org-list.el (org-toggle-checkbox): Improve cursor positioning
4146 after removing a checkbox.
4148 * org.el (org-show-entry): Make this work correctly also if it is
4149 the last entry in the file.
4150 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4151 falling back to normal, default command.
4152 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4153 item, call the checkbox toggler to get a box.
4155 * org-list.el (org-toggle-checkbox): Make double prefix set the
4157 (org-fix-bullet-type): Only replace bullet if it is changed.
4158 (org-renumber-ordered-list): Handle case when first item does not
4161 * org.el (org-add-log-setup): Fix positioning when
4162 `org-log-states-order-reversed' is nil.
4164 * org-clock.el (org-clock-in): Fix positioning when
4165 `org-log-states-order-reversed' is nil.
4166 (org-clock-find-position): Fix positioning when
4167 `org-log-states-order-reversed' is nil.
4169 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
4171 * org-clock.el (org-clock-into-drawer): Take default from
4172 `org-log-into-drawer'.
4173 (org-clock-find-position): Look for the correct drawer.
4175 * org.el (org-log-into-drawer): Renamed from
4176 `org-log-state-notes-into-drawer'.
4177 (org-log-state-notes-into-drawer): New variable alias.
4178 (org-add-log-setup): Make drawer name default to LOGBOOK, not
4180 (org-insert-property-drawer): Also skip LOGBOOK drawers.
4182 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
4184 * org-agenda.el (org-agenda): Fix docstring.
4186 * org.el ("org-plot"): Help loading org-plot.
4187 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4188 (org-metadown-hook, org-shiftmetaleft-hook)
4189 (org-shiftmetaright-hook, org-shiftmetaup-hook)
4190 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4191 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4192 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4193 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4195 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4196 for selecting files with any (and even without) extension.
4198 * org.el (org-save-all-org-buffers): Also save id locations.
4199 (org-revert-all-org-buffers): Also load id locations.
4201 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4202 * org.el (org-drawers): Add LOGBOOK to the default drawers.
4203 (org-log-state-notes-into-drawer): New option.
4204 (org-add-log-setup): Place the sate note marker into the drawer,
4205 create drawer when necessary.
4206 (org-refile-targets): Document special interpretation of LEVEL
4207 when odd-levels are used.
4209 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4211 * org.el (org-store-log-note): Fix note indentation when adding
4212 notes to end of list.
4214 * org-exp.el (org-export-as-html): Add TODO keyword as extra
4215 class, so that each keyword can get special colors through CSS.
4217 * org-clock.el (org-clock-out): Add another nil for the previous
4218 state into the call to `org-add-log-setup'.
4220 * org.el (org-log-note-previous-state): New variable.
4221 (org-log-note-headings): New %S escape for old state.
4222 (org-todo): Call the note setup with the old state as an
4224 (org-add-note): Add another nil for the previous state into the
4225 call to `org-add-log-setup'.
4226 (org-add-log-setup): New argument PREV-STATE.
4227 (org-add-log-note): Handle new %S escape.
4228 (org-store-log-note): Handle new %S escape.
4230 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
4232 * org-clock.el (org-clock-find-position): Do not swallow an item
4233 less indented than the CLOCK line itself.
4234 (org-clock-in): Push markers to lin after the clock line.
4235 (org-clock-find-position): Handle values of
4236 `org-clock-into-drawer' smaller than 2.
4238 * org-exp.el (org-html-level-start): Add a CSS class to section
4240 (org-export-html-toplevel-hlevel): Better documentation of the
4241 influence of this variables on H levels and css classes in
4244 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
4246 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4247 timestamp and nottimestamp to the chooe menu.
4249 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4250 (org-revert-all-org-buffers): New command.
4252 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
4254 * org.el (org-return): Implement `org-return-follows-link' in the
4255 function org-return. This is more robust than using the mouse
4257 (org-set-regexps-and-options): Match more general #+TODO lines.
4258 (org-make-options-regexp): New optional argument EXTRA, for an
4260 (org-tab-follows-link): Mark as deprecated.
4262 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
4264 * org-exp.el (org-export-preprocess-string): Remove clock lines
4265 earlier, so that they cannot cotribute to verbatim snippets.
4267 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
4269 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4270 for finding drawers.
4271 (org-export-as-ascii, org-export-as-html): Count levels relative
4272 to the subtree header.
4273 (org-get-min-level): New optional argument OFFSET.
4274 (org-export): Make sure point is restored after popping up that
4277 * org.el (org-do-sort): Also take an inactive timestamp if no
4278 active one is found.
4280 * org-colview-xemacs.el (org-columns-capture-view): Copy before
4281 deleting duplicates.
4283 * org-colview.el (org-columns-capture-view): Copy before
4284 deleting duplicates.
4286 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4287 text before first headline.
4289 * org.el (org-format-latex): Do not convert LaTeX fragments in
4292 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
4294 * org-exp.el (org-export-html-style-default): Use color values
4295 instead of names for XHTML validation.
4297 * org.el (org-get-scheduled-time, org-get-deadline-time): New
4299 (org-return-follows-link): Revert making this the default untile
4300 issues are resolved.
4302 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4305 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4307 * org.el (org-mode): Make dependence stuff work more reliably.
4308 (org-update-parent-todo-statistics): Fix bug with updating
4311 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4312 ~ as verbatim delimiters.
4314 * org-exp.el (org-export-html-format-image): New argument
4316 (org-export-as-html): Pass par-open to
4317 `org-export-html-format-image'.
4319 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
4321 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4322 (org-use-fast-todo-selection, org-tags-column): New default
4323 setting for variables, based on a poll what typical uses use.
4325 * org-agenda.el (org-agenda-sorting-strategy)
4326 (org-agenda-tags-column): New default setting for variables, based
4327 on a poll what typical uses use.
4329 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
4331 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4332 blocked entries from setting the blocked tag.
4334 * org-exp.el (org-export-html-footnotes-section): Use a more
4335 consistent id for footnotes.
4337 * org-export-latex.el (org-export-latex-classes): Remove the
4338 a4paper option from the default styles.
4340 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4342 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4343 (org-block-todo-from-checkboxes): New function.
4344 (org-todo): Make tripple prefix arg circumvent blocking.
4346 * org-timer.el (org-timer): Provide the timer feature.
4348 * org.el (org-require-autoloaded-modules): Add a few more files to
4349 the list of autoloaded modules.
4351 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4353 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4355 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4356 drawers that are unprotected.
4357 (org-export-html-format-image): Make sure inlined LaTeX fragment
4358 images remain inlined.
4360 * org.el (org-toggle-ordered-property): New function.
4361 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4362 (org-org-menu): Add menu entries for TODO dependencies.
4364 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4366 * org.el (org-default-properties): Add ORDERED to the default
4367 properties, to get completion support for it.
4369 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4371 * org.el (org-update-parent-todo-statistics): Update more than one
4374 * org-agenda.el (org-agenda-get-todos): Start search from correct
4377 * org.el (org-fast-todo-selection): Make sure TODO selection does
4378 not change buffer position.
4380 * org-list.el (org-toggle-checkbox): Implement adding or removing
4381 checkboxes from line or region when called with a prefix
4384 * org-rmail.el (org-rmail-store-link): Protect the call to
4385 `rmail-narrow-to-non-pruned-header'.
4387 * org-clock.el (org-clock-special-range): Fix week display in
4390 * org-exp.el (org-get-current-options): Fix bug when in indirect
4393 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4395 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4396 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4397 (org-agenda-dim-blocked-tasks): New function.
4399 * org.el (org-enforce-todo-dependencies): New option.
4400 (org-block-todo-from-children-or-siblings): New function.
4402 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4404 * org.el (org-todo): Return correct state type even if the blocker
4406 (org-modifier-cursor-error): Renamed from
4407 `org-shiftcursor-error'.
4408 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4409 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4411 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4412 to get real errors from the blocker hook.
4414 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4416 (org-set-visibility-according-to-property): Turn off the setting
4417 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4420 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4422 * org.el (org-support-shift-select): New option.
4423 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4424 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4425 selection outside contexts.
4427 * org-list.el (org-at-item-bullet-p): New function.
4429 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4432 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4434 (org-insert-footnote-reference-near-definition): Remove
4435 unnecessary let form.
4437 * org-export-latex.el (org-export-latex-first-lines): Add
4438 OPT-PLIST parameter.
4439 (org-export-as-latex): Call `org-export-latex-first-lines' with
4440 opt-plits parameter.
4441 (org-export-latex-preprocess): Remove unnecessary variables.
4443 * org-exp.el (org-infile-export-plist)
4444 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4445 (org-export-remove-headline-metadata)
4446 (org-export-get-title-from-subtree, org-get-min-level)
4447 (org-html-do-expand): Remove innecessary let form.
4449 * org-colview-xemacs.el (org-columns-display-here): Remove
4450 unnecessary variables.
4452 * org-colview.el (org-columns-display-here): Remove unnecessary
4455 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4458 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4459 unnecessary variables.
4461 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4462 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4465 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4466 (org-compact-display-after-subtree-move): Remove unnecessary
4468 (org-edit-fixed-width-region): Remove unnecessary variables.
4469 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4470 (org-olpath-completing-read): Remove unnecessary variable.
4471 (org-auto-repeat-maybe): Remove unnecessary variable.
4472 (org-map-entries): Remove unnecessary variable.
4473 (org-buffer-property-keys, org-imenu-get-tree)
4474 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4476 -----------------------------------------------------------------
4478 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4479 * org-exp.el (org-export-remove-timestamps): Never remove
4480 timestamps from tables.
4482 * org-export-latex.el (org-export-latex-first-lines): Add more
4483 options to the preprocessing of the text before the first
4486 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4488 * org-faces.el (org-clock-overlay): Make face compatible with
4491 * org.el (org-yank): Add property for delete-selection mode.
4493 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4495 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4498 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4501 * org-exp.el (org-export-as-html): Remove the initial space from
4504 * org.el (org-scan-tags): Call
4505 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4507 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4508 customization groups.
4509 (org-agenda-tags-todo-honor-ignore-options): New option.
4510 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4512 (org-agenda-get-todos): Use
4513 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4515 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4517 * org-exp.el (org-export-format-source-code-or-example): Escape
4518 HTML characters also in examples that anre not treated with
4519 htmlize. Also, just switch to EXAMPLE processing if we do not
4520 have a good version of htmlize.
4522 * org-rmail.el: Fix copyright notice.
4524 * org.el (org-activate-footnote-links): Improve footnote link
4527 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4528 a footnote definition at the end of the file.
4530 * org-table.el (org-table-get-specials): Add an imagined hline at
4531 the end of the table. This can be useful for references that want
4532 to go to the end of the table. Also fix bug when computing last
4533 row constants, in tables that do not start right at the right
4535 (org-table-eval-formula): Match and replace remove references.
4536 (org-table-formula-substitute-names): Make sure that names inside
4537 a "remote" call are left alone, the will be replaced later when
4538 the remote call is handled.
4539 (org-table-convert-refs-to-rc): Do not convert things that might
4540 look like a reference, but are really part of an ID or namei n a
4542 (org-table-get-remote-range): New function.
4544 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4546 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4548 * org-clock.el (org-clock-put-overlay): Use new face instead of
4549 `secondary-selection'.
4551 * org-faces.el (org-clock-overlay): New face.
4553 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4555 * org-exp.el (org-get-current-options): Include the option for
4556 publishing time stamps.
4558 * org.el (org-toggle-heading): Renamed from
4559 `org-toggel-region-headings'.
4560 No longer needs a region defined, but will use it if there is one.
4561 (org-ctrl-c-star): Simplified, relying more on the internal
4562 workings of `org-toggle-heading'.
4563 (org-toggle-item): Renamed from `org-toggle-region-items'.
4564 No longer needs a region defined, but will use it if there is one.
4565 (org-ctrl-c-minus): Simplified, relying more on the inernal
4566 workings of `org-toggle-item'.
4568 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4569 environment detection. Also, do real changes only in unprotected
4572 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4574 * org-export-latex.el (org-export-latex-quotation-marks): Use
4575 `org-if-unprotected-1'.
4576 (org-export-latex-set-initial-vars): Check for class definition in
4579 * org-macs.el (org-if-unprotected-1): New macro.
4581 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4583 * org-compat.el (org-count-lines): New function.
4585 * org-exp.el (org-export-format-source-code-or-example): Handle
4586 switches related to text areas.
4588 * org.el (org-activate-footnote-links): Don't allow match inside a
4591 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4593 * org-export-latex.el (org-export-latex-links): Keep a relative
4594 path relative also after export.
4596 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4598 * org.el (org-make-tags-matcher): Never use IDO for completing the
4599 tags matcher match string.
4600 (org-completing-read): Also remove the special biding for "?".
4602 * org-attach.el (org-attach-allow-inheritance): New option.
4603 (org-attach-inherited): New variable.
4604 (org-attach-dir): Handle properties related to the attachment
4606 (org-attach-check-absolute-path): New function.
4607 (org-attach-set-directory, org-attach-set-inherit): New commands.
4608 (org-attach): Accommodate the new commands in the dispatcher.
4610 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4612 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4613 `window-full-width-p'.
4615 * org-exp.el (org-export-as-html): Only check for images files
4616 that really can be inlined
4618 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4619 list of extensions to be a parameter.
4621 * org-exp.el (org-export-html-inline-image-extensions): New
4624 * org-agenda.el (org-prepare-agenda): Use
4625 `org-agenda-block-separator'.
4626 (org-agenda-block-separator): New option.
4628 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4630 * org-export-latex.el (org-export-latex-tables): Call
4631 `org-table-clean-before-export' with the new optional argument.
4633 * org-exp.el (org-table-clean-before-export): New optional
4634 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4637 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4639 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4642 * org-colview.el (org-colview-construct-allowed-dates): Better
4643 error catching when a date/time property does not have allowed
4646 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4647 Better error catching when a date/time property does not have
4648 allowed values defined.
4650 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4652 * org.el (org-map-entries): Restore point and restriction after
4655 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4657 * org.el (org-time=, org-time<, org-time<=, org-time>)
4658 (org-time>=, org-time<>): Make sure both values are dates.
4660 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4662 * org-archive.el (org-extract-archive-heading): Allow %s for file
4663 name also in achive location heading.
4665 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4667 * org-archive.el (org-add-archive-files): Uniquify the list before
4670 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4672 * org-compat.el (org-fit-window-to-buffer): Use
4673 `window-full-width-p'.
4675 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4676 space after the colon in short examples.
4678 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4679 enforce a space after the colon. However, we also allow lines
4680 that are *only* a colon.
4681 (org-export-as-html): Enforce the space after the colon in short
4683 (org-export-preprocess-string): Do the colon example protection
4685 (org-export-remove-timestamps): Do not check for protection at the
4688 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4690 * org.el (org-format-latex-options): Add new matcher for single
4691 letters between dollars.
4692 (org-get-header): Function removed.
4693 (org-heading-components): New function.
4695 * org-exp.el (org-export-define-heading-targets): Record ID's also
4696 as alternative targets.
4697 (org-export-as-html): Interpret "id:" links to other files by
4698 preserving the relative path.
4700 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4703 * org-exp.el (org-export-normalize-links): Protect the main link,
4704 to avoid special character processing.
4706 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4708 (org-export-latex-special-string-regexps): Variable removed.
4709 (org-export-latex-keywords): Use the new regexp.
4711 * org-exp.el (org-export-handle-include-files): Fetch switches and
4712 put them into the BEGIN statement.
4714 * org-timer.el (org-timer-mode-line-string): New variable.
4716 * org-clock.el (org-clock-mode-line-map): Renamed from
4717 `org-clock-mode-map'.
4718 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4719 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4720 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4721 (org-clock-remove-overlays): Renamed from
4722 `org-remove-clock-overlays'.
4724 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4725 and mode line display.
4726 (org-timer-stop): New command.
4727 (org-timer-seconds): Return correct time when timer is paused.
4728 (org-timer-mode-line-timer): New variable.
4729 (org-timer-set-mode-line, org-timer-update-mode-line): New
4732 * org.el (org-insert-heading): Handle new value `auto' for
4733 `org-blank-before-new-entry'.
4734 (org-org-menu): Add new items for timer functions.
4736 * org-list.el (org-insert-item): Handle new value `auto' for
4737 `org-blank-before-new-entry'.
4739 * org.el (org-blank-before-new-entry): New value `auto', made
4742 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4744 * org-exp.el (org-export-normalize-links): If the link is also
4745 used as the description, protect the description.
4747 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4749 * org.el (org-closest-date): Fix bug with yearly repeats, in
4750 combination with preference of the past as it is used for deadline
4751 and scheduling search.
4753 * org-exp.el (org-html-handle-time-stamps): No longer check for
4754 the `org-export-with-timestamps' option, because the preprocesser
4755 has taken care of this already.
4757 * org.el (org-entry-properties): Catch the case when this is
4758 called in a non-org-mode file.
4760 * org-export-latex.el (org-export-latex-remove-from-headlines):
4761 Variable made obsolete, also LaTeX export now uses the standard
4763 (org-export-as-latex): Add the timestamps parameter to the
4764 preprocessor parameter list.
4765 (org-export-latex-content): Export the remaining keywords without
4766 considering to remove them.
4767 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4768 Use bold font instead of tt font for the keywords.
4769 (org-export-latex-fontify-headline): Format headlines, assuming
4770 that all keywords still present should be published.
4771 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4772 publish what ever remains of the time stamps.
4773 (org-export-latex-list-parameters): New option.
4774 (org-export-latex-lists): Pass additional parameters to the list
4777 * org-exp.el (org-export-preprocess-string): Remove clock lines
4778 and timestamps already in the preprocesor.
4779 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4781 (org-export-as-ascii, org-export-as-html): Add the timestamps
4782 parameter to the preprocessor parameter list.
4784 * org-list.el (org-list-parse-list): Parse for checkboxes.
4785 (org-list-to-generic): Introduce and handle new parameters :cbon
4787 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4788 optional parameter PARAMS.
4790 * org-export-latex.el (org-export-latex-special-chars): Fix
4791 problems with interpreting dollar signs.
4792 (org-inside-latex-math-p): New function.
4793 (org-export-latex-preprocess): Protect all the math fragments.
4795 * org.el (org-latex-regexps): Allow a dash after a dollar.
4797 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4800 * org-agenda.el (org-run-agenda-series): Have series options set
4801 when finalizing the agenda.
4803 * org-exp.el (org-export-format-source-code-or-example): Protect
4804 the converted examples.
4806 * org.el (org-set-regexps-and-options): Fix the regexp
4807 `org-complex-heading-regexp'.
4809 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4811 * org.el (org-edit-src-get-label-format): New function.
4812 (org-coderef-label-format): New option.
4813 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4814 a label format specification and make sure it is used in the edit
4816 (org-edit-src-get-label-format): New function.
4817 (org-store-link): Handle new coderef formats.
4818 (org-link-search): Handle new coderef formats.
4820 * org-footnote.el (org-footnote-create-definition)
4821 (org-footnote-goto-local-insertion-point): Make footnote insertion
4822 work correctly when the "Footnotes" headline is the last line in
4825 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4828 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4830 * org-w3m.el (org-w3m): New customization group.
4831 (org-w3m-deactivate-mark): New option.
4832 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4835 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4837 * org.el (org-set-font-lock-defaults): Trigger footnote
4839 (org-activate-footnote-links): New function.
4840 (org-activate-links): New entry `footnote'.
4842 * org-faces.el (org-footnote): New face.
4844 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4846 * org-macs.el (org-re): Handle the [:word:] class.
4848 * org-exp.el (org-export-preprocess-string): Call
4849 `org-export-protect-colon-examples'.
4850 (org-export-protect-colon-examples): Renamed from
4851 `org-export-protect-examples', and scope limited to lines starting
4854 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4856 * org-exp.el (org-export-preprocess-string): Move the preprocess
4857 hook to after turning on Org-mode.
4858 (org-export-preprocess-after-include-files-hook)
4859 (org-export-preprocess-after-tree-selection-hook)
4860 (org-export-preprocess-before-backend-specifics-hook)
4861 (org-export-preprocess-final-hook): New hooks.
4862 (org-export-preprocess-string): Run the new hooks.
4864 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4866 * org-footnote.el: New file.
4868 * org.el (org-footnote): Require footnote code.
4869 (org-startup-options): Add new footnote options.
4870 (org-mode-map): New keybindig for footnotes.
4871 (org-ctrl-c-ctrl-c): Add function at footnotes.
4872 (org-org-menu): New menu entries for footnotes.
4874 * org-export-latex.el (org-export-as-latex): Pass footnote
4875 variable to preprocessor.
4876 (org-export-latex-preprocess): Treat multiple references to a
4879 * org-exp.el (org-export-preprocess-string): Call
4880 `org-footnote-normalize'.
4881 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4883 (org-export-as-html): Treat multiple references to a footnote.
4885 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4887 * org-export-latex.el (org-export-latex-links): Handle coderef
4890 * org.el (org-bracket-link-analytic-regexp++): New variable.
4891 (org-make-link-regexps): Initialize
4892 `org-bracket-link-analytic-regexp++'.
4893 (org-store-link): Implement special case in edit-src buffer.
4894 (org-insert-link): No use of ide to insert stored links.
4895 (org-link-search): Implement special case for coderefs.
4897 * org-exp.el (org-export-html-scripts): New constant.
4898 (org-export-html-style-default): Add a new style for highlighted
4900 (org-export-code-refs): New variable.
4901 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4902 Call `org-export-replace-src-segments-and-examples'
4903 No longer call `org-export-protect-examples'.
4904 (org-export-target-internal-links): Take care of coderef targets.
4905 (org-export-last-code-line-counter-value): New variable.
4906 (org-export-replace-src-segments-and-examples): Renamed from
4907 `org-export-replace-src-segments', and modified.
4908 (org-export-format-source-code-or-example): Renamed from
4909 `org-export-format-source-code'.
4910 (org-export-number-lines): New function.
4911 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4913 --------------------------------------------------------------------------
4915 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4917 * org-remember.el (org-remember-handler): Safer way to get a new
4918 buffer accessing the target file.
4920 * org.el (org-refile-get-location): Handle case of current buffer
4921 not having a file associated with it.
4923 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4925 * org-table.el (org-table-get-formula): Only ask to overwrite
4926 field formula if there really is one.
4928 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4929 number, by converting these to a string.
4931 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4932 located in a different file.
4934 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4937 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4939 * org.el (org-completion-use-ido): Enhance docstring of
4940 `org-completion-use-ido'.
4942 * org-export-latex.el (org-export-latex-make-header): Double the %
4943 in the time stamp format.
4944 (org-export-latex-special-chars): Handle case where there is no
4947 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4949 * org.el (org-get-refile-targets, org-refile-get-location): Use
4950 expanded file name to improve comparison.
4952 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4954 * org.el (org-scan-tags): Rescan for tags, to get the correct
4955 upcase/downcase stuff. This slows things down for now, but it
4957 (org-mode): Make sure the tag-faces regexp is initialized.
4959 * org-export-latex.el (org-export-latex-links): Fix bug with
4962 * org-table.el (org-table-get-specials): Set
4963 `org-table-current-last-data-line'.
4964 (org-table-current-last-data-line): New variable.
4965 (org-table-insert-column, org-table-delete-column)
4966 (org-table-move-column, org-table-fix-formulas): Call
4967 `org-table-fix-formulas' a second time to fix the $LR references.
4968 (org-table-get-specials): Add the $LR references to the tables.
4969 (org-table-get-formula): Do not offer last-row names as LHS of
4972 * org.el (org-store-link): Capture link description from
4973 `org-id-store-link'.
4975 * org-exp.el (org-export-html-format-image): Add the / to the end
4977 (org-export-format-source-code): Surround example by empty lines,
4978 to make sure it will not be inside a paragraph.
4980 * org.el (org-ido-switchb): New function.
4982 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4984 * org-agenda.el (org-agenda-show): New prefix argument
4987 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4990 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4991 `org-agenda-change-all-lines'.
4992 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4993 tags are now retrieved locally.
4995 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4997 * org.el (org-get-outline-path): Fix bug if level is not given.
4998 (org-org-menu): Do not quote function in menu vector.
5000 * org-agenda.el (org-finalize-agenda): Fix typo with variable
5003 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5005 * org.el (org-refile): Avoid refiling to within the region to be
5008 * org-export-latex.el (org-export-latex-special-chars): Replace
5009 special characters also in tables.
5011 * org-agenda.el (org-agenda-change-all-lines): New argument
5013 (org-agenda-set-tags): Cet the new tags and pass them to
5014 `org-format-agenda-item'.
5016 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
5018 * org-export-latex.el (org-export-latex-classes): Add longable as
5019 a default package to all classes.
5020 (org-export-latex-tables): Handle the longtable attribute and the
5023 * org-table.el (orgtbl-to-generic): Handle tables that start with
5026 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5027 \verb for colde-like snippets.
5028 (org-export-as-latex): Fix issues with region export.
5030 * org.el (org-up-heading-safe): Speed up function by using a
5031 direct regexp search.
5032 (org-olpa): New variable.
5033 (org-get-outline-path): Speed-up path constructions in cases where
5034 this is possible because the entire hierarchy is scanned anyway.
5035 (org-refile-get-location): Don't compare the truenames of files,
5037 (org-goto-max-level): New option.
5038 (org-goto): Use `org-goto-max-level'.
5040 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
5042 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5043 Strip angle brackets from message-ids in the former and don't do
5045 (org-gnus-follow-link): Open summary reliable, even if the last
5046 messages were deleted, and handle empty groups, too.
5048 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
5050 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5051 instead of \texttt for the =...= and ~===~ emphasis environments.
5052 (org-export-as-latex): Remove any old :org-license-to-kill text
5054 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5055 (org-export-latex-make-header): Add some hard space after the
5057 (org-export-latex-first-lines): Accept RBEG argument. Mark
5058 exported text so that it will be excuded in further steps.
5060 * org-table.el (org-table-get-specials): Make @0 reference the
5061 last line in a table.
5062 (org-table-recalculate): Improve docstring.
5064 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
5066 * org.el (org-log-done): Fix docstring.
5068 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
5070 * org-exp.el (org-export-html-format-image): Fix bugs.
5072 * org-export-latex.el (org-export-latex-tables)
5073 (org-export-latex-links): Implement attribute, label, and caption
5076 * org-exp.el (org-export-html-style-default): Add style
5077 definitions for the figure div.
5078 (org-export-preprocess-string, org-export-as-html): Implement
5079 attribute, label, and caption handling.
5080 (org-export-attach-captions-and-attributes): New function.
5081 (org-export-html-format-image): New function.
5082 (org-format-org-table-html): Implement attribute, label, and
5085 * org.el (org-find-text-property-in-string): New function.
5086 (org-extract-attributes): Use the property org-attr instead of
5087 org-attrobutes, because this property is now set with the #+ATTR
5090 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
5092 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5093 the case that FROM is nil.
5095 * org.el (org-before-first-heading-p): New function.
5097 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5099 * org-exp.el (org-export-as-html): Do not add a space before
5100 enforces line breaks.
5101 (org-export-as-html): Close paragraph before blockquote and verse
5104 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
5106 * org-id.el (org-id-locations-file): Wrap file name with
5107 `convert-standard-filename'.
5108 (org-id-files): New variable.
5109 (org-id-use-hash): New option.
5110 (org-id-update-id-locations): Also search in all files current
5111 listed in `org-id-files'. Convert the resulting alist to a hash
5112 if the user customation says so.
5113 (org-id-locations-save): Handle he case if `org-id-locations' is a
5115 (org-id-locations-load): Convert the alist to a hash.
5116 (org-id-add-location): Handle the hast case.
5117 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5119 (org-id-hash-to-alist, org-id-alist-to-hash)
5120 (org-id-paste-tracker): New functions.
5122 -------------------------------------------------------------------------
5124 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5126 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5127 bindings of calendar variables.
5129 * org-table.el (org-table-find-row-type): Renamed from
5130 `org-find-row-type'.
5131 (org-table-rewrite-old-row-references): Renamed from
5132 `org-rewrite-old-row-references'.
5133 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5134 (org-table-cleanup-narrow-column-properties): Renamed from
5135 `org-cleanup-narrow-column-properties'.
5137 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5139 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5140 for better error messages.
5141 (org-table-get-descriptor-line): Supply the new arguments to
5142 `org-find-row-type'.
5143 (org-table-error-on-row-ref-crossing-hline): New option.
5145 * org.el (org-target-link-regexp): Make buffer-local.
5146 (org-move-subtree-down): Fix bug with trees at beginning of
5149 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
5151 * org-faces.el (org-set-tag-faces): New function.
5152 (org-tags-special-faces-re): New variable.
5154 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5156 * org-faces.el (org-tag-faces): New option.
5157 (org-tag): Mention `org-tag-faces' in the docstring.
5159 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
5161 * org-exp.el (org-export-html-style-default): Implement new
5164 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5166 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5167 command to the `w3m-minor-mode-map'.
5169 * org-archive.el (org-archive-to-archive-sibling): Protect
5170 `this-command' to avoid appending kills during archiving.
5172 * org-exp.el (org-export-with-priority): New variable.
5173 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5174 instead of internal list of strings and properties.
5175 (org-print-icalendar-entries): Retrieve the location property with
5178 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
5180 * org-exp.el (org-export-with-todo-keywords): New option.
5181 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5183 (org-default-export-plist, org-export-add-options-to-plist)
5184 (org-export-as-ascii, org-export-as-html): Use the new structure
5185 of `org-export-plist-vars'.
5187 * org.el (org-map-entries): Return all values.
5189 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
5191 * org.el (org-matcher-time): Recognize more special values.
5193 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5195 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
5197 * org.el (org-tags-exclude-from-inheritance): New option.
5198 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5199 `org-tags-exclude-from-inheritance'.
5201 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5202 (org-format-agenda-item): Add inherited tags to the agenda line
5203 string, and make sure that properties are kept when downcasing the
5205 (org-agenda-add-inherited-tags): New function.
5206 (org-downcase-keep-props): New function.
5208 * org.el (org-scan-tags): Mark inherited tags with a text
5210 (org-get-tags-at): Mark inherited tags with a text property.
5211 (org-add-prop-inherited): New function.
5213 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5214 (org-agenda-show-inherited-tags): New option.
5216 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
5218 * org.el (org-modules): Add org-w3m to the default modules.
5220 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5222 (orgtabl-create-or-convert-from-region): New command.
5224 * org-exp.el (org-export-as-ascii): Remove the handling of
5226 (org-export-ascii-preprocess): Handle targets already in this
5229 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
5231 * org-timer.el (org-timer-start-time): Define this variable.
5232 (org-timer-item): Make argument optional.
5234 * org-list.el (org-insert-item): Automatically insert a timer item
5235 if the current list is a timer list.
5237 * org-timer.el: New file.
5239 * org-publish.el (org-publish-org-index): Only exclude the index
5240 file in the main directory from being added to the site-map.
5241 (org-publish-get-project-from-filename): If the current project is
5242 a component, start publishing from the parent project.
5244 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5246 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5248 * org-publish.el (org-publish-org-index): Improve removal of
5251 * org-agenda.el (org-get-closed): Re-apply changes
5252 accidentially overwritten by last commit to Emacs.
5254 * org.el (org-outline-path-complete-in-steps): New option.
5255 (org-refile-get-location): Honor
5256 `org-outline-path-complete-in-steps'.
5257 (org-agenda-change-all-lines, org-tags-sparse-tree)
5258 (org-time-string-to-absolute, org-small-year-to-year)
5259 (org-link-escape): Re-apply changes accidentially overwritten
5260 by last commit to Emacs
5262 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5264 * org-clock.el (org-dblock-write:clocktable): Make sure the
5265 clocktable sees the first line.
5266 (org-clock-in): Warn if the clock cannot be resumed.
5268 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
5270 * org.el (org-open-at-point): Fix mixup about interactive and
5271 non-interactive elisp links.
5273 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5275 * org-exp.el (org-export-preprocess-string): Allow one comment
5276 line before the first headline to always be included. This is
5277 to not miss a commented target.
5279 * org-mouse.el (org-mouse-insert-item): Call
5280 `org-indent-to-column' instead of `indent-to', for XEmacs
5283 * org.el (org-refile-targets): Fix customize definition so
5284 that it works also in XEmacs.
5285 (org-fixup-indentation): Call `org-indent-to-column' instead
5286 of `indent-to', for XEmacs compatibility.
5288 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5290 * org-mew.el (org-mew-store-link): Get the correct case folder
5291 for refiled messages.
5293 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5295 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5296 line break indicators.
5298 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5299 ido-completion propts.
5301 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5303 * org-remember.el (org-remember-apply-template): Use
5304 `org-substring-no-properties'.
5306 * org-compat.el (org-substring-no-properties): New function.
5308 * org-remember.el (org-remember-apply-template): Use
5309 `org-substring-no-properties' for compatibility.
5311 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5313 (org-fix-bullet-type): respect
5314 `org-list-two-spaces-after-bullet-regexp'.
5316 * org-clock.el (org-clock-load): Clean up the code.
5318 * org.el (org-adaptive-fill-function): Allow two spaces after
5319 "1." as a list bullet.
5321 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
5323 * org-clock.el (org-clock-save, org-clock-load): Check for
5324 live buffers, existing files, and buffer file names to ensure
5325 consistent information.
5326 (org-clock-persist): Make `clock' a special value of this
5327 variable, and improve docstring.
5329 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5330 (org-get-string-indentation): Adapt indentation when the bullet
5333 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
5335 * org-remember.el (org-remember-finalize): Make interactive.
5336 (org-remember-kill): New command.
5337 (org-remember-finish-immediately): Call `org-remember-finalize'
5339 (org-remember-finalize): Make `org-remember-finalize' an interactive
5342 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5344 * org-remember.el (org-remember-apply-template): No ido completion
5345 for free prompts in remember templates.
5346 (org-remember-before-finalize-hook): New hook.
5347 (org-remember-mode): New minor mode.
5348 (org-remember-apply-template): Turn on `org-remember-mode'.
5350 * org-id.el (org-id-add-location): Avoid error when no file is
5353 * org-remember.el (org-remember-apply-template): Fix the way how
5354 the list of allowed properties is retrieved from the target file.
5356 * org.el (org-insert-link): Improve file link matching.
5358 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5360 * org-colview.el (org-columns-display-here): New argument
5361 DATELINE, to trigger using the new face.
5362 (org-agenda-colview-summarize): Call `org-columns-display-here'
5363 with the new argument.
5365 * org-faces.el (org-agenda-column-dateline): New face.
5367 * org-publish.el (org-publish-org-index): Use index-title at page
5368 title, not as section.
5370 * org-exp.el (org-export-html-format-desc): Respect the
5371 org-protect property.
5372 (org-export-as-html): Protect image specifiers that are in the
5373 description part of a link.
5375 * org.el (org-sort-entries-or-items, org-completing-read)
5376 (org-refile-get-location, org-olpath-completing-read, org-todo)
5377 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5378 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5379 (org-set-property, org-delete-property)
5380 (org-delete-property-globally): Use `org-ido-completing-read'.
5382 * org-remember.el (org-remember-apply-template): Use
5383 `org-ido-completing-read'.
5385 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5387 * org-colview.el (org-columns-edit-value, org-columns-new)
5388 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5390 * org-colview-xemacs.el (org-columns-edit-value)
5391 (org-columns-new, org-insert-columns-dblock): Use
5392 `org-ido-completing-read'.
5394 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5395 `org-ido-completing-read'.
5397 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5398 `org-ido-completing-read'.
5400 * org.el (org-time-today): New function.
5401 (org-matcher-time): Use `org-time-today'. Add special treatment
5402 for "<tomorrow>" and "<yesterday>".
5403 (org-ido-completing-read): New function.
5404 (org-completion-use-ido): New option.
5406 * org-exp.el (org-export-format-source-code): Fix bug in require
5408 (org-export-target-internal-links): Fix bug in search for text
5411 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5413 * org-export-latex.el (org-export-latex-subcontent): Interprete
5414 target aliases as additonal labels.
5416 * org-exp.el (org-export-target-aliases): New variable.
5417 (org-export-preprocess-string)
5418 (org-export-handle-invisible-targets): Fill the alias alist.
5419 (org-export-as-html): Remove the from the anchor, and also
5421 (org-html-level-start): Insert the target aliases as additonal
5424 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5427 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5429 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5430 when following a link with the mouse from the agenda.
5432 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5433 headlines are created.
5435 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5437 * org-exp.el (org-export-preprocess-string): Reorder so that we
5438 can still see ID properties when we collect targets.
5439 (org-export-target-internal-links): Also store targets for ID's.
5441 * org.el (org-link-translation-function): New option.
5442 (org-open-at-point): Call `org-link-translation-function' if
5444 (org-translate-link): New function.
5445 (org-translate-link-from-planner): New function.
5446 (org-open-at-point): Allow interactive commands in elisp links.
5448 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5449 iCalendar quoting. The new one seems to caus problems with
5452 * org.el (org-yank): Set `this-command' to `yank', so that
5453 `yank-pop' will work.
5455 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5457 * org-id.el (org-id-search-archives): New option.
5459 * org.el (org-link-to-org-use-id): New option.
5460 (org-store-link): Use `org-link-to-org-use-id'.
5461 (org-id): Make org-id.el a standard component.
5463 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5465 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5466 hexified version of the tag.
5468 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5469 compliance as far as quoting is concerned.
5471 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5473 * org.el (org-up-heading-safe, org-forward-same-level): Always
5474 call `org-back-to-heading' instead of `outline-back-to-heading'.
5475 (org-back-to-heading): New wrapper around outline-back-to-heading,
5476 with a useful error message telling where the error happened.
5478 * org-list.el (org-update-checkbox-count): Always call
5479 `org-back-to-heading' instead of `outline-back-to-heading'.
5481 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5482 has an `alt' attribute, to ensure XHTML validation.
5484 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5486 * org-publish.el (org-publish-attachment): Allow publishing to
5487 overwrite attachment files.
5489 * org-agenda.el (org-agenda-timerange-leaders): New option.
5490 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5492 * org.el (org-edit-src-exit): Untabify ASCII image before
5506 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5508 * org.el (org-yank): Make any prefix force normal yanking.
5509 Suppress folding if text would be swallowed into a folded
5511 (org-yank-folded-subtrees, org-yank): Docstring updates.
5513 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5516 * org-exp.el (org-export-language-setup): Add Catalan and
5517 Esperanto language entries.
5519 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5521 * org.el (org-refile): Allow refiling of entire regions.
5523 * org-clock.el (org-clock-time%): New function.
5525 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5526 retrieve property values.
5528 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5530 * org-agenda.el (org-agenda-list): Handle the value `only' of
5531 org-agenda-show-log'.
5532 (org-agenda-log-mode): Interpret a double prefix arg.
5534 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5536 * org-exp.el (org-export-html-footnotes-section): New variable.
5537 (org-export-as-html): Use `org-export-html-footnotes-section' to
5538 insert the footnotes.
5539 (org-export-language-setup): Add "Footnotes" to language words.
5541 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5543 * org.el (org-yank): Fix bug when not inserting a subtree.
5545 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5547 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5548 instead of `vm-beginning-of-message'.
5550 * org.el (org-make-link-regexps): Make sure that links to gnus can
5553 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5555 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5558 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5561 * org.el (org-link-abbrev-alist): Improve customization type.
5563 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5566 * org-agenda.el (org-agenda-get-progress): Renamed from
5567 `org-get-closed'. Implement searching for state changes as well.
5568 (org-agenda-log-mode-items): New option.
5569 (org-agenda-log-mode): New option prefix argument, interpreted as
5570 request to show all possible progress info.
5571 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5573 (org-agenda-set-mode-name): Handle the more complex log mode
5575 (org-get-closed): New alias, pointing to `org-get-progress'.
5577 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5579 * org.el (org-file-apps-defaults-gnu)
5580 (org-file-apps-defaults-macosx)
5581 (org-file-apps-defaults-windowsnt): Add an entry defining the
5583 (org-file-apps): Allow `system' as key and value.
5584 (org-open-at-point): Explain the effect of a double prefix arg.
5585 (org-open-file): If the argument `in-emacs' is (16),
5586 i.e. corresponding to a double prefix argument, try to open the
5589 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5591 * org.el (org-insert-link): Abbreviate absolute files names in
5592 links. Also, fix a bug in which the double C-u prefix would not
5595 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5597 * org.el (org-insert-heading): If buffer does not end with a
5598 newline, add one if necessary to insert headline correctly.
5600 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5601 paragraphs, not inside.
5603 * org.el (org-todo): Quote
5604 `org-agenda-headline-snapshot-before-repeat'.
5606 * org-exp.el (org-export-as-html): Fully process link descriptions.
5607 (org-export-html-format-desc): New function.
5608 (org-export-as-html): Collect footnotes into the correct basket.
5609 (org-html-protect): No longer protect quotations marks here, this
5612 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5615 * org-compat.el (org-fit-window-to-buffer): New function (not
5616 really, a preliminary and incomplete version was present earlier,
5619 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5620 `org-fit-window-to-buffer'.
5622 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5624 * org-agenda.el (org-agenda-get-restriction-and-command)
5625 (org-fit-agenda-window, org-agenda-convert-date): Use
5626 `org-fit-window-to-buffer'.
5628 * org-exp.el (org-export-as-html): Process href links through
5629 `org-export-html-format-href'.
5630 (org-export-html-format-href): New function.
5632 * org-agenda.el (org-agenda-todo): Update only the current
5633 headline if this is a repeated TODO, marked done for today.
5634 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5635 only the current line.
5637 * org.el (org-todo): Take a snapshot of the headline if the
5638 repeater might change it.
5640 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5642 * org-publish.el (org-publish-find-title): Remove buffers visited
5643 only for extracting the title.
5645 * org-exp.el (org-export-html-style)
5646 (org-export-html-style-default): Mark style definitions as
5649 * org-publish.el (org-publish-validate-link): Function
5652 2008-11-02 Charles Sebold <csebold@gmail.com>
5654 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5656 (org-plot-quote-timestamp-field): New function.
5657 (org-plot-quote-tsv-field): Call timestamp field function when
5658 necessary rather than just quoting as a string.
5659 (org-plot/gnuplot-to-data): Pass in timefmt property.
5660 (org-plot/gnuplot-script): Supports timefmt property.
5661 (org-plot/gnuplot): Checks for timestamp column before checking
5662 for text index column.
5664 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5666 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5668 * org-publish.el (org-publish-org-index): Create a section in the
5670 (org-publish-org-index): Stop linking to directories.
5672 * org.el (org-emphasis-alist): Use span instead of <u> to
5675 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5678 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5680 * org-jsinfo.el (org-infojs-template): Remove language attribute
5683 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5685 * org-agenda.el (org-agenda-remove-marked-text): New function.
5686 (org-agenda-mark-filtered-text)
5687 (org-agenda-unmark-filtered-text): New functions.
5688 (org-write-agenda): Remove fltered text.
5690 * org.el (org-make-tags-matcher): Give access to TODO "property"
5691 without speed penalty.
5693 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5695 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5697 (org-store-link-props): Make sure adding to the plist works
5700 * org-gnus.el (org-gnus-no-new-news): New function.
5701 (org-gnus-follow-link): Allow the article ID to be a message-id,
5702 in addition to allowing article numbers. Message IDs make much
5704 (org-gnus-store-link): Use message-id to create link.
5706 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5708 * org.el (org-emphasize): Reverse the selection array.
5709 (org-emphasis-alist): Set <code> tags for the verbatim
5712 * org-remember.el (org-remember-handler): Fix bug with
5713 prefix-related changing of the note storage target.
5715 * org-exp.el (org-print-icalendar-entries): Make the exported
5716 priorities compatible with RFC 2445.
5718 * org-clock.el (org-clock-save): Insert time stamp without
5719 dependence on time-stamp.el.
5721 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5723 * org.el ("saveplace"): If saveplace puts point into an invisible
5724 location, make it visible.
5725 (org-make-tags-matcher): Allow inactive time stamps in time
5727 (org-yank-adjusted-subtrees): New option.
5728 (org-yank): Incorporate adjusting trees.
5729 (org-paste-subtree): New argument FOR-YANK which will cause
5730 insertion at point without backing up over white lines, and leave
5731 point at the end of the inserted text. Also if the cursor is
5732 at the beginning of a headline, use the same level or the inserted
5735 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5736 with broken symlinks
5738 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5740 * org-exp.el (org-export-select-tags, org-get-current-options):
5743 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5745 * org-agenda.el (org-format-agenda-item)
5746 (org-agenda-filter-make-matcher): Make sure tags are stored and
5749 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5751 * org.el (org-insert-todo-heading): Fix bug with force-heading
5754 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5756 * org-clock.el (org-clock-in-resume): Add a custom option to
5757 toggle starting the clock from an open clock line.
5758 (org-clock-in): When clocking in to an entry, if
5759 `org-clock-in-resume' is set, check if the first clock line is
5760 open and if so, start the clock from the time in the clock line.
5761 (org-clock-persist): Add a custom option to toggle clock
5763 (org-clock-persist-query-save): Add a custom option to toggle
5764 asking the user if they want to save the running clock when
5766 (org-clock-persist-query-resume): Add a custom option to toggle
5767 asking the user if they want to resume the saved clock when Emacs
5769 (org-clock-save): Add a function to save clock data.
5770 This includes the contents of `org-clock-history' and the buffer
5771 and position of the currently clocked task, if any.
5772 (org-clock-load): Add a function to load clock data.
5773 This populates `org-clock-history', and resumes the saved clocked
5774 task if there is one.
5775 (org-clock-persistence-insinuate): Add a method to set up the
5776 hooks for clock persistence.
5778 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5780 * org-exp.el (org-export-as-ascii): Handle the case that we are
5781 publishing from an indirect buffer.
5783 * org-table.el (org-table-copy-down): Fix bug with time stamp
5786 * org-mouse.el (org-mouse-features): New option.
5787 (org-mode-hook): Turn on features depending on
5788 `org-mouse-features'.
5790 * org.el (org-insert-heading-respect-content): Force heading
5792 (org-insert-heading): keep the folding state of the heading before
5795 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5797 * org-archive.el (org-archive-to-archive-sibling): Handle top
5798 level headlines better.
5800 2008-10-21 Bastien Guerry <bzg@altern.org>
5802 * org-export-latex.el (org-export-latex-classes): Added
5803 \usepackage{graphicx} to the default list of packages.
5805 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5807 * org-agenda.el (org-agenda-filter): Renamed from
5808 `org-agenda-filter-tags'.
5810 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5812 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5813 is not defined as a property in this entry.
5814 (org-add-log-note): Mask prefix argument when immediately storing
5817 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5820 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5822 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5823 after drawers was skipping ahead one line too many, so notes were
5824 inserted after the first note instead of before it.
5826 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5828 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5830 (org-prepare-agenda): Reset the filter tags.
5831 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5832 Show filter tags in mode line.
5834 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5837 * org-export-latex.el (org-latex-entities-regexp): New constant.
5838 (org-export-as-pdf): Use two calls to `shell-command'.
5840 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5842 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5843 Honor the {} value of the subsuperscript setting. Make sure that
5844 longer subsuperscripts are typeset in a roman font.
5846 * org.el (org-clock-update-time-maybe): Compute negative clock
5847 intervals correctly.
5849 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5851 * org.el (org-add-log-setup): Respect
5852 `org-log-state-notes-insert-after-drawers'.
5853 (org-log-state-notes-insert-after-drawers): New option.
5854 (org-todo-trigger-tag-changes): New function.
5855 (org-todo): Call `org-todo-trigger-tag-changes'.
5857 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5859 * org.el (org-add-log-setup): Only skip drawers if the are
5860 immediately after the scheduling keywords.
5862 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5864 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5865 call it with the current todo state to get the state to switch to
5867 (org-clock-in): Use org-indent-line-function to indent clock lines.
5868 (org-clock-find-position): Fix indentation of empty clock drawers.
5870 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5872 * org-publish.el (org-publish-org-to): Handle case when
5873 org-export-to-pdf does return a file name, not a buffer.
5874 (org-publish-org-to-pdf): New function.
5876 * org-export-latex.el (org-export-as-pdf)
5877 (org-export-as-pdf-and-open): New commands.
5879 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5882 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5883 things in protexted regions.
5885 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5887 * org-export-latex.el (org-export-latex-preprocess): Improve
5888 quoting of LaTeX environments.
5890 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5892 * org.el (org-edit-fixed-width-region): Exclude final newline from
5895 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5896 sections, to make internal links work.
5897 (org-export-latex-fontify-headline): Do not remove all text
5898 properties, to make sure that target properties survive this
5901 * org-exp.el (org-export-preprocess-string): Change sequence of
5902 modifications, to make sure links are prepared before the LaTeX
5903 conversions do happen.
5905 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5907 * org-attach.el (org-attach-delete-all): Renamed from
5908 `org-attch-delete'. Add a security query before deleting the
5909 entire directory. New optional argument FORCE can overrule the
5911 (org-attach-delete-one): New command.
5913 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5915 * org-attach.el (org-attach-file-list): Fix bug with directory.
5917 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5919 * org.el (org-apps-regexp-alist): New function.
5920 (org-file-apps): Add auto-mode to the default value.
5921 (org-open-file): Use the new structure of org-file-apps.
5923 * org-attach.el (org-attach): Support the new keys.
5924 (org-attach-method): New option.
5926 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5928 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5931 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5932 of the list value o `org-use-tag-inheritance'.
5934 * org-attach.el (org-attach-auto-tag): New option.
5935 (org-attach-tag, org-attach-untag): New functions.
5936 (org-attach-attach, org-attach-new, org-attach-sync): Call
5938 (org-attach-delete): Call `org-attach-untag'.
5940 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5942 * org-table.el (orgtbl-self-insert-command): Make this work for
5945 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5947 * org.el (org-add-log-setup): Limit searc for drawers to entry
5948 text, not to subtree.
5950 * org-clock.el (org-clock-heading-for-remember): New variable.
5951 (org-clock-in): Set `org-clock-heading-for-remember'.
5953 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5955 * org-remember.el (org-remember-apply-template): Add new
5956 expansions: %k, %K for currently clocked task and a link to the
5957 currently clocked task, and %< to file notes in the currently
5960 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5962 * org-export-latex.el (org-export-latex-make-header): Also insert
5963 the content of the property :latex-header-extra.
5965 * org-exp.el (org-infile-export-plist): Put the content of
5966 #+LATEX_HEADER: into the property :latex-header-extra.
5968 * org-colview.el (org-columns-get-format-and-top-level): Remove
5969 resetting the marker.
5971 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5972 Remove resetting the marker.
5974 * org.el (org-entry-property-inherited-from): Improve docstring.
5975 (org-entry-get-with-inheritance): Reset marker before starting the
5978 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5980 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5982 * org.el (org-entry-get-multivalued-property)
5983 (org-entry-protect-space, org-entry-restore-space): New
5985 (org-file-apps-defaults-macosx): Let postscript files be opened by
5987 (org-time-stamp-inactive): Call `org-time-stamp'.
5988 (org-time-stamp): New argument `inactive'. Also edit inacive
5989 stamps. Convert time stamp type.
5990 (org-open-file): Interpret the `default' value for the `command'
5993 * org-id.el (org-id-int-to-b36-one-digit)
5994 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5995 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5998 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
6000 * org-id.el (org-id-reverse-string): New function.
6001 (org-id-new): Use `org-id-reverse-string' to make sure the
6002 beginning chars of the ID are mutating fast. This allows to use a
6003 directory structure to spread things better.
6004 (org-id-prefix): Changed default to nil.
6006 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6007 restore the column of the cursor position.
6009 * org-remember.el (org-remember-apply-template): Remove properties
6012 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
6014 * org-wl.el (org-wl-open): Remove useless call to
6015 `wl-thread-open-all'.
6017 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6020 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
6022 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6023 `org-bbdb-anniversaries'.
6025 * org.el (org-get-next-sibling, org-forward-same-level): New
6026 functions, similar to the outline versions, but invisible headings
6029 2008-09-25 Bastien Guerry <bzg@altern.org>
6031 * org.el (org-auto-repeat-maybe): Insert a space between
6032 the timestamp's type and the timestamp itself.
6034 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
6036 * org-table.el (org-table-sum): Do not format the result with %g,
6037 it does rounding when there are too many digits.
6039 * org.el (org-map-entries): Protect the keyword-selecting variables.
6041 2008-09-23 Bastien Guerry <bzg@altern.org>
6043 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6044 against all agenda files.
6046 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
6048 * org-list.el: New file, aggregating list functions from org.el
6049 and org-export-latex.el.
6051 * org.el (org-edit-src-region-extra): New option.
6053 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
6055 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6058 2008-09-22 Bastien Guerry <bzg@altern.org>
6060 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6062 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
6064 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6065 hline work correctly.
6066 (org-plot/gnuplot-script): Put commas at the end of each script
6069 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
6071 * org.el (org-get-refile-targets): Replace links with their
6073 (org-imenu-get-tree): Replace links with their descriptions.
6075 * org-remember.el (org-remember-apply-template): Add a new
6076 expansion for adding properties to remember items.
6078 * org.el (org-add-log-setup): Skip over drawers (properties,
6079 clocks etc) when adding notes.
6081 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6082 items as well as the start and end times.
6084 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6085 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6087 * org-remember.el (org-get-x-clipboard): Use the compat
6088 function to get clipboard values when x-selection-value is
6089 unavailable. Use substring-no-properties instead of
6090 set-text-properties to remove text properties from the clipboard
6093 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6094 modeline clock string, and display the full todo value in the
6095 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6096 the currently clocked task.
6097 (org-clock-string-limit): Add a custom value for the maximum
6098 length of the clock string in the modeline.
6099 (org-clock-mode-map): Add a keymap for the modeline string
6101 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
6103 * org-compat.el (org-propertize): New function.
6105 2008-09-20 Bastien Guerry <bzg@altern.org>
6107 * org-export-latex.el (org-export-latex-tables): protect exported
6108 tables from further special chars conversion.
6109 (org-export-latex-preprocess): Preserve LaTeX environments.
6110 (org-list-parse-list): Parse descriptive lists.
6111 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6112 (org-list-to-texinfo): Export descriptive lists.
6113 (org-quote-chars): Remove.
6114 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6115 (org-export-latex-list-beginning-re): Rename to
6116 `org-list-beginning-re'
6117 (org-list-item-begin): Rename to `org-list-item-beginning'
6119 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
6121 * org.el (org-refile): Allow refiling to the last entry in the
6123 (org-get-tags-at): Fix bug when inheritance is turned off.
6125 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
6127 * org.el (org-indent-line-function): No longer check for src
6128 regions, this is too much overhead.
6130 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6133 * org.el (org-scan-tags): Make sure that tags matching is not case
6134 sensitive. TODO keyword matching is case sensitive, however, to
6135 avoid confusion with similar words that are not meant to be
6138 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
6140 * org.el (org-get-local-tags-at): New function.
6141 (org-get-local-tags): New function.
6143 * org-exp.el (org-export-get-categories): New function.
6145 * org-agenda.el (org-sorting-choice)
6146 (org-agenda-sorting-strategy, org-agenda-get-todos)
6147 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6148 (org-agenda-get-scheduled, org-agenda-get-blocks)
6149 (org-entries-lessp): Implement sorting by TODO state.
6150 (org-cmp-todo-state): New defsubst.
6152 * org-colview.el (org-colview-construct-allowed-dates): New
6154 (org-columns-next-allowed-value): Use
6155 `org-colview-construct-allowed-dates'.
6157 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6159 (org-columns-next-allowed-value): Use
6160 `org-colview-construct-allowed-dates'.
6162 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
6164 * org.el (org-protect-slash): New function.
6165 (org-get-refile-targets): Use `org-protect-slash'.
6167 * org-agenda.el (org-global-tags-completion-table): New variable.
6169 * org-exp.el (org-export-handle-export-tags): New function.
6170 (org-export-preprocess-string): Call
6171 `org-export-handle-export-tags'.
6173 * org-plot.el: New file.
6175 * org-publish.el (org-publish-expand-components): Function removed.
6176 (org-publish-expand-projects): Allow components to have components.
6178 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
6180 * org.el (org-indent-line-function): Do not indent in regions that
6181 are external source code.
6182 (org-yank-and-fold-if-subtree): New function.
6184 * org-agenda.el (org-agenda-todayp): New function.
6185 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6186 `org-agenda-todayp'.
6188 * org.el (org-insert-heading-respect-content)
6189 (org-insert-todo-heading-respect-content): New commands.
6190 (org-insert-heading-respect-content): New option.
6191 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6193 * org-clock.el (org-clock-find-position): Make sure the note after
6194 the clock line gets moved into the new clock drawer.
6196 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
6198 * org-id.el (org-id-new): New option.
6200 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
6202 * org-table.el (org-table-copy-down): Avoid overflow during
6203 increment. Use prefix argument 0 to temporarily disable the
6206 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
6208 * org-exp.el (org-export-as-html): Do not turn on the major mode
6209 if the buffer will be killed anyway.
6210 (org-get-current-options): Exclude the #+TEXT field.
6211 (org-export-as-html): Make sure text before the first headline is
6214 * org-publish.el (org-publish-org-to): Tell the exporter that this
6215 buffer will be killed, so it is not necessary to do major mode
6218 * org-archive.el (org-archive-to-archive-sibling): Show empty
6219 lines after folding the archive sibling.
6221 * org.el (org-log-note-extra): New variable.
6223 2008-09-05 Bastien Guerry <bzg@altern.org>
6225 * org.el (org-additional-option-like-keywords): Added keywords for
6226 the _QUOTE, _VERSE and _SRC environments.
6228 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6229 exporting _QUOTE and _VERSE environments.
6231 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
6233 * org-agenda.el (org-agenda-filter-by-tag): New command.
6235 * org-exp.el (org-get-current-options): Remove angular brackets
6236 from the date entry.
6238 * org.el (org-edit-fixed-width-region): New function.
6239 (org-edit-fixed-width-region): Also try
6240 `org-edit-fixed-width-region'.
6241 (org-edit-fixed-width-region-mode): New option.
6242 (org-activate-code): Only interprete lines starting with colon
6243 plus a space as example lines.
6245 * org-remember.el (org-remember-templates): Add nil instead of
6246 empty strings to fix the length of remember templates.
6248 * org-table.el (org-calc-default-modes): Fix the time format for
6249 calc, from 12 hour to 24 hour clock.
6251 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
6253 * org-agenda.el (org-agenda-get-deadlines)
6254 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6255 entries that are pre-warnings of deadlines or reminders.
6257 * org.el (org-sort-entries-or-items): Make numeric and alpha
6258 comparisons ignore any TODO keyword and priority cookie.
6260 * org-remember.el (org-remember-handler): Reinterpretation of the
6263 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
6265 * org-agenda.el (org-agenda-get-scheduled): Use new
6266 `org-scheduled' face.
6268 * org-faces.el (org-scheduled): New face.
6270 * org-wl.el (org-wl-open): Remove incorrect declaration.
6272 * org-gnus.el (org-gnus-store-link): Support for :to information
6275 * org-exp.el (org-export-as-html): Fixed typo in creator
6277 (org-export-protect-examples): New parameter indent. Insert extra
6278 spaces only when this parameter is specified.
6279 (org-export-preprocess-string): Call `org-export-protect-examples'
6280 with an indentation parameter when exporting to ASCII.
6282 * org-remember.el (org-remember-templates)
6283 (org-remember-apply-template): Allow the file component to be a
6286 * org.el (org-goto-local-search-headings): Renamed from
6287 `org-goto-local-search-forward-headings'. Added the possibility
6288 to search backwards.
6290 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
6292 * org-export-latex.el (org-export-latex): New customization
6295 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6297 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
6299 * org-exp.el (org-html-do-expand): Allow {} to terminate
6302 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
6304 * org.el (org-buffer-list): Select buffers based on major mode,
6307 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6309 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6312 * org-colview.el (org-columns-display-here): Use
6313 `org-columns-modify-value-for-display-function'.
6315 * org-colview-xemacs.el (org-columns-display-here): Use
6316 `org-columns-modify-value-for-display-function'.
6318 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6320 * org.el (org-columns-modify-value-for-display-function): New option.
6332 * org-publish.el (org-publish-file): Make sure the directory match
6333 for the publishing directory works correctly.
6335 * org-agenda.el (org-agenda-execute-calendar-command)
6336 (org-agenda-diary-entry): Additional optional argument.
6338 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6340 * org-exp.el (org-export-as-html): Add attributes also in mailto
6343 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6352 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6354 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6355 sure that calls from `org-export-region-as-html' do not do the
6356 special check for a subtree.
6358 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6360 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6362 2008-07-20 Juri Linkov <juri@jurta.org>
6364 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6365 new keymap `narrow-map' instead of binding "\C-xns".
6367 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6369 * org.el (org-open-file): Use
6370 `org-open-directory-means-index-dot-org'.
6371 (org-open-directory-means-index-dot-org): New option.
6373 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6375 * org.el (org-make-link-string): Remove link attributes from
6377 (org-open-at-point): Remove link attributes bevore using the path.
6379 * org-exp.el (org-export-as-html): Handle link attributes.
6381 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6383 * org-table.el (org-table-to-lisp): New function.
6385 * org.el (org-narrow-to-subtree): Do not include the final newline
6386 into the narrowed region.
6388 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6389 bug with user-define skipping condition.
6391 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6393 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6395 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6397 * org-exp.el (org-export-html-style-default): Automatic overflow
6398 handling for pre fields.
6399 (org-export-as-ascii, org-export-as-html): Change default format
6402 * org-table.el (org-table-export): Offer completion for translator
6403 functions, and do not require a heading above the table.
6405 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6406 Cater for the case of a list starting in the first line of the
6409 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6411 * org-publish.el (org-publish-find-title): Bug fix.
6412 (org-publish-org-index): Implement new :index-style option.
6414 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6416 * org-publish.el (org-publish-timestamp-filename): Use
6417 SHA1-encoded file names in the timestamp directory.
6419 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6421 * org-publish.el (org-publish-needed-p): Be verbose about files
6422 published and files skipped.
6424 * org-exp.el (org-export-preprocess-string): Swap link
6425 normalization and inernal link targeting.
6427 * org-publish.el (org-publish-needed-p): Create timestamp
6428 directory when it does not exist.
6430 2008-07-04 Bastien Guerry <bzg@altern.org>
6432 * org-clock.el (org-clock-out-when-done): Doc fix.
6434 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6436 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6437 Ignore case when searching for the COMMENT cookie at export time.
6439 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6441 * org-exp.el (org-get-file-contents)
6442 (org-get-and-remove-property): New functions.
6443 (org-export-handle-include-files): Handle the new prefix options.
6444 (org-export-as-html): Fix the verse environment.
6446 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6448 * org.el (org-time=, org-time<, org-time<=, org-time>)
6449 (org-time>=, org-time<>, org-2ft): New functions.
6450 (org-op-to-function): Also provide for the time testing fucntions.
6452 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6454 * org-exp.el (org-export-html-style-default): New constant.
6456 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6458 * org-exp.el (org-export-html-style-extra): New variable.
6459 (org-export-splice-style): New function.
6461 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6463 * org-exp.el (org-export-plist-vars, org-export-as-html):
6464 Implement `org-export-creator-info'.
6465 (org-export-creator-info): New option.
6467 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6469 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6470 (org-property-drawer-re, org-clock-drawer-re): New constants.
6472 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6474 * org-exp.el (org-icalendar-use-deadline)
6475 (org-icalendar-use-scheduled): New options.
6476 (org-icalendar-include-todo): Default changed to t.
6477 (org-print-icalendar-entries): Implement better utilization of
6478 scheduling and deadline time stamps.
6479 (org-export-target-internal-links, org-export-as-html): Allow file
6480 lines without the "file:" prefix if the file path is an absolute
6481 path or starts with ".".
6483 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6485 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6487 2008-06-18 Glenn Morris <rgm@gnu.org>
6488 * org.el (org-map-entries): Let-bind `file'.
6490 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6492 * org.el (org-agenda-skip-archived-trees): Docstring now
6493 discourages using this.
6494 (org-scan-tags): Check for org-agenda-archives-mode.
6495 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6496 (org-agenda-files): Functionality of second arg changed.
6498 * org-agenda.el (org-agenda-archives-mode): New variable
6499 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6500 (org-search-view, org-todo-list, org-tags-view)
6501 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6503 (org-agenda-quit): Reset the archives mode.
6504 (org-agenda-archives-mode): New command.
6505 (org-agenda-set-mode-name): Include archives info.
6507 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6509 * org.el (org-paste-subtree): Make sure the yanked headline is
6510 visible if it was yanked at a visible point.
6511 (org-move-item-up): Fix the bug with moving white space at the end
6513 (org-show-empty-lines-in-parent): New function.
6515 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6517 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6519 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6521 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6522 agenda prefix as well.
6524 * org-publish.el (org-publish-org-index): Make a properly indented
6527 * org.el (org-calendar-agenda-action-key): New option.
6528 (org-get-cursor-date): New function.
6529 (org-mark-entry-for-agenda-action): New command.
6530 (org-overriding-default-time): New variable.
6531 (org-read-date): Respect `org-overriding-default-time'.
6533 * org-remember.el (org-remember-apply-template): Respect the
6534 ovverriding default time.
6536 * org-agenda.el (org-agenda-action-marker): New variable.
6537 (org-agenda-action): New command.
6538 (org-agenda-do-action): New function.
6540 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6542 * org.el (org-schedule, org-deadline): Protect scheduled and
6543 deadline tasks against changes that accidently remove the
6544 repeater. Also show a message with the new date when done.
6546 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6548 * org.el (org-beginning-of-line): Cater for the case when there
6549 are tags but no headline text.
6550 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6553 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6555 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6556 the return value is nil instead of "nil" when there is no match.
6558 * org-exp.el (org-insert-centered): Use fill-column instead of
6560 (org-export-as-ascii): Use string-width to measure the width of
6563 * org.el (org-diary-to-ical-string): No longer kill buffer
6564 FROMBUF, this is now done by the caller.
6566 * org-exp.el (org-print-icalendar-entries): Move the call to
6567 `org-diary-to-ical-string' out of the loop, and kill the buffer
6570 * org-remember.el (org-remember-visit-immediately): Position
6571 cursor after moving to the note.
6572 (org-remember-apply-template): Use a text property to record the
6574 (org-remember-handler): Align tags after pasting the note.
6576 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6578 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6580 * org-agenda.el (org-agenda-open-link): If there is an
6581 org-bbdb-name property in the current line, jump to that bbdb
6584 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6585 text property, so that the agenda knows where this entry comes
6588 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6589 interaction between clocking-in from the agenda, and automatic
6590 task state switching.
6592 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6594 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6595 zmacs-region stays after this command in XEmacs.
6597 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6599 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6601 * org-remember.el (org-remember-templates): Fix bug in
6602 customization type definition.
6604 * org.el (org-map-entries): New function.
6606 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6608 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6609 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6611 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6613 * org-remember.el (org-jump-to-target-location): New variable.
6614 (org-remember-apply-template): Set
6615 `org-remember-apply-template' if requested by template.
6616 (org-remember-handler): Start an idle timer to jump to
6619 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6621 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6623 (org-get-tags-at): Add the content of `org-file-tags'.
6625 * org-exp.el (org-export-handle-comments): Fix bug with several
6626 comment lines after each other.
6627 (org-number-to-roman, org-number-to-counter): New functions.
6628 (org-export-section-number-format): New option.
6630 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6632 * org-exp.el (org-export-protect-examples): Catch the case of a
6633 missing end_example line.
6635 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6636 `org-file-tags' to nil.
6638 * org-colview.el (org-columns-next-allowed-value): Handle next
6639 argument NTH to directly select a value.
6641 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6642 argument NTH to directly select a value.
6644 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6646 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6648 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6650 * org.el (org-columns-ellipses): New option.
6652 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6654 * org-colview.el (org-columns-add-ellipses): New function.
6655 (org-columns-compact-links): New function.
6656 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6657 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6659 (org-columns-edit-value): Fixed bug with editing values from
6661 (org-columns-redo): Also redo the agenda itself.
6663 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6665 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6668 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6670 * org-exp.el (org-export-ascii-preprocess): Renamed from
6671 `org-export-ascii-clean-string'.
6672 (org-export-kill-licensed-text)
6673 (org-export-define-heading-targets)
6674 (org-export-handle-invisible-targets)
6675 (org-export-target-internal-links)
6676 (org-export-remove-or-extract-drawers)
6677 (org-export-remove-archived-trees)
6678 (org-export-protect-quoted-subtrees)
6679 (org-export-protect-verbatim, org-export-protect-examples)
6680 (org-export-select-backend-specific-text)
6681 (org-export-mark-blockquote-and-verse)
6682 (org-export-remove-comment-blocks-and-subtrees)
6683 (org-export-handle-comments, org-export-mark-radio-links)
6684 (org-export-remove-special-table-lines)
6685 (org-export-normalize-links)
6686 (org-export-concatenate-multiline-links)
6687 (org-export-concatenate-multiline-emphasis): New functions,
6688 obtained from spliiting the export preprocessor.
6690 * org-table.el (org-table-recalculate): Improve error message if
6691 the row number is invalid.
6693 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6695 * org-archive.el (org-archive-save-context-info): Fix bugs in
6696 customization setup and docstring.
6698 * org-exp.el (org-export-html-style): Changed the size of in the
6699 <pre> element to 90%.
6701 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6703 * org.el (org-find-src-example-start): Function removed.
6704 (org-edit-src-find-region-and-lang): New function.
6706 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6708 * org.el (org-edit-src-exit): New function.
6709 (org-exit-edit-mode): New minor mode.
6711 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6712 comment-like lines from protected examples.
6714 * org.el (org-edit-src-example, org-find-src-example-start)
6715 (org-protect-source-example, org-edit-special): New functions.
6717 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6719 * org-publish.el (org-publish-project-alist): Fix typo in
6721 (org-publish-project-alist): Handle :index-title property.
6723 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6725 * org-export-latex.el (org-export-as-latex): Make sure region
6726 bounds are correct. Parse subtree properties relating to export.
6728 * org-exp.el (org-export-add-options-to-plist): New function.
6729 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6731 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6733 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6736 * org-exp.el (org-export-get-title-from-subtree)
6737 (org-export-as-ascii, org-export-as-html): Make sure the original
6738 region-beginning and region-end are used, even after moving
6740 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6743 * org-remember.el (org-remember-last-stored-marker): New variable.
6744 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6745 (org-remember-handler): Also use marker to remember
6746 last-stored position.
6748 * org.el (org-goto-marker-or-bmk): New function.
6750 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6752 * org.el (org-file-properties): Renamed from `org-local-properties'.
6753 (org-scan-tags): Take file tags into account.
6754 (org-tags-match-list-sublevels): Default changed to t.
6756 * org-exp.el (org-export-as-html): Close paragraph after a
6759 * org.el (org-update-parent-todo-statistics): New function.
6761 * org-exp.el (org-icalendar-store-UID): New option.
6762 (org-icalendar-force-UID): Option removed.
6763 (org-print-icalendar-entries): IMplement UIDs.
6765 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6767 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6769 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6771 * org-faces.el (org-column): Document how this face is being used
6772 and why sometimes the background faces shine through.
6774 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6776 * org-publish.el (org-publish-attachment): Create publishing
6777 directory if it does not yet exist.
6779 * org-table.el (org-calc-default-modes): Change default number
6780 format to (float 8).
6782 * org.el (org-olpath-completing-read): New function.
6783 (org-time-clocksum-format): New option.
6784 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6786 * org-clock.el (org-clock-display, org-clock-out)
6787 (org-update-mode-line): Use `org-time-clocksum-format'.
6789 * org-colview-xemacs.el (org-columns-number-to-string): Use
6790 `org-time-clocksum-format'.
6792 * org-colview.el (org-columns-number-to-string): Use
6793 `org-time-clocksum-format'.
6795 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6797 * org-id.el: New file, move from contrib to core.
6799 * org-exp.el (org-icalendar-force-UID): New option.
6801 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6803 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6804 shifted by one day if theere is a date range without an end
6807 * org.el (org-try-structure-completion): New function.
6809 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6811 * org.el (org-set-font-lock-defaults): Improve fontification of
6813 (org-insert-item): Handle description lists.
6814 (org-adaptive-fill-function): Improve auto indentation in
6817 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6818 Implement VERSE environment.
6819 (org-export-preprocess-string): Implement the COMMENT
6822 * org-export-latex.el (org-export-latex-preprocess): Implement
6825 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6827 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6830 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6832 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6834 * org.el (org-quote-csv-field): New functions.
6836 * org-table.el (org-table-export-default-format): Remove :splice
6837 from default format, we get the same effect by not specifying
6839 (org-table-export): Improve setup, distinguish better between
6840 interactive and non-interactive use, allow specifying the format
6841 on the fly, better protection against wrong file names.
6842 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6843 and :tend when :splice is omitted.
6845 2008-05-09 Bernt Hansen <bernt@norang.ca>
6847 * org-clock.el (org-clock-select-task): Make sure the selection
6848 letters are 1-9 and A-Z, no special characters.
6850 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6852 * org-exp.el (org-export-htmlize): New group.
6853 (org-export-htmlize-output-type)
6854 (org-export-htmlize-css-font-prefix): New options.
6855 (org-export-htmlize-region-for-paste): New function.
6856 (org-export-htmlize-generate-css): New command.
6858 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6860 * org/org.el (org-modules, org-format-latex-options):
6861 * org/org-archive.el (org-archive-stamp-time)
6862 (org-archive-save-context-info):
6863 * org/org-faces.el (org-hide):
6864 * org/org-irc.el (org-irc-parse-link):
6865 * org/org-macs.el (org-call-with-arg, org-autoload):
6866 * org/org-mew.el (org-mew-store-link):
6867 * org/org-remember.el (org-remember-store-without-prompt)
6868 (org-remember-templates): Fix typos in docstrings.
6870 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6872 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6873 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6874 (org-bbdb-anniv-split): Fix typos in docstrings.
6876 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6877 (org-publish-use-timestamps-flag): Reflow docstring.
6878 (org-publish-files-alist): Fix typos in docstring.
6880 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6882 * org.el (org-set-visibility-according-to-property): New function.
6883 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6884 and compute the regular expressions, and update font-lock.
6885 (org-property-re): Allow a dash in property names.
6887 * org-archive.el (org-extract-archive-file): Insert the file name
6888 without the path into the format, to allow the location format to
6889 contain a subdirectory.
6891 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6892 of buffer, and the `org-agenda-type' property undefined, use the
6893 value from the character before.
6895 * org.el (org-add-planning-info): Don't let indentation for
6896 would-be timestamp become extra whitespace at the end of headline.
6898 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6900 * org.el (org-remove-double-quotes, org-file-contents): New
6903 * org-exp.el (org-infile-export-plist): Also parse the
6904 contents of #+SETUPFILE files, recursively.
6906 * org.el (org-set-regexps-and-options): Also parse the
6907 contents of #+SETUPFILE files, recursively.
6909 * org-exp.el (org-export-handle-include-files): New function.
6910 (org-export-preprocess-string): Call
6911 `org-export-handle-include-files'.
6913 * org.el (org-delete-property-globally)
6914 (org-delete-property, org-set-property): Ignore case during
6916 (org-set-property): Use `org-completing-read' instead of
6919 * org.el (org-complete-expand-structure-template): New,
6920 experimental function.
6921 (org-structure-template-alist): New, experimental option.
6922 (org-complete): Call `org-complete-expand-structure-template'.
6924 2008-05-06 Bastien Guerry <bzg@altern.org>
6926 * org-export-latex.el (org-export-latex-preprocess): Added
6927 support for blockquotes.
6929 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6931 * org.el (org-read-date-analyze): Catch the case where only a
6934 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6936 * org.el (org-set-font-lock-defaults): Make the description
6939 * org-exp.el (org-export-as-html, org-close-li): Implement
6942 2008-05-04 Jason Riedy <jason@acm.org>
6944 * org-table.el (*orgtbl-default-fmt*): New variable.
6945 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6946 when there is no other fmt available.
6948 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6949 :tend to suppress the appropriate string.
6951 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6954 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6956 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6959 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6962 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6965 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6967 * org-clock.el (org-clock-find-position): Don't include notes
6970 * org-archive.el (org-archive-subtree): No longer remove an
6971 extra line after cutting the subtree. `org-cut-subtree' already
6974 * org-remember.el (org-remember-handler): Only kill the target
6975 buffer if it does not contain the running clock.
6977 * org.el (org-markers-to-move): New variable.
6978 (org-save-markers-in-region, org-check-and-save-marker)
6979 (org-reinstall-markers-in-region): New function.
6980 (org-move-subtree-down, org-copy-subtree): Remember relative
6981 marker positions before cutting.
6982 (org-move-subtree-down, org-paste-subtree): Restore relative
6983 marker positions after pasting.
6985 * org-remember.el (org-remember-clock-out-on-exit): New option.
6986 (org-remember-finalize): Clock out only if the setting in
6987 `org-remember-clock-out-on-exit' requires it.
6988 (org-remember-handler): Do the cleanup in the buffer, to make sure
6989 that the clock marker remains in tact.
6991 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6993 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6994 (org-clock-in): Make sure that also tasks outside the narrowed
6995 region will be clocked in correctly.
6996 (org-clock-insert-selection-line): Widen the buffer so that we can
6997 find the correct task heading.
6999 * org.el (org-base-buffer): New function.
7001 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7002 and ";" are escaped.
7003 (org-print-icalendar-entries): Also apply
7004 `org-icalendar-cleanup-string' to the headline, not only to the
7007 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
7009 * org-exp.el (org-export-preprocess-hook): New hook.
7010 (org-export-preprocess-string): Call
7011 `org-export-preprocess-hook'.
7013 * org.el (org-font-lock-hook): New variable.
7014 (org-font-lock-hook): New function.
7015 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7019 ;; add-log-time-zone-rule: t
7022 Copyright (C) 2008 Free Software Foundation, Inc.
7024 This file is part of GNU Emacs.
7026 GNU Emacs is free software: you can redistribute it and/or modify
7027 it under the terms of the GNU General Public License as published by
7028 the Free Software Foundation, either version 3 of the License, or
7029 (at your option) any later version.
7031 GNU Emacs is distributed in the hope that it will be useful,
7032 but WITHOUT ANY WARRANTY; without even the implied warranty of
7033 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7034 GNU General Public License for more details.
7036 You should have received a copy of the GNU General Public License
7037 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7039 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c