1 2009-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
5 2009-12-17 Carsten Dominik <carsten.dominik@gmail.com>
7 * org-latex.el (org-export-latex-tables): No forced line end if
10 2009-12-16 Carsten Dominik <carsten.dominik@gmail.com>
12 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
15 * org-latex.el (org-export-latex-tables): Only add a caption when
16 macro in in longtable environments if one has been defined.
18 * org-html.el (org-export-as-html): Only take title from buffer if
19 not exporting body-only.
21 * org-latex.el (org-export-latex-preprocess): Better version of
22 the regular expression for protecting LaTeX macros.
23 (org-export-latex-preprocess): Start searching for macros to
24 protect from beginning of buffer.
26 * org-exp.el (org-export-target-internal-links): Check for
27 protectedness earlier in the string.
29 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
32 * org-id.el (org-id-store-link): Match TODO keywords case
35 * org.el (org-heading-components, org-get-outline-path)
36 (org-display-outline-path): Match TODO keywords case sensitively.
38 * org-latex.el (org-export-as-latex): Ignore read-only
41 * org-exp.el (org-export-preprocess-string): Remove any
42 `read-only' properties.
44 * org-agenda.el (org-agenda-inactive-leader): New option.
45 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
46 (org-tags-view): Prompt for matcher if MATCH is an empty string.
47 (org-todo-list): Prompt for matcher if ARG is an empty string.
49 2009-12-15 Carsten Dominik <carsten.dominik@gmail.com>
51 * org.el (org-open-link-functions): New hook.
52 (org-open-at-point): Run `org-open-link-functions'.
54 2009-12-14 Carsten Dominik <carsten.dominik@gmail.com>
56 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
59 * org.el (org-inhibit-startup-visibility-stuff): New variable.
60 (org-mode): Don't do startup visibility if inhibited.
61 (org-outline-overlay-data, org-set-outline-overlay-data): New
63 (org-save-outline-visibility): New macro.
64 (org-log-note-headings): Document that one should not change the
67 2009-12-13 Carsten Dominik <carsten.dominik@gmail.com>
69 * org.el (org-make-link-regexps): Capture link path into a group.
71 2009-12-12 Carsten Dominik <carsten.dominik@gmail.com>
73 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
76 2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
78 * org.el (org-startup-with-beamer-mode): New option.
79 (org-property-changed-functions)
80 (org-property-allowed-value-functions): New hooks.
81 (org-entry-put, org-property-get-allowed-values): Run the new
83 (org-property-next-allowed-value): Run the new hooks.
85 * org-exp.el (org-export-select-backend-specific-text): Add the
89 (org-export-preprocess-before-selecting-backend-code-hook): New
92 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
93 (org-export-as-latex): Run
94 `org-export-latex-after-initial-vars-hook'.
95 (org-export-latex-format-toc-function)
96 (org-export-latex-make-header): Call
97 `org-export-latex-format-toc-function'.
99 * org.el (org-fill-template): Make template searches case sensitive.
101 * org-exp.el (org-export): Use "1" as a sign to export only the
104 * org-colview-xemacs.el (org-columns-edit-value): Use
105 org-unrestricted property.
107 * org-colview.el (org-columns-edit-value): Use
108 org-unrestricted property.
110 * org.el (org-compute-property-at-point): Set org-unrestricted
111 text property if the list contains ":ETC".
112 (org-insert-property-drawer): Use
113 org-unrestricted property.
116 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
117 (org-export-preprocess-string): Run
118 `org-export-preprocess-before-selecting-backend-code-hook'.
120 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
122 * org-latex.el (org-export-region-as-latex): Run
123 `org-export-first-hook'.
125 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
127 * org-docbook.el (org-export-as-docbook): Run
128 `org-export-first-hook'.
130 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
132 * org-exp.el (org-export-first-hook): New hook.
134 2009-12-10 Carsten Dominik <carsten.dominik@gmail.com>
136 * org-list.el (org-previous-item): Exit at the beginning of the
139 * org-id.el (org-id-locations-save): Only write the id locations
142 * org-archive.el (org-archive-all-done): Make this work in a file
143 with org-odd-levels-only set.
145 * org.el (org-get-refile-targets): Catch the case when a buffer
148 * org-latex.el (org-export-as-latex): Cleanup forced line ends
149 where they are not needed.
150 (org-export-latex-subcontent): Remove unnecessary newlines.
152 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
154 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
155 (org-export-latex-fontify): Fix regexp bug that takes special
156 care of protecting the right boundary characters in emphasis
158 (org-export-latex-preprocess): Allow multiple arguments to latex
161 * org.el (org-make-link-regexps): Use John Gruber's regexp for
164 * org-macs.el (org-re): Interpret :punct: in regexps.
166 * org-exp.el (org-export-replace-src-segments-and-examples): Also
167 take the final newline after the END line.
169 * org.el (org-clean-visibility-after-subtree-move): Only fix
170 entries that are not entirely invisible already.
171 (org-insert-link): Respect org-link-file-path-type for
172 "docview:" links in addition to "file:" links.
174 2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
176 * org-exp.el (org-export-format-source-code-or-example): Avoid
177 additional extra white lines in LaTeX.
179 * org-list.el (org-list-parse-list): Leave empty lines after the
180 list, don't consider them as part of the list.
182 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
185 * org-clock.el (org-clock-select-task): Convert integer to
186 character for XEmacs.
188 2009-12-02 Carsten Dominik <carsten.dominik@gmail.com>
190 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
193 2009-11-30 Tassilo Horn <tassilo@member.fsf.org>
195 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
197 (org-set-tags): Use it.
199 2009-11-30 Carsten Dominik <carsten.dominik@gmail.com>
201 * org-list.el (org-empty-line-terminates-plain-lists): Update
204 * org.el (org-format-latex): Fix link creation for processed latex
207 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
209 * org-footnote.el (org-footnote-normalize): Protect replacement
212 * org.el (org-inside-latex-macro-p): Save match data.
214 2009-11-28 Jan Böcker <jan.boecker@jboecker.de>
216 * org-docview.el: New file.
218 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
220 * org-latex.el (org-export-latex-class-options): New variable.
221 (org-export-latex-set-initial-vars): Use the class options.
223 * org.el (org-forward-same-level): Stop at headings that start
224 with an invisible character.
225 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
227 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
229 * org-footnote.el (org-footnote-normalize): Don't take optional
230 arguments in LaTeX macros as footnotes.
232 * org.el (org-inside-latex-macro-p): New function.
234 * org-latex.el (org-latex-to-pdf-process): Change customization
235 group to `org-export-pdf'.
237 * org-agenda.el (org-agenda-get-blocks): Look at time string also
238 on days after the first one.
240 * org.el (org-insert-heading): Also check for item before assuming
241 before-first-heading condition.
243 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
244 (org-export-pdf-logfiles): New option.
245 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
246 (org-export-pdf-logfiles): Fix customization type.
248 * org.el (org-insert-link): Improve error message when there is no
249 default link to select with RET.
251 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
254 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
256 * org-latex.el (org-export-latex-parse-global)
257 (org-export-latex-parse-content)
258 (org-export-latex-parse-subcontent): Use
259 `org-re-search-forward-unprotected'.
260 (org-export-as-pdf): Remove log files produced by XeTeX.
262 * org-macs.el (org-re-search-forward-unprotected): New function.
264 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
266 * org-colview.el (org-agenda-colview-summarize): Sort out some
267 confusion between properties and titles, which resulted in
268 agenda summaries not working if a title was set for a column.
270 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
272 * org-mobile.el (org-mobile-agendas): New option.
273 (org-mobile-sumo-agenda-command): Select the right agendas.
275 * org-latex.el (org-export-latex-format-image): Preserve the
276 original-indentation property.
278 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
280 * org-clock.el (org-clock-insert-selection-line): Catch error when
281 an old tasks no longer exists.
283 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
284 (org-export-as-pdf): Don't remove the old PDF file before making
287 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
288 (org-mouse-context-menu): Use `org-looking-back'.
290 * org.el (org-cycle-level): Use `org-looking-back'.
292 * org-list.el (org-cycle-item-indentation): Use
295 * org-compat.el (org-looking-back): New function.
297 * org.el (org-insert-heading): Catch before-first-headline when
298 inserting a headline.
300 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
302 * org-latex.el (org-export-latex-format-image): Indent figure
303 environment, so that it does not interrupt plain list.
305 * org.el (org-open-at-point): Allow long link descriptions.
307 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
309 * org-html.el (org-export-as-html): Remove empty lines at the
310 beginning of the exported text.
312 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
314 * org-protocol.el (org-protocol-remember): Cater for empty title,
317 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
318 agenda after adding new entry.
319 (org-agenda-get-represented-tags): New function.
320 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
321 to get a list of tags in the agenda.
323 * org-datetree.el (org-datetree-find-day-create): Fix regular
326 * org.el (org-display-outline-path): Use a format specifier for
327 message, to avoid problems with heading containing `%'.
329 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
330 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
331 (org-agenda-fix-displayed-tags): New function.
332 (org-agenda-do-context-action): Just call
333 `org-display-outline-path', without piping the result through
336 * org-latex.el (org-export-latex-preprocess): Protect secondary
339 * org-indent.el (org-indent-initialize): Avoid empty strings as
342 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
343 hat checking for the mark does not throw an error.
344 (org-agenda-diary-entry-in-org-file): Catch the case that there is
345 not `day' text property in the cursor line.
347 * org.el (org-sort-entries-or-items): Make sure that the final
348 entry has a newline before doing the sorting.
350 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
351 property at the beginning of the line.
353 * org.el (org-make-link-string): Don't allow a description with
356 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
358 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
359 (org-agenda-insert-diary-as-top-level): New function.
360 (org-agenda-add-entry-to-org-agenda-diary-file): Call
361 `org-agenda-insert-diary-as-top-level'.
363 * org.el (org-occur-in-agenda-files): Make sure none of the
365 (org-activate-plain-links): Add the face property here.
366 (org-set-font-lock-defaults): Do not add the face to plain links,
367 the activator function does this.
369 * org-habit.el (org-is-habit-p): Add doc string.
371 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
373 * org-archive.el (org-archive-subtree-default-with-confirmation):
376 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
377 after match optional (happens at the end of a line...).
379 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
382 * org-faces.el (org-copy-face): Set lisp indentation.
383 (org-quote, org-verse): New faces.
385 * org-agenda.el (org-agenda-remove-date): Remove variable.
387 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
389 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
391 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
393 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
394 hash keys to cache and re-use images generated by the
395 org-exp-blocks interface to ditaa and dot.
397 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
399 * org-html.el (org-export-as-html): Move the home/up link into
402 * org.el (org-export-latex-packages-alist): Option definition
403 moved here from org-latex.el.
405 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
407 * org.el (org-format-latex): Latex images are now saved to files
408 named by the sha1 hash of the latex source text avoiding
409 regeneration of identical images.
411 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
413 * org-html.el (org-export-html-home/up-format): Add an ID to the
416 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
418 * org-wl.el (org-wl-store-link): Handle the case that
419 `wl-use-petname' is set.
421 * org.el (org-set-effort): Improve prompt.
422 (org-get-outline-path): Widen to get full path.
423 (org-compact-display-after-subtree-move): Function removed.
425 * org-latex.el (org-export-as-latex): Add the :drawers property.
427 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
429 * org.el (org-speed-commands-user): Allow documentation headlines.
430 (org-speed-commands-default): Organize the value of this constant
431 with descriptive headlines.
432 (org-print-speed-command): Output the headlines.
434 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
436 * org-agenda.el (org-agenda-show-outline-path): New option.
437 (org-agenda-do-context-action): New function.
438 (org-agenda-next-line, org-agenda-previous-line): Use
439 `org-agenda-do-context-action'.
441 * org.el (org-use-speed-commands): Allow function value.
442 (org-speed-commands-default): Make headline motion safe, so that
443 these commands always end on a headline.
444 (org-speed-commands-default): New key `v' for `org-agenda'.
445 (org-speed-move-safe): New function.
446 (org-self-insert-command): Use the function value of
447 `org-use-speed-commands'.
448 (org-get-outline-path): Improve docstring.
449 (org-format-outline-path): New function.
450 (org-display-outline-path): New function.
452 2009-11-12 John Wiegley <jwiegley@gmail.com>
454 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
455 a string, use that to find the LOGBOOK drawer.
457 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
459 * org.el (org-clone-subtree-with-time-shift): Make it work at the
462 * org-mobile.el (org-mobile-write-checksums): Specify coding
464 (org-mobile-timestamp-buffer): Keep local variable/mode line at
467 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
469 * org.el (org-block-todo-from-children-or-siblings-or-parent)
470 (org-block-todo-from-checkboxes): Do not block changes to a nil
473 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
475 * org-habit.el (org-habit-parse-todo): Indicate which habit is
476 wrongly set up in the error messages.
478 * org-colview.el (org-columns-display-here): Don't try to
479 calculate values if the underlying property is not set.
480 (org-columns-string-to-number): Convert age strings back into
482 (org-agenda-colview-summarize): Handle extended summary types
485 * org-colview-xemacs.el (org-columns-display-here): Don't try to
486 calculate values if the underlying property is not set.
487 (org-columns-string-to-number): Convert age strings back into
489 (org-agenda-colview-summarize): Handle extended summary types
492 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
494 * org-exp.el (org-export-format-drawer-function): New variable.
495 (org-export-format-drawer): New function.
496 (org-export-preprocess-string): Pass the backend as a parameter to
497 `org-export-remove-or-extract-drawers'.
498 (org-export-remove-or-extract-drawers): New parameter BACKEND.
500 * org-protocol.el (org-protocol-char-to-string): New defsubst.
502 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
504 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
505 message when no block is selected.
507 * org-latex.el (org-export-latex-links): Check for protectedness
508 in the last matched character, not after the match.
510 * org-datetree.el (org-datetree-find-date-create): Respect
511 restriction when KEEP-RESTRICTION is set.
512 (org-datetree-file-entry-under): New function.
513 (org-datetree-cleanup): New command.
515 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
517 * org-src.el (org-edit-src-code): New optional argument context
518 allows calling functions to avoid altering the saved window
520 (org-edit-src-exit): Do not restore window configuration when this
521 function is used in the context of saving the edit buffer.
523 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
525 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
526 instances to switching to with-current-buffer, because these seem
527 to cause problems - no idea why.
529 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
530 Require diary-lib for (diary-date-display-form).
532 * org.el (org-log-reschedule, org-log-redeadline): New options.
533 (org-log-note-headings): Add templates for rescheduling and
535 (org-startup-options): Add in-buffer settings for logging changing
536 schedule and deadline time stamps.
537 (org-deadline, org-schedule): Check for existing date and arrange
538 for logging if the user requests it.
539 (org-add-log-note): Prepare proper note buffers for rescheduling
540 and deadline changes.
542 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
544 * org-agenda.el (org-agenda-diary-entry-in-org-file)
545 (org-agenda-add-entry-to-org-agenda-diary-file)
546 (org-agenda-insert-diary-make-new-entry): New functions.
547 (org-agenda-diary-entry): Call
548 `org-agenda-diary-entry-in-org-file' when appropriate.
550 * org.el (org-calendar-insert-diary-entry-key): New option.
551 (org-agenda-diary-file): New option.
552 ("calendar"): Install our insertion function in the calendar.
554 * org-remember.el (org-datetree): Require.
555 (org-remember-templates): Add new positioning option.
556 (org-remember-reference-date): New variable.
557 (org-remember-apply-template): Store the reference date in a local
559 (org-remember-handler): Implement date tree positioning of entries.
561 * org-datetree.el: New file.
563 * org-latex.el (org-export-latex-preprocess): Protect targets in
566 * org-html.el (org-export-as-html): Protect targets in verbatim
569 * org-docbook.el (org-export-as-docbook): Protect targets in
572 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
574 * org.el (org-link-display-format): Should be literal replacement.
576 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
578 * org-clock.el (org-show-notification): Handle messages that
579 contain a percent character.
581 * org-remember.el (org-remember-apply-template): Turn of partial
584 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
585 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
587 * org.el (org-indent-mode): Define variable already in org.el.
588 (org-unfontify-region): Remove line-prefix and wrap-prefix
589 properties only if org-indent-mode is active.
591 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
593 * org-icalendar.el (org-print-icalendar-entries): Save match data
594 around call to verify function.
595 (org-print-icalendar-entries): Add a call to the verification
598 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
599 save-restrivtion' form.
601 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
603 * org-exp.el (org-export-format-source-code-or-example): restrict
604 scope of preserve-indentp to the let binding.
605 (org-src): require org-src, since org-src-preserve-indentation is used.
607 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
609 * org-timer.el (org-timer-set-timer): Set variables
610 org-timer-timer[123] correctly.
613 * org-mobile.el (org-mobile-files-alist): Make it work when
614 `agenda-archives' is included in
615 `org-agenda-text-search-extra-files'.
616 (org-mobile-push): Restore agenda after mobile push.
618 2009-11-05 John Wiegley <jwiegley@gmail.com>
620 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
621 way the amount of idle time is presented in the minibuffer.
623 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
625 * org-icalendar.el (org-print-icalendar-entries): Use
626 org-icalendar-verify-function only if non-nil.
628 * org.el (org-refile): Refile to clock only if the prefix arg is
630 (org-sparse-tree): Fix docstring to be in line with prompt.
631 (org-update-parent-todo-statistics): Call
632 `org-after-todo-statistics-hook' on each level.
634 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
636 * org-remember.el (org-remember-apply-template): Make sure the
639 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
641 * org.el (org-tab-ind-state): New variable.
642 (org-cycle-level): New function.
643 (org-cycle-level-after-item/entry-creation): New option.
644 (org-flag-subtree): New function.
645 (org-hide-archived-subtrees): Call `org-flag-subtree'.
646 (org-set-effort): Indexed access.
648 * org-list.el (org-cycle-item-indentation): New function.
650 * org.el (org-refile): Make prefix argument 2 refile to current
652 (org-priority): Interpret action `remove' as call to remove the
655 * org-remember.el (org-remember-apply-template): Don't depend on
656 buffer name being like file name.
658 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
660 * org-clock.el (org-clock-play-sound): Expand file in
661 org-clock-sound, to allow ~ for home.
663 * org-remember.el (org-remember-handler): Set
664 text-before-node-creation even if this already looks like a node,
665 because the string might be needed on non-org-mode target files.
667 * org-agenda.el (org-agenda-open-link): Make this work in agenda
669 (org-agenda-switch-to): Follow a link at point if
670 org-return-follows-link' is set and there is nothing else to do in
673 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
675 * org-colview-xemacs.el: Add in changes from org-colview.el
677 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
679 * org-exp-blocks.el: Modify split separator regexp to avoid empty
682 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
684 * org-colview.el (org-columns-new): Make this work with the new
686 (org-columns-store-format): Make this work with the new operators.
688 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
690 * org-src.el (org-src-preserve-indentation): Document that this
691 variable is also used during export.
693 * org-exp.el (org-export-format-source-code-or-example): Preserve
694 indentation if a block has a -i option, or if
695 `org-src-preserve-indentation' is set.
697 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
698 indentation if a block has a -i option, or if
699 `org-src-preserve-indentation' is set.
701 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
703 * org.el (org-mode-map): Define the new archiving keys.
704 (org-speed-commands-default): Define an archiving key in the speed
706 (org-org-menu): Improve the menu structure concerning archiving.
708 * org-archive.el (org-archive-subtree-default-with-confirmation):
711 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
712 (org-agenda-menu): Add the new archiving commands to the menu.
713 (org-agenda-archive-default)
714 (org-agenda-archive-default-with-confirmation): New commands.
715 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
716 call `org-agenda-archive-with'.
717 (org-agenda-archive-with): New function.
719 * org-table.el (org-table-convert-region): Inert spaces around "|"
720 to avoid line beginnings like "|-1" which will be mistaken as
723 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
725 * org.el (org-offer-links-in-entry): Return nil if there are no
726 links, t if a link has been selected.
727 (org-open-at-point): Open attachment directory when called in the
728 headline and there are no links in the entry body.
729 (org-speed-commands-default): Add "o" for open-at-point as a speed
732 * org-attach.el (org-attach-reveal): Optional prefix arg
733 IF-EXISTS, which avoids creating the attachment directory if it
736 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
739 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
741 * org.el ("abbrev"): Work with abbrev tables only after they have
744 * org-list.el (org-list-send-list): Fix bug related to match
747 * org-latex.el (org-export-latex-fontify): Apply verbatim
749 (org-export-latex-make-header): Insert \obeylines if line breaks
752 * org-exp.el (org-export-protect-verbatim): Add an
753 `org-verbatim-emph' property to such text.
755 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
757 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
758 (org-print-icalendar-entries): Skip entries where the timestamp is
759 not a deadline and not scheduled, if the user requests that.
761 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
762 before an opening quote.
764 * org-archive.el (org-archive-subtree): Keep archive after
767 * org-id.el (org-id-update-id-locations): Add archive files if
768 that is required by `org-id-extra-files'.
770 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
772 * org-src.el (org-src-window-setup): New option.
773 (org-src-switch-to-buffer): New function.
774 (org-edit-src-exit): Add optional argument CONTEXT and use it to
775 restore window configuration.
776 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
777 Call `org-src-switch-to-buffer'.
779 * org.el (org-default-properties): Add STYLE property.
780 (org-files-list): Use the function call to get the files.
781 (org-additional-option-like-keywords): Add SETUPFILE to completion
784 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
786 * org-table.el (org-table-convert-region): Correctly interpret
787 quoting in csv import.
789 * org.el (org-icompleting-read): Make iswitchb completion work
790 with lists and tables.
792 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
793 while pushing the mobile agenda.
795 2009-10-25 John Wiegley <jwiegley@gmail.com>
798 (org-clock-auto-clock-resolution): Now takes three values: nil, t
799 and `when-no-clock-is-running'.
800 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
801 whether or not to resolve Org buffers on clock in.
803 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
805 * org-colview.el (org-format-time-period): Function to format
806 times in fractional days for display.
807 (org-columns-display-here): Add support for showing a calculated
808 value in place of the property.
809 (org-columns): Set `org-columns-time' to the current time so time
810 difference calculations will work.
811 (org-columns-time): Use to store the current time when column view
812 is displayed, so all time differences will use the same reference
814 (org-columns-compile-map): There is now an extra position in each
815 entry specifying the function to use to calculate the displayed
816 value for the non-calculated properties in the column,
817 (org-columns-compute-all): Set `org-columns-time' to the current
818 time so time difference calculations will work.
819 (org-columns-compute): Handle column operators where the values
820 used are calculated from the underlying property.
821 (org-columns-number-to-string): Handle the 'age' column format
822 (org-columns-string-to-number): Correct the function name (was
823 org-column...). Add support for the 'age' column format.
824 (org-columns-compile-format): Support the additional parameter in
825 org-columns-compile-map.
827 2009-10-26 Bastien Guerry <bzg@altern.org>
829 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
832 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
834 * org-clock.el (org-clock-has-been-used): New variable.
835 (org-clock-in): Set `org-clock-has-been-used'.
836 (org-clock-save): Save only if clock data has been used or created
839 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
841 * org-clock.el (org-clock-persist): New value, to store only the
843 (org-clock-save): Don't save the clock if only the history should
845 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
846 when restoring a saved clock.
848 2009-10-24 John Wiegley <jwiegley@gmail.com>
850 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
851 `org-time-clock-use-fractional'.
853 * org.el (org-time-clocksum-use-fractional)
854 (org-time-clocksum-fractional-format): Two new customizable
855 variables which allow the user to select fractional times (1.25
856 instead of 1:25) in the `org-clock-display' report.
858 2009-10-23 John Wiegley <jwiegley@gmail.com>
860 * org-habit.el (org-habit-build-graph): None of the arguments
862 (org-habit-parse-todo, org-habit-deadline)
863 (org-habit-get-priority, org-habit-get-faces)
864 (org-habit-build-graph): Further simplifications by storing all
865 past, scheduled and deadline dates as a number of days past the
866 epoch, and not as times.
868 * org-habit.el (org-habit-warning-face)
869 (org-habit-warning-future-face): Removed because these are no
871 (org-habit-deadline, org-habit-deadline-repeat): Now always
872 returns a date; computed if there was a scheduled repeater but no
874 (org-habit-get-priority): Further improvements to the priority
875 algorithm. In particular, items past due should always appear
876 before items due or not yet due.
877 (org-habit-get-faces): Greatly simplified the logic, now that
878 `org-habit-deadline' always returns a valid time.
880 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
882 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
885 * org.el (org-tag-alist): Fix customization type.
887 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
889 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
890 Make sure the regexp search can fail without throwing an error.
891 (org-mobile-apply): Save the inbox buffer after removing
892 successfully applied changes.
894 2009-10-22 John Wiegley <jwiegley@gmail.com>
896 * org-habit.el (org-habit-build-graph): Fix to the graph building
897 when last DONE date is earlier than `org-habit-preceding-days'.
899 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
900 time is reported after the user comes back (but before they
903 * org.el (org-get-repeat): Change so that this function can be
904 called with either `org-scheduled-string' or
905 `org-deadline-string'.
907 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
908 to find the scheduled date.
910 * org-clock.el (org-clock-auto-clock-resolution): Renamed
911 `org-clock-disable-clock-resolution', since negatives don't sound
912 good in customization variables.
913 (org-clock-in): Don't use the auto-resolution logic if the user is
914 clocking into a different task while an active clock is running.
915 This then allows the default behavior of clocking out of the open
916 task and then into the new task.
918 * org-habit.el (org-habit-parse-todo): Generate an error if a
919 habit has a scheduled repeat period < 1.
920 (org-habit-get-faces): Fixes to the way that colors are computed.
921 (org-habit-build-graph): The graph wasn't displaying beyond any
922 day that had two completions in it.
924 * org.el (org-modules): Made this variable more consistent, since
925 it was referring to Org, OrgMode and Org-mode, whereas the docs
926 for the variable always refer to Org-mode.
928 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
930 * org.el (org-repeat-re): The changed org-repeat-re no longer
931 matched simple +2d type repeaters. Fix it so it does.
933 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
935 * org-latex.el (org-export-latex-preprocess): Protect the vspace
936 macro in the VERSE environment.
938 2009-10-20 John Wiegley <jwiegley@gmail.com>
940 * org-habit.el (org-habit-get-priority): A new function that
941 determines the relative priority of a habit, based on how long
942 past its scheduled date it is, and how near the deadline is.
944 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
945 using `org-habit-get-priority'.
947 * org-habit.el (org-habit-build-graph): Start displaying colors
948 from the first scheduled date, if that date is earlier than the
949 first completion date.
951 * org-habit.el: Changed all "color" variables to faces, and made
952 them appropriate for light and dark backgrounds.
954 * org-habit.el (org-habit-duration-to-days): Made this function
956 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
958 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
959 habits, since they don't use DEADLINE anymore.
961 * org.el (org-repeat-re, org-display-custom-time)
962 (org-timestamp-change): Extended to support the new ".+N/N"
963 syntax, used for habits.
965 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
968 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
969 modeline when habits are being displayed (if that module is being
972 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
974 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
975 idle time using the xscreensaver extension.
976 (org-user-idle-seconds): Use X11 idle time if available.
978 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
980 * org-agenda.el (org-agenda-next-line): New command.
981 (org-agenda-previous-line): New commands.
982 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
984 (org-agenda-follow-mode): Do the follow immediately if the mode is
986 (previous-line, next-line): Replace keys with the corresponding
988 (org-agenda-mode-map): Bind backspace and delete to the scrolling
991 * org.el (org-icompleting-read): Turn off partial completion mode
992 for the duration of this completion round.
994 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
995 macros in author lines and similar stuff.
997 * org.el (org-file-tags): Fix docstring.
998 (org-get-buffer-tags): Add the #+FILETAGS tags.
999 ("ecb"): Maks ecb show context after jumping into an Org file.
1001 2009-10-20 John Wiegley <johnw@newartisans.com>
1003 * org-agenda.el (org-finalize-agenda): Draw habit consistency
1004 graphs after everything else in the buffer has been setup.
1006 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
1008 * org-mobile.el (org-mobile-apply): Count success and failure.
1010 * org.el (org-indent-line-function): Fix regexp replace problem.
1012 2009-10-19 John Wiegley <johnw@newartisans.com>
1014 * org-clock.el (org-clock-disable-clock-resolution): New
1015 customization variable that disable automatic clock resolution on
1017 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1018 not automatically resolve anything. This is does not affect
1019 idle-time resolution, however, if `org-clock-idle-time' is set.
1021 2009-10-19 John Wiegley <johnw@newartisans.com>
1023 * org-habit.el: New file, which implements code to build a "habit
1026 * org-agenda.el (org-agenda-get-deadlines)
1027 (org-agenda-get-scheduled): Display consistency graphs when
1028 outputting habits into the agenda. The graphs are always relative
1029 to the current time.
1030 (org-format-agenda-item): Added new parameter `habitp', which
1031 indicates whether we are formatting a habit or not. Do not
1032 display "extra" leading information if habitp is true.
1034 * org.el (org-repeat-re): Improved regexp to include .+ and ++
1035 leaders for repeat strings.
1036 (org-get-repeat): Now takes a string parameter `tagline', so the
1037 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1039 2009-10-19 John Wiegley <johnw@newartisans.com>
1041 * org-agenda.el (org-agenda-auto-exclude-function): New
1042 customization variable for allowing the user to create an "auto
1043 exclusion" filter for doing context-aware auto tag filtering.
1044 (org-agenda-filter-by-tag): Changes to support the use of
1045 `org-agenda-auto-exclude-function'. See the new manual addition,.
1047 2009-10-18 John Wiegley <johnw@newartisans.com>
1049 * org.el (org-files-list): Don't attempt to return a file name for
1050 Org buffers which have no associated file.
1052 * org-agenda.el (org-agenda-do-action): Fixed a typo.
1054 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
1056 * org-mobile.el (org-mobile-locate-entry): Interpret files
1057 relative to org-directory.
1058 (org-mobile-inbox-for-pull): Document the best location for this
1060 (org-mobile-check-setup): Verify `org-directory'.
1061 (org-mobile-create-index-file): Sort the files to be listed in
1064 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
1066 * org.el (org-fast-tag-selection): Add a way to display a
1067 description for a tag group. This is done by adding a string to
1068 either the startgroup or endgroup cell.
1070 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1072 * org-clock.el (org-clock-resolve, org-resolve-clocks)
1073 (org-emacs-idle-seconds): Use `org-float-time' instead of
1076 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1078 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1081 * org.el (org-pre-cycle-hook): Document that `empty' can also be
1082 the value of ARG when doing local cycling.
1084 2009-10-17 John Wiegley <johnw@newartisans.com>
1086 * org-clock.el (org-clock-resolve-clock): If keeping or
1087 subtracting time results in a clock out at a time in the past, and
1088 if the resolution occurred due to idleness or invoking `M-x
1089 org-resolve-clocks', remember that past moment in time. On the
1090 next clock in, the user will be prompted to see if they want to
1091 back-date their new clock to then.
1092 (org-clock-resolve): Do not jump the user to the location of a
1093 dangling clock if the resolution is occuring due to an idle
1094 timeout. In that case there is typically only one dangling clock,
1095 the active one, and there is no value gained by shuffling their
1096 windows around to show it to them. Being prompted to resolve an
1097 idle clock should be as inobtrusive as possible.
1098 (org-resolve-clocks-if-idle): New function that resolves only the
1099 currently active clock if the user has exceeded the time returned
1100 by `org-user-idle-seconds', based on the value of
1101 `org-clock-idle-time'.
1102 (org-clock-in): If, after resolving clocks,
1103 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1105 * org-clock.el (org-clock-resolve-clock): New function that
1106 resolves a clock to a specific time, closing or resuming as need
1107 be, and possibly even starting a new clock.
1108 (org-clock-resolve): New function used by `org-resolve-clocks'
1109 that sets up for the call to `org-clock-resolve-clock'. It
1110 determines the time to resolve to based on a single-character
1111 selection from the user to either keep time, subtract away time or
1113 (org-resolve-clocks): New user command which resolves dangling
1114 clocks -- that is, open but not active -- anywhere in the file
1115 list returned by `org-files-list'.
1116 (org-clock-in): Automatically resolve dangling clocks whenever a
1118 (org-clock-cancel): If the user cancels the solely clock in a
1119 LOGBOOK, remove the empty drawer.
1121 * org-clock.el (org-clock-idle-time): New user customizable option
1122 for detecting whether the user has left a clock idle. Note: it is
1123 only used in this commit to test whether it's worthwhile to check
1124 OS X to get the Mac user's current idle time. If the Emacs idle
1125 time is less than the value, the user hasn't been away long enough
1126 to be worth checking (a more expensive test than just getting
1128 (org-user-idle-seconds, org-mac-idle-seconds)
1129 (org-emacs-idle-seconds): This three functions, in conjunction
1130 with the user customization variable `org-clock-idle-time', return
1131 the number of seconds (as a floating point) that the user has been
1132 away from their Emacs (or, if running on OS X, their computer).
1134 * org-clock.el (org-find-open-clocks): New function that returns a
1135 list of all open clocks in the given FILE. Note that each clock
1136 it returns is a cons cell of the format (MARKER . START-TIME).
1137 This "clock" value is used by several of the new clock module
1139 (org-is-active-clock): New inline function which tests whether the
1140 given clock value is the same as the currently active clock.
1141 Returns non-nil if this is the case.
1142 (org-with-clock-position): New macro that evaluates FORMS with
1143 point in the buffer and at the position of the given clock.
1144 Changes to the current clock are global.
1145 (org-with-clock): New macro that evaluates FORMS with point in the
1146 buffer and at the position of the given clock. However, changes
1147 to the current clock are local and have no effect on the user's
1148 active clock. This allows, for example, far any clock to be
1149 cancelled without cancelling the active clock.
1150 (org-clock-clock-in): New inline function that switches the active
1151 clock to the given clock. If either the argument RESUME, or the
1152 global `org-clock-in-resume', are non-nil, it will resume a clock
1153 that was previously left open.
1154 (org-clock-clock-out): New inline function that clocks out the
1155 given clock value without affecting the currently active clock.
1156 (org-clock-clock-cancel): New inline function that cancels the
1157 given clock value without affecting the currently active clock.
1159 * org-clock.el (org-clock-in): Before creating
1160 `org-clock-mode-line-timer', check to make sure an older timer is
1161 not currently running.
1162 (org-clock-out): Accept new third parameter `at-time', which
1163 permits a clock to be clocked out at a specific time. Note that
1164 no attempt is made to verify that the clock out time is later than
1167 * org.el (org-files-list): New utility function for returning a
1168 list of all open org-mode buffers, plus all files used to build
1169 the agenda buffer. Note that not all the files will necessarily
1170 be visited by a buffer at time of call.
1171 (org-entry-beginning-position): Like the function
1172 `line-beginning-position', this inline function returns the
1173 beginning position of the current heading/entry.
1174 (org-entry-end-position): Like the function `line-end-position',
1175 this inline function returns the end position of the current
1178 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
1180 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1183 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
1185 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1187 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
1189 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1190 entries that have no tags.
1191 (org-agenda-search-view): New customize group.
1192 (org-agenda-search-view-search-words-only): New option.
1193 (org-search-view): Implement substring search.
1195 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
1197 * org.el (org-outline-level): Add doc string.
1199 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
1201 * org-inlinetask.el (org-inlinetask-export): Re-introduce
1203 (org-inlinetask-export-handler): Only export inline task if the
1204 user option calls for it.
1206 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
1208 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1211 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
1213 * org-latex.el (org-export-latex-tables): Don't format in
1216 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
1218 * org-src.el (org-edit-src-code)
1219 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1222 * org-agenda.el (org-prefix-category-max-length): New variable.
1223 (org-format-agenda-item): Use `org-prefix-category-max-length'.
1224 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1226 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
1228 * org-mobile.el (org-mobile-create-index-file): Improve the
1229 listing of tags and todo keywords.
1231 * org-latex.el (org-export-latex-format-image): New function.
1232 (org-export-latex-links): Use `org-export-latex-format-image'.
1234 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
1236 * org-inlinetask.el (org-inlinetask-get-current-indentation)
1237 (org-inlinetask-remove-terminator): New functions.
1238 (org-inlinetask-export-handler): Terminate the description list.
1240 * org-exp.el (org-export-select-backend-specific-text): Remove the
1243 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1244 tasks without content.
1246 * org-clock.el: Make sure the clock-in target position does not
1247 move to a different node by widening the buffer.
1249 * org-html.el (org-export-html-format-image): Wrap image into
1250 figure div only when there is a caption.
1252 * org-archive.el (org-archive-mark-done): Change default value to
1255 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1257 * org.el (org-context): Call `bobp', not `eobp'.
1259 * org-clock.el (org-clock-cancel): Remove quotes from marker
1262 * org.el (org-read-date-prefer-future): New allowed value `time'.
1263 (org-read-date-analyze): Shift day to tomorrow depending on time
1264 entered and value of `org-read-date-prefer-future'.
1266 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
1268 * org.el (org-set-tags-to): New command.
1270 * org-mobile.el (org-mobile-action-alist): Add more options and
1271 update the docstring.
1272 (org-mobile-apply-flags): Parse for and use the data.
1274 * org-latex.el (org-export-latex-set-initial-vars): Also check in
1277 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1280 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1282 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
1284 * org-inlinetask.el (org-inlinetask-export): Option removed.
1285 (org-inlinetask-export-handler): Better export.
1287 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1288 (org-export-as-xoxo): Run the new hook.
1290 * org-html.el (org-export-html-final-hook): New hook.
1291 (org-export-as-html): Run the new hook.
1293 * org-docbook.el (org-export-docbook-final-hook): New hook.
1294 (org-export-as-docbook): Run the new hook.
1296 * org-ascii.el (org-export-ascii-final-hook): New hook.
1297 (org-export-as-ascii): Run the new hook.
1299 * org-mobile.el (org-mobile-create-sumo-agenda): Call
1300 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1302 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1303 space character as the character before the ^/_.
1304 (org-export-latex-final-hook): New hook.
1305 (org-export-as-latex): Run `org-export-latex-final-hook'.
1307 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
1309 * org-macs.el (org-if-unprotected-at): Fix docstring.
1311 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1312 text in the prefix (if category is a link).
1314 * org-latex.el (org-export-latex-preprocess): Deal properly with
1315 empty lines in verse environments.
1317 * org.el (org-format-latex-header): Inline fullpage.sty.
1319 * org-footnote.el (org-footnote-create-definition): Reveal context
1320 to add a new footnote definition.
1322 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1324 (org-mobile-files): New option.
1325 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1326 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1328 (org-mobile-push): Start by creating the files lists.
1329 (org-mobile-copy-agenda-files): Move killing the buffer to after
1330 the save-excursion has exited.
1331 (org-mobile-write-checksums): Write checksums also for files in
1334 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1335 org-table-recalculate when cursor is in TBLFM line.
1337 * org-list.el (org-renumber-ordered-list): Fix cursor position
1338 when bullet length has changed.
1340 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1342 * org.el (org-format-latex): Mention `org-format-latex-options' in
1345 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1347 * org.el (org-agenda-get): New function.
1349 * org-agenda.el (org-agenda-post-command-hook): No longer move
1350 point away from end of line.
1351 (org-agenda-add-entry-text, org-agenda-collect-markers)
1352 (org-finalize-agenda, org-agenda-mark-clocking-task)
1353 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1354 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1355 (org-agenda-compare-effort, org-agenda-filter-apply)
1356 (org-agenda-later, org-agenda-change-time-span)
1357 (org-agenda-post-command-hook, org-agenda-show-priority)
1358 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1359 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1360 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1361 (org-agenda-open-link, org-agenda-copy-local-variable)
1362 (org-agenda-switch-to, org-agenda-check-no-diary)
1363 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1364 (org-agenda-add-note, org-agenda-change-all-lines)
1365 (org-agenda-priority, org-agenda-set-tags)
1366 (org-agenda-set-property, org-agenda-set-effort)
1367 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1368 (org-agenda-show-new-time, org-agenda-date-prompt)
1369 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1370 (org-agenda-clock-in, org-agenda-bulk-mark)
1371 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1374 * org-colview.el (org-columns-display-here)
1375 (org-columns-edit-allowed, org-agenda-columns): Use
1378 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1380 * org.el (org-special-ctrl-a/e): Improve documentation and
1382 (org-end-of-line): Don't jump to after the ellipsis.
1383 (org-mode-map): Bind <home> and <end> as well.
1385 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1387 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1388 space after #+ as comments.
1389 (org-open-at-point): Run `org-follow-link-hook' always.
1391 * org-latex.el (org-export-latex-emph-format): Use better commands
1392 to insert special characters in verbatim snippets.
1394 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1396 * org-faces.el (org-copy-face): New function. Use it to create
1397 various faces formerly created by using `copy-face'.
1399 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1401 (org-agenda-quit): Kill the frame containing the agenda window if
1402 that frame was created for the agenda.
1404 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1406 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1407 stamp in the agenda.
1409 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1411 * org-mobile.el (org-mobile-create-index-file): Add the list of
1412 TODO keywords, and the list of drawers to the index file.
1414 * org-agenda.el (org-prepare-agenda): Reset
1415 `org-drawers-for-agenda'.
1416 (org-prepare-agenda): Uniquify list of drawers.
1418 * org.el (org-complex-heading-regexp-format): New variable.
1419 (org-set-regexps-and-options): Define
1420 `org-complex-heading-regexp-format'.
1421 (org-drawers-for-agenda): New variable.
1422 (org-map-entries): Bind `org-drawers-for-agenda'.
1423 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1425 * org-remember.el (org-go-to-remember-target)
1426 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1428 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1430 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1433 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1434 the capture file, and make it non-configurable.
1436 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1437 always with `invisible-ok'.
1438 (org-store-link): No error when there is nothing to link to in the
1441 * org-list.el (org-update-checkbox-count): Insert changed cookie
1442 before the old, to avoid problems with invisibility at the end of
1444 (org-update-checkbox-count): Insert changed cookie before the old,
1445 to avoid problems with invisibility at the end of the line.
1447 * org.el (org-sort-entries-or-items): Include the final newline.
1448 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1449 lines for fontification.
1450 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1451 (org-prepare-dblock): Store the current indentation of the BEGIN
1453 (org-update-dblock): Apply the indentation of the begin line to
1454 the rest of the block.
1455 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1456 (org-startup-folded): New allowed value `showeverything'.
1457 (org-startup-options): Add STARTUP keyword `showeverything'.
1458 (org-set-startup-visibility): Respect value `showeverything' in
1461 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1463 * org.el (org-closest-date): Fix issue with past preference.
1465 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1467 * org-archive.el (org-archive-set-tag)
1468 (org-archive-subtree-default): New commands.
1470 * org-mobile.el (org-mobile-create-index-file): Fix link to
1472 (org-mobile-copy-agenda-files): Create the capture file if it does
1475 * org-clock.el (org-clock-clocktable-default-properties): New
1477 (org-clock-report): Use
1478 `org-clock-clocktable-default-properties'.
1480 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1482 * org.el (org-iswitchb-completing-read): Fix typo.
1484 * org-crypt.el: New file.
1486 * org.el: Add an entry for org-crypt.
1488 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1490 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1492 (org-batch-store-agenda-views): New function.
1493 (org-mobile-force-id-on-agenda-items): Mention variable.
1494 (org-agenda-title-append): Define variable.
1495 (org-write-agenda): New export to Org files.
1496 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1497 (org-agenda): Allow to keep the restricted file list if a special
1498 variable is bound to t.
1499 (org-agenda): Define a special agenda view for working on flagged
1501 (org-agenda-get-restriction-and-command): List the new agenda
1503 (org-agenda-show-the-flagging-note): New command.
1504 (org-agenda-mode-map): New key `?' for looking at the flagging
1507 * org.el (org-autoload): Autoload org-mobile.el.
1508 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1510 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1512 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1514 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1516 (org-table-get-remote-range): Match indented #+TBLNAME
1519 * org.el (org-convert-to-odd-levels)
1520 (org-convert-to-oddeven-levels): Work also correctly if the file
1523 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1525 * org.el (org-store-link): When in agenda buffer, link to
1527 (org-add-planning-info): Remove spaces at eol.
1529 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1532 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1534 * org-latex.el (org-export-latex-first-lines): Fix problem with
1535 LaTeX export of first line and selected subtree.
1537 * org.el (org-shifttab): Interpret arg differently when using only
1540 2009-09-09 Bastien Guerry <bzg@altern.org>
1542 * org.el (org-check-agenda-file): Use a more explicit message
1544 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1546 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1549 2009-09-08 Bastien Guerry <bzg@altern.org>
1551 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1552 prompt in the temporary window.
1554 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1555 prefix for marked entries in the agenda view.
1557 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1559 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1560 a way that prevents any trailing character from being displayed.
1562 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1564 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1567 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1570 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1572 * org-latex.el (org-export-latex-preprocess): Do not protect in
1575 * org-src.el (org-edit-src-save): Save window setup while saving.
1576 (org-edit-src-code): Use new buffer name construction scheme.
1578 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1580 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1582 (org-agenda-entry-text-cleanup-hook): New hook.
1583 (org-agenda-get-some-entry-text): Remove matches of
1584 `org-agenda-entry-text-exclude-regexps' and run the hook
1585 `org-agenda-entry-text-cleanup-hook'.
1587 * org.el (org-offer-links-in-entry): New argument ZERO to
1588 implement a link with index zero.
1589 (org-cycle-show-empty-lines): Not keep empty line under header
1591 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1592 to nil for special completion.
1593 (org-store-link): Don't error before the first heading.
1595 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1596 `org-offer-links-in-entry'.
1598 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1600 * org-agenda.el (org-agenda-quit): Provide the window argument for
1601 `window-dedicated-p', Emacs 22 needs it.
1602 (org-format-agenda-item): If the category is a link, arrange for
1603 invisible text to replaced with spaces.
1604 (org-compile-prefix-format): Add the extra space.
1605 (org-prefix-category-length): New variable.
1607 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1608 references from TOC lines.
1610 * org.el (org-selected-window): New variable.
1612 * org-table.el (org-table-edit-formulas): Remember the selected
1614 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1615 that was originally selected.
1617 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1618 expansion of a macro for more macro definitions.
1620 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1621 invisibility overlay starts on the newline.
1623 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1625 * org-protocol.el (org-protocol-store-link)
1626 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1628 * org-compat.el (org-float-time): New function.
1630 * org.el (org-clock-update-time-maybe)
1631 (org-sort-entries-or-items, org-do-sort)
1632 (org-evaluate-time-range, org-time-string-to-seconds)
1633 (org-closed-in-range): Use `org-float-time'.
1635 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1636 (org-timer-seconds): Use `org-float-time'.
1638 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1639 (org-clock-sum, org-dblock-write:clocktable)
1640 (org-clocktable-steps): Use `org-float-time'.
1642 * org-agenda.el (org-agenda-last-marker-time)
1643 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1645 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1648 * org-exp.el (org-get-file-contents): Only protect lines that
1651 * org-html.el (require): Require cl for compilation.
1653 * org.el: Avoid using `default-major-mode'.
1655 * org-plot.el (require): Require CL only at compile time.
1657 * org-exp.el (require): Require CL only at compile time.
1659 * org-agenda.el (org-agenda-quit): When the agenda window is
1660 dedicated, remove other windows before exiting, so that the frame
1661 really will be killed.
1663 * org-exp.el (org-export-handle-include-files): Reset START and
1664 END for each loop cycle.
1666 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1668 * org.el (org-eval-in-calendar): Use
1669 `org-select-frame-set-input-focus'.
1671 * org-compat.el (org-select-frame-set-input-focus): New function.
1673 * org.el (org-update-statistics-cookies): New function.
1674 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1676 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1678 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1679 after the local variables are set.
1681 * org-latex.el (org-export-latex-protect-amp): New function.
1682 (org-export-latex-links): Protect link ampersands in tables.
1684 * org-exp.el (org-export-select-backend-specific-text): Match in
1685 two steps, to avoid regexp problems.
1687 * org.el (org-offer-links-in-entry): Improve working with many and
1690 * org-agenda.el (org-agenda-show-1): Make more consistent with
1692 (org-agenda-cycle-show): Make more consistent with normal cycling.
1694 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1697 2009-08-30 Bastien Guerry <bzg@altern.org>
1699 * org-latex.el (org-export-latex-first-lines): Bugfix.
1701 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1703 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1706 * org.el (org-set-effort): New function.
1707 (org-mode-map): New key for effort setting command.
1709 * org-agenda.el (org-agenda): Keep window setup when calling
1710 agenda from within agenda window.
1711 (org-agenda-mode-map): New keys for effort setting commands.
1712 (org-agenda-menu): Add effort setting commands to menu.
1713 (org-agenda-set-property, org-agenda-set-effort): New functions.
1715 * org-latex.el (org-export-latex-tables): Fix
1716 `org-table-last-alignment' and `org-table-last-column-widths' if
1717 the first column has been removed.
1719 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1721 * org.el (org-remove-timestamp-with-keyword): Only remove in
1722 entry, not in subtree.
1724 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1727 * org.el (org-open-at-point): When on headline, offer all strings
1730 * org-remember.el (org-remember-templates): Documentation fix.
1732 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1733 `org-get-last-sibling' instead of the outline versions of these
1735 (org-get-last-sibling): New function.
1736 (org-refile): Use `org-get-next-sibling' instead of the outline
1737 version of this function.
1738 (org-clean-visibility-after-subtree-move): Use
1739 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1740 outline versions of these functions.
1742 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1744 * org-agenda.el (org-prepare-agenda): When creating a new frame
1745 for the agenda, make the window dedicated.
1747 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1749 * org-table.el (org-table-align): Change the order of reinsertion
1750 and deletion, to avoid problems with overlays following the table.
1752 * org.el (org-parse-time-string): Better error message.
1753 (org-show-subtree): Use org-end-of-subtree.
1755 * org-macs.el (org-goto-line): New defsubst.
1757 * org.el (org-open-file, org-change-tag-in-region)
1758 (org-fast-tag-show-exit): Don't use `goto-line'.
1760 * org-table.el (org-table-align, org-table-insert-column)
1761 (org-table-delete-column, org-table-move-column)
1762 (org-table-sort-lines, org-table-copy-region)
1763 (org-table-paste-rectangle, org-table-wrap-region)
1764 (org-table-get-specials, org-table-rotate-recalc-marks)
1765 (org-table-get-range, org-table-recalculate)
1766 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1767 (org-table-show-reference, org-table-highlight-rectangle): Don't
1770 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1771 (org-edit-src-exit): Don't use `goto-line'.
1773 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1775 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1776 Don't use `goto-line'.
1778 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1780 * org-colview.el (org-columns, org-columns-redo)
1781 (org-agenda-columns): Don't use `goto-line'.
1783 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1786 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1787 (org-agenda-add-entry-text-maxlines): Improve docstring.
1788 (org-agenda-start-with-entry-text-mode): New option.
1789 (org-agenda-entry-text-maxlines): New option.
1790 (org-agenda-entry-text-mode): New variable.
1791 (org-agenda-mode): Set initial value of
1792 `org-agenda-entry-text-mode'.
1793 (org-agenda-mode-map): Add the `E' key.
1794 (org-agenda-menu): Add entry text mode to the menu.
1795 (org-agenda-get-some-entry-text): Fix line count bug.
1796 (org-finalize-agenda): Apply entry text mode if appropriate.
1797 (org-agenda-entry-text-show-here): New function.
1798 (org-agenda-entry-text-show): New function.
1799 (org-agenda-entry-text-hide): New function.
1800 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1802 (org-agenda-entry-text-mode): New command.
1803 (org-agenda-set-mode-name): Add entry text mode to the mode line
1805 (org-agenda-undo, org-agenda-get-restriction-and-command)
1806 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1809 2009-08-26 Bernt Hansen <bernt@norang.ca>
1811 * org-clock.el (org-notify): Bugfix.
1813 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1815 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1816 check for after-string.
1818 * org-gnus.el (org-gnus-store-link): Simplify.
1820 * org.el (org-latex-regexps): Don't add extra empty lines for
1823 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1825 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1826 (org-agenda-add-entry-text): Use
1827 `org-agenda-get-some-entry-text'.
1829 * org.el (org-cycle-separator-lines): Update docstring.
1830 (org-cycle-show-empty-lines): Handle negative values for
1831 `org-cycle-show-empty-lines'.
1833 * org-exp.el (org-export-protect-sub-super): New function.
1834 (org-export-normalize-links): Protect the url of plain links from
1835 supscript and superscript processing.
1837 * org-remember.el (org-remember-escaped-%): New function.
1838 (org-remember-apply-template): Use `org-remember-escaped-%' to
1839 detect escaped % signs.
1841 2009-08-23 Bastien Guerry <bzg@altern.org>
1843 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1844 sound when showing the notification.
1846 * org-clock.el (org-notify): New function.
1847 (org-clock-notify-once-if-expired): Use `org-notify'.
1849 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1850 and `gnus-article-mode' separately.
1851 (gnus-summary-article-header): Fix the declare-function.
1853 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1855 * org-exp.el (org-export-format-source-code-or-example): Translate
1858 * org-src.el (org-src-lang-modes): New variable
1859 (org-edit-src-code): Translate language.
1861 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1862 the new structure of the `org-export-latex-listings-langs'
1865 * org-latex.el (org-export-latex-listings-langs): Change structure
1866 of the variable from plist to alist.
1868 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1870 * org.el (org-in-commented-line): New function.
1872 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1874 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1876 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1878 * org.el (org-flag-drawer): More useful error.
1880 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1882 * org-remember.el (org-remember-apply-template): Use
1883 org-icompleting-read.
1885 * org-publish.el (org-publish): Use org-icompleting-read.
1887 * org-colview.el (org-columns-edit-value, org-columns-new)
1888 (org-insert-columns-dblock): Use org-icompleting-read.
1890 * org-colview-xemacs.el (org-columns-edit-value)
1891 (org-columns-new, org-insert-columns-dblock): Use
1892 org-icompleting-read.
1894 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1895 org-icompleting-read.
1897 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1899 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1900 (org-version): Return the version text.
1901 (org-org-menu): Add a menu entry for the new bug reporter.
1902 (org-submit-bug-report): New command.
1904 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1907 * org.el (org-emphasis-regexp-components): Add "`" to set of
1908 pre-emphasis characters.
1910 * org-latex.el (org-export-latex-classes): Always include the soul
1912 (org-export-latex-emphasis-alist): Use \st for strikethough.
1914 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1915 `indent-code-rigidly' to indent.
1917 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1918 properties only if MATCH really is a string.
1920 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1922 * org-latex.el (org-export-latex-packages-alist): Fix
1925 * org.el (org-create-formula-image): Also use
1926 `org-export-latex-packages-alist'.
1928 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1929 (org-export-as-html): Format footnotes correctly.
1931 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1933 * org.el (org-fast-tag-selection): Avoid text properties on tags
1936 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1937 text properties on the match element.
1939 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1941 * org.el (org-set-regexps-and-options): Make sure the list of done
1942 keywords is not invalid.
1944 * org-exp.el (org-export-interpolate-newlines): New function.
1946 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1948 * org.el (org-format-latex): Avoid nested overlays.
1950 * org-latex.el (org-export-latex-listings-langs): Add a few more
1953 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1954 ignore newlines and space before the first macro argument.
1956 * org-latex.el (org-export-latex-tables): Remove save-excursion
1957 around `org-table-align'.
1959 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1961 * org.el (org-export-html-special-string-regexps): Definition
1964 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1967 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1969 * org-latex.el (org-export-latex-listings)
1970 (org-export-latex-listings-langs): New options.
1972 * org-exp.el (org-export-format-source-code-or-example): Use
1973 listing package if requested by the user.
1975 2009-08-08 Bastien Guerry <bzg@altern.org>
1977 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1978 command before actually switching to a buffer.
1980 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1982 * org-exp.el (org-get-file-contents): Only quote org lines when
1983 the markup is src or example.
1985 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1987 (org-agenda-get-day-entries): Remember deadline results and pass
1988 them on into the function getting the scheduling information.
1989 (org-agenda-get-scheduled): Accept deadline results as parameters
1990 and maybe skip some entries.
1991 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1993 * org.el (org-insert-heading): When respecting content, do not
1994 convert current line to headline.
1996 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1997 cheeeeeck the hd marker
1998 (org-clock-in): Also set the hd marker.
1999 (org-clock-out): Also set the hd marker.
2000 (org-clock-cancel): Reset markers.
2002 * org.el (org-clock-hd-marker): New marker.
2004 * org-faces.el (org-agenda-clocking): New face.
2006 * org-agenda.el (org-agenda-mark-clocking-task): New function.
2007 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2009 * org.el (org-modules): Add org-track.el.
2011 * org-agenda.el (org-agenda-bulk-marked-p): New function.
2012 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2013 `org-agenda-bulk-marked-p'.
2014 (org-agenda-bulk-toggle): New command.
2016 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2018 * org.el (org-move-subtree-down): Hide subtree if it was folded,
2021 * org-remember.el (org-remember-finalize): Avoid buffer-modified
2024 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2026 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2027 before gnuplot can read it.
2029 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
2031 * org-latex.el (org-export-latex-first-lines): Fix bug with
2032 finding the end of the first lines.
2034 * org.el (org-create-formula-image): Remove the -E option for
2037 * org-exp.el (org-default-export-plist): Respect #+BIND.
2038 (org-export-confirm-letbind): New function.
2040 * org.el (org-paste-subtree): Test the kill ring entry if it is
2042 (org-copy-subtree): Use `org-forward-same-level'.
2043 (org-forward-same-level): Respect the `invisibe-ok' arg for
2046 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
2048 * org.el (org-table-map-tables): Make sure cursor is back at table
2049 beginning after funcall.
2051 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2052 handled before children, and do not error if an entry is not
2053 found, probably because it hase been remove when the parent was
2054 archived or refiled.
2056 * org.el (org-ido-completing-read): Accept straight lists for
2057 completion as well as alists.
2059 * org-html.el (org-export-as-html): Fix parenthesis error in
2062 * org-timer.el (org-timer-cancel-timers): Renamed from
2063 `org-timer-cancel-timers'.
2065 * org.el (org-cycle-internal-local): Fix problem with finding next
2068 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
2070 * org-list.el (org-list-send-list): Call
2071 `org-list-goto-true-beginning' instead of
2072 `org-list-find-true-beginning', which does not exist.
2074 * org-timer.el (org-timer-reset-timers): Use `mapc'.
2075 (org-timer-set-timer): Do not assign to heading.
2077 * org-id.el (org-id-open): Quote function name.
2079 * org-macs.el (org-unmodified): Turn off recording undo
2080 information while running inside the macro.
2082 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2084 (org-indent-mode): Remember and restore value of
2085 org-hide-leading-stars before `org-indent-mode'.
2087 * org-table.el (org-table-export): Also work in file-less
2090 * org.el (org-startup-indented): New option.
2091 (org-startup-options): Add new options indent and noindent.
2092 (org-unfontify-region): Remove line-prefix and wrap-prefix
2094 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2096 (org-promote, org-demote): Run the new hooks.
2098 * org-table.el (org-table-align): Replace leading \n as well.
2100 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2101 and `line-wrap' text properties.
2103 * org-compat.el (org-kill-new): New function.
2105 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2106 `line-wrap' text properties.
2108 * org-indent.el: New file.
2110 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
2112 * org.el (org-provide-todo-statistics): Tweak docstring.
2114 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2116 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
2118 * org-exp.el (org-export-as-org): Insert the "-source" string
2119 before the extension.
2121 * org.el (org-read-date): Make sure the calendar is in the current
2123 (org-set-emph-re): Remove the ? from the post-match.
2124 (org-emphasis-regexp-components): Add backslash to the
2126 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2127 optional so that also lines at the end of the buffers will still
2128 be matched as headlines.
2130 * org-table.el (org-table-error-on-row-ref-crossing-hline):
2131 Variable made obsolete.
2132 (org-table-relative-ref-may-cross-hline): New option.
2133 (org-table-find-row-type): Honow the new option
2134 `org-table-relative-ref-may-cross-hline'.
2136 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
2138 * org-table.el (org-table-cut-region, org-table-copy-region): Work
2139 on single field if no active region.
2141 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
2143 * org-latex.el (org-export-latex-make-header): Only insert title
2146 * org.el (org-make-options-regexp): Allow empty values.
2148 * org-html.el (org-export-as-html): Move hrule detection to after
2149 plain list handling.
2151 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
2153 * org-html.el (org-format-org-table-html): Fix colgroup tags.
2155 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
2157 * org.el (org-cycle-internal-local): Improved version of finding
2159 (org-cycle-hide-drawers): Only hide drawers if this is really
2161 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2162 org-version of this function in Org-mode. We use advice to
2163 implement this change, so that future changes to this function in
2164 outline.el wil be handled properly.
2165 (org-forward-same-level, org-backward-same-level): New commands.
2167 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
2169 * org.el (org-remove-empty-overlays-at)
2170 (org-clean-visibility-after-subtree-move): New functons.
2171 (org-move-subtree-down): Simplify cleanup of display.
2173 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
2175 * org-mac-message.el (org-mac-message-get-links): Improve
2176 docstring. Make argument SELECT-OR-FLAGGED optional, default to
2177 "s". Fix the return value.
2178 (org-mac-message-insert-flagged): Simplify.
2180 * org.el (org-refile-get-location): Tamper with refile history o
2181 that history contains compete matches instead of the entered
2184 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
2186 * org.el (org-store-link): Never store a link to an inline task.
2188 * org-inlinetask.el (org-inlinetask-insert-task): New command.
2190 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2191 inline tasks when positioning footnotes.
2193 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2196 * org.el (org-refile): Remove the END line when archiving an
2197 inline task that does have an END line.
2199 * org-archive.el (org-archive-subtree): Remove the END line when
2200 archiving an inline task that does have an END line.
2202 * org-macs.el (org-with-limited-levels): New macro.
2203 (org-get-limited-outline-regexp): New function.
2205 * org-exp.el (org-export-format-source-code-or-example): Fix bug
2206 that did not enumerate first line.
2207 (org-export-mark-radio-links): Skip matches in links.
2209 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
2211 * org.el (org-activate-plain-links): Make single-match.
2212 (org-adapt-indentation): Fix docstring.
2214 * org-macs.el (org-unmodified): Turn of modification hooks while
2217 2009-08-02 Bastien Guerry <bzg@altern.org>
2219 * org.el (org-adapt-indentation): Slightly improve the docstring.
2220 (org-occur): Sends an error when the user inputs an empty string.
2221 (org-priority): Bugfix: the tag alignement should happen within
2224 2009-07-31 Bastien Guerry <bzg@altern.org>
2226 * org.el (org-make-link-regexps): Don't exclude parentheses from
2228 (org-cycle-internal-local): When locally cycling, switch directly
2229 from CHILDREN to FOLDED if there is no subtree
2230 (org-cycle): Update the docstring to document the new behavior of
2231 `org-cycle-internal-local'.
2233 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
2235 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2236 an abbreviated format for days.
2238 2009-07-27 Bastien Guerry <bzg@altern.org>
2240 * org-protocol.el (org-protocol-default-template-key): New
2243 * org.el (org-refile): Bugfix: save-excursion before reading the
2244 refile target, otherwise cursor moves might confuse `org-refile'.
2246 * org-html.el (org-export-as-html): Bugfix: correctly convert the
2247 footnote reference before the footnote itself.
2249 * org.el (org-toggle-heading): Bugfix: correctly convert list
2250 items before the first headline.
2252 * org-html.el (org-export-html-footnote-format): New option for
2253 formatting the footnote reference.
2254 (org-export-as-html): Use the new option.
2256 * org.el (org-provide-todo-statistics): Allow a list of TODO
2257 keywords to compute statistics against headlines containing a
2258 keyword from this list.
2259 (org-update-parent-todo-statistics): Possibly use the new allowed
2260 value of `org-provide-todo-statistics'.
2262 2009-07-26 Bastien Guerry <bzg@altern.org>
2264 * org-timer.el: Add autoload cookie.
2266 * org.el (org-occur-link-in-agenda-files): New function.
2268 * org-timer.el (org-timer-last-timer): New variable.
2270 * org-agenda.el (org-agenda-mode-map): New key for
2271 org-timer-set-timer called from the agenda.
2273 * org.el (org-mode-map): New key for org-timer-set-timer.
2275 * org-timer.el (org-timer-reset-timers)
2276 (org-timer-show-remaining-time, org-timer-set-timer): New
2279 * org-clock.el (org-show-notification): Update the docstring.
2281 * org.el (org-provide-todo-statistics): Allow new value
2282 'all-headlines for this option, which includes entries with no
2283 TODO keywords in the todo statistics.
2284 (org-update-parent-todo-statistics): Possibly use the new
2285 'all-headline value from `org-provide-todo-statistics'.
2287 2009-07-25 Bastien Guerry <bzg@altern.org>
2289 * org-clock.el (org-dblock-write:clocktable): Add a new option
2290 :timestamp which allows display of timestamps in clock reports.
2292 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2293 list to a subtree, preserving the structure of the list.
2294 (org-set-emph-re): Make the last element optional in the regexp.
2295 This regexp now matches an emphasized string at the end of a line.
2297 * org-list.el (org-list-goto-true-beginning)
2298 (org-list-make-subtree, org-list-make-subtrees): New functions.
2300 * org.el (org-eval-in-calendar): Select the right frame.
2301 (org-save-frame-excursion): Remove this macro.
2303 2009-07-24 Bastien Guerry <bzg@altern.org>
2305 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2306 trying to find the beginning of a list.
2308 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2309 When present, tell org-get-file-contents not to protect org-like
2312 * org-id.el (org-id-uuid-program): New option to set the name of
2313 the uuidgen program.
2314 (org-id-method): Use `org-id-uuid-program'.
2315 (org-id-new): Use `org-id-uuid-program'.
2317 2009-07-23 Bastien Guerry <bzg@altern.org>
2319 * org-exp.el (org-export-number-lines): Allow whitespace in code
2320 references. Allow the -r switch to remove the references in the
2321 source code even when the lines are not numbered: the labels can
2324 * org.el (org-fontify-whole-heading-line): New option.
2325 (org-set-font-lock-defaults): Use the new option.
2327 * org-clock.el (org-show-notification-handler): New option.
2328 (org-show-notification): Use the new option.
2330 2009-07-21 Bastien Guerry <bzg@altern.org>
2332 * org.el (org-eval-in-calendar): Fix a bug about calendar
2333 navigation when `calendar-setup' value is 'calendar-only.
2335 2009-07-19 Bastien Guerry <bzg@altern.org>
2337 * org.el (orgstruct++-mode): Fix typo in docstring.
2338 (org-insert-link): Clean up: (or (...)) => (...)
2339 (org-insert-link): Use TAB for stored links completion.
2341 2009-07-18 Bastien Guerry <bzg@altern.org>
2343 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2344 building the list of targets.
2346 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2348 (org-remember-handler): Use the new option.
2350 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2352 * org.el (org-tags-sort-function): New option for sorting tags.
2353 (org-set-tags): Use the new option to sort tags.
2355 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2356 premature deletion of the data when using org-plot in a script.
2358 2009-07-17 Bastien Guerry <bzg@altern.org>
2360 * org-clock.el (org-clock-in-prepare-hook): New hook.
2361 (org-clock-in): Use this new hook.
2363 2009-07-16 Bastien Guerry <bzg@altern.org>
2365 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2366 'reversed for this option to the "true line boundary first"
2368 (org-tags-match-list-sublevels): Document the 'indented value for
2371 * org-latex.el (org-export-latex-first-lines): Fix problem with
2372 publishing the region.
2374 * org-exp.el (org-export-format-source-code-or-example): Fix
2375 bad line numbering when exporting examples in HTML.
2377 * org-colview.el (org-format-time-period): Formats a time in
2378 fractional days as days, hours, mins, seconds.
2379 (org-columns-display-here): Add special handling for SINCE and
2380 SINCE_IA to format for display.
2382 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2384 * org.el (org-tags-sort-function): Add custom declaration for tags
2386 (org-set-tags): Sort tags if org-tags-sort-function is set
2388 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2390 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2392 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2394 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2397 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2399 * org-publish.el (org-publish-remove-all-timestamps): New function.
2400 (org-publish-all): Remove all timestamp files if `org-publish-all'
2401 is called with a prefix argument.
2403 * org-list.el (org-indent-item): Fix typo.
2404 (org-item-indent-positions): Normalize ordered bullet.
2406 * org-html.el (org-export-html-home/up-format): New option.
2407 (org-export-as-html): Insert the up and HOME links.
2409 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2411 * org-html.el (org-export-as-html): Insert the title into the
2413 (org-export-html-insert-plist-item): New function.
2414 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2416 * org-macs.el (org-set-local): Make a local variable, do not make
2417 the variable buffer-local!
2419 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2421 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2423 * org-docbook.el (org-export-as-docbook): Call
2424 `org-install-letbind'.
2426 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2428 * org-exp.el (org-infile-export-plist): Read BIND lines.
2429 (org-install-letbind): New function.
2430 (org-export-as-org, org-export-preprocess-string): Call
2431 `org-install-letbind'.
2433 * org-src.el (org-edit-src-exit): Untabify the example before
2436 * org-list.el (org-list-demote-modify-bullet): New option.
2437 (org-first-list-item-p): Save point.
2438 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2439 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2440 (org-item-indent-positions): Return bullet types along with
2443 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2445 * org.el (org-show-entry): Hide drawers.
2447 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2449 * org-footnote.el (org-footnote-auto-adjust): New option.
2450 (org-footnote-auto-adjust-maybe): New function.
2451 (org-footnote-new, org-footnote-delete): Call
2452 `org-footnote-auto-adjust-maybe'.
2454 * org.el (org-startup-options): Add new footnote-related
2457 * org-publish.el (org-publish-timestamp-filename): Additional
2458 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2459 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2460 TRUE-PUB-DIR. Pass them through to
2461 `org-publish-timestamp-filename'.
2462 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2463 PUB-FUNC, which are included in the hash.
2464 (org-publish-file): Delay timestamp test until the publishing
2467 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2469 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2470 setting the deadline.
2472 * org.el (org-read-date-final-answer): New variable.
2473 (org-read-date): Store the final answer string, including the date
2474 from the calendar, for reuse by agenda bulk commands.
2476 * org-publish.el (org-publish-attachment): Fix publishing of
2479 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2480 quotation makrs in parenthesis.
2481 (org-remove-initial-hash): New function.
2482 (org-export-latex-preprocess): Fix bug with infinite loop if
2483 environment is not properly closed.
2485 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2488 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2489 highlight also when indented.
2491 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2493 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2494 (org-footnote-action): Offer renumbering.
2496 * org.el (org-cycle): Honor the `integrate' value of
2497 org-cycle-include-plain-lists'.
2499 * org-list.el (org-cycle-include-plain-lists): New allowed value
2500 `internal'. Improve the docstring.
2502 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2503 regexp to work better with LaTeX commands.
2505 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2507 * org-feed.el (org-feed-update): fix problem with non-existing
2509 (org-feed-skip-http-headers): New function.
2510 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2511 (org-feed-get-feed): Fix command line arguments for curl.
2513 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2515 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2518 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2520 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2523 * org.el (org-map-entries): No longer force
2524 `org-tags-match-list-sublevels' to t during a todo-only tags
2527 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2529 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2531 (org-export-latex-subcontent): Handle user-defined environment.
2533 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2534 the View dispatcher.
2536 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2539 * org-latex.el (org-export-as-pdf): Protect match data during call
2540 to shell-quote-argument.
2542 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2543 (org-agenda-view-mode-dispatch): New function.
2545 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2547 * org-agenda.el (org-agenda-mode): Reset list of marks.
2548 (org-agenda-mode-map): Define new keys for refile and bulk action.
2549 (org-agenda-menu): Add menu itesm for refile and bulk action.
2550 (org-agenda-refile): New function.
2551 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2552 (org-agenda-marked-entries): New variable.
2553 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2554 (org-agenda-remove-all-bulk-action-marks)
2555 (org-agenda-bulk-action): New functions/commands.
2557 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2559 * org-exp.el (org-get-file-contents): Protect org-like lines in
2561 (org-export-format-source-code-or-example): Remove newlines.
2563 * org-latex.el (org-export-latex-links): Check for no-description
2566 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2567 argument separator back to comma.
2568 (org-export-normalize-links): Mark links without description.
2570 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2572 * org-exp.el (org-infile-export-plist): Fix bug in macro
2575 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2577 (org-agenda-highlight-todo): Fix bug with highlighting.
2579 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2581 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2582 new alignment strings.
2584 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2586 (org-table-align): Check for forced align type.
2588 * org.el (org-self-insert-command): Add yas/expand to command
2591 * org-clock.el (org-clock-in-hook): New hook.
2592 (org-clock-in): Run `org-clock-in-hook.
2593 (org-clock-out-hook): New hook.
2594 (org-clock-out): Run `org-clock-out-hook.
2595 (org-clock-cancel-hook): New hook.
2596 (org-clock-cancel): Run `org-clock-cancel-hook.
2597 (org-clock-goto-hook): New hook.
2598 (org-clock-goto): Run `org-clock-goto-hook.
2600 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2602 * org.el (org-store-link): Better default description for link to
2605 * org-exp.el (org-export-generic): Autoload the generic exporter
2607 (org-export): Implement the `g' key for the generic exporter.
2609 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2611 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2614 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2616 * org-exp.el (org-infile-export-plist): Get macros also from
2619 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2621 * org-colview.el (org-columns-capture-view): Protect vertical bars
2623 (org-columns-capture-view): Exclude comment and archived trees.
2625 * org-colview-xemacs.el (org-columns-capture-view): Protect
2626 vertical bars in column values.
2627 (org-columns-capture-view): Exclude comment and archived trees.
2629 * org.el (org-quote-vert): New function.
2631 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2633 * org-exp.el (org-export-format-source-code-or-example): Use
2634 `org-export-latex-verbatim-wrap'.
2636 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2639 * org-html.el (org-export-table-row-tags): New option.
2640 (org-format-org-table-html): Rename `nlines' to `nline', use new
2644 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2646 * org-exp-blocks.el: Declare functions and variables.
2648 * org-remember.el (org-remember-templates): Allow the headline
2649 element to be a function.
2650 (org-remember-apply-template): If the headline is a function, call
2651 it to get the true function.
2653 * org-clock.el (org-clock-menu): New function.
2654 (org-clock-update-mode-line): Update help string.
2655 (org-clock-modify-effort-estimate): New function.
2656 (org-clock-mark-default-task): New function.
2658 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2660 (org-org-menu): Add new clocking stuff.
2661 (org-clock-is-active): New function.
2663 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2665 * org.el (org-open-non-existing-files): Improve docstring.
2667 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2669 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2671 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2673 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2675 * org-list.el (org-get-checkbox-statistics-face): Use the new
2678 * org-faces.el (org-checkbox-statistics-todo)
2679 (org-checkbox-statistics-done): New faces.
2681 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2683 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2684 (org-edit-src-exit): Better cursor positioning when returning from
2687 * org-latex.el (org-export-latex-use-verb): New variable.
2688 (org-export-latex-emph-format): Prefer \texttt over \verb when
2689 org-export-latex-use-verb is set.
2691 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2693 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2694 at normal indentation.
2696 * org-html.el (org-export-html-close-lists-maybe): Also look at
2699 * org-remember.el (org-remember-handler): Abort remember if the
2702 * org-src.el (org-edit-src-content-indentation): New option.
2703 (org-edit-src-exit): Apply extra indentation.
2705 * org-exp.el (org-export-format-source-code-or-example): Run
2706 `org-src-mode-hook'.
2708 * org-src.el (org-src-mode-hook): New variable.
2709 (org-edit-src-code): Run `org-src-mode-hook'.
2711 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2713 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2715 * org-src.el (org-edit-src-get-indentation): New function.
2716 (org-edit-src-code): Base indentation on the begin line.
2718 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2720 * org-gnus.el (org-gnus-store-link): Require message.el in
2721 org-gnus-store-link.
2723 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2725 * org-src.el: New file, split out of org.el
2727 * org-docbook.el (org-export-as-docbook): Better indentation
2730 * org-macs.el (org-replace-match-keep-properties): New function.
2732 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2733 preprocessing of center and quote and verse blocks.
2735 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2736 (org-export-as-docbook): Close lists when original indentation
2739 * org-html.el (org-export-html-close-lists-maybe): New function.
2740 (org-export-as-html): Close lists when original indentation
2743 * org-list.el (org-list-end): Respect the stored "original"
2744 indentation when determining the end of the list.
2746 * org-exp.el (org-export-replace-src-segments-and-examples):
2747 Remember indentation correctly.
2749 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2751 * org-clock.el (org-clock-update-mode-line): Apply face
2752 org-mode-line-clock.
2754 * org-faces.el (org-mode-line-clock): New face.
2756 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2758 * org-gnus.el (org-gnus-store-link): Fix bug where
2759 `org-gnus-store-link' used wrong subject when called in an article
2760 buffer. Patch provided by fengli AT gmail DOT com.
2762 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2764 * org-exp.el (org-export-format-source-code-or-example): Remember
2765 the original indentation of source code snippets and examples.
2767 * org-latex.el (org-export-as-latex): Relocate the table of
2770 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2772 * org-agenda.el (org-run-agenda-series): Scope global options also
2773 when creating the agenda buffer.
2775 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2777 * org.el (org-adapt-indentation): Improve documentation.
2778 (org-insert-property-drawer): Respect org-adapt-indentation when
2779 inserting the drawer.
2780 (org-remove-flyspell-overlays-in): New function.
2781 (org-do-emphasis-faces, org-activate-plain-links)
2782 (org-activate-code, org-fontify-meta-lines-and-blocks)
2783 (org-activate-angle-links, org-activate-footnote-links)
2784 (org-activate-bracket-links, org-activate-dates)
2785 (org-activate-target-links, org-activate-tags): Remove flyspell
2788 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2790 * org.el (org-edit-src-save): New function.
2792 * org-clock.el (org-clock-out-switch-to-state): New option.
2793 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2795 * org-compat.el (org-compatible-face): Improve macro.
2797 * org.el (org-global-properties-fixed): Add default for
2798 CLOCK_MODELINE_TOTAL.
2800 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2802 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2804 (org-clock-get-sum-start): New function.
2806 * org.el (org-startup-options): New keywords blockhide and
2808 (org-mode): Add new invisibility spec.
2809 (org-set-startup-visibility): Hide block on startup if so
2811 (org-hide-block-startup): New option.
2812 (org-block-regexp): New constant.
2813 (org-hide-block-overlays): New variable.
2814 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2815 (org-show-block-all, org-hide-block-toggle-maybe)
2816 (org-hide-block-toggle): New functions.
2817 (org-edit-src-exit): Do not quote lines starting with # and no +
2819 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2822 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2824 * org.el (org-buffer-property-keys): Add Effort property for
2827 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2829 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2830 when retrieving total clocked time in the subtree.
2832 * org.el (org-quoting-blocks): New variable.
2834 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2836 * org-table.el (org-table-store-formulas)
2837 (org-table-get-stored-formulas, org-table-fix-formulas)
2838 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2839 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2841 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2842 indented #+TBLFM line.
2844 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2845 indented #+TBLFM line.
2847 * org-colview.el (org-dblock-write:columnview): Allow indented
2850 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2851 indented #+TBLFM line.
2853 * org-clock.el (org-dblock-write:clocktable): Allow indented
2856 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2858 * org-exp.el (org-export-format-source-code-or-example): Make
2859 editing indented blocks work correctly.
2861 * org.el (org-edit-src-nindent): New variable.
2862 (org-edit-src-code, org-edit-fixed-width-region)
2863 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2864 editing indented blocks work correctly.
2866 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2868 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2870 (org-export-format-source-code-or-example): Fix indentation of
2872 (org-export-remove-indentation): New function.
2873 (org-export-select-backend-specific-text): Allow backend-specific
2874 code to be indented.
2875 (org-export-mark-blockquote-verse-center): Allow markers to be
2878 * org.el (org-fontify-meta-lines): New function.
2879 (org-set-font-lock-defaults): Call the new fontification
2882 * org-faces.el (org-meta-line): New face
2883 (org-block): New face.
2885 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2887 * org.el (org-treat-insert-todo-heading-as-state-change)
2888 (org-treat-S-cursor-todo-selection-as-state-change): New
2890 (org-insert-todo-heading): Honor
2891 `org-treat-insert-todo-heading-as-state-change'.
2892 (org-shiftright, org-shiftleft): Honor
2893 `org-treat-S-cursor-todo-selection-as-state-change'.
2894 (org-inhibit-logging): New variable.
2896 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2898 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2899 range for marker position checking.
2901 * org-latex.el (org-export-latex-first-lines): Fix bug when
2904 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2906 * org-exp.el (org-export-push-to-kill-ring): Protect using
2907 x-set-selection, because that does not always work.
2909 * org-agenda.el (org-agenda-list): Apply the new face
2910 `org-agenda-date-today'.
2912 * org-faces.el (org-agenda-date-today): New face.
2914 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2916 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2917 creating appointments.
2919 * org-latex.el (org-export-latex-low-levels): Fix customization
2922 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2925 * org-agenda.el (org-agenda-priority): Disable priority commands.
2927 * org.el (org-enable-priority-commands): New option.
2929 * org-colview-xemacs.el (org-columns-compute)
2930 (org-columns-number-to-string): Fix problems with empty fields.
2932 * org-colview.el (org-columns-compute)
2933 (org-columns-number-to-string): Fix problems with empty fields.
2935 * org-exp.el (org-export-push-to-kill-ring): New function.
2936 (org-export-copy-to-kill-ring): New option.
2938 * org-latex.el (org-export-as-latex): Call
2939 `org-export-push-to-kill-ring'.
2941 * org-html.el (org-export-as-html): Call
2942 `org-export-push-to-kill-ring'.
2944 * org-docbook.el (org-export-as-docbook): Call
2945 `org-export-push-to-kill-ring'.
2947 * org-ascii.el (org-export-as-ascii): Call
2948 `org-export-push-to-kill-ring'.
2950 * org-exp.el (org-export-show-temporary-export-buffer): New
2953 * org-latex.el (org-export-as-latex): Use
2954 `org-export-show-temporary-export-buffer'.
2956 * org-html.el (org-export-as-html): Use
2957 `org-export-show-temporary-export-buffer'.
2959 * org-docbook.el (org-export-as-docbook): Use
2960 `org-export-show-temporary-export-buffer'.
2962 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2963 `org-export-show-temporary-export-buffer'.
2965 * org-exp.el (org-export-show-temporary-export-buffer): New
2967 (org-export-push-to-kill-ring): New function.
2969 * org-colview.el (org-columns-compile-map): New variable.
2970 (org-columns-new, org-columns-compute)
2971 (org-columns-number-to-string, org-columns-uncompile-format)
2972 (org-columns-compile-format): Implement new operators.
2974 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2976 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2978 * org-html.el (org-export-html-xml-declaration): New option.
2979 (org-export-as-html): Use `org-export-html-xml-declaration'.
2981 * org-list.el (org-update-checkbox-count): Make property
2984 * org.el (org-hierarchical-todo-statistics): New option.
2985 (org-update-parent-todo-statistics): Modified to handle recursive
2988 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2990 * org-publish.el (org-publish): Make this function behave
2991 correctly in interactive use when called with a prefix argument.
2993 * org.el (org-todo-statistics-hook): New hook.
2994 (org-update-parent-todo-statistics): Use new hook.
2995 (org-log-into-drawer): New function.
2996 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2997 determine if we should be logging into a drawer.
2998 (org-log-into-drawer): Update docstring.
2999 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3001 * org-list.el (org-checkbox-statistics-hook): New hook.
3002 (org-update-checkbox-count-maybe): Use new hook.
3004 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3005 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3008 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
3010 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3013 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
3015 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3016 better bufer-generating mechanism.
3017 (org-edit-src-find-buffer): New function.
3019 * org-icalendar.el (org-print-icalendar-entries): Don't check for
3020 archive tag, this is already done by `org-agenda-skip'.
3021 data while constructing lost of tags.
3023 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
3025 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3026 as argument separator in macros.
3028 * org-html.el (org-export-as-html): Add xml declaration.
3030 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
3032 * org.el (org-after-sorting-entries-or-items-hook): New hook.
3033 (org-sort-entries-or-items): Run the new hook.
3034 (org-after-refile-insert-hook): New hook.
3035 (org-refile): Run `org-after-refile-insert-hook'.
3037 * org-agenda.el (org-agenda-get-progress): Never take time of day
3038 from headline when displaying progress.
3040 * org-latex.el (org-export-latex-complex-heading-re): New variable.
3041 (org-export-as-latex): Force the correct regexp in the
3042 preprocessor buffer.
3043 (org-export-latex-set-initial-vars): Set
3044 `org-export-latex-complex-heading-re'.
3046 * org-agenda.el (org-agenda-start-with-log-mode): New option.
3047 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3049 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
3051 * org-latex.el (org-export-latex-tables-centered): New option.
3052 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3054 * org-exp.el (org-export-as-org): New command.
3055 (org-export-as-org): New command.
3057 * org-publish.el (org-publish-org-to-org): New function.
3059 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
3061 * org.el (org-yank): Just call `org-yank-generic'.
3062 (org-yank-generic): New function, containing the formaer
3063 functionality of `org-yank'.
3065 * org-latex.el (org-export-latex-not-done-keywords)
3066 (org-export-latex-done-keywords): New variables.
3067 (org-export-latex-todo-keyword-markup): New option.
3068 (org-export-latex-set-initial-vars): Remember the TODO keywords.
3069 (org-export-latex-keywords-maybe): Apply the TODO markup.
3071 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
3073 * org-exp.el (org-infile-export-plist): Add more default macros.
3074 (org-export-preprocess-apply-macros): Process macro arguments.
3076 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
3078 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3080 (org-print-icalendar-entries): Respect the new value of
3081 `org-icalendar-include-todo'.
3083 * org.el (org-link-try-special-completion)
3084 (org-file-complete-link): New functions.
3085 (org-insert-link): Add special completion support for some link
3088 * org-bbdb.el (org-bbdb-complete-link): New function.
3090 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
3092 * org-list.el (org-update-checkbox-count): Allow recursive
3094 (org-hierarchical-checkbox-statistics): New option.
3096 * org.el (org-cycle): Remove erraneous space character.
3098 * org-icalendar.el (org-icalendar-timezone): Initialize from
3101 * org-html.el (org-format-org-table-html): Specify the scope.
3102 (org-format-table-table-html): Specify the scope.
3103 (org-export-table-header-tags): Prepare the scope parameter.
3105 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
3108 (org-export-html-table-use-header-tags-for-first-column): New
3111 * org.el (org-autoload): Fix autoloading of ascii export
3113 (org-modules): Add org-special-blocks.
3115 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
3117 * org-icalendar.el (org-start-icalendar-file): Use the new option.
3118 (org-ical-timezone): New option.
3120 * org-exp.el (org-export-get-coderef-format): Use the description
3123 * org.el (org-sort-entries-or-items): Improve docstring, and make
3124 better implementation for time sorting.
3126 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
3128 * org.el (org-edit-src-persistent-message): New option.
3129 (org-edit-src-code, org-edit-fixed-width-region): Use the new
3132 * org-clock.el (org-clock-insert-selection-line): Fix prefious
3135 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3136 separate buffer instead of indirect buffer to edit source code.
3137 (org-edit-src-exit): Make this function work with the new setup.
3139 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3140 are properly fontified before shown in the selection menu.
3142 * org.el (org-fontify-like-in-org-mode): New function.
3144 * org-latex.el (org-export-latex-links): Use the property list to
3145 retrieve the default image attributes.
3147 * org-exp.el (org-export-plist-vars): Add a new option.
3149 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
3151 * org-exp.el (org-export, org-export-visible): Support ASCII
3153 (org-export-normalize-links): Do not protect the description if it
3154 is explicitly given.
3156 * org-ascii.el (org-export-as-ascii-to-buffer)
3157 (org-replace-region-by-ascii, org-export-region-as-ascii): New
3159 (org-export-as-ascii): Add all the same parameters that are also
3160 supported by the other export functions.
3162 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3164 (org-reset-checkbox-state-subtree): Call
3165 `org-reset-checkbox-state-subtree'.
3167 * org-remember.el (org-select-remember-template): For the
3168 selection of a valid template.
3170 * org-latex.el (org-export-region-as-latex): Supply the
3171 force-no-subtree argument.
3172 (org-export-as-latex): Provide better limits when exporting the
3173 first line. When exporting to string, we still want the first
3175 (org-export-latex-first-lines): New argument END, to force the end
3177 (org-export-region-as-latex): Use the property list.
3178 (org-export-as-latex):
3180 * org-colview-xemacs.el (org-columns-remove-overlays)
3181 (org-columns): Fix call to `local-variable-p'.
3183 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
3185 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3186 (org-export-as-html): Run the new hook.
3188 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3189 (org-export-latex-preprocess): Run the new hook.
3191 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3192 (org-export-preprocess-string): Run the new hook.
3194 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
3196 * org-macs.el (org-check-external-command): New defsubst.
3198 * org.el (org-mode-map): New key for reload.
3199 (org-format-latex): Better error message when external programs
3202 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3204 * org.el (org-sort-entries-or-items): Explicit sorting function
3205 for priorities, needed for XEmacs compatibility.
3207 * org-remember.el (org-remember-apply-template): Improve auto-save
3210 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
3212 * org-latex.el (org-export-latex-preprocess): Also protect
3213 environments ending in a star.
3215 * org-list.el (org-at-item-p): Fix regular expression.
3217 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
3219 * org.el (org-end-of-subtree): Improve speed.
3221 * org-agenda.el (org-agenda-get-timestamps)
3222 (org-agenda-get-progress, org-agenda-get-deadlines)
3223 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3224 in particular, wait as long as possible to collect the tags.
3225 (org-stuck-projects): Improve docstring.
3227 * org.el (org-store-link): No errors when getting custom id before
3229 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3231 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
3233 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3235 * org-protocol.el: Remove dependency on url.el.
3236 (org-protocol-unhex-compound, org-protocol-open-source): Remove
3237 dependency on url.el.
3239 * org-latex.el (org-export-as-pdf): Use
3240 `org-latex-to-pdf-process'.
3242 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
3244 * org-latex.el (org-latex-to-pdf-process): New option.
3246 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3248 (org-agenda-get-timestamps): Honor
3249 `org-agenda-skip-additional-timestamps-same-entry'.
3251 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3252 (org-clock-goto): Find recent task only if
3253 `org-clock-goto-may-find-recent-task' allows it.
3255 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3256 drawers, and drawers that are missing the :END: line.
3258 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3260 * org-clock.el (org-clock-goto): Go to recently clocked task if no
3263 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3265 * org.el (org-update-parent-todo-statistics): Check for
3266 STATISTICS_FROM property.
3268 * org-list.el (org-update-checkbox-count): Check for
3269 STATISTICS_FROM property.
3271 * org.el (org-tab-first-hook)
3272 (org-tab-after-check-for-table-hook)
3273 (org-tab-after-check-for-cycling-hook): New hooks.
3274 (org-cycle-internal-global, org-cycle-internal-local): New
3275 functions, split out from `org-cycle'.
3276 (org-cycle): Call the new hooks.
3278 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
3280 * org-exp.el (org-export-preprocess-string): Reset the list of
3281 preferred targets for each run of the preprocessor.
3283 * org.el (org-refile-target-verify-function): Improve
3285 (org-get-refile-targets): Respect point being moved by the
3286 verification function.
3288 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3290 (org-export-latex-keywords): Use new option.
3292 * org.el (org-rear-nonsticky-at): New defsubst.
3293 (org-activate-plain-links, org-activate-angle-links)
3294 (org-activate-footnote-links, org-activate-bracket-links)
3295 (org-activate-dates, org-activate-target-links)
3296 (org-activate-tags): Place the rear-nonsticky properties at the
3299 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
3301 * org-protocol.el (server-edit): Declare `server-edit'.
3302 (org-protocol-unhex-string, org-protocol-unhex-compound): New
3304 (org-protocol-check-filename-for-protocol): Call `server-edit'.
3306 * org.el (org-default-properties): New default properteis for
3309 * org-exp.el (org-export-add-subtree-options): Add new properties
3312 * org-docbook.el (org-export-docbook-keywords-markup)
3313 (org-export-docbook-timestamp-markup): New options.
3314 (org-export-docbook-protect-tags): New function.
3316 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
3318 * org-id.el (org-id-get-with-outline-path-completion): Turn off
3319 org-refile-target-verify-function for the duration of the command.
3321 * org.el (org-link-to-org-use-id): New possible value
3322 `create-if-interactive-and-no-custom-id'.
3323 (org-store-link): Use custom IDs.
3324 (org-link-search): Find custom ID properties from #link.
3325 (org-default-properties): Add CUSTOM_ID for property completion.
3326 (org-refile-target-verify-function): New option.
3327 (org-goto): Turn off org-refile-target-verify-function
3328 for the duration of the command.
3330 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
3332 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3334 * org-exp.el (org-export-preferred-target-alist): New variable.
3335 (org-export-define-heading-targets): Find the new CUSTOM_ID
3337 (org-export-target-internal-links): Target the custom ids when
3340 * org-latex.el (org-export-latex-preprocess): Better regexp for
3341 matching latex macros with arguments.
3343 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3345 * org-remember.el (org-remember-handler): Allow filing to non-org
3348 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3350 * org-feed.el (org-feed-alist): New keyword options.
3351 (org-feed-update): Use the new options.
3352 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3353 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3354 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3357 * org-table.el (org-table-fix-formulas): Do not change references
3359 (org-table-get-remote-range): Convert standard coordinates to RC
3362 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3364 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3366 * org-compat.el (org-sha1-string): Function removed.
3368 * org.el (org-refile-allow-creating-parent-nodes): New option.
3369 (org-refile-get-location): New argument NEW-NODES.
3370 (org-refile): Call `org-refile-get-location' with the new
3372 (org-refile-get-location): Arrange for adding a new child.
3373 (org-refile-new-child): New function.
3375 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3376 an additional span element.
3378 * org-clock.el: Fix a number of docstrings.
3379 (org-clock-find-position): New argument
3380 FIND-UNCLOSED to make the function find an unclosed clock in the
3382 (org-clock-in): Call `org-clock-find-position' with the new
3383 argument if we might be resuming a clock.
3385 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3387 * org-latex.el (org-export-latex-display-custom-times): New variable.
3388 (org-export-latex-timestamp-markup): New option.
3389 (org-export-latex-set-initial-vars): Remember the local value of
3390 `org-display-custom-times'.
3391 (org-export-latex-content): Process time stamps.
3392 (org-export-latex-time-stamps): New function.
3394 * org-macs.el (org-maybe-intangible): Add intangible property
3395 again to invisible text.
3397 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3399 * org-exp.el (org-default-export-plist): Handle undefined
3402 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3404 * org.el (org-sort-entries-or-items): Match TODO keywrds
3405 case-sensitively, when sorting.
3406 (org-priority): Do not match TODO keywords with wrong case.
3408 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3410 * org-feed.el (org-feed-update): Bind the variable
3413 * org-html.el (org-export-as-html): Start paragraphs after literal
3416 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3419 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3421 * org.el (org-todo): Honor the NOBLOCKING property.
3423 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3424 NOBLOCKING property.
3426 * org.el (org-scan-tags): Fix bug in tag scanner
3428 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3430 * org.el (org-modules): Mark obsolete packages.
3432 * org-html.el: New file, split out from org-exp.el.
3434 * org-icalendar.el: New file, split out from org-exp.el.
3436 * org-xoxo.el: New file, split out from org-exp.el.
3438 * org-ascii.el: New file, split out from org-exp.el.
3440 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3442 * org-compat.el (org-find-library-name): New function.
3444 * org.el (org-pre-cycle-hook): New hook.
3445 (org-cycle): Call the new hook in appropriate places.
3446 (org-reload): Only reload files that have been loaded before.
3448 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3450 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3452 (org-todo): When changing TODO state, do matching
3454 (org-map-continue-from): New variable.
3455 (org-scan-tags): Respect values in `org-map-continue-from'.
3456 (org-reload): Make XEmacs compatible.
3458 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3460 * org-protocol.el (org-protocol-flatten-greedy): New function.
3461 (org-protocol-flatten): New function.
3463 * org.el (org-open-link-from-string): Pass reference buffer to
3464 `org-open-at-point'.
3465 (org-open-at-point): New optional argument `reference-buffer'.
3467 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3469 * org.el (org-scan-tags): Make tag scan find headline in first
3471 (org-get-refile-targets): Add the naked file name.
3472 (org-refile): Store as top-level entry when only file name was
3475 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3477 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3478 Renamed from org-block-todo-from-children-or-siblings, and
3479 enhanced to look for the parent's status as well.
3481 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3482 (org-agenda-get-progress): Add first notes line to log entry if so
3485 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3487 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3488 (org-agenda-cleanup-fancy-diary): Call the new hook.
3490 * org-remember.el (org-remember-apply-template): Take the default
3491 for the annotation from the :annotation property.
3493 * org-mac-message.el (org-mac-message-get-link): Remove the
3495 (org-mac-message-get-link): Return the result.
3497 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3499 * org.el (org-refile-get-location): Add file name only if not
3500 already included in outline path.
3502 * org-faces.el (org-n-level-faces): Fix customization type from
3505 * org-exp.el (org-export-headline-levels): Fix customization type
3506 from number to integer.
3508 * org-agenda.el (org-agenda-confirm-kill)
3509 (org-agenda-custom-commands-local-options)
3510 (org-timeline-show-empty-dates, org-agenda-ndays)
3511 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3512 customization type from number to integer.
3514 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3516 * org-protocol.el: Declare some functions.
3518 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3519 postion before inserting modified headline.
3521 * org-agenda.el (org-agenda-compare-effort): Honor
3522 `org-sort-agenda-noeffort-is-high'.
3523 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3524 (org-agenda-compare-effort): Implement the "?" operator for
3525 finding entries without effort setting.
3527 * org.el (org-extract-attributes-from-string): New function.
3529 * org-exp.el (org-export-splice-attributes): New function.
3531 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3533 * org-mouse.el: XEmacs compatibility fixes
3535 * org-docbook.el (org-export-as-docbook): Process footnotes like
3538 * org.el (org-modules): Add org-inlinetasks.el
3539 (org-cycle): Implement limiting level on cycling.
3540 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3543 * org-inlinetask.el: New file.
3545 * org.el (org-emphasis-regexp-components): Allow braces in
3546 emphasis pre and post match.
3548 * org-footnote.el (org-footnote-normalize): When only dorting, do
3549 not insert inline notes at the end.
3551 * org-docbook.el (org-id-find-id-file): Add function declaration.
3553 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3555 * org-docbook.el: New file.
3557 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3559 * org.el (org-reftex-citation): New command.
3561 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3563 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3564 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3566 (org-entries-lessp): Apply the new sorting option.
3568 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3569 blocker code, when an older sibling has children.
3571 * org-mac-message.el (org-mac-message-get-link): Improve getting
3572 links from multiple selected messages.
3574 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3576 * org-remember.el (org-remember-finalize): Do not set buffer file
3578 (org-remember-handler): Mark buffer as unmodified.
3579 (org-remember-handler): Delete backup file and show message about
3580 remaining backup files.
3581 (org-remember-auto-remove-backup-files): New option.
3583 * org.el (org-store-link): Use buffer name as link description in
3585 (org-ido-switchb): Fix argument bug for completion.
3587 * org-remember.el (org-remember-apply-template): Set local
3588 variable `auto-save-visited-file-name' instead of global one.
3590 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3592 * org-feed.el: Re-write.
3594 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3595 (org-agenda-get-todos): Mark file tags as inherited.
3596 (org-agenda-list): Always search diary lines for a time.
3598 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3600 * org-feed.el (org-feed-assume-stable): New option.
3601 (org-feed-before-adding-hook): New hook.
3603 * org-exp.el (org-export-as-html): Close local lists depending on
3604 indentation, also when starting a table.
3606 * org-remember.el (org-remember-backup-directory)
3607 (org-remember-backup-name): New internal variable.
3609 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3611 * org-clock.el (org-clock-out-if-current): Make buffer detection
3612 work in indirect buffers as well.
3614 * org.el (org-emphasis-regexp-components): Add the exxclamation
3615 mark to the post-emphasis characters.
3617 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3619 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3620 (org-read-date): Run the new hook.
3622 * org-mac-message.el (org-mac-flagged-mail): New group.
3623 (org-mac-mail-account): New variable.
3624 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3627 * org-remember.el (org-remember-backup-directory): New variable.
3628 (org-remember-apply-template): Write file to backup directory.
3630 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3632 * org-mouse.el (org-mouse-todo-menu): New function.
3633 (org-mouse-todo-keywords): Function removed.
3634 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3636 * org-table.el (org-table-beginning-of-field)
3637 (org-table-end-of-field): New commands
3638 (org-table-previous-field, org-table-beginning-of-field): Better
3640 (orgtbl-setup): Include `M-a' and `M-e'.
3642 * org.el (org-backward-sentence, org-forward-sentence): New
3645 * org-colview.el (org-colview-initial-truncate-line-value): New
3647 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3648 (org-columns): Remember the value of `truncate-lines'.
3650 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3652 (org-columns-remove-overlays): Restore the value of
3654 (org-columns): Remember the value of `truncate-lines'.
3656 * org.el (org-columns-skip-arrchived-trees): New option.
3658 * org-agenda.el (org-agenda-export-html-style): Define color for
3659 org-agenda-done face.
3660 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3661 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3663 * org.el (org-scan-tags): Use the new face.
3665 * org-faces.el (org-agenda-done): New face.
3667 * org.el (org-scan-tags): Test the value org
3668 `org-tags-match-list-sublevels'.
3669 (org-tags-match-list-sublevels): New allowed value: indented.
3671 * org-export-latex.el (org-export-latex-make-header): Apply macros
3674 * org-exp.el (org-export-apply-macros-in-string): New function.
3676 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3677 with the definition of a checked box.
3679 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3681 * org-export-latex.el (org-export-latex-low-levels): More options
3682 for how to process lower levels in LaTeX.
3683 (org-export-latex-subcontent): Better treatment for lists as a
3684 means of publishing lower levels.
3686 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3688 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3690 * org-faces.el (org-checkbox): New face.
3692 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3693 fragement images if there is an export file.
3695 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3697 * org-agenda.el (org-stuck-projects): Document that the subtree of
3698 projects that are not stuck will now be searched for stuck
3700 (org-agenda-skip-entry-when-regexp-matches)
3701 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3702 (org-agenda-list-stuck-projects): Use
3703 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3705 * org-export-latex.el (org-export-latex-preprocess): Improve
3708 * org-exp.el (org-export-as-html): Implement centering as a div
3709 rather than a paragraph. Do a better job with line-end in verse
3712 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3714 * org.el (org-open-at-point): Fix tags searches by mouse click.
3716 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3718 * org-export-latex.el (org-export-latex-preprocess): Implement the
3721 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3722 from `org-export-mark-blockquote-and-verse'.
3723 (org-export-as-html): Implement the centering markup.
3725 * org-export-latex.el (org-export-latex-tables): Fix vertical
3728 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3730 * org.el (org-read-date-history): New variable.
3731 (org-read-date): Use new history variable.
3732 (org-toggle-heading): Fix bug when used before first headline.
3733 (org-store-log-note): Remove drawer if empty while note is
3735 (org-remove-empty-drawer-at): New function.
3736 (org-check-after-date): New command.
3737 (org-sparse-tree): New sparse tree command "a".
3739 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3741 2009-03-14 Bastien Guerry <bzg@altern.org>
3743 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3744 column and a space, not only a column.
3746 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3748 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3749 defaults for verbose emphasis.
3750 (org-export-latex-emph-format): New function.
3751 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3753 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3754 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3755 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3756 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3759 * org.el (org-timestamp-change): Move end-time along with start
3762 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3764 * org-exp.el (org-export-target-internal-links)
3765 (org-export-as-html): Protect links specified as #name.
3767 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3769 * org.el (org-clone-subtree-with-time-shift): New command.
3771 * org-export-latex.el (org-export-latex-special-chars)
3772 (org-export-latex-treat-sub-super-char): Fix subscript export.
3774 * org-exp.el (org-create-multibrace-regexp): Do not add
3775 backslashes to the class.
3777 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3779 * org-colview.el (org-columns-map): Better functions for moving up
3780 and down a row, even if `truncate-line' is nil.
3782 * org.el (org-insert-todo-heading): Make sure the keyword is
3783 inserted at the correct position.
3785 * org-publish.el (org-publish-project-alist)
3786 (org-publish-projects, org-publish-org-index): Change default anme
3787 for the index of file names to "sitemap.org".
3789 * org-export-latex.el (org-export-latex-tables): Use
3790 `org-split-string', for Emacs 21 compatibility.
3792 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3794 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3796 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3798 * org-exp.el (org-export-page-description)
3799 (org-export-page-keywords): New variables.
3800 (org-export-plist-vars): Add entries for :keywords and
3802 (org-infile-export-plist): Parse for new keywords.
3803 (org-get-current-options): Add new keywords
3804 (org-export-as-html): Publish description and keywords.
3806 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3808 (org-agenda-add-entry-text): Honor
3809 `org-agenda-add-entry-text-descriptive-links'.
3811 * org-export-latex.el (org-export-latex-preprocess): Make all
3812 external preprocess functions use a PARAMETER arg.
3814 * org-exp.el (org-export-preprocess-string)
3815 (org-export-select-backend-specific-text)
3816 (org-export-format-source-code-or-example)
3817 (org-format-org-table-html): Support docbook export.
3818 (org-export-preprocess-string): Make all external preprocess
3819 functions use a PARAMETER arg.
3821 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3823 * org-exp.el (org-export-html-style-include-scripts): New option.
3824 (org-export-plist-vars): Add new option
3825 `org-export-html-style-include-scripts'.
3826 (org-export-as-html): Honor new option
3827 `org-export-html-style-include-scripts'.
3828 (org-export-html-scripts, org-export-html-style-default): Fix
3829 xml issues with the Safari browser.
3831 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3833 * org-publish.el (org-publish-attachment): Only copy file when the
3836 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3838 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3839 for clocktable steps.
3841 * org.el (org-additional-option-like-keywords): Add two more
3844 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3846 * org-exp.el (org-export-format-source-code-or-example): Mark
3847 temporary buffer unmodified, so that it will be killed even if
3848 mode like message mode has decided to assign a file name.
3850 * org.el (org-scan-tags): Improve tag inheritance.
3851 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3853 (org-scan-tags): Use the internal tags list instead of creating it
3855 (org-trust-scanner-tags, org-scanner-tags): New variables.
3856 (org-scan-tags): Set `org-scanner-tags'.
3857 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3858 (org-map-entries): Document the possible speedup using scanner
3861 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3863 * org.el (org-add-planning-info): Fix bug with looking for keyword
3866 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3867 option for tags filter preset.
3868 (org-prepare-agenda): Store filter preset as a property on the
3870 (org-finalize-agenda): Call the filter, if there is a preset.
3871 (org-agenda-filter-by-tag): Filter again after clearing the
3872 filter, when there still is a preset.
3873 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3874 Include the preset filter.
3875 (org-agenda-redo): Apply the filter again, also the preset filter.
3877 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3879 * org.el (org-uuidgen-p): New funtion.
3881 * org-agenda.el (org-agenda-fontify-priorities): New default value
3883 (org-agenda-fontify-priorities): Renamed from
3884 org-fontify-priorities.
3886 * org.el (org-set-font-lock-defaults): Call
3887 `org-font-lock-add-priority-faces'.
3888 (org-font-lock-add-priority-faces): New function.
3890 * org-faces.el: (org-set-tag-faces): New option.
3891 (org-priority-faces): New variable.
3893 * org-exp.el (org-export-as-html): Add a "content" div around the
3894 entire content of the body tag.
3895 (org-export-html-get-bibliography): New function.
3896 (org-export-html-validation-link): New variable.
3897 (org-export-as-html): Add validation link to exported page.
3899 * org.el (org-match-sparse-tree): Renamed from
3900 `org-tags-sparse-tree'.
3901 (org-tags-sparse-tree): New alias.
3903 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3905 * org.el (org-get-valid-level): Catch the case where the level
3908 * org-clock.el (org-clock-find-position): Better indentation of
3911 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3913 * org-agenda.el (org-agenda-quit): Delete window only when the
3914 frame-setup was not `current-window'.
3916 * org.el (org-tag-persistent-alist): New option.
3917 (org-startup-options): Add keyword `noptag'.
3918 (org-fast-todo-selection): Handle :newline correctly.
3919 (org-set-tags): Handle :newline correctly.
3920 (org-fast-tag-selection): Handle :newline correctly.
3922 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3924 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3926 (org-export-ascii-push-links): Fix bug with pussing links into the
3929 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3931 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3932 pasting at top level.
3934 * org-bbdb.el: Improve documentation.
3936 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3938 * org-list.el (org-insert-item): Only consider insert empty lines
3939 is `org-empty-line-terminates-plain-lists' is not nil.
3941 * org.el (org-blank-before-new-entry): Mention the dependence on
3942 `org-empty-line-terminates-plain-lists' in the docstring.
3944 * org-publish.el (org-publish-get-project-from-filename): New
3945 optional argument UP. Only find the top project if UP is set.
3946 (org-publish-current-project): Find the top encloding project.
3948 * org-agenda.el (org-agenda-before-write-hook)
3949 (org-agenda-add-entry-text-maxlines): New options.
3950 (org-write-agenda): Run the new hook in the temporary buffer.
3951 (org-agenda-add-entry-text): New function.
3952 (org-write-agenda): Implement PDF export, using ps2pdf.
3954 * org.el (org-global-properties-fixed, org-global-properties):
3955 Improve documentation string.
3957 * org-exp.el (org-export-ascii-links-to-notes): New option.
3958 (org-export-as-ascii): Handle links better.
3959 (org-export-ascii-wrap, org-export-ascii-push-links): New
3962 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3964 * org-agenda.el (org-agenda): Make prefix arg optional.
3965 (org-agenda-search-headline-for-time): New option.
3966 (org-format-agenda-item): Honor
3967 `org-agenda-search-headline-for-time'.
3969 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3972 * org.el (org-self-insert-cluster-for-undo): New option.
3973 (org-self-insert-command): Cluster undo for 20 characters.
3974 (org-self-insert-command-undo-counter): New variable.
3976 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3978 * org-exp.el (org-export-as-html): Fix problem with closing colone
3981 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3983 * org-export-latex.el (org-export-as-latex)
3984 (org-export-latex-first-lines): Avoid modification flag when
3985 adding or removing text properties.
3986 (org-export-latex-fontify): Catch error when org-emph-alist has
3987 entries that are not defined for LaTeX export.
3989 * org.el (orgstruct++-mode): New function.
3990 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3991 (org-context-p): Allow detecting item context after the first line
3993 (orgstruct-make-binding): Detect if item-body context should be
3995 (orgstruct-is-++): New variable.
3996 (org-add-planning-info): Catch the case when there is no planning
3997 info yet and the call does not want to add anything, only maybe
3998 tries to remove something.
3999 (org-special-ctrl-a/e): All value to be a cons cell with separate
4000 settings for `C-a. and `C-e'.
4001 (org-beginning-of-line, org-end-of-line): Honor separate values
4002 for `C-a' and `C-e'.
4004 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
4006 * org.el (org-reload): New command.
4008 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
4010 * org-exp.el (org-export-htm-get-tag-class-name)
4011 (org-export-htm-get-todo-kwd-class-name): New functions.
4012 (org-export-html-tag-class-prefix)
4013 (org-export-html-todo-kwd-class-prefix): New options.
4014 (org-export-as-html): Call
4015 `org-export-html-get-todo-kwd-class-name'.
4016 (org-html-level-start): Wrap tags into classes.
4017 (org-export-html-get-tag-class-name)
4018 (org-export-html-get-todo-kwd-class-name): New functions.
4020 * org-export-latex.el (org-export-latex-collect-header-macros):
4021 Remove fields that are used anyway.
4022 (org-export-latex-make-header): Insert the options earlier.
4024 * org-agenda.el (org-agenda-get-progress): Fix bug with state
4027 * org-list.el (org-indent-item): Allow point to be at the end of
4030 * org.el (org-metaleft, org-metaright): Be more accurate about
4031 detecting a region where commands apply.
4033 * org-compat.el (org-cursor-to-region-beginning): New function.
4035 * org.el (org-priority): Also find invisible heading.
4037 * org-colview-xemacs.el (org-columns-edit-value): No special
4038 treatment for `org-todo' prefix.
4040 * org-colview.el (org-columns-edit-value): No special treatment
4041 for `org-todo' prefix.
4043 * org-remember.el (org-remember-apply-template): Use
4044 `org-completing-read-no-ido'.
4046 * org.el (org-completing-read-no-ido): New function.
4047 (org-make-tags-matcher, org-set-property): Use
4048 `org-completing-read-no-ido'.
4050 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4052 (org-export-as-latex): Import in-buffer settings as TeX macros.
4053 (org-export-latex-make-header): Additional parameter OPT-DEFS.
4054 (org-export-latex-collect-header-macros): New function.
4056 * org.el (org-refile-get-location): Turn off
4057 `partial-completion-mode'.
4059 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
4061 * org.el (org-block-todo-from-checkboxes): Announce that
4062 checkboxes are the culprit.
4063 (org-block-todo-from-children-or-siblings): Call
4064 `org-up-heading-all instead' of `outline-up-heading'.
4066 * org-agenda.el (org-agenda-show-1): Renamed from
4068 (org-agenda-show): Re-install the old version for now.
4069 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
4070 variable into the blokker hook, so that the checkbox checker can
4071 anounce that it caused the blocking.
4073 * org.el (org-track-ordered-property-with-tag): New option.
4074 (org-toggle-ordered-property): Honor
4075 `org-track-ordered-property-with-tag'.
4076 (org-tag-alist): Add newline options.
4077 (org-set-regexps-and-options): Separate option lines imply a
4079 (org-set-regexps-and-options, org-assign-fast-keys)
4080 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4082 (org-indent-line-function): Make sure this works even if there is
4083 not `org-drawer-regexp' defined. This can happen when
4084 orgstruct-mode is used in a non-org buffer.
4086 * org-list.el (org-checkbox-blocked-p): New function.
4087 (org-toggle-checkbox): Check for blocking.
4089 * org.el (org-modules): Add an entry for org-R.el.
4091 * org-agenda.el (org-agenda-todo-ignore-with-date)
4092 (org-agenda-todo-ignore-scheduled)
4093 (org-agenda-todo-ignore-deadlines): Mention the variable
4094 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4096 * org.el (org-get-wdays): Find the warning period also if it is in
4098 (org-ido-completing-read): Provide the correct arguments to
4099 ido-completing-read and bind `ido-enter-matching-directory' to
4102 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
4104 * org.el (org-olpath-completing-read): Never use ido for this
4107 * org-exp.el (org-export-normalize-links): Use new macro.
4109 * org-macs.el (org-if-unprotected-at): New macro.
4111 * org-agenda.el (org-agenda-show): Allow numerical prefix
4112 arguments to specify how much context should be shown.
4113 (org-agenda-cycle-show): New command, could be bound to SPC in
4114 org-agenda-mode-map.
4116 * org-exp.el (org-html-level-start): Space after section number.
4118 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
4120 * org-agenda.el (org-agenda-get-sexps): Add todo state as
4121 property, for sorting.
4122 (org-cmp-todo-state): Get the applicable TODO keywords directly
4124 (org-run-agenda-series, org-agenda-list, org-search-view)
4125 (org-todo-list, org-tags-view): Only fit agenda window when the
4126 whole series is done.
4128 * org.el (org-scan-tags): Add todo state as property, for sorting.
4130 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4131 `org-agenda-overriding-header' as an option.
4132 (org-agenda-list): Honor org-agenda-overriding-header'.
4134 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
4136 * org-list.el (org-toggle-checkbox): Improve cursor positioning
4137 after removing a checkbox.
4139 * org.el (org-show-entry): Make this work correctly also if it is
4140 the last entry in the file.
4141 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4142 falling back to normal, default command.
4143 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4144 item, call the checkbox toggler to get a box.
4146 * org-list.el (org-toggle-checkbox): Make double prefix set the
4148 (org-fix-bullet-type): Only replace bullet if it is changed.
4149 (org-renumber-ordered-list): Handle case when first item does not
4152 * org.el (org-add-log-setup): Fix positioning when
4153 `org-log-states-order-reversed' is nil.
4155 * org-clock.el (org-clock-in): Fix positioning when
4156 `org-log-states-order-reversed' is nil.
4157 (org-clock-find-position): Fix positioning when
4158 `org-log-states-order-reversed' is nil.
4160 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
4162 * org-clock.el (org-clock-into-drawer): Take default from
4163 `org-log-into-drawer'.
4164 (org-clock-find-position): Look for the correct drawer.
4166 * org.el (org-log-into-drawer): Renamed from
4167 `org-log-state-notes-into-drawer'.
4168 (org-log-state-notes-into-drawer): New variable alias.
4169 (org-add-log-setup): Make drawer name default to LOGBOOK, not
4171 (org-insert-property-drawer): Also skip LOGBOOK drawers.
4173 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
4175 * org-agenda.el (org-agenda): Fix docstring.
4177 * org.el ("org-plot"): Help loading org-plot.
4178 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4179 (org-metadown-hook, org-shiftmetaleft-hook)
4180 (org-shiftmetaright-hook, org-shiftmetaup-hook)
4181 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4182 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4183 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4184 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4186 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4187 for selecting files with any (and even without) extension.
4189 * org.el (org-save-all-org-buffers): Also save id locations.
4190 (org-revert-all-org-buffers): Also load id locations.
4192 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4193 * org.el (org-drawers): Add LOGBOOK to the default drawers.
4194 (org-log-state-notes-into-drawer): New option.
4195 (org-add-log-setup): Place the sate note marker into the drawer,
4196 create drawer when necessary.
4197 (org-refile-targets): Document special interpretation of LEVEL
4198 when odd-levels are used.
4200 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4202 * org.el (org-store-log-note): Fix note indentation when adding
4203 notes to end of list.
4205 * org-exp.el (org-export-as-html): Add TODO keyword as extra
4206 class, so that each keyword can get special colors through CSS.
4208 * org-clock.el (org-clock-out): Add another nil for the previous
4209 state into the call to `org-add-log-setup'.
4211 * org.el (org-log-note-previous-state): New variable.
4212 (org-log-note-headings): New %S escape for old state.
4213 (org-todo): Call the note setup with the old state as an
4215 (org-add-note): Add another nil for the previous state into the
4216 call to `org-add-log-setup'.
4217 (org-add-log-setup): New argument PREV-STATE.
4218 (org-add-log-note): Handle new %S escape.
4219 (org-store-log-note): Handle new %S escape.
4221 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
4223 * org-clock.el (org-clock-find-position): Do not swallow an item
4224 less indented than the CLOCK line itself.
4225 (org-clock-in): Push markers to lin after the clock line.
4226 (org-clock-find-position): Handle values of
4227 `org-clock-into-drawer' smaller than 2.
4229 * org-exp.el (org-html-level-start): Add a CSS class to section
4231 (org-export-html-toplevel-hlevel): Better documentation of the
4232 influence of this variables on H levels and css classes in
4235 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
4237 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4238 timestamp and nottimestamp to the chooe menu.
4240 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4241 (org-revert-all-org-buffers): New command.
4243 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
4245 * org.el (org-return): Implement `org-return-follows-link' in the
4246 function org-return. This is more robust than using the mouse
4248 (org-set-regexps-and-options): Match more general #+TODO lines.
4249 (org-make-options-regexp): New optional argument EXTRA, for an
4251 (org-tab-follows-link): Mark as deprecated.
4253 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
4255 * org-exp.el (org-export-preprocess-string): Remove clock lines
4256 earlier, so that they cannot cotribute to verbatim snippets.
4258 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
4260 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4261 for finding drawers.
4262 (org-export-as-ascii, org-export-as-html): Count levels relative
4263 to the subtree header.
4264 (org-get-min-level): New optional argument OFFSET.
4265 (org-export): Make sure point is restored after popping up that
4268 * org.el (org-do-sort): Also take an inactive timestamp if no
4269 active one is found.
4271 * org-colview-xemacs.el (org-columns-capture-view): Copy before
4272 deleting duplicates.
4274 * org-colview.el (org-columns-capture-view): Copy before
4275 deleting duplicates.
4277 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4278 text before first headline.
4280 * org.el (org-format-latex): Do not convert LaTeX fragments in
4283 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
4285 * org-exp.el (org-export-html-style-default): Use color values
4286 instead of names for XHTML validation.
4288 * org.el (org-get-scheduled-time, org-get-deadline-time): New
4290 (org-return-follows-link): Revert making this the default untile
4291 issues are resolved.
4293 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4296 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4298 * org.el (org-mode): Make dependence stuff work more reliably.
4299 (org-update-parent-todo-statistics): Fix bug with updating
4302 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4303 ~ as verbatim delimiters.
4305 * org-exp.el (org-export-html-format-image): New argument
4307 (org-export-as-html): Pass par-open to
4308 `org-export-html-format-image'.
4310 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
4312 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4313 (org-use-fast-todo-selection, org-tags-column): New default
4314 setting for variables, based on a poll what typical uses use.
4316 * org-agenda.el (org-agenda-sorting-strategy)
4317 (org-agenda-tags-column): New default setting for variables, based
4318 on a poll what typical uses use.
4320 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
4322 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4323 blocked entries from setting the blocked tag.
4325 * org-exp.el (org-export-html-footnotes-section): Use a more
4326 consistent id for footnotes.
4328 * org-export-latex.el (org-export-latex-classes): Remove the
4329 a4paper option from the default styles.
4331 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4333 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4334 (org-block-todo-from-checkboxes): New function.
4335 (org-todo): Make tripple prefix arg circumvent blocking.
4337 * org-timer.el (org-timer): Provide the timer feature.
4339 * org.el (org-require-autoloaded-modules): Add a few more files to
4340 the list of autoloaded modules.
4342 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4344 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4346 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4347 drawers that are unprotected.
4348 (org-export-html-format-image): Make sure inlined LaTeX fragment
4349 images remain inlined.
4351 * org.el (org-toggle-ordered-property): New function.
4352 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4353 (org-org-menu): Add menu entries for TODO dependencies.
4355 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4357 * org.el (org-default-properties): Add ORDERED to the default
4358 properties, to get completion support for it.
4360 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4362 * org.el (org-update-parent-todo-statistics): Update more than one
4365 * org-agenda.el (org-agenda-get-todos): Start search from correct
4368 * org.el (org-fast-todo-selection): Make sure TODO selection does
4369 not change buffer position.
4371 * org-list.el (org-toggle-checkbox): Implement adding or removing
4372 checkboxes from line or region when called with a prefix
4375 * org-rmail.el (org-rmail-store-link): Protect the call to
4376 `rmail-narrow-to-non-pruned-header'.
4378 * org-clock.el (org-clock-special-range): Fix week display in
4381 * org-exp.el (org-get-current-options): Fix bug when in indirect
4384 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4386 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4387 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4388 (org-agenda-dim-blocked-tasks): New function.
4390 * org.el (org-enforce-todo-dependencies): New option.
4391 (org-block-todo-from-children-or-siblings): New function.
4393 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4395 * org.el (org-todo): Return correct state type even if the blocker
4397 (org-modifier-cursor-error): Renamed from
4398 `org-shiftcursor-error'.
4399 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4400 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4402 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4403 to get real errors from the blocker hook.
4405 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4407 (org-set-visibility-according-to-property): Turn off the setting
4408 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4411 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4413 * org.el (org-support-shift-select): New option.
4414 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4415 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4416 selection outside contexts.
4418 * org-list.el (org-at-item-bullet-p): New function.
4420 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4423 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4425 (org-insert-footnote-reference-near-definition): Remove
4426 unnecessary let form.
4428 * org-export-latex.el (org-export-latex-first-lines): Add
4429 OPT-PLIST parameter.
4430 (org-export-as-latex): Call `org-export-latex-first-lines' with
4431 opt-plits parameter.
4432 (org-export-latex-preprocess): Remove unnecessary variables.
4434 * org-exp.el (org-infile-export-plist)
4435 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4436 (org-export-remove-headline-metadata)
4437 (org-export-get-title-from-subtree, org-get-min-level)
4438 (org-html-do-expand): Remove innecessary let form.
4440 * org-colview-xemacs.el (org-columns-display-here): Remove
4441 unnecessary variables.
4443 * org-colview.el (org-columns-display-here): Remove unnecessary
4446 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4449 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4450 unnecessary variables.
4452 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4453 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4456 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4457 (org-compact-display-after-subtree-move): Remove unnecessary
4459 (org-edit-fixed-width-region): Remove unnecessary variables.
4460 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4461 (org-olpath-completing-read): Remove unnecessary variable.
4462 (org-auto-repeat-maybe): Remove unnecessary variable.
4463 (org-map-entries): Remove unnecessary variable.
4464 (org-buffer-property-keys, org-imenu-get-tree)
4465 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4467 -----------------------------------------------------------------
4469 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4470 * org-exp.el (org-export-remove-timestamps): Never remove
4471 timestamps from tables.
4473 * org-export-latex.el (org-export-latex-first-lines): Add more
4474 options to the preprocessing of the text before the first
4477 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4479 * org-faces.el (org-clock-overlay): Make face compatible with
4482 * org.el (org-yank): Add property for delete-selection mode.
4484 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4486 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4489 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4492 * org-exp.el (org-export-as-html): Remove the initial space from
4495 * org.el (org-scan-tags): Call
4496 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4498 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4499 customization groups.
4500 (org-agenda-tags-todo-honor-ignore-options): New option.
4501 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4503 (org-agenda-get-todos): Use
4504 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4506 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4508 * org-exp.el (org-export-format-source-code-or-example): Escape
4509 HTML characters also in examples that anre not treated with
4510 htmlize. Also, just switch to EXAMPLE processing if we do not
4511 have a good version of htmlize.
4513 * org-rmail.el: Fix copyright notice.
4515 * org.el (org-activate-footnote-links): Improve footnote link
4518 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4519 a footnote definition at the end of the file.
4521 * org-table.el (org-table-get-specials): Add an imagined hline at
4522 the end of the table. This can be useful for references that want
4523 to go to the end of the table. Also fix bug when computing last
4524 row constants, in tables that do not start right at the right
4526 (org-table-eval-formula): Match and replace remove references.
4527 (org-table-formula-substitute-names): Make sure that names inside
4528 a "remote" call are left alone, the will be replaced later when
4529 the remote call is handled.
4530 (org-table-convert-refs-to-rc): Do not convert things that might
4531 look like a reference, but are really part of an ID or namei n a
4533 (org-table-get-remote-range): New function.
4535 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4537 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4539 * org-clock.el (org-clock-put-overlay): Use new face instead of
4540 `secondary-selection'.
4542 * org-faces.el (org-clock-overlay): New face.
4544 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4546 * org-exp.el (org-get-current-options): Include the option for
4547 publishing time stamps.
4549 * org.el (org-toggle-heading): Renamed from
4550 `org-toggel-region-headings'.
4551 No longer needs a region defined, but will use it if there is one.
4552 (org-ctrl-c-star): Simplified, relying more on the internal
4553 workings of `org-toggle-heading'.
4554 (org-toggle-item): Renamed from `org-toggle-region-items'.
4555 No longer needs a region defined, but will use it if there is one.
4556 (org-ctrl-c-minus): Simplified, relying more on the inernal
4557 workings of `org-toggle-item'.
4559 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4560 environment detection. Also, do real changes only in unprotected
4563 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4565 * org-export-latex.el (org-export-latex-quotation-marks): Use
4566 `org-if-unprotected-1'.
4567 (org-export-latex-set-initial-vars): Check for class definition in
4570 * org-macs.el (org-if-unprotected-1): New macro.
4572 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4574 * org-compat.el (org-count-lines): New function.
4576 * org-exp.el (org-export-format-source-code-or-example): Handle
4577 switches related to text areas.
4579 * org.el (org-activate-footnote-links): Don't allow match inside a
4582 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4584 * org-export-latex.el (org-export-latex-links): Keep a relative
4585 path relative also after export.
4587 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4589 * org.el (org-make-tags-matcher): Never use IDO for completing the
4590 tags matcher match string.
4591 (org-completing-read): Also remove the special biding for "?".
4593 * org-attach.el (org-attach-allow-inheritance): New option.
4594 (org-attach-inherited): New variable.
4595 (org-attach-dir): Handle properties related to the attachment
4597 (org-attach-check-absolute-path): New function.
4598 (org-attach-set-directory, org-attach-set-inherit): New commands.
4599 (org-attach): Accommodate the new commands in the dispatcher.
4601 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4603 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4604 `window-full-width-p'.
4606 * org-exp.el (org-export-as-html): Only check for images files
4607 that really can be inlined
4609 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4610 list of extensions to be a parameter.
4612 * org-exp.el (org-export-html-inline-image-extensions): New
4615 * org-agenda.el (org-prepare-agenda): Use
4616 `org-agenda-block-separator'.
4617 (org-agenda-block-separator): New option.
4619 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4621 * org-export-latex.el (org-export-latex-tables): Call
4622 `org-table-clean-before-export' with the new optional argument.
4624 * org-exp.el (org-table-clean-before-export): New optional
4625 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4628 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4630 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4633 * org-colview.el (org-colview-construct-allowed-dates): Better
4634 error catching when a date/time property does not have allowed
4637 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4638 Better error catching when a date/time property does not have
4639 allowed values defined.
4641 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4643 * org.el (org-map-entries): Restore point and restriction after
4646 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4648 * org.el (org-time=, org-time<, org-time<=, org-time>)
4649 (org-time>=, org-time<>): Make sure both values are dates.
4651 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4653 * org-archive.el (org-extract-archive-heading): Allow %s for file
4654 name also in achive location heading.
4656 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4658 * org-archive.el (org-add-archive-files): Uniquify the list before
4661 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4663 * org-compat.el (org-fit-window-to-buffer): Use
4664 `window-full-width-p'.
4666 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4667 space after the colon in short examples.
4669 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4670 enforce a space after the colon. However, we also allow lines
4671 that are *only* a colon.
4672 (org-export-as-html): Enforce the space after the colon in short
4674 (org-export-preprocess-string): Do the colon example protection
4676 (org-export-remove-timestamps): Do not check for protection at the
4679 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4681 * org.el (org-format-latex-options): Add new matcher for single
4682 letters between dollars.
4683 (org-get-header): Function removed.
4684 (org-heading-components): New function.
4686 * org-exp.el (org-export-define-heading-targets): Record ID's also
4687 as alternative targets.
4688 (org-export-as-html): Interpret "id:" links to other files by
4689 preserving the relative path.
4691 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4694 * org-exp.el (org-export-normalize-links): Protect the main link,
4695 to avoid special character processing.
4697 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4699 (org-export-latex-special-string-regexps): Variable removed.
4700 (org-export-latex-keywords): Use the new regexp.
4702 * org-exp.el (org-export-handle-include-files): Fetch switches and
4703 put them into the BEGIN statement.
4705 * org-timer.el (org-timer-mode-line-string): New variable.
4707 * org-clock.el (org-clock-mode-line-map): Renamed from
4708 `org-clock-mode-map'.
4709 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4710 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4711 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4712 (org-clock-remove-overlays): Renamed from
4713 `org-remove-clock-overlays'.
4715 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4716 and mode line display.
4717 (org-timer-stop): New command.
4718 (org-timer-seconds): Return correct time when timer is paused.
4719 (org-timer-mode-line-timer): New variable.
4720 (org-timer-set-mode-line, org-timer-update-mode-line): New
4723 * org.el (org-insert-heading): Handle new value `auto' for
4724 `org-blank-before-new-entry'.
4725 (org-org-menu): Add new items for timer functions.
4727 * org-list.el (org-insert-item): Handle new value `auto' for
4728 `org-blank-before-new-entry'.
4730 * org.el (org-blank-before-new-entry): New value `auto', made
4733 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4735 * org-exp.el (org-export-normalize-links): If the link is also
4736 used as the description, protect the description.
4738 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4740 * org.el (org-closest-date): Fix bug with yearly repeats, in
4741 combination with preference of the past as it is used for deadline
4742 and scheduling search.
4744 * org-exp.el (org-html-handle-time-stamps): No longer check for
4745 the `org-export-with-timestamps' option, because the preprocesser
4746 has taken care of this already.
4748 * org.el (org-entry-properties): Catch the case when this is
4749 called in a non-org-mode file.
4751 * org-export-latex.el (org-export-latex-remove-from-headlines):
4752 Variable made obsolete, also LaTeX export now uses the standard
4754 (org-export-as-latex): Add the timestamps parameter to the
4755 preprocessor parameter list.
4756 (org-export-latex-content): Export the remaining keywords without
4757 considering to remove them.
4758 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4759 Use bold font instead of tt font for the keywords.
4760 (org-export-latex-fontify-headline): Format headlines, assuming
4761 that all keywords still present should be published.
4762 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4763 publish what ever remains of the time stamps.
4764 (org-export-latex-list-parameters): New option.
4765 (org-export-latex-lists): Pass additional parameters to the list
4768 * org-exp.el (org-export-preprocess-string): Remove clock lines
4769 and timestamps already in the preprocesor.
4770 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4772 (org-export-as-ascii, org-export-as-html): Add the timestamps
4773 parameter to the preprocessor parameter list.
4775 * org-list.el (org-list-parse-list): Parse for checkboxes.
4776 (org-list-to-generic): Introduce and handle new parameters :cbon
4778 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4779 optional parameter PARAMS.
4781 * org-export-latex.el (org-export-latex-special-chars): Fix
4782 problems with interpreting dollar signs.
4783 (org-inside-latex-math-p): New function.
4784 (org-export-latex-preprocess): Protect all the math fragments.
4786 * org.el (org-latex-regexps): Allow a dash after a dollar.
4788 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4791 * org-agenda.el (org-run-agenda-series): Have series options set
4792 when finalizing the agenda.
4794 * org-exp.el (org-export-format-source-code-or-example): Protect
4795 the converted examples.
4797 * org.el (org-set-regexps-and-options): Fix the regexp
4798 `org-complex-heading-regexp'.
4800 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4802 * org.el (org-edit-src-get-label-format): New function.
4803 (org-coderef-label-format): New option.
4804 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4805 a label format specification and make sure it is used in the edit
4807 (org-edit-src-get-label-format): New function.
4808 (org-store-link): Handle new coderef formats.
4809 (org-link-search): Handle new coderef formats.
4811 * org-footnote.el (org-footnote-create-definition)
4812 (org-footnote-goto-local-insertion-point): Make footnote insertion
4813 work correctly when the "Footnotes" headline is the last line in
4816 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4819 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4821 * org-w3m.el (org-w3m): New customization group.
4822 (org-w3m-deactivate-mark): New option.
4823 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4826 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4828 * org.el (org-set-font-lock-defaults): Trigger footnote
4830 (org-activate-footnote-links): New function.
4831 (org-activate-links): New entry `footnote'.
4833 * org-faces.el (org-footnote): New face.
4835 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4837 * org-macs.el (org-re): Handle the [:word:] class.
4839 * org-exp.el (org-export-preprocess-string): Call
4840 `org-export-protect-colon-examples'.
4841 (org-export-protect-colon-examples): Renamed from
4842 `org-export-protect-examples', and scope limited to lines starting
4845 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4847 * org-exp.el (org-export-preprocess-string): Move the preprocess
4848 hook to after turning on Org-mode.
4849 (org-export-preprocess-after-include-files-hook)
4850 (org-export-preprocess-after-tree-selection-hook)
4851 (org-export-preprocess-before-backend-specifics-hook)
4852 (org-export-preprocess-final-hook): New hooks.
4853 (org-export-preprocess-string): Run the new hooks.
4855 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4857 * org-footnote.el: New file.
4859 * org.el (org-footnote): Require footnote code.
4860 (org-startup-options): Add new footnote options.
4861 (org-mode-map): New keybindig for footnotes.
4862 (org-ctrl-c-ctrl-c): Add function at footnotes.
4863 (org-org-menu): New menu entries for footnotes.
4865 * org-export-latex.el (org-export-as-latex): Pass footnote
4866 variable to preprocessor.
4867 (org-export-latex-preprocess): Treat multiple references to a
4870 * org-exp.el (org-export-preprocess-string): Call
4871 `org-footnote-normalize'.
4872 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4874 (org-export-as-html): Treat multiple references to a footnote.
4876 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4878 * org-export-latex.el (org-export-latex-links): Handle coderef
4881 * org.el (org-bracket-link-analytic-regexp++): New variable.
4882 (org-make-link-regexps): Initialize
4883 `org-bracket-link-analytic-regexp++'.
4884 (org-store-link): Implement special case in edit-src buffer.
4885 (org-insert-link): No use of ide to insert stored links.
4886 (org-link-search): Implement special case for coderefs.
4888 * org-exp.el (org-export-html-scripts): New constant.
4889 (org-export-html-style-default): Add a new style for highlighted
4891 (org-export-code-refs): New variable.
4892 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4893 Call `org-export-replace-src-segments-and-examples'
4894 No longer call `org-export-protect-examples'.
4895 (org-export-target-internal-links): Take care of coderef targets.
4896 (org-export-last-code-line-counter-value): New variable.
4897 (org-export-replace-src-segments-and-examples): Renamed from
4898 `org-export-replace-src-segments', and modified.
4899 (org-export-format-source-code-or-example): Renamed from
4900 `org-export-format-source-code'.
4901 (org-export-number-lines): New function.
4902 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4904 --------------------------------------------------------------------------
4906 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4908 * org-remember.el (org-remember-handler): Safer way to get a new
4909 buffer accessing the target file.
4911 * org.el (org-refile-get-location): Handle case of current buffer
4912 not having a file associated with it.
4914 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4916 * org-table.el (org-table-get-formula): Only ask to overwrite
4917 field formula if there really is one.
4919 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4920 number, by converting these to a string.
4922 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4923 located in a different file.
4925 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4928 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4930 * org.el (org-completion-use-ido): Enhance docstring of
4931 `org-completion-use-ido'.
4933 * org-export-latex.el (org-export-latex-make-header): Double the %
4934 in the time stamp format.
4935 (org-export-latex-special-chars): Handle case where there is no
4938 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4940 * org.el (org-get-refile-targets, org-refile-get-location): Use
4941 expanded file name to improve comparison.
4943 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4945 * org.el (org-scan-tags): Rescan for tags, to get the correct
4946 upcase/downcase stuff. This slows things down for now, but it
4948 (org-mode): Make sure the tag-faces regexp is initialized.
4950 * org-export-latex.el (org-export-latex-links): Fix bug with
4953 * org-table.el (org-table-get-specials): Set
4954 `org-table-current-last-data-line'.
4955 (org-table-current-last-data-line): New variable.
4956 (org-table-insert-column, org-table-delete-column)
4957 (org-table-move-column, org-table-fix-formulas): Call
4958 `org-table-fix-formulas' a second time to fix the $LR references.
4959 (org-table-get-specials): Add the $LR references to the tables.
4960 (org-table-get-formula): Do not offer last-row names as LHS of
4963 * org.el (org-store-link): Capture link description from
4964 `org-id-store-link'.
4966 * org-exp.el (org-export-html-format-image): Add the / to the end
4968 (org-export-format-source-code): Surround example by empty lines,
4969 to make sure it will not be inside a paragraph.
4971 * org.el (org-ido-switchb): New function.
4973 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4975 * org-agenda.el (org-agenda-show): New prefix argument
4978 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4981 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4982 `org-agenda-change-all-lines'.
4983 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4984 tags are now retrieved locally.
4986 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4988 * org.el (org-get-outline-path): Fix bug if level is not given.
4989 (org-org-menu): Do not quote function in menu vector.
4991 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4994 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4996 * org.el (org-refile): Avoid refiling to within the region to be
4999 * org-export-latex.el (org-export-latex-special-chars): Replace
5000 special characters also in tables.
5002 * org-agenda.el (org-agenda-change-all-lines): New argument
5004 (org-agenda-set-tags): Cet the new tags and pass them to
5005 `org-format-agenda-item'.
5007 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
5009 * org-export-latex.el (org-export-latex-classes): Add longable as
5010 a default package to all classes.
5011 (org-export-latex-tables): Handle the longtable attribute and the
5014 * org-table.el (orgtbl-to-generic): Handle tables that start with
5017 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5018 \verb for colde-like snippets.
5019 (org-export-as-latex): Fix issues with region export.
5021 * org.el (org-up-heading-safe): Speed up function by using a
5022 direct regexp search.
5023 (org-olpa): New variable.
5024 (org-get-outline-path): Speed-up path constructions in cases where
5025 this is possible because the entire hierarchy is scanned anyway.
5026 (org-refile-get-location): Don't compare the truenames of files,
5028 (org-goto-max-level): New option.
5029 (org-goto): Use `org-goto-max-level'.
5031 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
5033 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5034 Strip angle brackets from message-ids in the former and don't do
5036 (org-gnus-follow-link): Open summary reliable, even if the last
5037 messages were deleted, and handle empty groups, too.
5039 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
5041 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5042 instead of \texttt for the =...= and ~===~ emphasis environments.
5043 (org-export-as-latex): Remove any old :org-license-to-kill text
5045 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5046 (org-export-latex-make-header): Add some hard space after the
5048 (org-export-latex-first-lines): Accept RBEG argument. Mark
5049 exported text so that it will be excuded in further steps.
5051 * org-table.el (org-table-get-specials): Make @0 reference the
5052 last line in a table.
5053 (org-table-recalculate): Improve docstring.
5055 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
5057 * org.el (org-log-done): Fix docstring.
5059 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
5061 * org-exp.el (org-export-html-format-image): Fix bugs.
5063 * org-export-latex.el (org-export-latex-tables)
5064 (org-export-latex-links): Implement attribute, label, and caption
5067 * org-exp.el (org-export-html-style-default): Add style
5068 definitions for the figure div.
5069 (org-export-preprocess-string, org-export-as-html): Implement
5070 attribute, label, and caption handling.
5071 (org-export-attach-captions-and-attributes): New function.
5072 (org-export-html-format-image): New function.
5073 (org-format-org-table-html): Implement attribute, label, and
5076 * org.el (org-find-text-property-in-string): New function.
5077 (org-extract-attributes): Use the property org-attr instead of
5078 org-attrobutes, because this property is now set with the #+ATTR
5081 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
5083 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5084 the case that FROM is nil.
5086 * org.el (org-before-first-heading-p): New function.
5088 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5090 * org-exp.el (org-export-as-html): Do not add a space before
5091 enforces line breaks.
5092 (org-export-as-html): Close paragraph before blockquote and verse
5095 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
5097 * org-id.el (org-id-locations-file): Wrap file name with
5098 `convert-standard-filename'.
5099 (org-id-files): New variable.
5100 (org-id-use-hash): New option.
5101 (org-id-update-id-locations): Also search in all files current
5102 listed in `org-id-files'. Convert the resulting alist to a hash
5103 if the user customation says so.
5104 (org-id-locations-save): Handle he case if `org-id-locations' is a
5106 (org-id-locations-load): Convert the alist to a hash.
5107 (org-id-add-location): Handle the hast case.
5108 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5110 (org-id-hash-to-alist, org-id-alist-to-hash)
5111 (org-id-paste-tracker): New functions.
5113 -------------------------------------------------------------------------
5115 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5117 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5118 bindings of calendar variables.
5120 * org-table.el (org-table-find-row-type): Renamed from
5121 `org-find-row-type'.
5122 (org-table-rewrite-old-row-references): Renamed from
5123 `org-rewrite-old-row-references'.
5124 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5125 (org-table-cleanup-narrow-column-properties): Renamed from
5126 `org-cleanup-narrow-column-properties'.
5128 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5130 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5131 for better error messages.
5132 (org-table-get-descriptor-line): Supply the new arguments to
5133 `org-find-row-type'.
5134 (org-table-error-on-row-ref-crossing-hline): New option.
5136 * org.el (org-target-link-regexp): Make buffer-local.
5137 (org-move-subtree-down): Fix bug with trees at beginning of
5140 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
5142 * org-faces.el (org-set-tag-faces): New function.
5143 (org-tags-special-faces-re): New variable.
5145 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5147 * org-faces.el (org-tag-faces): New option.
5148 (org-tag): Mention `org-tag-faces' in the docstring.
5150 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
5152 * org-exp.el (org-export-html-style-default): Implement new
5155 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5157 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5158 command to the `w3m-minor-mode-map'.
5160 * org-archive.el (org-archive-to-archive-sibling): Protect
5161 `this-command' to avoid appending kills during archiving.
5163 * org-exp.el (org-export-with-priority): New variable.
5164 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5165 instead of internal list of strings and properties.
5166 (org-print-icalendar-entries): Retrieve the location property with
5169 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
5171 * org-exp.el (org-export-with-todo-keywords): New option.
5172 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5174 (org-default-export-plist, org-export-add-options-to-plist)
5175 (org-export-as-ascii, org-export-as-html): Use the new structure
5176 of `org-export-plist-vars'.
5178 * org.el (org-map-entries): Return all values.
5180 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
5182 * org.el (org-matcher-time): Recognize more special values.
5184 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5186 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
5188 * org.el (org-tags-exclude-from-inheritance): New option.
5189 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5190 `org-tags-exclude-from-inheritance'.
5192 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5193 (org-format-agenda-item): Add inherited tags to the agenda line
5194 string, and make sure that properties are kept when downcasing the
5196 (org-agenda-add-inherited-tags): New function.
5197 (org-downcase-keep-props): New function.
5199 * org.el (org-scan-tags): Mark inherited tags with a text
5201 (org-get-tags-at): Mark inherited tags with a text property.
5202 (org-add-prop-inherited): New function.
5204 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5205 (org-agenda-show-inherited-tags): New option.
5207 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
5209 * org.el (org-modules): Add org-w3m to the default modules.
5211 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5213 (orgtabl-create-or-convert-from-region): New command.
5215 * org-exp.el (org-export-as-ascii): Remove the handling of
5217 (org-export-ascii-preprocess): Handle targets already in this
5220 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
5222 * org-timer.el (org-timer-start-time): Define this variable.
5223 (org-timer-item): Make argument optional.
5225 * org-list.el (org-insert-item): Automatically insert a timer item
5226 if the current list is a timer list.
5228 * org-timer.el: New file.
5230 * org-publish.el (org-publish-org-index): Only exclude the index
5231 file in the main directory from being added to the site-map.
5232 (org-publish-get-project-from-filename): If the current project is
5233 a component, start publishing from the parent project.
5235 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5237 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5239 * org-publish.el (org-publish-org-index): Improve removal of
5242 * org-agenda.el (org-get-closed): Re-apply changes
5243 accidentially overwritten by last commit to Emacs.
5245 * org.el (org-outline-path-complete-in-steps): New option.
5246 (org-refile-get-location): Honor
5247 `org-outline-path-complete-in-steps'.
5248 (org-agenda-change-all-lines, org-tags-sparse-tree)
5249 (org-time-string-to-absolute, org-small-year-to-year)
5250 (org-link-escape): Re-apply changes accidentially overwritten
5251 by last commit to Emacs
5253 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5255 * org-clock.el (org-dblock-write:clocktable): Make sure the
5256 clocktable sees the first line.
5257 (org-clock-in): Warn if the clock cannot be resumed.
5259 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
5261 * org.el (org-open-at-point): Fix mixup about interactive and
5262 non-interactive elisp links.
5264 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5266 * org-exp.el (org-export-preprocess-string): Allow one comment
5267 line before the first headline to always be included. This is
5268 to not miss a commented target.
5270 * org-mouse.el (org-mouse-insert-item): Call
5271 `org-indent-to-column' instead of `indent-to', for XEmacs
5274 * org.el (org-refile-targets): Fix customize definition so
5275 that it works also in XEmacs.
5276 (org-fixup-indentation): Call `org-indent-to-column' instead
5277 of `indent-to', for XEmacs compatibility.
5279 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5281 * org-mew.el (org-mew-store-link): Get the correct case folder
5282 for refiled messages.
5284 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5286 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5287 line break indicators.
5289 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5290 ido-completion propts.
5292 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5294 * org-remember.el (org-remember-apply-template): Use
5295 `org-substring-no-properties'.
5297 * org-compat.el (org-substring-no-properties): New function.
5299 * org-remember.el (org-remember-apply-template): Use
5300 `org-substring-no-properties' for compatibility.
5302 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5304 (org-fix-bullet-type): respect
5305 `org-list-two-spaces-after-bullet-regexp'.
5307 * org-clock.el (org-clock-load): Clean up the code.
5309 * org.el (org-adaptive-fill-function): Allow two spaces after
5310 "1." as a list bullet.
5312 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
5314 * org-clock.el (org-clock-save, org-clock-load): Check for
5315 live buffers, existing files, and buffer file names to ensure
5316 consistent information.
5317 (org-clock-persist): Make `clock' a special value of this
5318 variable, and improve docstring.
5320 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5321 (org-get-string-indentation): Adapt indentation when the bullet
5324 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
5326 * org-remember.el (org-remember-finalize): Make interactive.
5327 (org-remember-kill): New command.
5328 (org-remember-finish-immediately): Call `org-remember-finalize'
5330 (org-remember-finalize): Make `org-remember-finalize' an interactive
5333 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5335 * org-remember.el (org-remember-apply-template): No ido completion
5336 for free prompts in remember templates.
5337 (org-remember-before-finalize-hook): New hook.
5338 (org-remember-mode): New minor mode.
5339 (org-remember-apply-template): Turn on `org-remember-mode'.
5341 * org-id.el (org-id-add-location): Avoid error when no file is
5344 * org-remember.el (org-remember-apply-template): Fix the way how
5345 the list of allowed properties is retrieved from the target file.
5347 * org.el (org-insert-link): Improve file link matching.
5349 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5351 * org-colview.el (org-columns-display-here): New argument
5352 DATELINE, to trigger using the new face.
5353 (org-agenda-colview-summarize): Call `org-columns-display-here'
5354 with the new argument.
5356 * org-faces.el (org-agenda-column-dateline): New face.
5358 * org-publish.el (org-publish-org-index): Use index-title at page
5359 title, not as section.
5361 * org-exp.el (org-export-html-format-desc): Respect the
5362 org-protect property.
5363 (org-export-as-html): Protect image specifiers that are in the
5364 description part of a link.
5366 * org.el (org-sort-entries-or-items, org-completing-read)
5367 (org-refile-get-location, org-olpath-completing-read, org-todo)
5368 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5369 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5370 (org-set-property, org-delete-property)
5371 (org-delete-property-globally): Use `org-ido-completing-read'.
5373 * org-remember.el (org-remember-apply-template): Use
5374 `org-ido-completing-read'.
5376 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5378 * org-colview.el (org-columns-edit-value, org-columns-new)
5379 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5381 * org-colview-xemacs.el (org-columns-edit-value)
5382 (org-columns-new, org-insert-columns-dblock): Use
5383 `org-ido-completing-read'.
5385 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5386 `org-ido-completing-read'.
5388 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5389 `org-ido-completing-read'.
5391 * org.el (org-time-today): New function.
5392 (org-matcher-time): Use `org-time-today'. Add special treatment
5393 for "<tomorrow>" and "<yesterday>".
5394 (org-ido-completing-read): New function.
5395 (org-completion-use-ido): New option.
5397 * org-exp.el (org-export-format-source-code): Fix bug in require
5399 (org-export-target-internal-links): Fix bug in search for text
5402 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5404 * org-export-latex.el (org-export-latex-subcontent): Interprete
5405 target aliases as additonal labels.
5407 * org-exp.el (org-export-target-aliases): New variable.
5408 (org-export-preprocess-string)
5409 (org-export-handle-invisible-targets): Fill the alias alist.
5410 (org-export-as-html): Remove the from the anchor, and also
5412 (org-html-level-start): Insert the target aliases as additonal
5415 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5418 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5420 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5421 when following a link with the mouse from the agenda.
5423 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5424 headlines are created.
5426 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5428 * org-exp.el (org-export-preprocess-string): Reorder so that we
5429 can still see ID properties when we collect targets.
5430 (org-export-target-internal-links): Also store targets for ID's.
5432 * org.el (org-link-translation-function): New option.
5433 (org-open-at-point): Call `org-link-translation-function' if
5435 (org-translate-link): New function.
5436 (org-translate-link-from-planner): New function.
5437 (org-open-at-point): Allow interactive commands in elisp links.
5439 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5440 iCalendar quoting. The new one seems to caus problems with
5443 * org.el (org-yank): Set `this-command' to `yank', so that
5444 `yank-pop' will work.
5446 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5448 * org-id.el (org-id-search-archives): New option.
5450 * org.el (org-link-to-org-use-id): New option.
5451 (org-store-link): Use `org-link-to-org-use-id'.
5452 (org-id): Make org-id.el a standard component.
5454 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5456 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5457 hexified version of the tag.
5459 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5460 compliance as far as quoting is concerned.
5462 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5464 * org.el (org-up-heading-safe, org-forward-same-level): Always
5465 call `org-back-to-heading' instead of `outline-back-to-heading'.
5466 (org-back-to-heading): New wrapper around outline-back-to-heading,
5467 with a useful error message telling where the error happened.
5469 * org-list.el (org-update-checkbox-count): Always call
5470 `org-back-to-heading' instead of `outline-back-to-heading'.
5472 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5473 has an `alt' attribute, to ensure XHTML validation.
5475 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5477 * org-publish.el (org-publish-attachment): Allow publishing to
5478 overwrite attachment files.
5480 * org-agenda.el (org-agenda-timerange-leaders): New option.
5481 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5483 * org.el (org-edit-src-exit): Untabify ASCII image before
5497 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5499 * org.el (org-yank): Make any prefix force normal yanking.
5500 Suppress folding if text would be swallowed into a folded
5502 (org-yank-folded-subtrees, org-yank): Docstring updates.
5504 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5507 * org-exp.el (org-export-language-setup): Add Catalan and
5508 Esperanto language entries.
5510 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5512 * org.el (org-refile): Allow refiling of entire regions.
5514 * org-clock.el (org-clock-time%): New function.
5516 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5517 retrieve property values.
5519 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5521 * org-agenda.el (org-agenda-list): Handle the value `only' of
5522 org-agenda-show-log'.
5523 (org-agenda-log-mode): Interpret a double prefix arg.
5525 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5527 * org-exp.el (org-export-html-footnotes-section): New variable.
5528 (org-export-as-html): Use `org-export-html-footnotes-section' to
5529 insert the footnotes.
5530 (org-export-language-setup): Add "Footnotes" to language words.
5532 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5534 * org.el (org-yank): Fix bug when not inserting a subtree.
5536 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5538 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5539 instead of `vm-beginning-of-message'.
5541 * org.el (org-make-link-regexps): Make sure that links to gnus can
5544 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5546 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5549 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5552 * org.el (org-link-abbrev-alist): Improve customization type.
5554 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5557 * org-agenda.el (org-agenda-get-progress): Renamed from
5558 `org-get-closed'. Implement searching for state changes as well.
5559 (org-agenda-log-mode-items): New option.
5560 (org-agenda-log-mode): New option prefix argument, interpreted as
5561 request to show all possible progress info.
5562 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5564 (org-agenda-set-mode-name): Handle the more complex log mode
5566 (org-get-closed): New alias, pointing to `org-get-progress'.
5568 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5570 * org.el (org-file-apps-defaults-gnu)
5571 (org-file-apps-defaults-macosx)
5572 (org-file-apps-defaults-windowsnt): Add an entry defining the
5574 (org-file-apps): Allow `system' as key and value.
5575 (org-open-at-point): Explain the effect of a double prefix arg.
5576 (org-open-file): If the argument `in-emacs' is (16),
5577 i.e. corresponding to a double prefix argument, try to open the
5580 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5582 * org.el (org-insert-link): Abbreviate absolute files names in
5583 links. Also, fix a bug in which the double C-u prefix would not
5586 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5588 * org.el (org-insert-heading): If buffer does not end with a
5589 newline, add one if necessary to insert headline correctly.
5591 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5592 paragraphs, not inside.
5594 * org.el (org-todo): Quote
5595 `org-agenda-headline-snapshot-before-repeat'.
5597 * org-exp.el (org-export-as-html): Fully process link descriptions.
5598 (org-export-html-format-desc): New function.
5599 (org-export-as-html): Collect footnotes into the correct basket.
5600 (org-html-protect): No longer protect quotations marks here, this
5603 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5606 * org-compat.el (org-fit-window-to-buffer): New function (not
5607 really, a preliminary and incomplete version was present earlier,
5610 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5611 `org-fit-window-to-buffer'.
5613 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5615 * org-agenda.el (org-agenda-get-restriction-and-command)
5616 (org-fit-agenda-window, org-agenda-convert-date): Use
5617 `org-fit-window-to-buffer'.
5619 * org-exp.el (org-export-as-html): Process href links through
5620 `org-export-html-format-href'.
5621 (org-export-html-format-href): New function.
5623 * org-agenda.el (org-agenda-todo): Update only the current
5624 headline if this is a repeated TODO, marked done for today.
5625 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5626 only the current line.
5628 * org.el (org-todo): Take a snapshot of the headline if the
5629 repeater might change it.
5631 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5633 * org-publish.el (org-publish-find-title): Remove buffers visited
5634 only for extracting the title.
5636 * org-exp.el (org-export-html-style)
5637 (org-export-html-style-default): Mark style definitions as
5640 * org-publish.el (org-publish-validate-link): Function
5643 2008-11-02 Charles Sebold <csebold@gmail.com>
5645 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5647 (org-plot-quote-timestamp-field): New function.
5648 (org-plot-quote-tsv-field): Call timestamp field function when
5649 necessary rather than just quoting as a string.
5650 (org-plot/gnuplot-to-data): Pass in timefmt property.
5651 (org-plot/gnuplot-script): Supports timefmt property.
5652 (org-plot/gnuplot): Checks for timestamp column before checking
5653 for text index column.
5655 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5657 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5659 * org-publish.el (org-publish-org-index): Create a section in the
5661 (org-publish-org-index): Stop linking to directories.
5663 * org.el (org-emphasis-alist): Use span instead of <u> to
5666 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5669 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5671 * org-jsinfo.el (org-infojs-template): Remove language attribute
5674 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5676 * org-agenda.el (org-agenda-remove-marked-text): New function.
5677 (org-agenda-mark-filtered-text)
5678 (org-agenda-unmark-filtered-text): New functions.
5679 (org-write-agenda): Remove fltered text.
5681 * org.el (org-make-tags-matcher): Give access to TODO "property"
5682 without speed penalty.
5684 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5686 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5688 (org-store-link-props): Make sure adding to the plist works
5691 * org-gnus.el (org-gnus-no-new-news): New function.
5692 (org-gnus-follow-link): Allow the article ID to be a message-id,
5693 in addition to allowing article numbers. Message IDs make much
5695 (org-gnus-store-link): Use message-id to create link.
5697 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5699 * org.el (org-emphasize): Reverse the selection array.
5700 (org-emphasis-alist): Set <code> tags for the verbatim
5703 * org-remember.el (org-remember-handler): Fix bug with
5704 prefix-related changing of the note storage target.
5706 * org-exp.el (org-print-icalendar-entries): Make the exported
5707 priorities compatible with RFC 2445.
5709 * org-clock.el (org-clock-save): Insert time stamp without
5710 dependence on time-stamp.el.
5712 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5714 * org.el ("saveplace"): If saveplace puts point into an invisible
5715 location, make it visible.
5716 (org-make-tags-matcher): Allow inactive time stamps in time
5718 (org-yank-adjusted-subtrees): New option.
5719 (org-yank): Incorporate adjusting trees.
5720 (org-paste-subtree): New argument FOR-YANK which will cause
5721 insertion at point without backing up over white lines, and leave
5722 point at the end of the inserted text. Also if the cursor is
5723 at the beginning of a headline, use the same level or the inserted
5726 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5727 with broken symlinks
5729 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5731 * org-exp.el (org-export-select-tags, org-get-current-options):
5734 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5736 * org-agenda.el (org-format-agenda-item)
5737 (org-agenda-filter-make-matcher): Make sure tags are stored and
5740 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5742 * org.el (org-insert-todo-heading): Fix bug with force-heading
5745 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5747 * org-clock.el (org-clock-in-resume): Add a custom option to
5748 toggle starting the clock from an open clock line.
5749 (org-clock-in): When clocking in to an entry, if
5750 `org-clock-in-resume' is set, check if the first clock line is
5751 open and if so, start the clock from the time in the clock line.
5752 (org-clock-persist): Add a custom option to toggle clock
5754 (org-clock-persist-query-save): Add a custom option to toggle
5755 asking the user if they want to save the running clock when
5757 (org-clock-persist-query-resume): Add a custom option to toggle
5758 asking the user if they want to resume the saved clock when Emacs
5760 (org-clock-save): Add a function to save clock data.
5761 This includes the contents of `org-clock-history' and the buffer
5762 and position of the currently clocked task, if any.
5763 (org-clock-load): Add a function to load clock data.
5764 This populates `org-clock-history', and resumes the saved clocked
5765 task if there is one.
5766 (org-clock-persistence-insinuate): Add a method to set up the
5767 hooks for clock persistence.
5769 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5771 * org-exp.el (org-export-as-ascii): Handle the case that we are
5772 publishing from an indirect buffer.
5774 * org-table.el (org-table-copy-down): Fix bug with time stamp
5777 * org-mouse.el (org-mouse-features): New option.
5778 (org-mode-hook): Turn on features depending on
5779 `org-mouse-features'.
5781 * org.el (org-insert-heading-respect-content): Force heading
5783 (org-insert-heading): keep the folding state of the heading before
5786 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5788 * org-archive.el (org-archive-to-archive-sibling): Handle top
5789 level headlines better.
5791 2008-10-21 Bastien Guerry <bzg@altern.org>
5793 * org-export-latex.el (org-export-latex-classes): Added
5794 \usepackage{graphicx} to the default list of packages.
5796 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5798 * org-agenda.el (org-agenda-filter): Renamed from
5799 `org-agenda-filter-tags'.
5801 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5803 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5804 is not defined as a property in this entry.
5805 (org-add-log-note): Mask prefix argument when immediately storing
5808 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5811 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5813 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5814 after drawers was skipping ahead one line too many, so notes were
5815 inserted after the first note instead of before it.
5817 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5819 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5821 (org-prepare-agenda): Reset the filter tags.
5822 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5823 Show filter tags in mode line.
5825 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5828 * org-export-latex.el (org-latex-entities-regexp): New constant.
5829 (org-export-as-pdf): Use two calls to `shell-command'.
5831 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5833 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5834 Honor the {} value of the subsuperscript setting. Make sure that
5835 longer subsuperscripts are typeset in a roman font.
5837 * org.el (org-clock-update-time-maybe): Compute negative clock
5838 intervals correctly.
5840 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5842 * org.el (org-add-log-setup): Respect
5843 `org-log-state-notes-insert-after-drawers'.
5844 (org-log-state-notes-insert-after-drawers): New option.
5845 (org-todo-trigger-tag-changes): New function.
5846 (org-todo): Call `org-todo-trigger-tag-changes'.
5848 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5850 * org.el (org-add-log-setup): Only skip drawers if the are
5851 immediately after the scheduling keywords.
5853 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5855 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5856 call it with the current todo state to get the state to switch to
5858 (org-clock-in): Use org-indent-line-function to indent clock lines.
5859 (org-clock-find-position): Fix indentation of empty clock drawers.
5861 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5863 * org-publish.el (org-publish-org-to): Handle case when
5864 org-export-to-pdf does return a file name, not a buffer.
5865 (org-publish-org-to-pdf): New function.
5867 * org-export-latex.el (org-export-as-pdf)
5868 (org-export-as-pdf-and-open): New commands.
5870 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5873 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5874 things in protexted regions.
5876 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5878 * org-export-latex.el (org-export-latex-preprocess): Improve
5879 quoting of LaTeX environments.
5881 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5883 * org.el (org-edit-fixed-width-region): Exclude final newline from
5886 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5887 sections, to make internal links work.
5888 (org-export-latex-fontify-headline): Do not remove all text
5889 properties, to make sure that target properties survive this
5892 * org-exp.el (org-export-preprocess-string): Change sequence of
5893 modifications, to make sure links are prepared before the LaTeX
5894 conversions do happen.
5896 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5898 * org-attach.el (org-attach-delete-all): Renamed from
5899 `org-attch-delete'. Add a security query before deleting the
5900 entire directory. New optional argument FORCE can overrule the
5902 (org-attach-delete-one): New command.
5904 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5906 * org-attach.el (org-attach-file-list): Fix bug with directory.
5908 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5910 * org.el (org-apps-regexp-alist): New function.
5911 (org-file-apps): Add auto-mode to the default value.
5912 (org-open-file): Use the new structure of org-file-apps.
5914 * org-attach.el (org-attach): Support the new keys.
5915 (org-attach-method): New option.
5917 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5919 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5922 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5923 of the list value o `org-use-tag-inheritance'.
5925 * org-attach.el (org-attach-auto-tag): New option.
5926 (org-attach-tag, org-attach-untag): New functions.
5927 (org-attach-attach, org-attach-new, org-attach-sync): Call
5929 (org-attach-delete): Call `org-attach-untag'.
5931 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5933 * org-table.el (orgtbl-self-insert-command): Make this work for
5936 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5938 * org.el (org-add-log-setup): Limit searc for drawers to entry
5939 text, not to subtree.
5941 * org-clock.el (org-clock-heading-for-remember): New variable.
5942 (org-clock-in): Set `org-clock-heading-for-remember'.
5944 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5946 * org-remember.el (org-remember-apply-template): Add new
5947 expansions: %k, %K for currently clocked task and a link to the
5948 currently clocked task, and %< to file notes in the currently
5951 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5953 * org-export-latex.el (org-export-latex-make-header): Also insert
5954 the content of the property :latex-header-extra.
5956 * org-exp.el (org-infile-export-plist): Put the content of
5957 #+LATEX_HEADER: into the property :latex-header-extra.
5959 * org-colview.el (org-columns-get-format-and-top-level): Remove
5960 resetting the marker.
5962 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5963 Remove resetting the marker.
5965 * org.el (org-entry-property-inherited-from): Improve docstring.
5966 (org-entry-get-with-inheritance): Reset marker before starting the
5969 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5971 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5973 * org.el (org-entry-get-multivalued-property)
5974 (org-entry-protect-space, org-entry-restore-space): New
5976 (org-file-apps-defaults-macosx): Let postscript files be opened by
5978 (org-time-stamp-inactive): Call `org-time-stamp'.
5979 (org-time-stamp): New argument `inactive'. Also edit inacive
5980 stamps. Convert time stamp type.
5981 (org-open-file): Interpret the `default' value for the `command'
5984 * org-id.el (org-id-int-to-b36-one-digit)
5985 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5986 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5989 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5991 * org-id.el (org-id-reverse-string): New function.
5992 (org-id-new): Use `org-id-reverse-string' to make sure the
5993 beginning chars of the ID are mutating fast. This allows to use a
5994 directory structure to spread things better.
5995 (org-id-prefix): Changed default to nil.
5997 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5998 restore the column of the cursor position.
6000 * org-remember.el (org-remember-apply-template): Remove properties
6003 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
6005 * org-wl.el (org-wl-open): Remove useless call to
6006 `wl-thread-open-all'.
6008 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6011 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
6013 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6014 `org-bbdb-anniversaries'.
6016 * org.el (org-get-next-sibling, org-forward-same-level): New
6017 functions, similar to the outline versions, but invisible headings
6020 2008-09-25 Bastien Guerry <bzg@altern.org>
6022 * org.el (org-auto-repeat-maybe): Insert a space between
6023 the timestamp's type and the timestamp itself.
6025 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
6027 * org-table.el (org-table-sum): Do not format the result with %g,
6028 it does rounding when there are too many digits.
6030 * org.el (org-map-entries): Protect the keyword-selecting variables.
6032 2008-09-23 Bastien Guerry <bzg@altern.org>
6034 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6035 against all agenda files.
6037 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
6039 * org-list.el: New file, aggregating list functions from org.el
6040 and org-export-latex.el.
6042 * org.el (org-edit-src-region-extra): New option.
6044 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
6046 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6049 2008-09-22 Bastien Guerry <bzg@altern.org>
6051 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6053 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
6055 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6056 hline work correctly.
6057 (org-plot/gnuplot-script): Put commas at the end of each script
6060 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
6062 * org.el (org-get-refile-targets): Replace links with their
6064 (org-imenu-get-tree): Replace links with their descriptions.
6066 * org-remember.el (org-remember-apply-template): Add a new
6067 expansion for adding properties to remember items.
6069 * org.el (org-add-log-setup): Skip over drawers (properties,
6070 clocks etc) when adding notes.
6072 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6073 items as well as the start and end times.
6075 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6076 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6078 * org-remember.el (org-get-x-clipboard): Use the compat
6079 function to get clipboard values when x-selection-value is
6080 unavailable. Use substring-no-properties instead of
6081 set-text-properties to remove text properties from the clipboard
6084 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6085 modeline clock string, and display the full todo value in the
6086 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6087 the currently clocked task.
6088 (org-clock-string-limit): Add a custom value for the maximum
6089 length of the clock string in the modeline.
6090 (org-clock-mode-map): Add a keymap for the modeline string
6092 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
6094 * org-compat.el (org-propertize): New function.
6096 2008-09-20 Bastien Guerry <bzg@altern.org>
6098 * org-export-latex.el (org-export-latex-tables): protect exported
6099 tables from further special chars conversion.
6100 (org-export-latex-preprocess): Preserve LaTeX environments.
6101 (org-list-parse-list): Parse descriptive lists.
6102 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6103 (org-list-to-texinfo): Export descriptive lists.
6104 (org-quote-chars): Remove.
6105 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6106 (org-export-latex-list-beginning-re): Rename to
6107 `org-list-beginning-re'
6108 (org-list-item-begin): Rename to `org-list-item-beginning'
6110 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
6112 * org.el (org-refile): Allow refiling to the last entry in the
6114 (org-get-tags-at): Fix bug when inheritance is turned off.
6116 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
6118 * org.el (org-indent-line-function): No longer check for src
6119 regions, this is too much overhead.
6121 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6124 * org.el (org-scan-tags): Make sure that tags matching is not case
6125 sensitive. TODO keyword matching is case sensitive, however, to
6126 avoid confusion with similar words that are not meant to be
6129 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
6131 * org.el (org-get-local-tags-at): New function.
6132 (org-get-local-tags): New function.
6134 * org-exp.el (org-export-get-categories): New function.
6136 * org-agenda.el (org-sorting-choice)
6137 (org-agenda-sorting-strategy, org-agenda-get-todos)
6138 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6139 (org-agenda-get-scheduled, org-agenda-get-blocks)
6140 (org-entries-lessp): Implement sorting by TODO state.
6141 (org-cmp-todo-state): New defsubst.
6143 * org-colview.el (org-colview-construct-allowed-dates): New
6145 (org-columns-next-allowed-value): Use
6146 `org-colview-construct-allowed-dates'.
6148 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6150 (org-columns-next-allowed-value): Use
6151 `org-colview-construct-allowed-dates'.
6153 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
6155 * org.el (org-protect-slash): New function.
6156 (org-get-refile-targets): Use `org-protect-slash'.
6158 * org-agenda.el (org-global-tags-completion-table): New variable.
6160 * org-exp.el (org-export-handle-export-tags): New function.
6161 (org-export-preprocess-string): Call
6162 `org-export-handle-export-tags'.
6164 * org-plot.el: New file.
6166 * org-publish.el (org-publish-expand-components): Function removed.
6167 (org-publish-expand-projects): Allow components to have components.
6169 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
6171 * org.el (org-indent-line-function): Do not indent in regions that
6172 are external source code.
6173 (org-yank-and-fold-if-subtree): New function.
6175 * org-agenda.el (org-agenda-todayp): New function.
6176 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6177 `org-agenda-todayp'.
6179 * org.el (org-insert-heading-respect-content)
6180 (org-insert-todo-heading-respect-content): New commands.
6181 (org-insert-heading-respect-content): New option.
6182 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6184 * org-clock.el (org-clock-find-position): Make sure the note after
6185 the clock line gets moved into the new clock drawer.
6187 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
6189 * org-id.el (org-id-new): New option.
6191 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
6193 * org-table.el (org-table-copy-down): Avoid overflow during
6194 increment. Use prefix argument 0 to temporarily disable the
6197 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
6199 * org-exp.el (org-export-as-html): Do not turn on the major mode
6200 if the buffer will be killed anyway.
6201 (org-get-current-options): Exclude the #+TEXT field.
6202 (org-export-as-html): Make sure text before the first headline is
6205 * org-publish.el (org-publish-org-to): Tell the exporter that this
6206 buffer will be killed, so it is not necessary to do major mode
6209 * org-archive.el (org-archive-to-archive-sibling): Show empty
6210 lines after folding the archive sibling.
6212 * org.el (org-log-note-extra): New variable.
6214 2008-09-05 Bastien Guerry <bzg@altern.org>
6216 * org.el (org-additional-option-like-keywords): Added keywords for
6217 the _QUOTE, _VERSE and _SRC environments.
6219 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6220 exporting _QUOTE and _VERSE environments.
6222 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
6224 * org-agenda.el (org-agenda-filter-by-tag): New command.
6226 * org-exp.el (org-get-current-options): Remove angular brackets
6227 from the date entry.
6229 * org.el (org-edit-fixed-width-region): New function.
6230 (org-edit-fixed-width-region): Also try
6231 `org-edit-fixed-width-region'.
6232 (org-edit-fixed-width-region-mode): New option.
6233 (org-activate-code): Only interprete lines starting with colon
6234 plus a space as example lines.
6236 * org-remember.el (org-remember-templates): Add nil instead of
6237 empty strings to fix the length of remember templates.
6239 * org-table.el (org-calc-default-modes): Fix the time format for
6240 calc, from 12 hour to 24 hour clock.
6242 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
6244 * org-agenda.el (org-agenda-get-deadlines)
6245 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6246 entries that are pre-warnings of deadlines or reminders.
6248 * org.el (org-sort-entries-or-items): Make numeric and alpha
6249 comparisons ignore any TODO keyword and priority cookie.
6251 * org-remember.el (org-remember-handler): Reinterpretation of the
6254 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
6256 * org-agenda.el (org-agenda-get-scheduled): Use new
6257 `org-scheduled' face.
6259 * org-faces.el (org-scheduled): New face.
6261 * org-wl.el (org-wl-open): Remove incorrect declaration.
6263 * org-gnus.el (org-gnus-store-link): Support for :to information
6266 * org-exp.el (org-export-as-html): Fixed typo in creator
6268 (org-export-protect-examples): New parameter indent. Insert extra
6269 spaces only when this parameter is specified.
6270 (org-export-preprocess-string): Call `org-export-protect-examples'
6271 with an indentation parameter when exporting to ASCII.
6273 * org-remember.el (org-remember-templates)
6274 (org-remember-apply-template): Allow the file component to be a
6277 * org.el (org-goto-local-search-headings): Renamed from
6278 `org-goto-local-search-forward-headings'. Added the possibility
6279 to search backwards.
6281 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
6283 * org-export-latex.el (org-export-latex): New customization
6286 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6288 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
6290 * org-exp.el (org-html-do-expand): Allow {} to terminate
6293 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
6295 * org.el (org-buffer-list): Select buffers based on major mode,
6298 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6300 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6303 * org-colview.el (org-columns-display-here): Use
6304 `org-columns-modify-value-for-display-function'.
6306 * org-colview-xemacs.el (org-columns-display-here): Use
6307 `org-columns-modify-value-for-display-function'.
6309 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6311 * org.el (org-columns-modify-value-for-display-function): New option.
6323 * org-publish.el (org-publish-file): Make sure the directory match
6324 for the publishing directory works correctly.
6326 * org-agenda.el (org-agenda-execute-calendar-command)
6327 (org-agenda-diary-entry): Additional optional argument.
6329 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6331 * org-exp.el (org-export-as-html): Add attributes also in mailto
6334 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6343 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6345 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6346 sure that calls from `org-export-region-as-html' do not do the
6347 special check for a subtree.
6349 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6351 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6353 2008-07-20 Juri Linkov <juri@jurta.org>
6355 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6356 new keymap `narrow-map' instead of binding "\C-xns".
6358 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6360 * org.el (org-open-file): Use
6361 `org-open-directory-means-index-dot-org'.
6362 (org-open-directory-means-index-dot-org): New option.
6364 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6366 * org.el (org-make-link-string): Remove link attributes from
6368 (org-open-at-point): Remove link attributes bevore using the path.
6370 * org-exp.el (org-export-as-html): Handle link attributes.
6372 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6374 * org-table.el (org-table-to-lisp): New function.
6376 * org.el (org-narrow-to-subtree): Do not include the final newline
6377 into the narrowed region.
6379 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6380 bug with user-define skipping condition.
6382 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6384 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6386 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6388 * org-exp.el (org-export-html-style-default): Automatic overflow
6389 handling for pre fields.
6390 (org-export-as-ascii, org-export-as-html): Change default format
6393 * org-table.el (org-table-export): Offer completion for translator
6394 functions, and do not require a heading above the table.
6396 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6397 Cater for the case of a list starting in the first line of the
6400 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6402 * org-publish.el (org-publish-find-title): Bug fix.
6403 (org-publish-org-index): Implement new :index-style option.
6405 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6407 * org-publish.el (org-publish-timestamp-filename): Use
6408 SHA1-encoded file names in the timestamp directory.
6410 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6412 * org-publish.el (org-publish-needed-p): Be verbose about files
6413 published and files skipped.
6415 * org-exp.el (org-export-preprocess-string): Swap link
6416 normalization and inernal link targeting.
6418 * org-publish.el (org-publish-needed-p): Create timestamp
6419 directory when it does not exist.
6421 2008-07-04 Bastien Guerry <bzg@altern.org>
6423 * org-clock.el (org-clock-out-when-done): Doc fix.
6425 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6427 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6428 Ignore case when searching for the COMMENT cookie at export time.
6430 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6432 * org-exp.el (org-get-file-contents)
6433 (org-get-and-remove-property): New functions.
6434 (org-export-handle-include-files): Handle the new prefix options.
6435 (org-export-as-html): Fix the verse environment.
6437 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6439 * org.el (org-time=, org-time<, org-time<=, org-time>)
6440 (org-time>=, org-time<>, org-2ft): New functions.
6441 (org-op-to-function): Also provide for the time testing fucntions.
6443 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6445 * org-exp.el (org-export-html-style-default): New constant.
6447 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6449 * org-exp.el (org-export-html-style-extra): New variable.
6450 (org-export-splice-style): New function.
6452 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6454 * org-exp.el (org-export-plist-vars, org-export-as-html):
6455 Implement `org-export-creator-info'.
6456 (org-export-creator-info): New option.
6458 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6460 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6461 (org-property-drawer-re, org-clock-drawer-re): New constants.
6463 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6465 * org-exp.el (org-icalendar-use-deadline)
6466 (org-icalendar-use-scheduled): New options.
6467 (org-icalendar-include-todo): Default changed to t.
6468 (org-print-icalendar-entries): Implement better utilization of
6469 scheduling and deadline time stamps.
6470 (org-export-target-internal-links, org-export-as-html): Allow file
6471 lines without the "file:" prefix if the file path is an absolute
6472 path or starts with ".".
6474 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6476 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6478 2008-06-18 Glenn Morris <rgm@gnu.org>
6479 * org.el (org-map-entries): Let-bind `file'.
6481 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6483 * org.el (org-agenda-skip-archived-trees): Docstring now
6484 discourages using this.
6485 (org-scan-tags): Check for org-agenda-archives-mode.
6486 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6487 (org-agenda-files): Functionality of second arg changed.
6489 * org-agenda.el (org-agenda-archives-mode): New variable
6490 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6491 (org-search-view, org-todo-list, org-tags-view)
6492 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6494 (org-agenda-quit): Reset the archives mode.
6495 (org-agenda-archives-mode): New command.
6496 (org-agenda-set-mode-name): Include archives info.
6498 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6500 * org.el (org-paste-subtree): Make sure the yanked headline is
6501 visible if it was yanked at a visible point.
6502 (org-move-item-up): Fix the bug with moving white space at the end
6504 (org-show-empty-lines-in-parent): New function.
6506 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6508 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6510 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6512 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6513 agenda prefix as well.
6515 * org-publish.el (org-publish-org-index): Make a properly indented
6518 * org.el (org-calendar-agenda-action-key): New option.
6519 (org-get-cursor-date): New function.
6520 (org-mark-entry-for-agenda-action): New command.
6521 (org-overriding-default-time): New variable.
6522 (org-read-date): Respect `org-overriding-default-time'.
6524 * org-remember.el (org-remember-apply-template): Respect the
6525 ovverriding default time.
6527 * org-agenda.el (org-agenda-action-marker): New variable.
6528 (org-agenda-action): New command.
6529 (org-agenda-do-action): New function.
6531 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6533 * org.el (org-schedule, org-deadline): Protect scheduled and
6534 deadline tasks against changes that accidently remove the
6535 repeater. Also show a message with the new date when done.
6537 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6539 * org.el (org-beginning-of-line): Cater for the case when there
6540 are tags but no headline text.
6541 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6544 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6546 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6547 the return value is nil instead of "nil" when there is no match.
6549 * org-exp.el (org-insert-centered): Use fill-column instead of
6551 (org-export-as-ascii): Use string-width to measure the width of
6554 * org.el (org-diary-to-ical-string): No longer kill buffer
6555 FROMBUF, this is now done by the caller.
6557 * org-exp.el (org-print-icalendar-entries): Move the call to
6558 `org-diary-to-ical-string' out of the loop, and kill the buffer
6561 * org-remember.el (org-remember-visit-immediately): Position
6562 cursor after moving to the note.
6563 (org-remember-apply-template): Use a text property to record the
6565 (org-remember-handler): Align tags after pasting the note.
6567 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6569 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6571 * org-agenda.el (org-agenda-open-link): If there is an
6572 org-bbdb-name property in the current line, jump to that bbdb
6575 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6576 text property, so that the agenda knows where this entry comes
6579 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6580 interaction between clocking-in from the agenda, and automatic
6581 task state switching.
6583 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6585 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6586 zmacs-region stays after this command in XEmacs.
6588 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6590 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6592 * org-remember.el (org-remember-templates): Fix bug in
6593 customization type definition.
6595 * org.el (org-map-entries): New function.
6597 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6599 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6600 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6602 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6604 * org-remember.el (org-jump-to-target-location): New variable.
6605 (org-remember-apply-template): Set
6606 `org-remember-apply-template' if requested by template.
6607 (org-remember-handler): Start an idle timer to jump to
6610 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6612 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6614 (org-get-tags-at): Add the content of `org-file-tags'.
6616 * org-exp.el (org-export-handle-comments): Fix bug with several
6617 comment lines after each other.
6618 (org-number-to-roman, org-number-to-counter): New functions.
6619 (org-export-section-number-format): New option.
6621 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6623 * org-exp.el (org-export-protect-examples): Catch the case of a
6624 missing end_example line.
6626 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6627 `org-file-tags' to nil.
6629 * org-colview.el (org-columns-next-allowed-value): Handle next
6630 argument NTH to directly select a value.
6632 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6633 argument NTH to directly select a value.
6635 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6637 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6639 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6641 * org.el (org-columns-ellipses): New option.
6643 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6645 * org-colview.el (org-columns-add-ellipses): New function.
6646 (org-columns-compact-links): New function.
6647 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6648 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6650 (org-columns-edit-value): Fixed bug with editing values from
6652 (org-columns-redo): Also redo the agenda itself.
6654 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6656 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6659 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6661 * org-exp.el (org-export-ascii-preprocess): Renamed from
6662 `org-export-ascii-clean-string'.
6663 (org-export-kill-licensed-text)
6664 (org-export-define-heading-targets)
6665 (org-export-handle-invisible-targets)
6666 (org-export-target-internal-links)
6667 (org-export-remove-or-extract-drawers)
6668 (org-export-remove-archived-trees)
6669 (org-export-protect-quoted-subtrees)
6670 (org-export-protect-verbatim, org-export-protect-examples)
6671 (org-export-select-backend-specific-text)
6672 (org-export-mark-blockquote-and-verse)
6673 (org-export-remove-comment-blocks-and-subtrees)
6674 (org-export-handle-comments, org-export-mark-radio-links)
6675 (org-export-remove-special-table-lines)
6676 (org-export-normalize-links)
6677 (org-export-concatenate-multiline-links)
6678 (org-export-concatenate-multiline-emphasis): New functions,
6679 obtained from spliiting the export preprocessor.
6681 * org-table.el (org-table-recalculate): Improve error message if
6682 the row number is invalid.
6684 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6686 * org-archive.el (org-archive-save-context-info): Fix bugs in
6687 customization setup and docstring.
6689 * org-exp.el (org-export-html-style): Changed the size of in the
6690 <pre> element to 90%.
6692 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6694 * org.el (org-find-src-example-start): Function removed.
6695 (org-edit-src-find-region-and-lang): New function.
6697 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6699 * org.el (org-edit-src-exit): New function.
6700 (org-exit-edit-mode): New minor mode.
6702 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6703 comment-like lines from protected examples.
6705 * org.el (org-edit-src-example, org-find-src-example-start)
6706 (org-protect-source-example, org-edit-special): New functions.
6708 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6710 * org-publish.el (org-publish-project-alist): Fix typo in
6712 (org-publish-project-alist): Handle :index-title property.
6714 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6716 * org-export-latex.el (org-export-as-latex): Make sure region
6717 bounds are correct. Parse subtree properties relating to export.
6719 * org-exp.el (org-export-add-options-to-plist): New function.
6720 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6722 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6724 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6727 * org-exp.el (org-export-get-title-from-subtree)
6728 (org-export-as-ascii, org-export-as-html): Make sure the original
6729 region-beginning and region-end are used, even after moving
6731 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6734 * org-remember.el (org-remember-last-stored-marker): New variable.
6735 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6736 (org-remember-handler): Also use marker to remember
6737 last-stored position.
6739 * org.el (org-goto-marker-or-bmk): New function.
6741 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6743 * org.el (org-file-properties): Renamed from `org-local-properties'.
6744 (org-scan-tags): Take file tags into account.
6745 (org-tags-match-list-sublevels): Default changed to t.
6747 * org-exp.el (org-export-as-html): Close paragraph after a
6750 * org.el (org-update-parent-todo-statistics): New function.
6752 * org-exp.el (org-icalendar-store-UID): New option.
6753 (org-icalendar-force-UID): Option removed.
6754 (org-print-icalendar-entries): IMplement UIDs.
6756 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6758 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6760 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6762 * org-faces.el (org-column): Document how this face is being used
6763 and why sometimes the background faces shine through.
6765 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6767 * org-publish.el (org-publish-attachment): Create publishing
6768 directory if it does not yet exist.
6770 * org-table.el (org-calc-default-modes): Change default number
6771 format to (float 8).
6773 * org.el (org-olpath-completing-read): New function.
6774 (org-time-clocksum-format): New option.
6775 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6777 * org-clock.el (org-clock-display, org-clock-out)
6778 (org-update-mode-line): Use `org-time-clocksum-format'.
6780 * org-colview-xemacs.el (org-columns-number-to-string): Use
6781 `org-time-clocksum-format'.
6783 * org-colview.el (org-columns-number-to-string): Use
6784 `org-time-clocksum-format'.
6786 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6788 * org-id.el: New file, move from contrib to core.
6790 * org-exp.el (org-icalendar-force-UID): New option.
6792 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6794 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6795 shifted by one day if theere is a date range without an end
6798 * org.el (org-try-structure-completion): New function.
6800 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6802 * org.el (org-set-font-lock-defaults): Improve fontification of
6804 (org-insert-item): Handle description lists.
6805 (org-adaptive-fill-function): Improve auto indentation in
6808 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6809 Implement VERSE environment.
6810 (org-export-preprocess-string): Implement the COMMENT
6813 * org-export-latex.el (org-export-latex-preprocess): Implement
6816 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6818 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6821 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6823 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6825 * org.el (org-quote-csv-field): New functions.
6827 * org-table.el (org-table-export-default-format): Remove :splice
6828 from default format, we get the same effect by not specifying
6830 (org-table-export): Improve setup, distinguish better between
6831 interactive and non-interactive use, allow specifying the format
6832 on the fly, better protection against wrong file names.
6833 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6834 and :tend when :splice is omitted.
6836 2008-05-09 Bernt Hansen <bernt@norang.ca>
6838 * org-clock.el (org-clock-select-task): Make sure the selection
6839 letters are 1-9 and A-Z, no special characters.
6841 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6843 * org-exp.el (org-export-htmlize): New group.
6844 (org-export-htmlize-output-type)
6845 (org-export-htmlize-css-font-prefix): New options.
6846 (org-export-htmlize-region-for-paste): New function.
6847 (org-export-htmlize-generate-css): New command.
6849 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6851 * org/org.el (org-modules, org-format-latex-options):
6852 * org/org-archive.el (org-archive-stamp-time)
6853 (org-archive-save-context-info):
6854 * org/org-faces.el (org-hide):
6855 * org/org-irc.el (org-irc-parse-link):
6856 * org/org-macs.el (org-call-with-arg, org-autoload):
6857 * org/org-mew.el (org-mew-store-link):
6858 * org/org-remember.el (org-remember-store-without-prompt)
6859 (org-remember-templates): Fix typos in docstrings.
6861 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6863 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6864 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6865 (org-bbdb-anniv-split): Fix typos in docstrings.
6867 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6868 (org-publish-use-timestamps-flag): Reflow docstring.
6869 (org-publish-files-alist): Fix typos in docstring.
6871 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6873 * org.el (org-set-visibility-according-to-property): New function.
6874 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6875 and compute the regular expressions, and update font-lock.
6876 (org-property-re): Allow a dash in property names.
6878 * org-archive.el (org-extract-archive-file): Insert the file name
6879 without the path into the format, to allow the location format to
6880 contain a subdirectory.
6882 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6883 of buffer, and the `org-agenda-type' property undefined, use the
6884 value from the character before.
6886 * org.el (org-add-planning-info): Don't let indentation for
6887 would-be timestamp become extra whitespace at the end of headline.
6889 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6891 * org.el (org-remove-double-quotes, org-file-contents): New
6894 * org-exp.el (org-infile-export-plist): Also parse the
6895 contents of #+SETUPFILE files, recursively.
6897 * org.el (org-set-regexps-and-options): Also parse the
6898 contents of #+SETUPFILE files, recursively.
6900 * org-exp.el (org-export-handle-include-files): New function.
6901 (org-export-preprocess-string): Call
6902 `org-export-handle-include-files'.
6904 * org.el (org-delete-property-globally)
6905 (org-delete-property, org-set-property): Ignore case during
6907 (org-set-property): Use `org-completing-read' instead of
6910 * org.el (org-complete-expand-structure-template): New,
6911 experimental function.
6912 (org-structure-template-alist): New, experimental option.
6913 (org-complete): Call `org-complete-expand-structure-template'.
6915 2008-05-06 Bastien Guerry <bzg@altern.org>
6917 * org-export-latex.el (org-export-latex-preprocess): Added
6918 support for blockquotes.
6920 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6922 * org.el (org-read-date-analyze): Catch the case where only a
6925 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6927 * org.el (org-set-font-lock-defaults): Make the description
6930 * org-exp.el (org-export-as-html, org-close-li): Implement
6933 2008-05-04 Jason Riedy <jason@acm.org>
6935 * org-table.el (*orgtbl-default-fmt*): New variable.
6936 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6937 when there is no other fmt available.
6939 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6940 :tend to suppress the appropriate string.
6942 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6945 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6947 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6950 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6953 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6956 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6958 * org-clock.el (org-clock-find-position): Don't include notes
6961 * org-archive.el (org-archive-subtree): No longer remove an
6962 extra line after cutting the subtree. `org-cut-subtree' already
6965 * org-remember.el (org-remember-handler): Only kill the target
6966 buffer if it does not contain the running clock.
6968 * org.el (org-markers-to-move): New variable.
6969 (org-save-markers-in-region, org-check-and-save-marker)
6970 (org-reinstall-markers-in-region): New function.
6971 (org-move-subtree-down, org-copy-subtree): Remember relative
6972 marker positions before cutting.
6973 (org-move-subtree-down, org-paste-subtree): Restore relative
6974 marker positions after pasting.
6976 * org-remember.el (org-remember-clock-out-on-exit): New option.
6977 (org-remember-finalize): Clock out only if the setting in
6978 `org-remember-clock-out-on-exit' requires it.
6979 (org-remember-handler): Do the cleanup in the buffer, to make sure
6980 that the clock marker remains in tact.
6982 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6984 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6985 (org-clock-in): Make sure that also tasks outside the narrowed
6986 region will be clocked in correctly.
6987 (org-clock-insert-selection-line): Widen the buffer so that we can
6988 find the correct task heading.
6990 * org.el (org-base-buffer): New function.
6992 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6993 and ";" are escaped.
6994 (org-print-icalendar-entries): Also apply
6995 `org-icalendar-cleanup-string' to the headline, not only to the
6998 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
7000 * org-exp.el (org-export-preprocess-hook): New hook.
7001 (org-export-preprocess-string): Call
7002 `org-export-preprocess-hook'.
7004 * org.el (org-font-lock-hook): New variable.
7005 (org-font-lock-hook): New function.
7006 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7010 ;; add-log-time-zone-rule: t
7013 Copyright (C) 2008 Free Software Foundation, Inc.
7015 This file is part of GNU Emacs.
7017 GNU Emacs is free software: you can redistribute it and/or modify
7018 it under the terms of the GNU General Public License as published by
7019 the Free Software Foundation, either version 3 of the License, or
7020 (at your option) any later version.
7022 GNU Emacs is distributed in the hope that it will be useful,
7023 but WITHOUT ANY WARRANTY; without even the implied warranty of
7024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7025 GNU General Public License for more details.
7027 You should have received a copy of the GNU General Public License
7028 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7030 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c