1 2009-12-14 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-inhibit-startup-visibility-stuff): New variable.
4 (org-mode): Don't do startup visibility if inhibited.
6 2009-12-13 Carsten Dominik <carsten.dominik@gmail.com>
8 * org.el (org-make-link-regexps): Capture link path into a group.
10 2009-12-12 Carsten Dominik <carsten.dominik@gmail.com>
12 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
15 2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
17 * org.el (org-startup-with-beamer-mode): New option.
18 (org-property-changed-functions)
19 (org-property-allowed-value-functions): New hooks.
20 (org-entry-put, org-property-get-allowed-values): Run the new
22 (org-property-next-allowed-value): Run the new hooks.
24 * org-exp.el (org-export-select-backend-specific-text): Add the
28 (org-export-preprocess-before-selecting-backend-code-hook): New
31 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
32 (org-export-as-latex): Run
33 `org-export-latex-after-initial-vars-hook'.
34 (org-export-latex-format-toc-function)
35 (org-export-latex-make-header): Call
36 `org-export-latex-format-toc-function'.
38 * org.el (org-fill-template): Make template searches case sensitive.
40 * org-exp.el (org-export): Use "1" as a sign to export only the
43 * org-colview-xemacs.el (org-columns-edit-value): Use
44 org-unrestricted property.
46 * org-colview.el (org-columns-edit-value): Use
47 org-unrestricted property.
49 * org.el (org-compute-property-at-point): Set org-unrestricted
50 text property if the list contains ":ETC".
51 (org-insert-property-drawer): Use
52 org-unrestricted property.
55 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
56 (org-export-preprocess-string): Run
57 `org-export-preprocess-before-selecting-backend-code-hook'.
59 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
61 * org-latex.el (org-export-region-as-latex): Run
62 `org-export-first-hook'.
64 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
66 * org-docbook.el (org-export-as-docbook): Run
67 `org-export-first-hook'.
69 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
71 * org-exp.el (org-export-first-hook): New hook.
73 2009-12-10 Carsten Dominik <carsten.dominik@gmail.com>
75 * org-list.el (org-previous-item): Exit at the beginning of the
78 * org-id.el (org-id-locations-save): Only write the id locations
81 * org-archive.el (org-archive-all-done): Make this work in a file
82 with org-odd-levels-only set.
84 * org.el (org-get-refile-targets): Catch the case when a buffer
87 * org-latex.el (org-export-as-latex): Cleanup forced line ends
88 where they are not needed.
89 (org-export-latex-subcontent): Remove unnecessary newlines.
91 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
93 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
94 (org-export-latex-fontify): Fix regexp bug that takes special
95 care of protecting the right boundary characters in emphasis
97 (org-export-latex-preprocess): Allow multiple arguments to latex
100 * org.el (org-make-link-regexps): Use John Gruber's regexp for
103 * org-macs.el (org-re): Interpret :punct: in regexps.
105 * org-exp.el (org-export-replace-src-segments-and-examples): Also
106 take the final newline after the END line.
108 * org.el (org-clean-visibility-after-subtree-move): Only fix
109 entries that are not entirely invisible already.
110 (org-insert-link): Respect org-link-file-path-type for
111 "docview:" links in addition to "file:" links.
113 2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
115 * org-exp.el (org-export-format-source-code-or-example): Avoid
116 additional extra white lines in LaTeX.
118 * org-list.el (org-list-parse-list): Leave empty lines after the
119 list, don't consider them as part of the list.
121 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
124 * org-clock.el (org-clock-select-task): Convert integer to
125 character for XEmacs.
127 2009-12-02 Carsten Dominik <carsten.dominik@gmail.com>
129 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
132 2009-11-30 Tassilo Horn <tassilo@member.fsf.org>
134 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
136 (org-set-tags): Use it.
138 2009-11-30 Carsten Dominik <carsten.dominik@gmail.com>
140 * org-list.el (org-empty-line-terminates-plain-lists): Update
143 * org.el (org-format-latex): Fix link creation for processed latex
146 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
148 * org-footnote.el (org-footnote-normalize): Protect replacement
151 * org.el (org-inside-latex-macro-p): Save match data.
153 2009-11-28 Jan Böcker <jan.boecker@jboecker.de>
155 * org-docview.el: New file.
157 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
159 * org-latex.el (org-export-latex-class-options): New variable.
160 (org-export-latex-set-initial-vars): Use the class options.
162 * org.el (org-forward-same-level): Stop at headings that start
163 with an invisible character.
164 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
166 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
168 * org-footnote.el (org-footnote-normalize): Don't take optional
169 arguments in LaTeX macros as footnotes.
171 * org.el (org-inside-latex-macro-p): New function.
173 * org-latex.el (org-latex-to-pdf-process): Change customization
174 group to `org-export-pdf'.
176 * org-agenda.el (org-agenda-get-blocks): Look at time string also
177 on days after the first one.
179 * org.el (org-insert-heading): Also check for item before assuming
180 before-first-heading condition.
182 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
183 (org-export-pdf-logfiles): New option.
184 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
185 (org-export-pdf-logfiles): Fix customization type.
187 * org.el (org-insert-link): Improve error message when there is no
188 default link to select with RET.
190 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
193 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
195 * org-latex.el (org-export-latex-parse-global)
196 (org-export-latex-parse-content)
197 (org-export-latex-parse-subcontent): Use
198 `org-re-search-forward-unprotected'.
199 (org-export-as-pdf): Remove log files produced by XeTeX.
201 * org-macs.el (org-re-search-forward-unprotected): New function.
203 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
205 * org-colview.el (org-agenda-colview-summarize): Sort out some
206 confusion between properties and titles, which resulted in
207 agenda summaries not working if a title was set for a column.
209 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
211 * org-mobile.el (org-mobile-agendas): New option.
212 (org-mobile-sumo-agenda-command): Select the right agendas.
214 * org-latex.el (org-export-latex-format-image): Preserve the
215 original-indentation property.
217 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
219 * org-clock.el (org-clock-insert-selection-line): Catch error when
220 an old tasks no longer exists.
222 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
223 (org-export-as-pdf): Don't remove the old PDF file before making
226 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
227 (org-mouse-context-menu): Use `org-looking-back'.
229 * org.el (org-cycle-level): Use `org-looking-back'.
231 * org-list.el (org-cycle-item-indentation): Use
234 * org-compat.el (org-looking-back): New function.
236 * org.el (org-insert-heading): Catch before-first-headline when
237 inserting a headline.
239 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
241 * org-latex.el (org-export-latex-format-image): Indent figure
242 environment, so that it does not interrupt plain list.
244 * org.el (org-open-at-point): Allow long link descriptions.
246 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
248 * org-html.el (org-export-as-html): Remove empty lines at the
249 beginning of the exported text.
251 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
253 * org-protocol.el (org-protocol-remember): Cater for empty title,
256 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
257 agenda after adding new entry.
258 (org-agenda-get-represented-tags): New function.
259 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
260 to get a list of tags in the agenda.
262 * org-datetree.el (org-datetree-find-day-create): Fix regular
265 * org.el (org-display-outline-path): Use a format specifier for
266 message, to avoid problems with heading containing `%'.
268 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
269 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
270 (org-agenda-fix-displayed-tags): New function.
271 (org-agenda-do-context-action): Just call
272 `org-display-outline-path', without piping the result through
275 * org-latex.el (org-export-latex-preprocess): Protect secondary
278 * org-indent.el (org-indent-initialize): Avoid empty strings as
281 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
282 hat checking for the mark does not throw an error.
283 (org-agenda-diary-entry-in-org-file): Catch the case that there is
284 not `day' text property in the cursor line.
286 * org.el (org-sort-entries-or-items): Make sure that the final
287 entry has a newline before doing the sorting.
289 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
290 property at the beginning of the line.
292 * org.el (org-make-link-string): Don't allow a description with
295 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
297 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
298 (org-agenda-insert-diary-as-top-level): New function.
299 (org-agenda-add-entry-to-org-agenda-diary-file): Call
300 `org-agenda-insert-diary-as-top-level'.
302 * org.el (org-occur-in-agenda-files): Make sure none of the
304 (org-activate-plain-links): Add the face property here.
305 (org-set-font-lock-defaults): Do not add the face to plain links,
306 the activator function does this.
308 * org-habit.el (org-is-habit-p): Add doc string.
310 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
312 * org-archive.el (org-archive-subtree-default-with-confirmation):
315 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
316 after match optional (happens at the end of a line...).
318 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
321 * org-faces.el (org-copy-face): Set lisp indentation.
322 (org-quote, org-verse): New faces.
324 * org-agenda.el (org-agenda-remove-date): Remove variable.
326 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
328 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
330 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
332 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
333 hash keys to cache and re-use images generated by the
334 org-exp-blocks interface to ditaa and dot.
336 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
338 * org-html.el (org-export-as-html): Move the home/up link into
341 * org.el (org-export-latex-packages-alist): Option definition
342 moved here from org-latex.el.
344 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
346 * org.el (org-format-latex): Latex images are now saved to files
347 named by the sha1 hash of the latex source text avoiding
348 regeneration of identical images.
350 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
352 * org-html.el (org-export-html-home/up-format): Add an ID to the
355 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
357 * org-wl.el (org-wl-store-link): Handle the case that
358 `wl-use-petname' is set.
360 * org.el (org-set-effort): Improve prompt.
361 (org-get-outline-path): Widen to get full path.
362 (org-compact-display-after-subtree-move): Function removed.
364 * org-latex.el (org-export-as-latex): Add the :drawers property.
366 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
368 * org.el (org-speed-commands-user): Allow documentation headlines.
369 (org-speed-commands-default): Organize the value of this constant
370 with descriptive headlines.
371 (org-print-speed-command): Output the headlines.
373 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
375 * org-agenda.el (org-agenda-show-outline-path): New option.
376 (org-agenda-do-context-action): New function.
377 (org-agenda-next-line, org-agenda-previous-line): Use
378 `org-agenda-do-context-action'.
380 * org.el (org-use-speed-commands): Allow function value.
381 (org-speed-commands-default): Make headline motion safe, so that
382 these commands always end on a headline.
383 (org-speed-commands-default): New key `v' for `org-agenda'.
384 (org-speed-move-safe): New function.
385 (org-self-insert-command): Use the function value of
386 `org-use-speed-commands'.
387 (org-get-outline-path): Improve docstring.
388 (org-format-outline-path): New function.
389 (org-display-outline-path): New function.
391 2009-11-12 John Wiegley <jwiegley@gmail.com>
393 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
394 a string, use that to find the LOGBOOK drawer.
396 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
398 * org.el (org-clone-subtree-with-time-shift): Make it work at the
401 * org-mobile.el (org-mobile-write-checksums): Specify coding
403 (org-mobile-timestamp-buffer): Keep local variable/mode line at
406 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
408 * org.el (org-block-todo-from-children-or-siblings-or-parent)
409 (org-block-todo-from-checkboxes): Do not block changes to a nil
412 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
414 * org-habit.el (org-habit-parse-todo): Indicate which habit is
415 wrongly set up in the error messages.
417 * org-colview.el (org-columns-display-here): Don't try to
418 calculate values if the underlying property is not set.
419 (org-columns-string-to-number): Convert age strings back into
421 (org-agenda-colview-summarize): Handle extended summary types
424 * org-colview-xemacs.el (org-columns-display-here): Don't try to
425 calculate values if the underlying property is not set.
426 (org-columns-string-to-number): Convert age strings back into
428 (org-agenda-colview-summarize): Handle extended summary types
431 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
433 * org-exp.el (org-export-format-drawer-function): New variable.
434 (org-export-format-drawer): New function.
435 (org-export-preprocess-string): Pass the backend as a parameter to
436 `org-export-remove-or-extract-drawers'.
437 (org-export-remove-or-extract-drawers): New parameter BACKEND.
439 * org-protocol.el (org-protocol-char-to-string): New defsubst.
441 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
443 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
444 message when no block is selected.
446 * org-latex.el (org-export-latex-links): Check for protectedness
447 in the last matched character, not after the match.
449 * org-datetree.el (org-datetree-find-date-create): Respect
450 restriction when KEEP-RESTRICTION is set.
451 (org-datetree-file-entry-under): New function.
452 (org-datetree-cleanup): New command.
454 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
456 * org-src.el (org-edit-src-code): New optional argument context
457 allows calling functions to avoid altering the saved window
459 (org-edit-src-exit): Do not restore window configuration when this
460 function is used in the context of saving the edit buffer.
462 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
464 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
465 instances to switching to with-current-buffer, because these seem
466 to cause problems - no idea why.
468 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
469 Require diary-lib for (diary-date-display-form).
471 * org.el (org-log-reschedule, org-log-redeadline): New options.
472 (org-log-note-headings): Add templates for rescheduling and
474 (org-startup-options): Add in-buffer settings for logging changing
475 schedule and deadline time stamps.
476 (org-deadline, org-schedule): Check for existing date and arrange
477 for logging if the user requests it.
478 (org-add-log-note): Prepare proper note buffers for rescheduling
479 and deadline changes.
481 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
483 * org-agenda.el (org-agenda-diary-entry-in-org-file)
484 (org-agenda-add-entry-to-org-agenda-diary-file)
485 (org-agenda-insert-diary-make-new-entry): New functions.
486 (org-agenda-diary-entry): Call
487 `org-agenda-diary-entry-in-org-file' when appropriate.
489 * org.el (org-calendar-insert-diary-entry-key): New option.
490 (org-agenda-diary-file): New option.
491 ("calendar"): Install our insertion function in the calendar.
493 * org-remember.el (org-datetree): Require.
494 (org-remember-templates): Add new positioning option.
495 (org-remember-reference-date): New variable.
496 (org-remember-apply-template): Store the reference date in a local
498 (org-remember-handler): Implement date tree positioning of entries.
500 * org-datetree.el: New file.
502 * org-latex.el (org-export-latex-preprocess): Protect targets in
505 * org-html.el (org-export-as-html): Protect targets in verbatim
508 * org-docbook.el (org-export-as-docbook): Protect targets in
511 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
513 * org.el (org-link-display-format): Should be literal replacement.
515 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
517 * org-clock.el (org-show-notification): Handle messages that
518 contain a percent character.
520 * org-remember.el (org-remember-apply-template): Turn of partial
523 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
524 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
526 * org.el (org-indent-mode): Define variable already in org.el.
527 (org-unfontify-region): Remove line-prefix and wrap-prefix
528 properties only if org-indent-mode is active.
530 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
532 * org-icalendar.el (org-print-icalendar-entries): Save match data
533 around call to verify function.
534 (org-print-icalendar-entries): Add a call to the verification
537 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
538 save-restrivtion' form.
540 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
542 * org-exp.el (org-export-format-source-code-or-example): restrict
543 scope of preserve-indentp to the let binding.
544 (org-src): require org-src, since org-src-preserve-indentation is used.
546 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
548 * org-timer.el (org-timer-set-timer): Set variables
549 org-timer-timer[123] correctly.
552 * org-mobile.el (org-mobile-files-alist): Make it work when
553 `agenda-archives' is included in
554 `org-agenda-text-search-extra-files'.
555 (org-mobile-push): Restore agenda after mobile push.
557 2009-11-05 John Wiegley <jwiegley@gmail.com>
559 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
560 way the amount of idle time is presented in the minibuffer.
562 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
564 * org-icalendar.el (org-print-icalendar-entries): Use
565 org-icalendar-verify-function only if non-nil.
567 * org.el (org-refile): Refile to clock only if the prefix arg is
569 (org-sparse-tree): Fix docstring to be in line with prompt.
570 (org-update-parent-todo-statistics): Call
571 `org-after-todo-statistics-hook' on each level.
573 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
575 * org-remember.el (org-remember-apply-template): Make sure the
578 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
580 * org.el (org-tab-ind-state): New variable.
581 (org-cycle-level): New function.
582 (org-cycle-level-after-item/entry-creation): New option.
583 (org-flag-subtree): New function.
584 (org-hide-archived-subtrees): Call `org-flag-subtree'.
585 (org-set-effort): Indexed access.
587 * org-list.el (org-cycle-item-indentation): New function.
589 * org.el (org-refile): Make prefix argument 2 refile to current
591 (org-priority): Interpret action `remove' as call to remove the
594 * org-remember.el (org-remember-apply-template): Don't depend on
595 buffer name being like file name.
597 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
599 * org-clock.el (org-clock-play-sound): Expand file in
600 org-clock-sound, to allow ~ for home.
602 * org-remember.el (org-remember-handler): Set
603 text-before-node-creation even if this already looks like a node,
604 because the string might be needed on non-org-mode target files.
606 * org-agenda.el (org-agenda-open-link): Make this work in agenda
608 (org-agenda-switch-to): Follow a link at point if
609 org-return-follows-link' is set and there is nothing else to do in
612 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
614 * org-colview-xemacs.el: Add in changes from org-colview.el
616 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
618 * org-exp-blocks.el: Modify split separator regexp to avoid empty
621 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
623 * org-colview.el (org-columns-new): Make this work with the new
625 (org-columns-store-format): Make this work with the new operators.
627 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
629 * org-src.el (org-src-preserve-indentation): Document that this
630 variable is also used during export.
632 * org-exp.el (org-export-format-source-code-or-example): Preserve
633 indentation if a block has a -i option, or if
634 `org-src-preserve-indentation' is set.
636 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
637 indentation if a block has a -i option, or if
638 `org-src-preserve-indentation' is set.
640 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
642 * org.el (org-mode-map): Define the new archiving keys.
643 (org-speed-commands-default): Define an archiving key in the speed
645 (org-org-menu): Improve the menu structure concerning archiving.
647 * org-archive.el (org-archive-subtree-default-with-confirmation):
650 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
651 (org-agenda-menu): Add the new archiving commands to the menu.
652 (org-agenda-archive-default)
653 (org-agenda-archive-default-with-confirmation): New commands.
654 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
655 call `org-agenda-archive-with'.
656 (org-agenda-archive-with): New function.
658 * org-table.el (org-table-convert-region): Inert spaces around "|"
659 to avoid line beginnings like "|-1" which will be mistaken as
662 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
664 * org.el (org-offer-links-in-entry): Return nil if there are no
665 links, t if a link has been selected.
666 (org-open-at-point): Open attachment directory when called in the
667 headline and there are no links in the entry body.
668 (org-speed-commands-default): Add "o" for open-at-point as a speed
671 * org-attach.el (org-attach-reveal): Optional prefix arg
672 IF-EXISTS, which avoids creating the attachment directory if it
675 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
678 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
680 * org.el ("abbrev"): Work with abbrev tables only after they have
683 * org-list.el (org-list-send-list): Fix bug related to match
686 * org-latex.el (org-export-latex-fontify): Apply verbatim
688 (org-export-latex-make-header): Insert \obeylines if line breaks
691 * org-exp.el (org-export-protect-verbatim): Add an
692 `org-verbatim-emph' property to such text.
694 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
696 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
697 (org-print-icalendar-entries): Skip entries where the timestamp is
698 not a deadline and not scheduled, if the user requests that.
700 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
701 before an opening quote.
703 * org-archive.el (org-archive-subtree): Keep archive after
706 * org-id.el (org-id-update-id-locations): Add archive files if
707 that is required by `org-id-extra-files'.
709 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
711 * org-src.el (org-src-window-setup): New option.
712 (org-src-switch-to-buffer): New function.
713 (org-edit-src-exit): Add optional argument CONTEXT and use it to
714 restore window configuration.
715 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
716 Call `org-src-switch-to-buffer'.
718 * org.el (org-default-properties): Add STYLE property.
719 (org-files-list): Use the function call to get the files.
720 (org-additional-option-like-keywords): Add SETUPFILE to completion
723 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
725 * org-table.el (org-table-convert-region): Correctly interpret
726 quoting in csv import.
728 * org.el (org-icompleting-read): Make iswitchb completion work
729 with lists and tables.
731 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
732 while pushing the mobile agenda.
734 2009-10-25 John Wiegley <jwiegley@gmail.com>
737 (org-clock-auto-clock-resolution): Now takes three values: nil, t
738 and `when-no-clock-is-running'.
739 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
740 whether or not to resolve Org buffers on clock in.
742 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
744 * org-colview.el (org-format-time-period): Function to format
745 times in fractional days for display.
746 (org-columns-display-here): Add support for showing a calculated
747 value in place of the property.
748 (org-columns): Set `org-columns-time' to the current time so time
749 difference calculations will work.
750 (org-columns-time): Use to store the current time when column view
751 is displayed, so all time differences will use the same reference
753 (org-columns-compile-map): There is now an extra position in each
754 entry specifying the function to use to calculate the displayed
755 value for the non-calculated properties in the column,
756 (org-columns-compute-all): Set `org-columns-time' to the current
757 time so time difference calculations will work.
758 (org-columns-compute): Handle column operators where the values
759 used are calculated from the underlying property.
760 (org-columns-number-to-string): Handle the 'age' column format
761 (org-columns-string-to-number): Correct the function name (was
762 org-column...). Add support for the 'age' column format.
763 (org-columns-compile-format): Support the additional parameter in
764 org-columns-compile-map.
766 2009-10-26 Bastien Guerry <bzg@altern.org>
768 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
771 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
773 * org-clock.el (org-clock-has-been-used): New variable.
774 (org-clock-in): Set `org-clock-has-been-used'.
775 (org-clock-save): Save only if clock data has been used or created
778 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
780 * org-clock.el (org-clock-persist): New value, to store only the
782 (org-clock-save): Don't save the clock if only the history should
784 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
785 when restoring a saved clock.
787 2009-10-24 John Wiegley <jwiegley@gmail.com>
789 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
790 `org-time-clock-use-fractional'.
792 * org.el (org-time-clocksum-use-fractional)
793 (org-time-clocksum-fractional-format): Two new customizable
794 variables which allow the user to select fractional times (1.25
795 instead of 1:25) in the `org-clock-display' report.
797 2009-10-23 John Wiegley <jwiegley@gmail.com>
799 * org-habit.el (org-habit-build-graph): None of the arguments
801 (org-habit-parse-todo, org-habit-deadline)
802 (org-habit-get-priority, org-habit-get-faces)
803 (org-habit-build-graph): Further simplifications by storing all
804 past, scheduled and deadline dates as a number of days past the
805 epoch, and not as times.
807 * org-habit.el (org-habit-warning-face)
808 (org-habit-warning-future-face): Removed because these are no
810 (org-habit-deadline, org-habit-deadline-repeat): Now always
811 returns a date; computed if there was a scheduled repeater but no
813 (org-habit-get-priority): Further improvements to the priority
814 algorithm. In particular, items past due should always appear
815 before items due or not yet due.
816 (org-habit-get-faces): Greatly simplified the logic, now that
817 `org-habit-deadline' always returns a valid time.
819 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
821 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
824 * org.el (org-tag-alist): Fix customization type.
826 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
828 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
829 Make sure the regexp search can fail without throwing an error.
830 (org-mobile-apply): Save the inbox buffer after removing
831 successfully applied changes.
833 2009-10-22 John Wiegley <jwiegley@gmail.com>
835 * org-habit.el (org-habit-build-graph): Fix to the graph building
836 when last DONE date is earlier than `org-habit-preceding-days'.
838 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
839 time is reported after the user comes back (but before they
842 * org.el (org-get-repeat): Change so that this function can be
843 called with either `org-scheduled-string' or
844 `org-deadline-string'.
846 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
847 to find the scheduled date.
849 * org-clock.el (org-clock-auto-clock-resolution): Renamed
850 `org-clock-disable-clock-resolution', since negatives don't sound
851 good in customization variables.
852 (org-clock-in): Don't use the auto-resolution logic if the user is
853 clocking into a different task while an active clock is running.
854 This then allows the default behavior of clocking out of the open
855 task and then into the new task.
857 * org-habit.el (org-habit-parse-todo): Generate an error if a
858 habit has a scheduled repeat period < 1.
859 (org-habit-get-faces): Fixes to the way that colors are computed.
860 (org-habit-build-graph): The graph wasn't displaying beyond any
861 day that had two completions in it.
863 * org.el (org-modules): Made this variable more consistent, since
864 it was referring to Org, OrgMode and Org-mode, whereas the docs
865 for the variable always refer to Org-mode.
867 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
869 * org.el (org-repeat-re): The changed org-repeat-re no longer
870 matched simple +2d type repeaters. Fix it so it does.
872 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
874 * org-latex.el (org-export-latex-preprocess): Protect the vspace
875 macro in the VERSE environment.
877 2009-10-20 John Wiegley <jwiegley@gmail.com>
879 * org-habit.el (org-habit-get-priority): A new function that
880 determines the relative priority of a habit, based on how long
881 past its scheduled date it is, and how near the deadline is.
883 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
884 using `org-habit-get-priority'.
886 * org-habit.el (org-habit-build-graph): Start displaying colors
887 from the first scheduled date, if that date is earlier than the
888 first completion date.
890 * org-habit.el: Changed all "color" variables to faces, and made
891 them appropriate for light and dark backgrounds.
893 * org-habit.el (org-habit-duration-to-days): Made this function
895 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
897 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
898 habits, since they don't use DEADLINE anymore.
900 * org.el (org-repeat-re, org-display-custom-time)
901 (org-timestamp-change): Extended to support the new ".+N/N"
902 syntax, used for habits.
904 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
907 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
908 modeline when habits are being displayed (if that module is being
911 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
913 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
914 idle time using the xscreensaver extension.
915 (org-user-idle-seconds): Use X11 idle time if available.
917 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
919 * org-agenda.el (org-agenda-next-line): New command.
920 (org-agenda-previous-line): New commands.
921 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
923 (org-agenda-follow-mode): Do the follow immediately if the mode is
925 (previous-line, next-line): Replace keys with the corresponding
927 (org-agenda-mode-map): Bind backspace and delete to the scrolling
930 * org.el (org-icompleting-read): Turn off partial completion mode
931 for the duration of this completion round.
933 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
934 macros in author lines and similar stuff.
936 * org.el (org-file-tags): Fix docstring.
937 (org-get-buffer-tags): Add the #+FILETAGS tags.
938 ("ecb"): Maks ecb show context after jumping into an Org file.
940 2009-10-20 John Wiegley <johnw@newartisans.com>
942 * org-agenda.el (org-finalize-agenda): Draw habit consistency
943 graphs after everything else in the buffer has been setup.
945 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
947 * org-mobile.el (org-mobile-apply): Count success and failure.
949 * org.el (org-indent-line-function): Fix regexp replace problem.
951 2009-10-19 John Wiegley <johnw@newartisans.com>
953 * org-clock.el (org-clock-disable-clock-resolution): New
954 customization variable that disable automatic clock resolution on
956 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
957 not automatically resolve anything. This is does not affect
958 idle-time resolution, however, if `org-clock-idle-time' is set.
960 2009-10-19 John Wiegley <johnw@newartisans.com>
962 * org-habit.el: New file, which implements code to build a "habit
965 * org-agenda.el (org-agenda-get-deadlines)
966 (org-agenda-get-scheduled): Display consistency graphs when
967 outputting habits into the agenda. The graphs are always relative
969 (org-format-agenda-item): Added new parameter `habitp', which
970 indicates whether we are formatting a habit or not. Do not
971 display "extra" leading information if habitp is true.
973 * org.el (org-repeat-re): Improved regexp to include .+ and ++
974 leaders for repeat strings.
975 (org-get-repeat): Now takes a string parameter `tagline', so the
976 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
978 2009-10-19 John Wiegley <johnw@newartisans.com>
980 * org-agenda.el (org-agenda-auto-exclude-function): New
981 customization variable for allowing the user to create an "auto
982 exclusion" filter for doing context-aware auto tag filtering.
983 (org-agenda-filter-by-tag): Changes to support the use of
984 `org-agenda-auto-exclude-function'. See the new manual addition,.
986 2009-10-18 John Wiegley <johnw@newartisans.com>
988 * org.el (org-files-list): Don't attempt to return a file name for
989 Org buffers which have no associated file.
991 * org-agenda.el (org-agenda-do-action): Fixed a typo.
993 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
995 * org-mobile.el (org-mobile-locate-entry): Interpret files
996 relative to org-directory.
997 (org-mobile-inbox-for-pull): Document the best location for this
999 (org-mobile-check-setup): Verify `org-directory'.
1000 (org-mobile-create-index-file): Sort the files to be listed in
1003 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
1005 * org.el (org-fast-tag-selection): Add a way to display a
1006 description for a tag group. This is done by adding a string to
1007 either the startgroup or endgroup cell.
1009 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1011 * org-clock.el (org-clock-resolve, org-resolve-clocks)
1012 (org-emacs-idle-seconds): Use `org-float-time' instead of
1015 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1017 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1020 * org.el (org-pre-cycle-hook): Document that `empty' can also be
1021 the value of ARG when doing local cycling.
1023 2009-10-17 John Wiegley <johnw@newartisans.com>
1025 * org-clock.el (org-clock-resolve-clock): If keeping or
1026 subtracting time results in a clock out at a time in the past, and
1027 if the resolution occurred due to idleness or invoking `M-x
1028 org-resolve-clocks', remember that past moment in time. On the
1029 next clock in, the user will be prompted to see if they want to
1030 back-date their new clock to then.
1031 (org-clock-resolve): Do not jump the user to the location of a
1032 dangling clock if the resolution is occuring due to an idle
1033 timeout. In that case there is typically only one dangling clock,
1034 the active one, and there is no value gained by shuffling their
1035 windows around to show it to them. Being prompted to resolve an
1036 idle clock should be as inobtrusive as possible.
1037 (org-resolve-clocks-if-idle): New function that resolves only the
1038 currently active clock if the user has exceeded the time returned
1039 by `org-user-idle-seconds', based on the value of
1040 `org-clock-idle-time'.
1041 (org-clock-in): If, after resolving clocks,
1042 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1044 * org-clock.el (org-clock-resolve-clock): New function that
1045 resolves a clock to a specific time, closing or resuming as need
1046 be, and possibly even starting a new clock.
1047 (org-clock-resolve): New function used by `org-resolve-clocks'
1048 that sets up for the call to `org-clock-resolve-clock'. It
1049 determines the time to resolve to based on a single-character
1050 selection from the user to either keep time, subtract away time or
1052 (org-resolve-clocks): New user command which resolves dangling
1053 clocks -- that is, open but not active -- anywhere in the file
1054 list returned by `org-files-list'.
1055 (org-clock-in): Automatically resolve dangling clocks whenever a
1057 (org-clock-cancel): If the user cancels the solely clock in a
1058 LOGBOOK, remove the empty drawer.
1060 * org-clock.el (org-clock-idle-time): New user customizable option
1061 for detecting whether the user has left a clock idle. Note: it is
1062 only used in this commit to test whether it's worthwhile to check
1063 OS X to get the Mac user's current idle time. If the Emacs idle
1064 time is less than the value, the user hasn't been away long enough
1065 to be worth checking (a more expensive test than just getting
1067 (org-user-idle-seconds, org-mac-idle-seconds)
1068 (org-emacs-idle-seconds): This three functions, in conjunction
1069 with the user customization variable `org-clock-idle-time', return
1070 the number of seconds (as a floating point) that the user has been
1071 away from their Emacs (or, if running on OS X, their computer).
1073 * org-clock.el (org-find-open-clocks): New function that returns a
1074 list of all open clocks in the given FILE. Note that each clock
1075 it returns is a cons cell of the format (MARKER . START-TIME).
1076 This "clock" value is used by several of the new clock module
1078 (org-is-active-clock): New inline function which tests whether the
1079 given clock value is the same as the currently active clock.
1080 Returns non-nil if this is the case.
1081 (org-with-clock-position): New macro that evaluates FORMS with
1082 point in the buffer and at the position of the given clock.
1083 Changes to the current clock are global.
1084 (org-with-clock): New macro that evaluates FORMS with point in the
1085 buffer and at the position of the given clock. However, changes
1086 to the current clock are local and have no effect on the user's
1087 active clock. This allows, for example, far any clock to be
1088 cancelled without cancelling the active clock.
1089 (org-clock-clock-in): New inline function that switches the active
1090 clock to the given clock. If either the argument RESUME, or the
1091 global `org-clock-in-resume', are non-nil, it will resume a clock
1092 that was previously left open.
1093 (org-clock-clock-out): New inline function that clocks out the
1094 given clock value without affecting the currently active clock.
1095 (org-clock-clock-cancel): New inline function that cancels the
1096 given clock value without affecting the currently active clock.
1098 * org-clock.el (org-clock-in): Before creating
1099 `org-clock-mode-line-timer', check to make sure an older timer is
1100 not currently running.
1101 (org-clock-out): Accept new third parameter `at-time', which
1102 permits a clock to be clocked out at a specific time. Note that
1103 no attempt is made to verify that the clock out time is later than
1106 * org.el (org-files-list): New utility function for returning a
1107 list of all open org-mode buffers, plus all files used to build
1108 the agenda buffer. Note that not all the files will necessarily
1109 be visited by a buffer at time of call.
1110 (org-entry-beginning-position): Like the function
1111 `line-beginning-position', this inline function returns the
1112 beginning position of the current heading/entry.
1113 (org-entry-end-position): Like the function `line-end-position',
1114 this inline function returns the end position of the current
1117 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
1119 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1122 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
1124 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1126 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
1128 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1129 entries that have no tags.
1130 (org-agenda-search-view): New customize group.
1131 (org-agenda-search-view-search-words-only): New option.
1132 (org-search-view): Implement substring search.
1134 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
1136 * org.el (org-outline-level): Add doc string.
1138 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
1140 * org-inlinetask.el (org-inlinetask-export): Re-introduce
1142 (org-inlinetask-export-handler): Only export inline task if the
1143 user option calls for it.
1145 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
1147 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1150 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
1152 * org-latex.el (org-export-latex-tables): Don't format in
1155 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
1157 * org-src.el (org-edit-src-code)
1158 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1161 * org-agenda.el (org-prefix-category-max-length): New variable.
1162 (org-format-agenda-item): Use `org-prefix-category-max-length'.
1163 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1165 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
1167 * org-mobile.el (org-mobile-create-index-file): Improve the
1168 listing of tags and todo keywords.
1170 * org-latex.el (org-export-latex-format-image): New function.
1171 (org-export-latex-links): Use `org-export-latex-format-image'.
1173 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
1175 * org-inlinetask.el (org-inlinetask-get-current-indentation)
1176 (org-inlinetask-remove-terminator): New functions.
1177 (org-inlinetask-export-handler): Terminate the description list.
1179 * org-exp.el (org-export-select-backend-specific-text): Remove the
1182 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1183 tasks without content.
1185 * org-clock.el: Make sure the clock-in target position does not
1186 move to a different node by widening the buffer.
1188 * org-html.el (org-export-html-format-image): Wrap image into
1189 figure div only when there is a caption.
1191 * org-archive.el (org-archive-mark-done): Change default value to
1194 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1196 * org.el (org-context): Call `bobp', not `eobp'.
1198 * org-clock.el (org-clock-cancel): Remove quotes from marker
1201 * org.el (org-read-date-prefer-future): New allowed value `time'.
1202 (org-read-date-analyze): Shift day to tomorrow depending on time
1203 entered and value of `org-read-date-prefer-future'.
1205 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
1207 * org.el (org-set-tags-to): New command.
1209 * org-mobile.el (org-mobile-action-alist): Add more options and
1210 update the docstring.
1211 (org-mobile-apply-flags): Parse for and use the data.
1213 * org-latex.el (org-export-latex-set-initial-vars): Also check in
1216 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1219 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1221 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
1223 * org-inlinetask.el (org-inlinetask-export): Option removed.
1224 (org-inlinetask-export-handler): Better export.
1226 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1227 (org-export-as-xoxo): Run the new hook.
1229 * org-html.el (org-export-html-final-hook): New hook.
1230 (org-export-as-html): Run the new hook.
1232 * org-docbook.el (org-export-docbook-final-hook): New hook.
1233 (org-export-as-docbook): Run the new hook.
1235 * org-ascii.el (org-export-ascii-final-hook): New hook.
1236 (org-export-as-ascii): Run the new hook.
1238 * org-mobile.el (org-mobile-create-sumo-agenda): Call
1239 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1241 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1242 space character as the character before the ^/_.
1243 (org-export-latex-final-hook): New hook.
1244 (org-export-as-latex): Run `org-export-latex-final-hook'.
1246 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
1248 * org-macs.el (org-if-unprotected-at): Fix docstring.
1250 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1251 text in the prefix (if category is a link).
1253 * org-latex.el (org-export-latex-preprocess): Deal properly with
1254 empty lines in verse environments.
1256 * org.el (org-format-latex-header): Inline fullpage.sty.
1258 * org-footnote.el (org-footnote-create-definition): Reveal context
1259 to add a new footnote definition.
1261 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1263 (org-mobile-files): New option.
1264 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1265 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1267 (org-mobile-push): Start by creating the files lists.
1268 (org-mobile-copy-agenda-files): Move killing the buffer to after
1269 the save-excursion has exited.
1270 (org-mobile-write-checksums): Write checksums also for files in
1273 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1274 org-table-recalculate when cursor is in TBLFM line.
1276 * org-list.el (org-renumber-ordered-list): Fix cursor position
1277 when bullet length has changed.
1279 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1281 * org.el (org-format-latex): Mention `org-format-latex-options' in
1284 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1286 * org.el (org-agenda-get): New function.
1288 * org-agenda.el (org-agenda-post-command-hook): No longer move
1289 point away from end of line.
1290 (org-agenda-add-entry-text, org-agenda-collect-markers)
1291 (org-finalize-agenda, org-agenda-mark-clocking-task)
1292 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1293 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1294 (org-agenda-compare-effort, org-agenda-filter-apply)
1295 (org-agenda-later, org-agenda-change-time-span)
1296 (org-agenda-post-command-hook, org-agenda-show-priority)
1297 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1298 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1299 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1300 (org-agenda-open-link, org-agenda-copy-local-variable)
1301 (org-agenda-switch-to, org-agenda-check-no-diary)
1302 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1303 (org-agenda-add-note, org-agenda-change-all-lines)
1304 (org-agenda-priority, org-agenda-set-tags)
1305 (org-agenda-set-property, org-agenda-set-effort)
1306 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1307 (org-agenda-show-new-time, org-agenda-date-prompt)
1308 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1309 (org-agenda-clock-in, org-agenda-bulk-mark)
1310 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1313 * org-colview.el (org-columns-display-here)
1314 (org-columns-edit-allowed, org-agenda-columns): Use
1317 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1319 * org.el (org-special-ctrl-a/e): Improve documentation and
1321 (org-end-of-line): Don't jump to after the ellipsis.
1322 (org-mode-map): Bind <home> and <end> as well.
1324 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1326 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1327 space after #+ as comments.
1328 (org-open-at-point): Run `org-follow-link-hook' always.
1330 * org-latex.el (org-export-latex-emph-format): Use better commands
1331 to insert special characters in verbatim snippets.
1333 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1335 * org-faces.el (org-copy-face): New function. Use it to create
1336 various faces formerly created by using `copy-face'.
1338 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1340 (org-agenda-quit): Kill the frame containing the agenda window if
1341 that frame was created for the agenda.
1343 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1345 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1346 stamp in the agenda.
1348 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1350 * org-mobile.el (org-mobile-create-index-file): Add the list of
1351 TODO keywords, and the list of drawers to the index file.
1353 * org-agenda.el (org-prepare-agenda): Reset
1354 `org-drawers-for-agenda'.
1355 (org-prepare-agenda): Uniquify list of drawers.
1357 * org.el (org-complex-heading-regexp-format): New variable.
1358 (org-set-regexps-and-options): Define
1359 `org-complex-heading-regexp-format'.
1360 (org-drawers-for-agenda): New variable.
1361 (org-map-entries): Bind `org-drawers-for-agenda'.
1362 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1364 * org-remember.el (org-go-to-remember-target)
1365 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1367 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1369 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1372 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1373 the capture file, and make it non-configurable.
1375 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1376 always with `invisible-ok'.
1377 (org-store-link): No error when there is nothing to link to in the
1380 * org-list.el (org-update-checkbox-count): Insert changed cookie
1381 before the old, to avoid problems with invisibility at the end of
1383 (org-update-checkbox-count): Insert changed cookie before the old,
1384 to avoid problems with invisibility at the end of the line.
1386 * org.el (org-sort-entries-or-items): Include the final newline.
1387 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1388 lines for fontification.
1389 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1390 (org-prepare-dblock): Store the current indentation of the BEGIN
1392 (org-update-dblock): Apply the indentation of the begin line to
1393 the rest of the block.
1394 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1395 (org-startup-folded): New allowed value `showeverything'.
1396 (org-startup-options): Add STARTUP keyword `showeverything'.
1397 (org-set-startup-visibility): Respect value `showeverything' in
1400 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1402 * org.el (org-closest-date): Fix issue with past preference.
1404 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1406 * org-archive.el (org-archive-set-tag)
1407 (org-archive-subtree-default): New commands.
1409 * org-mobile.el (org-mobile-create-index-file): Fix link to
1411 (org-mobile-copy-agenda-files): Create the capture file if it does
1414 * org-clock.el (org-clock-clocktable-default-properties): New
1416 (org-clock-report): Use
1417 `org-clock-clocktable-default-properties'.
1419 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1421 * org.el (org-iswitchb-completing-read): Fix typo.
1423 * org-crypt.el: New file.
1425 * org.el: Add an entry for org-crypt.
1427 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1429 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1431 (org-batch-store-agenda-views): New function.
1432 (org-mobile-force-id-on-agenda-items): Mention variable.
1433 (org-agenda-title-append): Define variable.
1434 (org-write-agenda): New export to Org files.
1435 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1436 (org-agenda): Allow to keep the restricted file list if a special
1437 variable is bound to t.
1438 (org-agenda): Define a special agenda view for working on flagged
1440 (org-agenda-get-restriction-and-command): List the new agenda
1442 (org-agenda-show-the-flagging-note): New command.
1443 (org-agenda-mode-map): New key `?' for looking at the flagging
1446 * org.el (org-autoload): Autoload org-mobile.el.
1447 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1449 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1451 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1453 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1455 (org-table-get-remote-range): Match indented #+TBLNAME
1458 * org.el (org-convert-to-odd-levels)
1459 (org-convert-to-oddeven-levels): Work also correctly if the file
1462 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1464 * org.el (org-store-link): When in agenda buffer, link to
1466 (org-add-planning-info): Remove spaces at eol.
1468 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1471 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1473 * org-latex.el (org-export-latex-first-lines): Fix problem with
1474 LaTeX export of first line and selected subtree.
1476 * org.el (org-shifttab): Interpret arg differently when using only
1479 2009-09-09 Bastien Guerry <bzg@altern.org>
1481 * org.el (org-check-agenda-file): Use a more explicit message
1483 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1485 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1488 2009-09-08 Bastien Guerry <bzg@altern.org>
1490 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1491 prompt in the temporary window.
1493 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1494 prefix for marked entries in the agenda view.
1496 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1498 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1499 a way that prevents any trailing character from being displayed.
1501 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1503 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1506 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1509 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1511 * org-latex.el (org-export-latex-preprocess): Do not protect in
1514 * org-src.el (org-edit-src-save): Save window setup while saving.
1515 (org-edit-src-code): Use new buffer name construction scheme.
1517 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1519 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1521 (org-agenda-entry-text-cleanup-hook): New hook.
1522 (org-agenda-get-some-entry-text): Remove matches of
1523 `org-agenda-entry-text-exclude-regexps' and run the hook
1524 `org-agenda-entry-text-cleanup-hook'.
1526 * org.el (org-offer-links-in-entry): New argument ZERO to
1527 implement a link with index zero.
1528 (org-cycle-show-empty-lines): Not keep empty line under header
1530 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1531 to nil for special completion.
1532 (org-store-link): Don't error before the first heading.
1534 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1535 `org-offer-links-in-entry'.
1537 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1539 * org-agenda.el (org-agenda-quit): Provide the window argument for
1540 `window-dedicated-p', Emacs 22 needs it.
1541 (org-format-agenda-item): If the category is a link, arrange for
1542 invisible text to replaced with spaces.
1543 (org-compile-prefix-format): Add the extra space.
1544 (org-prefix-category-length): New variable.
1546 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1547 references from TOC lines.
1549 * org.el (org-selected-window): New variable.
1551 * org-table.el (org-table-edit-formulas): Remember the selected
1553 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1554 that was originally selected.
1556 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1557 expansion of a macro for more macro definitions.
1559 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1560 invisibility overlay starts on the newline.
1562 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1564 * org-protocol.el (org-protocol-store-link)
1565 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1567 * org-compat.el (org-float-time): New function.
1569 * org.el (org-clock-update-time-maybe)
1570 (org-sort-entries-or-items, org-do-sort)
1571 (org-evaluate-time-range, org-time-string-to-seconds)
1572 (org-closed-in-range): Use `org-float-time'.
1574 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1575 (org-timer-seconds): Use `org-float-time'.
1577 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1578 (org-clock-sum, org-dblock-write:clocktable)
1579 (org-clocktable-steps): Use `org-float-time'.
1581 * org-agenda.el (org-agenda-last-marker-time)
1582 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1584 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1587 * org-exp.el (org-get-file-contents): Only protect lines that
1590 * org-html.el (require): Require cl for compilation.
1592 * org.el: Avoid using `default-major-mode'.
1594 * org-plot.el (require): Require CL only at compile time.
1596 * org-exp.el (require): Require CL only at compile time.
1598 * org-agenda.el (org-agenda-quit): When the agenda window is
1599 dedicated, remove other windows before exiting, so that the frame
1600 really will be killed.
1602 * org-exp.el (org-export-handle-include-files): Reset START and
1603 END for each loop cycle.
1605 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1607 * org.el (org-eval-in-calendar): Use
1608 `org-select-frame-set-input-focus'.
1610 * org-compat.el (org-select-frame-set-input-focus): New function.
1612 * org.el (org-update-statistics-cookies): New function.
1613 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1615 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1617 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1618 after the local variables are set.
1620 * org-latex.el (org-export-latex-protect-amp): New function.
1621 (org-export-latex-links): Protect link ampersands in tables.
1623 * org-exp.el (org-export-select-backend-specific-text): Match in
1624 two steps, to avoid regexp problems.
1626 * org.el (org-offer-links-in-entry): Improve working with many and
1629 * org-agenda.el (org-agenda-show-1): Make more consistent with
1631 (org-agenda-cycle-show): Make more consistent with normal cycling.
1633 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1636 2009-08-30 Bastien Guerry <bzg@altern.org>
1638 * org-latex.el (org-export-latex-first-lines): Bugfix.
1640 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1642 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1645 * org.el (org-set-effort): New function.
1646 (org-mode-map): New key for effort setting command.
1648 * org-agenda.el (org-agenda): Keep window setup when calling
1649 agenda from within agenda window.
1650 (org-agenda-mode-map): New keys for effort setting commands.
1651 (org-agenda-menu): Add effort setting commands to menu.
1652 (org-agenda-set-property, org-agenda-set-effort): New functions.
1654 * org-latex.el (org-export-latex-tables): Fix
1655 `org-table-last-alignment' and `org-table-last-column-widths' if
1656 the first column has been removed.
1658 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1660 * org.el (org-remove-timestamp-with-keyword): Only remove in
1661 entry, not in subtree.
1663 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1666 * org.el (org-open-at-point): When on headline, offer all strings
1669 * org-remember.el (org-remember-templates): Documentation fix.
1671 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1672 `org-get-last-sibling' instead of the outline versions of these
1674 (org-get-last-sibling): New function.
1675 (org-refile): Use `org-get-next-sibling' instead of the outline
1676 version of this function.
1677 (org-clean-visibility-after-subtree-move): Use
1678 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1679 outline versions of these functions.
1681 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1683 * org-agenda.el (org-prepare-agenda): When creating a new frame
1684 for the agenda, make the window dedicated.
1686 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1688 * org-table.el (org-table-align): Change the order of reinsertion
1689 and deletion, to avoid problems with overlays following the table.
1691 * org.el (org-parse-time-string): Better error message.
1692 (org-show-subtree): Use org-end-of-subtree.
1694 * org-macs.el (org-goto-line): New defsubst.
1696 * org.el (org-open-file, org-change-tag-in-region)
1697 (org-fast-tag-show-exit): Don't use `goto-line'.
1699 * org-table.el (org-table-align, org-table-insert-column)
1700 (org-table-delete-column, org-table-move-column)
1701 (org-table-sort-lines, org-table-copy-region)
1702 (org-table-paste-rectangle, org-table-wrap-region)
1703 (org-table-get-specials, org-table-rotate-recalc-marks)
1704 (org-table-get-range, org-table-recalculate)
1705 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1706 (org-table-show-reference, org-table-highlight-rectangle): Don't
1709 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1710 (org-edit-src-exit): Don't use `goto-line'.
1712 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1714 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1715 Don't use `goto-line'.
1717 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1719 * org-colview.el (org-columns, org-columns-redo)
1720 (org-agenda-columns): Don't use `goto-line'.
1722 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1725 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1726 (org-agenda-add-entry-text-maxlines): Improve docstring.
1727 (org-agenda-start-with-entry-text-mode): New option.
1728 (org-agenda-entry-text-maxlines): New option.
1729 (org-agenda-entry-text-mode): New variable.
1730 (org-agenda-mode): Set initial value of
1731 `org-agenda-entry-text-mode'.
1732 (org-agenda-mode-map): Add the `E' key.
1733 (org-agenda-menu): Add entry text mode to the menu.
1734 (org-agenda-get-some-entry-text): Fix line count bug.
1735 (org-finalize-agenda): Apply entry text mode if appropriate.
1736 (org-agenda-entry-text-show-here): New function.
1737 (org-agenda-entry-text-show): New function.
1738 (org-agenda-entry-text-hide): New function.
1739 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1741 (org-agenda-entry-text-mode): New command.
1742 (org-agenda-set-mode-name): Add entry text mode to the mode line
1744 (org-agenda-undo, org-agenda-get-restriction-and-command)
1745 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1748 2009-08-26 Bernt Hansen <bernt@norang.ca>
1750 * org-clock.el (org-notify): Bugfix.
1752 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1754 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1755 check for after-string.
1757 * org-gnus.el (org-gnus-store-link): Simplify.
1759 * org.el (org-latex-regexps): Don't add extra empty lines for
1762 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1764 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1765 (org-agenda-add-entry-text): Use
1766 `org-agenda-get-some-entry-text'.
1768 * org.el (org-cycle-separator-lines): Update docstring.
1769 (org-cycle-show-empty-lines): Handle negative values for
1770 `org-cycle-show-empty-lines'.
1772 * org-exp.el (org-export-protect-sub-super): New function.
1773 (org-export-normalize-links): Protect the url of plain links from
1774 supscript and superscript processing.
1776 * org-remember.el (org-remember-escaped-%): New function.
1777 (org-remember-apply-template): Use `org-remember-escaped-%' to
1778 detect escaped % signs.
1780 2009-08-23 Bastien Guerry <bzg@altern.org>
1782 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1783 sound when showing the notification.
1785 * org-clock.el (org-notify): New function.
1786 (org-clock-notify-once-if-expired): Use `org-notify'.
1788 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1789 and `gnus-article-mode' separately.
1790 (gnus-summary-article-header): Fix the declare-function.
1792 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1794 * org-exp.el (org-export-format-source-code-or-example): Translate
1797 * org-src.el (org-src-lang-modes): New variable
1798 (org-edit-src-code): Translate language.
1800 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1801 the new structure of the `org-export-latex-listings-langs'
1804 * org-latex.el (org-export-latex-listings-langs): Change structure
1805 of the variable from plist to alist.
1807 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1809 * org.el (org-in-commented-line): New function.
1811 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1813 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1815 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1817 * org.el (org-flag-drawer): More useful error.
1819 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1821 * org-remember.el (org-remember-apply-template): Use
1822 org-icompleting-read.
1824 * org-publish.el (org-publish): Use org-icompleting-read.
1826 * org-colview.el (org-columns-edit-value, org-columns-new)
1827 (org-insert-columns-dblock): Use org-icompleting-read.
1829 * org-colview-xemacs.el (org-columns-edit-value)
1830 (org-columns-new, org-insert-columns-dblock): Use
1831 org-icompleting-read.
1833 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1834 org-icompleting-read.
1836 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1838 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1839 (org-version): Return the version text.
1840 (org-org-menu): Add a menu entry for the new bug reporter.
1841 (org-submit-bug-report): New command.
1843 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1846 * org.el (org-emphasis-regexp-components): Add "`" to set of
1847 pre-emphasis characters.
1849 * org-latex.el (org-export-latex-classes): Always include the soul
1851 (org-export-latex-emphasis-alist): Use \st for strikethough.
1853 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1854 `indent-code-rigidly' to indent.
1856 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1857 properties only if MATCH really is a string.
1859 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1861 * org-latex.el (org-export-latex-packages-alist): Fix
1864 * org.el (org-create-formula-image): Also use
1865 `org-export-latex-packages-alist'.
1867 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1868 (org-export-as-html): Format footnotes correctly.
1870 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1872 * org.el (org-fast-tag-selection): Avoid text properties on tags
1875 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1876 text properties on the match element.
1878 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1880 * org.el (org-set-regexps-and-options): Make sure the list of done
1881 keywords is not invalid.
1883 * org-exp.el (org-export-interpolate-newlines): New function.
1885 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1887 * org.el (org-format-latex): Avoid nested overlays.
1889 * org-latex.el (org-export-latex-listings-langs): Add a few more
1892 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1893 ignore newlines and space before the first macro argument.
1895 * org-latex.el (org-export-latex-tables): Remove save-excursion
1896 around `org-table-align'.
1898 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1900 * org.el (org-export-html-special-string-regexps): Definition
1903 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1906 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org-latex.el (org-export-latex-listings)
1909 (org-export-latex-listings-langs): New options.
1911 * org-exp.el (org-export-format-source-code-or-example): Use
1912 listing package if requested by the user.
1914 2009-08-08 Bastien Guerry <bzg@altern.org>
1916 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1917 command before actually switching to a buffer.
1919 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1921 * org-exp.el (org-get-file-contents): Only quote org lines when
1922 the markup is src or example.
1924 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1926 (org-agenda-get-day-entries): Remember deadline results and pass
1927 them on into the function getting the scheduling information.
1928 (org-agenda-get-scheduled): Accept deadline results as parameters
1929 and maybe skip some entries.
1930 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1932 * org.el (org-insert-heading): When respecting content, do not
1933 convert current line to headline.
1935 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1936 cheeeeeck the hd marker
1937 (org-clock-in): Also set the hd marker.
1938 (org-clock-out): Also set the hd marker.
1939 (org-clock-cancel): Reset markers.
1941 * org.el (org-clock-hd-marker): New marker.
1943 * org-faces.el (org-agenda-clocking): New face.
1945 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1946 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1948 * org.el (org-modules): Add org-track.el.
1950 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1951 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1952 `org-agenda-bulk-marked-p'.
1953 (org-agenda-bulk-toggle): New command.
1955 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1957 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1960 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1963 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
1965 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1966 before gnuplot can read it.
1968 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
1970 * org-latex.el (org-export-latex-first-lines): Fix bug with
1971 finding the end of the first lines.
1973 * org.el (org-create-formula-image): Remove the -E option for
1976 * org-exp.el (org-default-export-plist): Respect #+BIND.
1977 (org-export-confirm-letbind): New function.
1979 * org.el (org-paste-subtree): Test the kill ring entry if it is
1981 (org-copy-subtree): Use `org-forward-same-level'.
1982 (org-forward-same-level): Respect the `invisibe-ok' arg for
1985 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
1987 * org.el (org-table-map-tables): Make sure cursor is back at table
1988 beginning after funcall.
1990 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1991 handled before children, and do not error if an entry is not
1992 found, probably because it hase been remove when the parent was
1993 archived or refiled.
1995 * org.el (org-ido-completing-read): Accept straight lists for
1996 completion as well as alists.
1998 * org-html.el (org-export-as-html): Fix parenthesis error in
2001 * org-timer.el (org-timer-cancel-timers): Renamed from
2002 `org-timer-cancel-timers'.
2004 * org.el (org-cycle-internal-local): Fix problem with finding next
2007 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
2009 * org-list.el (org-list-send-list): Call
2010 `org-list-goto-true-beginning' instead of
2011 `org-list-find-true-beginning', which does not exist.
2013 * org-timer.el (org-timer-reset-timers): Use `mapc'.
2014 (org-timer-set-timer): Do not assign to heading.
2016 * org-id.el (org-id-open): Quote function name.
2018 * org-macs.el (org-unmodified): Turn off recording undo
2019 information while running inside the macro.
2021 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2023 (org-indent-mode): Remember and restore value of
2024 org-hide-leading-stars before `org-indent-mode'.
2026 * org-table.el (org-table-export): Also work in file-less
2029 * org.el (org-startup-indented): New option.
2030 (org-startup-options): Add new options indent and noindent.
2031 (org-unfontify-region): Remove line-prefix and wrap-prefix
2033 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2035 (org-promote, org-demote): Run the new hooks.
2037 * org-table.el (org-table-align): Replace leading \n as well.
2039 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2040 and `line-wrap' text properties.
2042 * org-compat.el (org-kill-new): New function.
2044 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2045 `line-wrap' text properties.
2047 * org-indent.el: New file.
2049 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
2051 * org.el (org-provide-todo-statistics): Tweak docstring.
2053 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2055 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
2057 * org-exp.el (org-export-as-org): Insert the "-source" string
2058 before the extension.
2060 * org.el (org-read-date): Make sure the calendar is in the current
2062 (org-set-emph-re): Remove the ? from the post-match.
2063 (org-emphasis-regexp-components): Add backslash to the
2065 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2066 optional so that also lines at the end of the buffers will still
2067 be matched as headlines.
2069 * org-table.el (org-table-error-on-row-ref-crossing-hline):
2070 Variable made obsolete.
2071 (org-table-relative-ref-may-cross-hline): New option.
2072 (org-table-find-row-type): Honow the new option
2073 `org-table-relative-ref-may-cross-hline'.
2075 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
2077 * org-table.el (org-table-cut-region, org-table-copy-region): Work
2078 on single field if no active region.
2080 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
2082 * org-latex.el (org-export-latex-make-header): Only insert title
2085 * org.el (org-make-options-regexp): Allow empty values.
2087 * org-html.el (org-export-as-html): Move hrule detection to after
2088 plain list handling.
2090 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
2092 * org-html.el (org-format-org-table-html): Fix colgroup tags.
2094 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
2096 * org.el (org-cycle-internal-local): Improved version of finding
2098 (org-cycle-hide-drawers): Only hide drawers if this is really
2100 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2101 org-version of this function in Org-mode. We use advice to
2102 implement this change, so that future changes to this function in
2103 outline.el wil be handled properly.
2104 (org-forward-same-level, org-backward-same-level): New commands.
2106 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
2108 * org.el (org-remove-empty-overlays-at)
2109 (org-clean-visibility-after-subtree-move): New functons.
2110 (org-move-subtree-down): Simplify cleanup of display.
2112 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
2114 * org-mac-message.el (org-mac-message-get-links): Improve
2115 docstring. Make argument SELECT-OR-FLAGGED optional, default to
2116 "s". Fix the return value.
2117 (org-mac-message-insert-flagged): Simplify.
2119 * org.el (org-refile-get-location): Tamper with refile history o
2120 that history contains compete matches instead of the entered
2123 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
2125 * org.el (org-store-link): Never store a link to an inline task.
2127 * org-inlinetask.el (org-inlinetask-insert-task): New command.
2129 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2130 inline tasks when positioning footnotes.
2132 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2135 * org.el (org-refile): Remove the END line when archiving an
2136 inline task that does have an END line.
2138 * org-archive.el (org-archive-subtree): Remove the END line when
2139 archiving an inline task that does have an END line.
2141 * org-macs.el (org-with-limited-levels): New macro.
2142 (org-get-limited-outline-regexp): New function.
2144 * org-exp.el (org-export-format-source-code-or-example): Fix bug
2145 that did not enumerate first line.
2146 (org-export-mark-radio-links): Skip matches in links.
2148 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
2150 * org.el (org-activate-plain-links): Make single-match.
2151 (org-adapt-indentation): Fix docstring.
2153 * org-macs.el (org-unmodified): Turn of modification hooks while
2156 2009-08-02 Bastien Guerry <bzg@altern.org>
2158 * org.el (org-adapt-indentation): Slightly improve the docstring.
2159 (org-occur): Sends an error when the user inputs an empty string.
2160 (org-priority): Bugfix: the tag alignement should happen within
2163 2009-07-31 Bastien Guerry <bzg@altern.org>
2165 * org.el (org-make-link-regexps): Don't exclude parentheses from
2167 (org-cycle-internal-local): When locally cycling, switch directly
2168 from CHILDREN to FOLDED if there is no subtree
2169 (org-cycle): Update the docstring to document the new behavior of
2170 `org-cycle-internal-local'.
2172 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
2174 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2175 an abbreviated format for days.
2177 2009-07-27 Bastien Guerry <bzg@altern.org>
2179 * org-protocol.el (org-protocol-default-template-key): New
2182 * org.el (org-refile): Bugfix: save-excursion before reading the
2183 refile target, otherwise cursor moves might confuse `org-refile'.
2185 * org-html.el (org-export-as-html): Bugfix: correctly convert the
2186 footnote reference before the footnote itself.
2188 * org.el (org-toggle-heading): Bugfix: correctly convert list
2189 items before the first headline.
2191 * org-html.el (org-export-html-footnote-format): New option for
2192 formatting the footnote reference.
2193 (org-export-as-html): Use the new option.
2195 * org.el (org-provide-todo-statistics): Allow a list of TODO
2196 keywords to compute statistics against headlines containing a
2197 keyword from this list.
2198 (org-update-parent-todo-statistics): Possibly use the new allowed
2199 value of `org-provide-todo-statistics'.
2201 2009-07-26 Bastien Guerry <bzg@altern.org>
2203 * org-timer.el: Add autoload cookie.
2205 * org.el (org-occur-link-in-agenda-files): New function.
2207 * org-timer.el (org-timer-last-timer): New variable.
2209 * org-agenda.el (org-agenda-mode-map): New key for
2210 org-timer-set-timer called from the agenda.
2212 * org.el (org-mode-map): New key for org-timer-set-timer.
2214 * org-timer.el (org-timer-reset-timers)
2215 (org-timer-show-remaining-time, org-timer-set-timer): New
2218 * org-clock.el (org-show-notification): Update the docstring.
2220 * org.el (org-provide-todo-statistics): Allow new value
2221 'all-headlines for this option, which includes entries with no
2222 TODO keywords in the todo statistics.
2223 (org-update-parent-todo-statistics): Possibly use the new
2224 'all-headline value from `org-provide-todo-statistics'.
2226 2009-07-25 Bastien Guerry <bzg@altern.org>
2228 * org-clock.el (org-dblock-write:clocktable): Add a new option
2229 :timestamp which allows display of timestamps in clock reports.
2231 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2232 list to a subtree, preserving the structure of the list.
2233 (org-set-emph-re): Make the last element optional in the regexp.
2234 This regexp now matches an emphasized string at the end of a line.
2236 * org-list.el (org-list-goto-true-beginning)
2237 (org-list-make-subtree, org-list-make-subtrees): New functions.
2239 * org.el (org-eval-in-calendar): Select the right frame.
2240 (org-save-frame-excursion): Remove this macro.
2242 2009-07-24 Bastien Guerry <bzg@altern.org>
2244 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2245 trying to find the beginning of a list.
2247 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2248 When present, tell org-get-file-contents not to protect org-like
2251 * org-id.el (org-id-uuid-program): New option to set the name of
2252 the uuidgen program.
2253 (org-id-method): Use `org-id-uuid-program'.
2254 (org-id-new): Use `org-id-uuid-program'.
2256 2009-07-23 Bastien Guerry <bzg@altern.org>
2258 * org-exp.el (org-export-number-lines): Allow whitespace in code
2259 references. Allow the -r switch to remove the references in the
2260 source code even when the lines are not numbered: the labels can
2263 * org.el (org-fontify-whole-heading-line): New option.
2264 (org-set-font-lock-defaults): Use the new option.
2266 * org-clock.el (org-show-notification-handler): New option.
2267 (org-show-notification): Use the new option.
2269 2009-07-21 Bastien Guerry <bzg@altern.org>
2271 * org.el (org-eval-in-calendar): Fix a bug about calendar
2272 navigation when `calendar-setup' value is 'calendar-only.
2274 2009-07-19 Bastien Guerry <bzg@altern.org>
2276 * org.el (orgstruct++-mode): Fix typo in docstring.
2277 (org-insert-link): Clean up: (or (...)) => (...)
2278 (org-insert-link): Use TAB for stored links completion.
2280 2009-07-18 Bastien Guerry <bzg@altern.org>
2282 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2283 building the list of targets.
2285 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2287 (org-remember-handler): Use the new option.
2289 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2291 * org.el (org-tags-sort-function): New option for sorting tags.
2292 (org-set-tags): Use the new option to sort tags.
2294 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2295 premature deletion of the data when using org-plot in a script.
2297 2009-07-17 Bastien Guerry <bzg@altern.org>
2299 * org-clock.el (org-clock-in-prepare-hook): New hook.
2300 (org-clock-in): Use this new hook.
2302 2009-07-16 Bastien Guerry <bzg@altern.org>
2304 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2305 'reversed for this option to the "true line boundary first"
2307 (org-tags-match-list-sublevels): Document the 'indented value for
2310 * org-latex.el (org-export-latex-first-lines): Fix problem with
2311 publishing the region.
2313 * org-exp.el (org-export-format-source-code-or-example): Fix
2314 bad line numbering when exporting examples in HTML.
2316 * org-colview.el (org-format-time-period): Formats a time in
2317 fractional days as days, hours, mins, seconds.
2318 (org-columns-display-here): Add special handling for SINCE and
2319 SINCE_IA to format for display.
2321 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2323 * org.el (org-tags-sort-function): Add custom declaration for tags
2325 (org-set-tags): Sort tags if org-tags-sort-function is set
2327 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2329 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2331 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2333 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2336 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2338 * org-publish.el (org-publish-remove-all-timestamps): New function.
2339 (org-publish-all): Remove all timestamp files if `org-publish-all'
2340 is called with a prefix argument.
2342 * org-list.el (org-indent-item): Fix typo.
2343 (org-item-indent-positions): Normalize ordered bullet.
2345 * org-html.el (org-export-html-home/up-format): New option.
2346 (org-export-as-html): Insert the up and HOME links.
2348 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2350 * org-html.el (org-export-as-html): Insert the title into the
2352 (org-export-html-insert-plist-item): New function.
2353 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2355 * org-macs.el (org-set-local): Make a local variable, do not make
2356 the variable buffer-local!
2358 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2360 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2362 * org-docbook.el (org-export-as-docbook): Call
2363 `org-install-letbind'.
2365 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2367 * org-exp.el (org-infile-export-plist): Read BIND lines.
2368 (org-install-letbind): New function.
2369 (org-export-as-org, org-export-preprocess-string): Call
2370 `org-install-letbind'.
2372 * org-src.el (org-edit-src-exit): Untabify the example before
2375 * org-list.el (org-list-demote-modify-bullet): New option.
2376 (org-first-list-item-p): Save point.
2377 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2378 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2379 (org-item-indent-positions): Return bullet types along with
2382 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2384 * org.el (org-show-entry): Hide drawers.
2386 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2388 * org-footnote.el (org-footnote-auto-adjust): New option.
2389 (org-footnote-auto-adjust-maybe): New function.
2390 (org-footnote-new, org-footnote-delete): Call
2391 `org-footnote-auto-adjust-maybe'.
2393 * org.el (org-startup-options): Add new footnote-related
2396 * org-publish.el (org-publish-timestamp-filename): Additional
2397 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2398 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2399 TRUE-PUB-DIR. Pass them through to
2400 `org-publish-timestamp-filename'.
2401 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2402 PUB-FUNC, which are included in the hash.
2403 (org-publish-file): Delay timestamp test until the publishing
2406 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2408 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2409 setting the deadline.
2411 * org.el (org-read-date-final-answer): New variable.
2412 (org-read-date): Store the final answer string, including the date
2413 from the calendar, for reuse by agenda bulk commands.
2415 * org-publish.el (org-publish-attachment): Fix publishing of
2418 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2419 quotation makrs in parenthesis.
2420 (org-remove-initial-hash): New function.
2421 (org-export-latex-preprocess): Fix bug with infinite loop if
2422 environment is not properly closed.
2424 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2427 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2428 highlight also when indented.
2430 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2432 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2433 (org-footnote-action): Offer renumbering.
2435 * org.el (org-cycle): Honor the `integrate' value of
2436 org-cycle-include-plain-lists'.
2438 * org-list.el (org-cycle-include-plain-lists): New allowed value
2439 `internal'. Improve the docstring.
2441 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2442 regexp to work better with LaTeX commands.
2444 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2446 * org-feed.el (org-feed-update): fix problem with non-existing
2448 (org-feed-skip-http-headers): New function.
2449 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2450 (org-feed-get-feed): Fix command line arguments for curl.
2452 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2454 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2457 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2459 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2462 * org.el (org-map-entries): No longer force
2463 `org-tags-match-list-sublevels' to t during a todo-only tags
2466 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2468 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2470 (org-export-latex-subcontent): Handle user-defined environment.
2472 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2473 the View dispatcher.
2475 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2478 * org-latex.el (org-export-as-pdf): Protect match data during call
2479 to shell-quote-argument.
2481 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2482 (org-agenda-view-mode-dispatch): New function.
2484 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2486 * org-agenda.el (org-agenda-mode): Reset list of marks.
2487 (org-agenda-mode-map): Define new keys for refile and bulk action.
2488 (org-agenda-menu): Add menu itesm for refile and bulk action.
2489 (org-agenda-refile): New function.
2490 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2491 (org-agenda-marked-entries): New variable.
2492 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2493 (org-agenda-remove-all-bulk-action-marks)
2494 (org-agenda-bulk-action): New functions/commands.
2496 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2498 * org-exp.el (org-get-file-contents): Protect org-like lines in
2500 (org-export-format-source-code-or-example): Remove newlines.
2502 * org-latex.el (org-export-latex-links): Check for no-description
2505 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2506 argument separator back to comma.
2507 (org-export-normalize-links): Mark links without description.
2509 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2511 * org-exp.el (org-infile-export-plist): Fix bug in macro
2514 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2516 (org-agenda-highlight-todo): Fix bug with highlighting.
2518 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2520 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2521 new alignment strings.
2523 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2525 (org-table-align): Check for forced align type.
2527 * org.el (org-self-insert-command): Add yas/expand to command
2530 * org-clock.el (org-clock-in-hook): New hook.
2531 (org-clock-in): Run `org-clock-in-hook.
2532 (org-clock-out-hook): New hook.
2533 (org-clock-out): Run `org-clock-out-hook.
2534 (org-clock-cancel-hook): New hook.
2535 (org-clock-cancel): Run `org-clock-cancel-hook.
2536 (org-clock-goto-hook): New hook.
2537 (org-clock-goto): Run `org-clock-goto-hook.
2539 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2541 * org.el (org-store-link): Better default description for link to
2544 * org-exp.el (org-export-generic): Autoload the generic exporter
2546 (org-export): Implement the `g' key for the generic exporter.
2548 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2550 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2553 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2555 * org-exp.el (org-infile-export-plist): Get macros also from
2558 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2560 * org-colview.el (org-columns-capture-view): Protect vertical bars
2562 (org-columns-capture-view): Exclude comment and archived trees.
2564 * org-colview-xemacs.el (org-columns-capture-view): Protect
2565 vertical bars in column values.
2566 (org-columns-capture-view): Exclude comment and archived trees.
2568 * org.el (org-quote-vert): New function.
2570 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2572 * org-exp.el (org-export-format-source-code-or-example): Use
2573 `org-export-latex-verbatim-wrap'.
2575 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2578 * org-html.el (org-export-table-row-tags): New option.
2579 (org-format-org-table-html): Rename `nlines' to `nline', use new
2583 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2585 * org-exp-blocks.el: Declare functions and variables.
2587 * org-remember.el (org-remember-templates): Allow the headline
2588 element to be a function.
2589 (org-remember-apply-template): If the headline is a function, call
2590 it to get the true function.
2592 * org-clock.el (org-clock-menu): New function.
2593 (org-clock-update-mode-line): Update help string.
2594 (org-clock-modify-effort-estimate): New function.
2595 (org-clock-mark-default-task): New function.
2597 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2599 (org-org-menu): Add new clocking stuff.
2600 (org-clock-is-active): New function.
2602 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2604 * org.el (org-open-non-existing-files): Improve docstring.
2606 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2608 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2610 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2612 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2614 * org-list.el (org-get-checkbox-statistics-face): Use the new
2617 * org-faces.el (org-checkbox-statistics-todo)
2618 (org-checkbox-statistics-done): New faces.
2620 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2622 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2623 (org-edit-src-exit): Better cursor positioning when returning from
2626 * org-latex.el (org-export-latex-use-verb): New variable.
2627 (org-export-latex-emph-format): Prefer \texttt over \verb when
2628 org-export-latex-use-verb is set.
2630 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2632 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2633 at normal indentation.
2635 * org-html.el (org-export-html-close-lists-maybe): Also look at
2638 * org-remember.el (org-remember-handler): Abort remember if the
2641 * org-src.el (org-edit-src-content-indentation): New option.
2642 (org-edit-src-exit): Apply extra indentation.
2644 * org-exp.el (org-export-format-source-code-or-example): Run
2645 `org-src-mode-hook'.
2647 * org-src.el (org-src-mode-hook): New variable.
2648 (org-edit-src-code): Run `org-src-mode-hook'.
2650 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2652 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2654 * org-src.el (org-edit-src-get-indentation): New function.
2655 (org-edit-src-code): Base indentation on the begin line.
2657 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2659 * org-gnus.el (org-gnus-store-link): Require message.el in
2660 org-gnus-store-link.
2662 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2664 * org-src.el: New file, split out of org.el
2666 * org-docbook.el (org-export-as-docbook): Better indentation
2669 * org-macs.el (org-replace-match-keep-properties): New function.
2671 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2672 preprocessing of center and quote and verse blocks.
2674 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2675 (org-export-as-docbook): Close lists when original indentation
2678 * org-html.el (org-export-html-close-lists-maybe): New function.
2679 (org-export-as-html): Close lists when original indentation
2682 * org-list.el (org-list-end): Respect the stored "original"
2683 indentation when determining the end of the list.
2685 * org-exp.el (org-export-replace-src-segments-and-examples):
2686 Remember indentation correctly.
2688 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2690 * org-clock.el (org-clock-update-mode-line): Apply face
2691 org-mode-line-clock.
2693 * org-faces.el (org-mode-line-clock): New face.
2695 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2697 * org-gnus.el (org-gnus-store-link): Fix bug where
2698 `org-gnus-store-link' used wrong subject when called in an article
2699 buffer. Patch provided by fengli AT gmail DOT com.
2701 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2703 * org-exp.el (org-export-format-source-code-or-example): Remember
2704 the original indentation of source code snippets and examples.
2706 * org-latex.el (org-export-as-latex): Relocate the table of
2709 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2711 * org-agenda.el (org-run-agenda-series): Scope global options also
2712 when creating the agenda buffer.
2714 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2716 * org.el (org-adapt-indentation): Improve documentation.
2717 (org-insert-property-drawer): Respect org-adapt-indentation when
2718 inserting the drawer.
2719 (org-remove-flyspell-overlays-in): New function.
2720 (org-do-emphasis-faces, org-activate-plain-links)
2721 (org-activate-code, org-fontify-meta-lines-and-blocks)
2722 (org-activate-angle-links, org-activate-footnote-links)
2723 (org-activate-bracket-links, org-activate-dates)
2724 (org-activate-target-links, org-activate-tags): Remove flyspell
2727 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2729 * org.el (org-edit-src-save): New function.
2731 * org-clock.el (org-clock-out-switch-to-state): New option.
2732 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2734 * org-compat.el (org-compatible-face): Improve macro.
2736 * org.el (org-global-properties-fixed): Add default for
2737 CLOCK_MODELINE_TOTAL.
2739 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2741 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2743 (org-clock-get-sum-start): New function.
2745 * org.el (org-startup-options): New keywords blockhide and
2747 (org-mode): Add new invisibility spec.
2748 (org-set-startup-visibility): Hide block on startup if so
2750 (org-hide-block-startup): New option.
2751 (org-block-regexp): New constant.
2752 (org-hide-block-overlays): New variable.
2753 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2754 (org-show-block-all, org-hide-block-toggle-maybe)
2755 (org-hide-block-toggle): New functions.
2756 (org-edit-src-exit): Do not quote lines starting with # and no +
2758 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2761 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2763 * org.el (org-buffer-property-keys): Add Effort property for
2766 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2768 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2769 when retrieving total clocked time in the subtree.
2771 * org.el (org-quoting-blocks): New variable.
2773 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2775 * org-table.el (org-table-store-formulas)
2776 (org-table-get-stored-formulas, org-table-fix-formulas)
2777 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2778 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2780 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2781 indented #+TBLFM line.
2783 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2784 indented #+TBLFM line.
2786 * org-colview.el (org-dblock-write:columnview): Allow indented
2789 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2790 indented #+TBLFM line.
2792 * org-clock.el (org-dblock-write:clocktable): Allow indented
2795 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2797 * org-exp.el (org-export-format-source-code-or-example): Make
2798 editing indented blocks work correctly.
2800 * org.el (org-edit-src-nindent): New variable.
2801 (org-edit-src-code, org-edit-fixed-width-region)
2802 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2803 editing indented blocks work correctly.
2805 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2807 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2809 (org-export-format-source-code-or-example): Fix indentation of
2811 (org-export-remove-indentation): New function.
2812 (org-export-select-backend-specific-text): Allow backend-specific
2813 code to be indented.
2814 (org-export-mark-blockquote-verse-center): Allow markers to be
2817 * org.el (org-fontify-meta-lines): New function.
2818 (org-set-font-lock-defaults): Call the new fontification
2821 * org-faces.el (org-meta-line): New face
2822 (org-block): New face.
2824 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2826 * org.el (org-treat-insert-todo-heading-as-state-change)
2827 (org-treat-S-cursor-todo-selection-as-state-change): New
2829 (org-insert-todo-heading): Honor
2830 `org-treat-insert-todo-heading-as-state-change'.
2831 (org-shiftright, org-shiftleft): Honor
2832 `org-treat-S-cursor-todo-selection-as-state-change'.
2833 (org-inhibit-logging): New variable.
2835 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2837 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2838 range for marker position checking.
2840 * org-latex.el (org-export-latex-first-lines): Fix bug when
2843 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2845 * org-exp.el (org-export-push-to-kill-ring): Protect using
2846 x-set-selection, because that does not always work.
2848 * org-agenda.el (org-agenda-list): Apply the new face
2849 `org-agenda-date-today'.
2851 * org-faces.el (org-agenda-date-today): New face.
2853 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2855 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2856 creating appointments.
2858 * org-latex.el (org-export-latex-low-levels): Fix customization
2861 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2864 * org-agenda.el (org-agenda-priority): Disable priority commands.
2866 * org.el (org-enable-priority-commands): New option.
2868 * org-colview-xemacs.el (org-columns-compute)
2869 (org-columns-number-to-string): Fix problems with empty fields.
2871 * org-colview.el (org-columns-compute)
2872 (org-columns-number-to-string): Fix problems with empty fields.
2874 * org-exp.el (org-export-push-to-kill-ring): New function.
2875 (org-export-copy-to-kill-ring): New option.
2877 * org-latex.el (org-export-as-latex): Call
2878 `org-export-push-to-kill-ring'.
2880 * org-html.el (org-export-as-html): Call
2881 `org-export-push-to-kill-ring'.
2883 * org-docbook.el (org-export-as-docbook): Call
2884 `org-export-push-to-kill-ring'.
2886 * org-ascii.el (org-export-as-ascii): Call
2887 `org-export-push-to-kill-ring'.
2889 * org-exp.el (org-export-show-temporary-export-buffer): New
2892 * org-latex.el (org-export-as-latex): Use
2893 `org-export-show-temporary-export-buffer'.
2895 * org-html.el (org-export-as-html): Use
2896 `org-export-show-temporary-export-buffer'.
2898 * org-docbook.el (org-export-as-docbook): Use
2899 `org-export-show-temporary-export-buffer'.
2901 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2902 `org-export-show-temporary-export-buffer'.
2904 * org-exp.el (org-export-show-temporary-export-buffer): New
2906 (org-export-push-to-kill-ring): New function.
2908 * org-colview.el (org-columns-compile-map): New variable.
2909 (org-columns-new, org-columns-compute)
2910 (org-columns-number-to-string, org-columns-uncompile-format)
2911 (org-columns-compile-format): Implement new operators.
2913 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2915 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2917 * org-html.el (org-export-html-xml-declaration): New option.
2918 (org-export-as-html): Use `org-export-html-xml-declaration'.
2920 * org-list.el (org-update-checkbox-count): Make property
2923 * org.el (org-hierarchical-todo-statistics): New option.
2924 (org-update-parent-todo-statistics): Modified to handle recursive
2927 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2929 * org-publish.el (org-publish): Make this function behave
2930 correctly in interactive use when called with a prefix argument.
2932 * org.el (org-todo-statistics-hook): New hook.
2933 (org-update-parent-todo-statistics): Use new hook.
2934 (org-log-into-drawer): New function.
2935 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2936 determine if we should be logging into a drawer.
2937 (org-log-into-drawer): Update docstring.
2938 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2940 * org-list.el (org-checkbox-statistics-hook): New hook.
2941 (org-update-checkbox-count-maybe): Use new hook.
2943 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2944 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2947 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
2949 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2952 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
2954 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2955 better bufer-generating mechanism.
2956 (org-edit-src-find-buffer): New function.
2958 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2959 archive tag, this is already done by `org-agenda-skip'.
2960 data while constructing lost of tags.
2962 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
2964 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2965 as argument separator in macros.
2967 * org-html.el (org-export-as-html): Add xml declaration.
2969 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
2971 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2972 (org-sort-entries-or-items): Run the new hook.
2973 (org-after-refile-insert-hook): New hook.
2974 (org-refile): Run `org-after-refile-insert-hook'.
2976 * org-agenda.el (org-agenda-get-progress): Never take time of day
2977 from headline when displaying progress.
2979 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2980 (org-export-as-latex): Force the correct regexp in the
2981 preprocessor buffer.
2982 (org-export-latex-set-initial-vars): Set
2983 `org-export-latex-complex-heading-re'.
2985 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2986 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2988 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
2990 * org-latex.el (org-export-latex-tables-centered): New option.
2991 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2993 * org-exp.el (org-export-as-org): New command.
2994 (org-export-as-org): New command.
2996 * org-publish.el (org-publish-org-to-org): New function.
2998 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
3000 * org.el (org-yank): Just call `org-yank-generic'.
3001 (org-yank-generic): New function, containing the formaer
3002 functionality of `org-yank'.
3004 * org-latex.el (org-export-latex-not-done-keywords)
3005 (org-export-latex-done-keywords): New variables.
3006 (org-export-latex-todo-keyword-markup): New option.
3007 (org-export-latex-set-initial-vars): Remember the TODO keywords.
3008 (org-export-latex-keywords-maybe): Apply the TODO markup.
3010 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
3012 * org-exp.el (org-infile-export-plist): Add more default macros.
3013 (org-export-preprocess-apply-macros): Process macro arguments.
3015 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
3017 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3019 (org-print-icalendar-entries): Respect the new value of
3020 `org-icalendar-include-todo'.
3022 * org.el (org-link-try-special-completion)
3023 (org-file-complete-link): New functions.
3024 (org-insert-link): Add special completion support for some link
3027 * org-bbdb.el (org-bbdb-complete-link): New function.
3029 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
3031 * org-list.el (org-update-checkbox-count): Allow recursive
3033 (org-hierarchical-checkbox-statistics): New option.
3035 * org.el (org-cycle): Remove erraneous space character.
3037 * org-icalendar.el (org-icalendar-timezone): Initialize from
3040 * org-html.el (org-format-org-table-html): Specify the scope.
3041 (org-format-table-table-html): Specify the scope.
3042 (org-export-table-header-tags): Prepare the scope parameter.
3044 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
3047 (org-export-html-table-use-header-tags-for-first-column): New
3050 * org.el (org-autoload): Fix autoloading of ascii export
3052 (org-modules): Add org-special-blocks.
3054 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
3056 * org-icalendar.el (org-start-icalendar-file): Use the new option.
3057 (org-ical-timezone): New option.
3059 * org-exp.el (org-export-get-coderef-format): Use the description
3062 * org.el (org-sort-entries-or-items): Improve docstring, and make
3063 better implementation for time sorting.
3065 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
3067 * org.el (org-edit-src-persistent-message): New option.
3068 (org-edit-src-code, org-edit-fixed-width-region): Use the new
3071 * org-clock.el (org-clock-insert-selection-line): Fix prefious
3074 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3075 separate buffer instead of indirect buffer to edit source code.
3076 (org-edit-src-exit): Make this function work with the new setup.
3078 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3079 are properly fontified before shown in the selection menu.
3081 * org.el (org-fontify-like-in-org-mode): New function.
3083 * org-latex.el (org-export-latex-links): Use the property list to
3084 retrieve the default image attributes.
3086 * org-exp.el (org-export-plist-vars): Add a new option.
3088 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
3090 * org-exp.el (org-export, org-export-visible): Support ASCII
3092 (org-export-normalize-links): Do not protect the description if it
3093 is explicitly given.
3095 * org-ascii.el (org-export-as-ascii-to-buffer)
3096 (org-replace-region-by-ascii, org-export-region-as-ascii): New
3098 (org-export-as-ascii): Add all the same parameters that are also
3099 supported by the other export functions.
3101 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3103 (org-reset-checkbox-state-subtree): Call
3104 `org-reset-checkbox-state-subtree'.
3106 * org-remember.el (org-select-remember-template): For the
3107 selection of a valid template.
3109 * org-latex.el (org-export-region-as-latex): Supply the
3110 force-no-subtree argument.
3111 (org-export-as-latex): Provide better limits when exporting the
3112 first line. When exporting to string, we still want the first
3114 (org-export-latex-first-lines): New argument END, to force the end
3116 (org-export-region-as-latex): Use the property list.
3117 (org-export-as-latex):
3119 * org-colview-xemacs.el (org-columns-remove-overlays)
3120 (org-columns): Fix call to `local-variable-p'.
3122 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
3124 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3125 (org-export-as-html): Run the new hook.
3127 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3128 (org-export-latex-preprocess): Run the new hook.
3130 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3131 (org-export-preprocess-string): Run the new hook.
3133 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
3135 * org-macs.el (org-check-external-command): New defsubst.
3137 * org.el (org-mode-map): New key for reload.
3138 (org-format-latex): Better error message when external programs
3141 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3143 * org.el (org-sort-entries-or-items): Explicit sorting function
3144 for priorities, needed for XEmacs compatibility.
3146 * org-remember.el (org-remember-apply-template): Improve auto-save
3149 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
3151 * org-latex.el (org-export-latex-preprocess): Also protect
3152 environments ending in a star.
3154 * org-list.el (org-at-item-p): Fix regular expression.
3156 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
3158 * org.el (org-end-of-subtree): Improve speed.
3160 * org-agenda.el (org-agenda-get-timestamps)
3161 (org-agenda-get-progress, org-agenda-get-deadlines)
3162 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3163 in particular, wait as long as possible to collect the tags.
3164 (org-stuck-projects): Improve docstring.
3166 * org.el (org-store-link): No errors when getting custom id before
3168 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3170 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
3172 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3174 * org-protocol.el: Remove dependency on url.el.
3175 (org-protocol-unhex-compound, org-protocol-open-source): Remove
3176 dependency on url.el.
3178 * org-latex.el (org-export-as-pdf): Use
3179 `org-latex-to-pdf-process'.
3181 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
3183 * org-latex.el (org-latex-to-pdf-process): New option.
3185 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3187 (org-agenda-get-timestamps): Honor
3188 `org-agenda-skip-additional-timestamps-same-entry'.
3190 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3191 (org-clock-goto): Find recent task only if
3192 `org-clock-goto-may-find-recent-task' allows it.
3194 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3195 drawers, and drawers that are missing the :END: line.
3197 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3199 * org-clock.el (org-clock-goto): Go to recently clocked task if no
3202 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3204 * org.el (org-update-parent-todo-statistics): Check for
3205 STATISTICS_FROM property.
3207 * org-list.el (org-update-checkbox-count): Check for
3208 STATISTICS_FROM property.
3210 * org.el (org-tab-first-hook)
3211 (org-tab-after-check-for-table-hook)
3212 (org-tab-after-check-for-cycling-hook): New hooks.
3213 (org-cycle-internal-global, org-cycle-internal-local): New
3214 functions, split out from `org-cycle'.
3215 (org-cycle): Call the new hooks.
3217 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
3219 * org-exp.el (org-export-preprocess-string): Reset the list of
3220 preferred targets for each run of the preprocessor.
3222 * org.el (org-refile-target-verify-function): Improve
3224 (org-get-refile-targets): Respect point being moved by the
3225 verification function.
3227 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3229 (org-export-latex-keywords): Use new option.
3231 * org.el (org-rear-nonsticky-at): New defsubst.
3232 (org-activate-plain-links, org-activate-angle-links)
3233 (org-activate-footnote-links, org-activate-bracket-links)
3234 (org-activate-dates, org-activate-target-links)
3235 (org-activate-tags): Place the rear-nonsticky properties at the
3238 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
3240 * org-protocol.el (server-edit): Declare `server-edit'.
3241 (org-protocol-unhex-string, org-protocol-unhex-compound): New
3243 (org-protocol-check-filename-for-protocol): Call `server-edit'.
3245 * org.el (org-default-properties): New default properteis for
3248 * org-exp.el (org-export-add-subtree-options): Add new properties
3251 * org-docbook.el (org-export-docbook-keywords-markup)
3252 (org-export-docbook-timestamp-markup): New options.
3253 (org-export-docbook-protect-tags): New function.
3255 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
3257 * org-id.el (org-id-get-with-outline-path-completion): Turn off
3258 org-refile-target-verify-function for the duration of the command.
3260 * org.el (org-link-to-org-use-id): New possible value
3261 `create-if-interactive-and-no-custom-id'.
3262 (org-store-link): Use custom IDs.
3263 (org-link-search): Find custom ID properties from #link.
3264 (org-default-properties): Add CUSTOM_ID for property completion.
3265 (org-refile-target-verify-function): New option.
3266 (org-goto): Turn off org-refile-target-verify-function
3267 for the duration of the command.
3269 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
3271 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3273 * org-exp.el (org-export-preferred-target-alist): New variable.
3274 (org-export-define-heading-targets): Find the new CUSTOM_ID
3276 (org-export-target-internal-links): Target the custom ids when
3279 * org-latex.el (org-export-latex-preprocess): Better regexp for
3280 matching latex macros with arguments.
3282 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3284 * org-remember.el (org-remember-handler): Allow filing to non-org
3287 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3289 * org-feed.el (org-feed-alist): New keyword options.
3290 (org-feed-update): Use the new options.
3291 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3292 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3293 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3296 * org-table.el (org-table-fix-formulas): Do not change references
3298 (org-table-get-remote-range): Convert standard coordinates to RC
3301 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3303 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3305 * org-compat.el (org-sha1-string): Function removed.
3307 * org.el (org-refile-allow-creating-parent-nodes): New option.
3308 (org-refile-get-location): New argument NEW-NODES.
3309 (org-refile): Call `org-refile-get-location' with the new
3311 (org-refile-get-location): Arrange for adding a new child.
3312 (org-refile-new-child): New function.
3314 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3315 an additional span element.
3317 * org-clock.el: Fix a number of docstrings.
3318 (org-clock-find-position): New argument
3319 FIND-UNCLOSED to make the function find an unclosed clock in the
3321 (org-clock-in): Call `org-clock-find-position' with the new
3322 argument if we might be resuming a clock.
3324 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3326 * org-latex.el (org-export-latex-display-custom-times): New variable.
3327 (org-export-latex-timestamp-markup): New option.
3328 (org-export-latex-set-initial-vars): Remember the local value of
3329 `org-display-custom-times'.
3330 (org-export-latex-content): Process time stamps.
3331 (org-export-latex-time-stamps): New function.
3333 * org-macs.el (org-maybe-intangible): Add intangible property
3334 again to invisible text.
3336 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3338 * org-exp.el (org-default-export-plist): Handle undefined
3341 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3343 * org.el (org-sort-entries-or-items): Match TODO keywrds
3344 case-sensitively, when sorting.
3345 (org-priority): Do not match TODO keywords with wrong case.
3347 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3349 * org-feed.el (org-feed-update): Bind the variable
3352 * org-html.el (org-export-as-html): Start paragraphs after literal
3355 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3358 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3360 * org.el (org-todo): Honor the NOBLOCKING property.
3362 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3363 NOBLOCKING property.
3365 * org.el (org-scan-tags): Fix bug in tag scanner
3367 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3369 * org.el (org-modules): Mark obsolete packages.
3371 * org-html.el: New file, split out from org-exp.el.
3373 * org-icalendar.el: New file, split out from org-exp.el.
3375 * org-xoxo.el: New file, split out from org-exp.el.
3377 * org-ascii.el: New file, split out from org-exp.el.
3379 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3381 * org-compat.el (org-find-library-name): New function.
3383 * org.el (org-pre-cycle-hook): New hook.
3384 (org-cycle): Call the new hook in appropriate places.
3385 (org-reload): Only reload files that have been loaded before.
3387 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3389 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3391 (org-todo): When changing TODO state, do matching
3393 (org-map-continue-from): New variable.
3394 (org-scan-tags): Respect values in `org-map-continue-from'.
3395 (org-reload): Make XEmacs compatible.
3397 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3399 * org-protocol.el (org-protocol-flatten-greedy): New function.
3400 (org-protocol-flatten): New function.
3402 * org.el (org-open-link-from-string): Pass reference buffer to
3403 `org-open-at-point'.
3404 (org-open-at-point): New optional argument `reference-buffer'.
3406 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3408 * org.el (org-scan-tags): Make tag scan find headline in first
3410 (org-get-refile-targets): Add the naked file name.
3411 (org-refile): Store as top-level entry when only file name was
3414 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3416 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3417 Renamed from org-block-todo-from-children-or-siblings, and
3418 enhanced to look for the parent's status as well.
3420 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3421 (org-agenda-get-progress): Add first notes line to log entry if so
3424 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3426 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3427 (org-agenda-cleanup-fancy-diary): Call the new hook.
3429 * org-remember.el (org-remember-apply-template): Take the default
3430 for the annotation from the :annotation property.
3432 * org-mac-message.el (org-mac-message-get-link): Remove the
3434 (org-mac-message-get-link): Return the result.
3436 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3438 * org.el (org-refile-get-location): Add file name only if not
3439 already included in outline path.
3441 * org-faces.el (org-n-level-faces): Fix customization type from
3444 * org-exp.el (org-export-headline-levels): Fix customization type
3445 from number to integer.
3447 * org-agenda.el (org-agenda-confirm-kill)
3448 (org-agenda-custom-commands-local-options)
3449 (org-timeline-show-empty-dates, org-agenda-ndays)
3450 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3451 customization type from number to integer.
3453 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3455 * org-protocol.el: Declare some functions.
3457 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3458 postion before inserting modified headline.
3460 * org-agenda.el (org-agenda-compare-effort): Honor
3461 `org-sort-agenda-noeffort-is-high'.
3462 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3463 (org-agenda-compare-effort): Implement the "?" operator for
3464 finding entries without effort setting.
3466 * org.el (org-extract-attributes-from-string): New function.
3468 * org-exp.el (org-export-splice-attributes): New function.
3470 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3472 * org-mouse.el: XEmacs compatibility fixes
3474 * org-docbook.el (org-export-as-docbook): Process footnotes like
3477 * org.el (org-modules): Add org-inlinetasks.el
3478 (org-cycle): Implement limiting level on cycling.
3479 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3482 * org-inlinetask.el: New file.
3484 * org.el (org-emphasis-regexp-components): Allow braces in
3485 emphasis pre and post match.
3487 * org-footnote.el (org-footnote-normalize): When only dorting, do
3488 not insert inline notes at the end.
3490 * org-docbook.el (org-id-find-id-file): Add function declaration.
3492 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3494 * org-docbook.el: New file.
3496 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3498 * org.el (org-reftex-citation): New command.
3500 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3502 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3503 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3505 (org-entries-lessp): Apply the new sorting option.
3507 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3508 blocker code, when an older sibling has children.
3510 * org-mac-message.el (org-mac-message-get-link): Improve getting
3511 links from multiple selected messages.
3513 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3515 * org-remember.el (org-remember-finalize): Do not set buffer file
3517 (org-remember-handler): Mark buffer as unmodified.
3518 (org-remember-handler): Delete backup file and show message about
3519 remaining backup files.
3520 (org-remember-auto-remove-backup-files): New option.
3522 * org.el (org-store-link): Use buffer name as link description in
3524 (org-ido-switchb): Fix argument bug for completion.
3526 * org-remember.el (org-remember-apply-template): Set local
3527 variable `auto-save-visited-file-name' instead of global one.
3529 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3531 * org-feed.el: Re-write.
3533 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3534 (org-agenda-get-todos): Mark file tags as inherited.
3535 (org-agenda-list): Always search diary lines for a time.
3537 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3539 * org-feed.el (org-feed-assume-stable): New option.
3540 (org-feed-before-adding-hook): New hook.
3542 * org-exp.el (org-export-as-html): Close local lists depending on
3543 indentation, also when starting a table.
3545 * org-remember.el (org-remember-backup-directory)
3546 (org-remember-backup-name): New internal variable.
3548 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3550 * org-clock.el (org-clock-out-if-current): Make buffer detection
3551 work in indirect buffers as well.
3553 * org.el (org-emphasis-regexp-components): Add the exxclamation
3554 mark to the post-emphasis characters.
3556 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3558 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3559 (org-read-date): Run the new hook.
3561 * org-mac-message.el (org-mac-flagged-mail): New group.
3562 (org-mac-mail-account): New variable.
3563 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3566 * org-remember.el (org-remember-backup-directory): New variable.
3567 (org-remember-apply-template): Write file to backup directory.
3569 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3571 * org-mouse.el (org-mouse-todo-menu): New function.
3572 (org-mouse-todo-keywords): Function removed.
3573 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3575 * org-table.el (org-table-beginning-of-field)
3576 (org-table-end-of-field): New commands
3577 (org-table-previous-field, org-table-beginning-of-field): Better
3579 (orgtbl-setup): Include `M-a' and `M-e'.
3581 * org.el (org-backward-sentence, org-forward-sentence): New
3584 * org-colview.el (org-colview-initial-truncate-line-value): New
3586 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3587 (org-columns): Remember the value of `truncate-lines'.
3589 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3591 (org-columns-remove-overlays): Restore the value of
3593 (org-columns): Remember the value of `truncate-lines'.
3595 * org.el (org-columns-skip-arrchived-trees): New option.
3597 * org-agenda.el (org-agenda-export-html-style): Define color for
3598 org-agenda-done face.
3599 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3600 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3602 * org.el (org-scan-tags): Use the new face.
3604 * org-faces.el (org-agenda-done): New face.
3606 * org.el (org-scan-tags): Test the value org
3607 `org-tags-match-list-sublevels'.
3608 (org-tags-match-list-sublevels): New allowed value: indented.
3610 * org-export-latex.el (org-export-latex-make-header): Apply macros
3613 * org-exp.el (org-export-apply-macros-in-string): New function.
3615 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3616 with the definition of a checked box.
3618 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3620 * org-export-latex.el (org-export-latex-low-levels): More options
3621 for how to process lower levels in LaTeX.
3622 (org-export-latex-subcontent): Better treatment for lists as a
3623 means of publishing lower levels.
3625 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3627 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3629 * org-faces.el (org-checkbox): New face.
3631 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3632 fragement images if there is an export file.
3634 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3636 * org-agenda.el (org-stuck-projects): Document that the subtree of
3637 projects that are not stuck will now be searched for stuck
3639 (org-agenda-skip-entry-when-regexp-matches)
3640 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3641 (org-agenda-list-stuck-projects): Use
3642 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3644 * org-export-latex.el (org-export-latex-preprocess): Improve
3647 * org-exp.el (org-export-as-html): Implement centering as a div
3648 rather than a paragraph. Do a better job with line-end in verse
3651 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3653 * org.el (org-open-at-point): Fix tags searches by mouse click.
3655 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3657 * org-export-latex.el (org-export-latex-preprocess): Implement the
3660 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3661 from `org-export-mark-blockquote-and-verse'.
3662 (org-export-as-html): Implement the centering markup.
3664 * org-export-latex.el (org-export-latex-tables): Fix vertical
3667 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3669 * org.el (org-read-date-history): New variable.
3670 (org-read-date): Use new history variable.
3671 (org-toggle-heading): Fix bug when used before first headline.
3672 (org-store-log-note): Remove drawer if empty while note is
3674 (org-remove-empty-drawer-at): New function.
3675 (org-check-after-date): New command.
3676 (org-sparse-tree): New sparse tree command "a".
3678 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3680 2009-03-14 Bastien Guerry <bzg@altern.org>
3682 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3683 column and a space, not only a column.
3685 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3687 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3688 defaults for verbose emphasis.
3689 (org-export-latex-emph-format): New function.
3690 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3692 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3693 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3694 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3695 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3698 * org.el (org-timestamp-change): Move end-time along with start
3701 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3703 * org-exp.el (org-export-target-internal-links)
3704 (org-export-as-html): Protect links specified as #name.
3706 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3708 * org.el (org-clone-subtree-with-time-shift): New command.
3710 * org-export-latex.el (org-export-latex-special-chars)
3711 (org-export-latex-treat-sub-super-char): Fix subscript export.
3713 * org-exp.el (org-create-multibrace-regexp): Do not add
3714 backslashes to the class.
3716 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3718 * org-colview.el (org-columns-map): Better functions for moving up
3719 and down a row, even if `truncate-line' is nil.
3721 * org.el (org-insert-todo-heading): Make sure the keyword is
3722 inserted at the correct position.
3724 * org-publish.el (org-publish-project-alist)
3725 (org-publish-projects, org-publish-org-index): Change default anme
3726 for the index of file names to "sitemap.org".
3728 * org-export-latex.el (org-export-latex-tables): Use
3729 `org-split-string', for Emacs 21 compatibility.
3731 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3733 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3735 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3737 * org-exp.el (org-export-page-description)
3738 (org-export-page-keywords): New variables.
3739 (org-export-plist-vars): Add entries for :keywords and
3741 (org-infile-export-plist): Parse for new keywords.
3742 (org-get-current-options): Add new keywords
3743 (org-export-as-html): Publish description and keywords.
3745 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3747 (org-agenda-add-entry-text): Honor
3748 `org-agenda-add-entry-text-descriptive-links'.
3750 * org-export-latex.el (org-export-latex-preprocess): Make all
3751 external preprocess functions use a PARAMETER arg.
3753 * org-exp.el (org-export-preprocess-string)
3754 (org-export-select-backend-specific-text)
3755 (org-export-format-source-code-or-example)
3756 (org-format-org-table-html): Support docbook export.
3757 (org-export-preprocess-string): Make all external preprocess
3758 functions use a PARAMETER arg.
3760 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3762 * org-exp.el (org-export-html-style-include-scripts): New option.
3763 (org-export-plist-vars): Add new option
3764 `org-export-html-style-include-scripts'.
3765 (org-export-as-html): Honor new option
3766 `org-export-html-style-include-scripts'.
3767 (org-export-html-scripts, org-export-html-style-default): Fix
3768 xml issues with the Safari browser.
3770 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3772 * org-publish.el (org-publish-attachment): Only copy file when the
3775 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3777 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3778 for clocktable steps.
3780 * org.el (org-additional-option-like-keywords): Add two more
3783 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3785 * org-exp.el (org-export-format-source-code-or-example): Mark
3786 temporary buffer unmodified, so that it will be killed even if
3787 mode like message mode has decided to assign a file name.
3789 * org.el (org-scan-tags): Improve tag inheritance.
3790 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3792 (org-scan-tags): Use the internal tags list instead of creating it
3794 (org-trust-scanner-tags, org-scanner-tags): New variables.
3795 (org-scan-tags): Set `org-scanner-tags'.
3796 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3797 (org-map-entries): Document the possible speedup using scanner
3800 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3802 * org.el (org-add-planning-info): Fix bug with looking for keyword
3805 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3806 option for tags filter preset.
3807 (org-prepare-agenda): Store filter preset as a property on the
3809 (org-finalize-agenda): Call the filter, if there is a preset.
3810 (org-agenda-filter-by-tag): Filter again after clearing the
3811 filter, when there still is a preset.
3812 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3813 Include the preset filter.
3814 (org-agenda-redo): Apply the filter again, also the preset filter.
3816 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3818 * org.el (org-uuidgen-p): New funtion.
3820 * org-agenda.el (org-agenda-fontify-priorities): New default value
3822 (org-agenda-fontify-priorities): Renamed from
3823 org-fontify-priorities.
3825 * org.el (org-set-font-lock-defaults): Call
3826 `org-font-lock-add-priority-faces'.
3827 (org-font-lock-add-priority-faces): New function.
3829 * org-faces.el: (org-set-tag-faces): New option.
3830 (org-priority-faces): New variable.
3832 * org-exp.el (org-export-as-html): Add a "content" div around the
3833 entire content of the body tag.
3834 (org-export-html-get-bibliography): New function.
3835 (org-export-html-validation-link): New variable.
3836 (org-export-as-html): Add validation link to exported page.
3838 * org.el (org-match-sparse-tree): Renamed from
3839 `org-tags-sparse-tree'.
3840 (org-tags-sparse-tree): New alias.
3842 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3844 * org.el (org-get-valid-level): Catch the case where the level
3847 * org-clock.el (org-clock-find-position): Better indentation of
3850 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3852 * org-agenda.el (org-agenda-quit): Delete window only when the
3853 frame-setup was not `current-window'.
3855 * org.el (org-tag-persistent-alist): New option.
3856 (org-startup-options): Add keyword `noptag'.
3857 (org-fast-todo-selection): Handle :newline correctly.
3858 (org-set-tags): Handle :newline correctly.
3859 (org-fast-tag-selection): Handle :newline correctly.
3861 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3863 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3865 (org-export-ascii-push-links): Fix bug with pussing links into the
3868 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3870 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3871 pasting at top level.
3873 * org-bbdb.el: Improve documentation.
3875 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3877 * org-list.el (org-insert-item): Only consider insert empty lines
3878 is `org-empty-line-terminates-plain-lists' is not nil.
3880 * org.el (org-blank-before-new-entry): Mention the dependence on
3881 `org-empty-line-terminates-plain-lists' in the docstring.
3883 * org-publish.el (org-publish-get-project-from-filename): New
3884 optional argument UP. Only find the top project if UP is set.
3885 (org-publish-current-project): Find the top encloding project.
3887 * org-agenda.el (org-agenda-before-write-hook)
3888 (org-agenda-add-entry-text-maxlines): New options.
3889 (org-write-agenda): Run the new hook in the temporary buffer.
3890 (org-agenda-add-entry-text): New function.
3891 (org-write-agenda): Implement PDF export, using ps2pdf.
3893 * org.el (org-global-properties-fixed, org-global-properties):
3894 Improve documentation string.
3896 * org-exp.el (org-export-ascii-links-to-notes): New option.
3897 (org-export-as-ascii): Handle links better.
3898 (org-export-ascii-wrap, org-export-ascii-push-links): New
3901 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3903 * org-agenda.el (org-agenda): Make prefix arg optional.
3904 (org-agenda-search-headline-for-time): New option.
3905 (org-format-agenda-item): Honor
3906 `org-agenda-search-headline-for-time'.
3908 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3911 * org.el (org-self-insert-cluster-for-undo): New option.
3912 (org-self-insert-command): Cluster undo for 20 characters.
3913 (org-self-insert-command-undo-counter): New variable.
3915 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3917 * org-exp.el (org-export-as-html): Fix problem with closing colone
3920 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3922 * org-export-latex.el (org-export-as-latex)
3923 (org-export-latex-first-lines): Avoid modification flag when
3924 adding or removing text properties.
3925 (org-export-latex-fontify): Catch error when org-emph-alist has
3926 entries that are not defined for LaTeX export.
3928 * org.el (orgstruct++-mode): New function.
3929 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3930 (org-context-p): Allow detecting item context after the first line
3932 (orgstruct-make-binding): Detect if item-body context should be
3934 (orgstruct-is-++): New variable.
3935 (org-add-planning-info): Catch the case when there is no planning
3936 info yet and the call does not want to add anything, only maybe
3937 tries to remove something.
3938 (org-special-ctrl-a/e): All value to be a cons cell with separate
3939 settings for `C-a. and `C-e'.
3940 (org-beginning-of-line, org-end-of-line): Honor separate values
3941 for `C-a' and `C-e'.
3943 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
3945 * org.el (org-reload): New command.
3947 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
3949 * org-exp.el (org-export-htm-get-tag-class-name)
3950 (org-export-htm-get-todo-kwd-class-name): New functions.
3951 (org-export-html-tag-class-prefix)
3952 (org-export-html-todo-kwd-class-prefix): New options.
3953 (org-export-as-html): Call
3954 `org-export-html-get-todo-kwd-class-name'.
3955 (org-html-level-start): Wrap tags into classes.
3956 (org-export-html-get-tag-class-name)
3957 (org-export-html-get-todo-kwd-class-name): New functions.
3959 * org-export-latex.el (org-export-latex-collect-header-macros):
3960 Remove fields that are used anyway.
3961 (org-export-latex-make-header): Insert the options earlier.
3963 * org-agenda.el (org-agenda-get-progress): Fix bug with state
3966 * org-list.el (org-indent-item): Allow point to be at the end of
3969 * org.el (org-metaleft, org-metaright): Be more accurate about
3970 detecting a region where commands apply.
3972 * org-compat.el (org-cursor-to-region-beginning): New function.
3974 * org.el (org-priority): Also find invisible heading.
3976 * org-colview-xemacs.el (org-columns-edit-value): No special
3977 treatment for `org-todo' prefix.
3979 * org-colview.el (org-columns-edit-value): No special treatment
3980 for `org-todo' prefix.
3982 * org-remember.el (org-remember-apply-template): Use
3983 `org-completing-read-no-ido'.
3985 * org.el (org-completing-read-no-ido): New function.
3986 (org-make-tags-matcher, org-set-property): Use
3987 `org-completing-read-no-ido'.
3989 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3991 (org-export-as-latex): Import in-buffer settings as TeX macros.
3992 (org-export-latex-make-header): Additional parameter OPT-DEFS.
3993 (org-export-latex-collect-header-macros): New function.
3995 * org.el (org-refile-get-location): Turn off
3996 `partial-completion-mode'.
3998 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
4000 * org.el (org-block-todo-from-checkboxes): Announce that
4001 checkboxes are the culprit.
4002 (org-block-todo-from-children-or-siblings): Call
4003 `org-up-heading-all instead' of `outline-up-heading'.
4005 * org-agenda.el (org-agenda-show-1): Renamed from
4007 (org-agenda-show): Re-install the old version for now.
4008 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
4009 variable into the blokker hook, so that the checkbox checker can
4010 anounce that it caused the blocking.
4012 * org.el (org-track-ordered-property-with-tag): New option.
4013 (org-toggle-ordered-property): Honor
4014 `org-track-ordered-property-with-tag'.
4015 (org-tag-alist): Add newline options.
4016 (org-set-regexps-and-options): Separate option lines imply a
4018 (org-set-regexps-and-options, org-assign-fast-keys)
4019 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4021 (org-indent-line-function): Make sure this works even if there is
4022 not `org-drawer-regexp' defined. This can happen when
4023 orgstruct-mode is used in a non-org buffer.
4025 * org-list.el (org-checkbox-blocked-p): New function.
4026 (org-toggle-checkbox): Check for blocking.
4028 * org.el (org-modules): Add an entry for org-R.el.
4030 * org-agenda.el (org-agenda-todo-ignore-with-date)
4031 (org-agenda-todo-ignore-scheduled)
4032 (org-agenda-todo-ignore-deadlines): Mention the variable
4033 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4035 * org.el (org-get-wdays): Find the warning period also if it is in
4037 (org-ido-completing-read): Provide the correct arguments to
4038 ido-completing-read and bind `ido-enter-matching-directory' to
4041 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
4043 * org.el (org-olpath-completing-read): Never use ido for this
4046 * org-exp.el (org-export-normalize-links): Use new macro.
4048 * org-macs.el (org-if-unprotected-at): New macro.
4050 * org-agenda.el (org-agenda-show): Allow numerical prefix
4051 arguments to specify how much context should be shown.
4052 (org-agenda-cycle-show): New command, could be bound to SPC in
4053 org-agenda-mode-map.
4055 * org-exp.el (org-html-level-start): Space after section number.
4057 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
4059 * org-agenda.el (org-agenda-get-sexps): Add todo state as
4060 property, for sorting.
4061 (org-cmp-todo-state): Get the applicable TODO keywords directly
4063 (org-run-agenda-series, org-agenda-list, org-search-view)
4064 (org-todo-list, org-tags-view): Only fit agenda window when the
4065 whole series is done.
4067 * org.el (org-scan-tags): Add todo state as property, for sorting.
4069 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4070 `org-agenda-overriding-header' as an option.
4071 (org-agenda-list): Honor org-agenda-overriding-header'.
4073 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
4075 * org-list.el (org-toggle-checkbox): Improve cursor positioning
4076 after removing a checkbox.
4078 * org.el (org-show-entry): Make this work correctly also if it is
4079 the last entry in the file.
4080 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4081 falling back to normal, default command.
4082 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4083 item, call the checkbox toggler to get a box.
4085 * org-list.el (org-toggle-checkbox): Make double prefix set the
4087 (org-fix-bullet-type): Only replace bullet if it is changed.
4088 (org-renumber-ordered-list): Handle case when first item does not
4091 * org.el (org-add-log-setup): Fix positioning when
4092 `org-log-states-order-reversed' is nil.
4094 * org-clock.el (org-clock-in): Fix positioning when
4095 `org-log-states-order-reversed' is nil.
4096 (org-clock-find-position): Fix positioning when
4097 `org-log-states-order-reversed' is nil.
4099 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
4101 * org-clock.el (org-clock-into-drawer): Take default from
4102 `org-log-into-drawer'.
4103 (org-clock-find-position): Look for the correct drawer.
4105 * org.el (org-log-into-drawer): Renamed from
4106 `org-log-state-notes-into-drawer'.
4107 (org-log-state-notes-into-drawer): New variable alias.
4108 (org-add-log-setup): Make drawer name default to LOGBOOK, not
4110 (org-insert-property-drawer): Also skip LOGBOOK drawers.
4112 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
4114 * org-agenda.el (org-agenda): Fix docstring.
4116 * org.el ("org-plot"): Help loading org-plot.
4117 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4118 (org-metadown-hook, org-shiftmetaleft-hook)
4119 (org-shiftmetaright-hook, org-shiftmetaup-hook)
4120 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4121 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4122 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4123 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4125 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4126 for selecting files with any (and even without) extension.
4128 * org.el (org-save-all-org-buffers): Also save id locations.
4129 (org-revert-all-org-buffers): Also load id locations.
4131 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4132 * org.el (org-drawers): Add LOGBOOK to the default drawers.
4133 (org-log-state-notes-into-drawer): New option.
4134 (org-add-log-setup): Place the sate note marker into the drawer,
4135 create drawer when necessary.
4136 (org-refile-targets): Document special interpretation of LEVEL
4137 when odd-levels are used.
4139 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4141 * org.el (org-store-log-note): Fix note indentation when adding
4142 notes to end of list.
4144 * org-exp.el (org-export-as-html): Add TODO keyword as extra
4145 class, so that each keyword can get special colors through CSS.
4147 * org-clock.el (org-clock-out): Add another nil for the previous
4148 state into the call to `org-add-log-setup'.
4150 * org.el (org-log-note-previous-state): New variable.
4151 (org-log-note-headings): New %S escape for old state.
4152 (org-todo): Call the note setup with the old state as an
4154 (org-add-note): Add another nil for the previous state into the
4155 call to `org-add-log-setup'.
4156 (org-add-log-setup): New argument PREV-STATE.
4157 (org-add-log-note): Handle new %S escape.
4158 (org-store-log-note): Handle new %S escape.
4160 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
4162 * org-clock.el (org-clock-find-position): Do not swallow an item
4163 less indented than the CLOCK line itself.
4164 (org-clock-in): Push markers to lin after the clock line.
4165 (org-clock-find-position): Handle values of
4166 `org-clock-into-drawer' smaller than 2.
4168 * org-exp.el (org-html-level-start): Add a CSS class to section
4170 (org-export-html-toplevel-hlevel): Better documentation of the
4171 influence of this variables on H levels and css classes in
4174 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
4176 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4177 timestamp and nottimestamp to the chooe menu.
4179 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4180 (org-revert-all-org-buffers): New command.
4182 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
4184 * org.el (org-return): Implement `org-return-follows-link' in the
4185 function org-return. This is more robust than using the mouse
4187 (org-set-regexps-and-options): Match more general #+TODO lines.
4188 (org-make-options-regexp): New optional argument EXTRA, for an
4190 (org-tab-follows-link): Mark as deprecated.
4192 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
4194 * org-exp.el (org-export-preprocess-string): Remove clock lines
4195 earlier, so that they cannot cotribute to verbatim snippets.
4197 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
4199 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4200 for finding drawers.
4201 (org-export-as-ascii, org-export-as-html): Count levels relative
4202 to the subtree header.
4203 (org-get-min-level): New optional argument OFFSET.
4204 (org-export): Make sure point is restored after popping up that
4207 * org.el (org-do-sort): Also take an inactive timestamp if no
4208 active one is found.
4210 * org-colview-xemacs.el (org-columns-capture-view): Copy before
4211 deleting duplicates.
4213 * org-colview.el (org-columns-capture-view): Copy before
4214 deleting duplicates.
4216 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4217 text before first headline.
4219 * org.el (org-format-latex): Do not convert LaTeX fragments in
4222 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
4224 * org-exp.el (org-export-html-style-default): Use color values
4225 instead of names for XHTML validation.
4227 * org.el (org-get-scheduled-time, org-get-deadline-time): New
4229 (org-return-follows-link): Revert making this the default untile
4230 issues are resolved.
4232 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4235 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4237 * org.el (org-mode): Make dependence stuff work more reliably.
4238 (org-update-parent-todo-statistics): Fix bug with updating
4241 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4242 ~ as verbatim delimiters.
4244 * org-exp.el (org-export-html-format-image): New argument
4246 (org-export-as-html): Pass par-open to
4247 `org-export-html-format-image'.
4249 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
4251 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4252 (org-use-fast-todo-selection, org-tags-column): New default
4253 setting for variables, based on a poll what typical uses use.
4255 * org-agenda.el (org-agenda-sorting-strategy)
4256 (org-agenda-tags-column): New default setting for variables, based
4257 on a poll what typical uses use.
4259 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
4261 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4262 blocked entries from setting the blocked tag.
4264 * org-exp.el (org-export-html-footnotes-section): Use a more
4265 consistent id for footnotes.
4267 * org-export-latex.el (org-export-latex-classes): Remove the
4268 a4paper option from the default styles.
4270 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4272 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4273 (org-block-todo-from-checkboxes): New function.
4274 (org-todo): Make tripple prefix arg circumvent blocking.
4276 * org-timer.el (org-timer): Provide the timer feature.
4278 * org.el (org-require-autoloaded-modules): Add a few more files to
4279 the list of autoloaded modules.
4281 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4283 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4285 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4286 drawers that are unprotected.
4287 (org-export-html-format-image): Make sure inlined LaTeX fragment
4288 images remain inlined.
4290 * org.el (org-toggle-ordered-property): New function.
4291 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4292 (org-org-menu): Add menu entries for TODO dependencies.
4294 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4296 * org.el (org-default-properties): Add ORDERED to the default
4297 properties, to get completion support for it.
4299 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4301 * org.el (org-update-parent-todo-statistics): Update more than one
4304 * org-agenda.el (org-agenda-get-todos): Start search from correct
4307 * org.el (org-fast-todo-selection): Make sure TODO selection does
4308 not change buffer position.
4310 * org-list.el (org-toggle-checkbox): Implement adding or removing
4311 checkboxes from line or region when called with a prefix
4314 * org-rmail.el (org-rmail-store-link): Protect the call to
4315 `rmail-narrow-to-non-pruned-header'.
4317 * org-clock.el (org-clock-special-range): Fix week display in
4320 * org-exp.el (org-get-current-options): Fix bug when in indirect
4323 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4325 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4326 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4327 (org-agenda-dim-blocked-tasks): New function.
4329 * org.el (org-enforce-todo-dependencies): New option.
4330 (org-block-todo-from-children-or-siblings): New function.
4332 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4334 * org.el (org-todo): Return correct state type even if the blocker
4336 (org-modifier-cursor-error): Renamed from
4337 `org-shiftcursor-error'.
4338 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4339 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4341 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4342 to get real errors from the blocker hook.
4344 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4346 (org-set-visibility-according-to-property): Turn off the setting
4347 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4350 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4352 * org.el (org-support-shift-select): New option.
4353 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4354 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4355 selection outside contexts.
4357 * org-list.el (org-at-item-bullet-p): New function.
4359 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4362 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4364 (org-insert-footnote-reference-near-definition): Remove
4365 unnecessary let form.
4367 * org-export-latex.el (org-export-latex-first-lines): Add
4368 OPT-PLIST parameter.
4369 (org-export-as-latex): Call `org-export-latex-first-lines' with
4370 opt-plits parameter.
4371 (org-export-latex-preprocess): Remove unnecessary variables.
4373 * org-exp.el (org-infile-export-plist)
4374 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4375 (org-export-remove-headline-metadata)
4376 (org-export-get-title-from-subtree, org-get-min-level)
4377 (org-html-do-expand): Remove innecessary let form.
4379 * org-colview-xemacs.el (org-columns-display-here): Remove
4380 unnecessary variables.
4382 * org-colview.el (org-columns-display-here): Remove unnecessary
4385 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4388 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4389 unnecessary variables.
4391 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4392 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4395 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4396 (org-compact-display-after-subtree-move): Remove unnecessary
4398 (org-edit-fixed-width-region): Remove unnecessary variables.
4399 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4400 (org-olpath-completing-read): Remove unnecessary variable.
4401 (org-auto-repeat-maybe): Remove unnecessary variable.
4402 (org-map-entries): Remove unnecessary variable.
4403 (org-buffer-property-keys, org-imenu-get-tree)
4404 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4406 -----------------------------------------------------------------
4408 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4409 * org-exp.el (org-export-remove-timestamps): Never remove
4410 timestamps from tables.
4412 * org-export-latex.el (org-export-latex-first-lines): Add more
4413 options to the preprocessing of the text before the first
4416 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4418 * org-faces.el (org-clock-overlay): Make face compatible with
4421 * org.el (org-yank): Add property for delete-selection mode.
4423 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4425 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4428 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4431 * org-exp.el (org-export-as-html): Remove the initial space from
4434 * org.el (org-scan-tags): Call
4435 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4437 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4438 customization groups.
4439 (org-agenda-tags-todo-honor-ignore-options): New option.
4440 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4442 (org-agenda-get-todos): Use
4443 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4445 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4447 * org-exp.el (org-export-format-source-code-or-example): Escape
4448 HTML characters also in examples that anre not treated with
4449 htmlize. Also, just switch to EXAMPLE processing if we do not
4450 have a good version of htmlize.
4452 * org-rmail.el: Fix copyright notice.
4454 * org.el (org-activate-footnote-links): Improve footnote link
4457 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4458 a footnote definition at the end of the file.
4460 * org-table.el (org-table-get-specials): Add an imagined hline at
4461 the end of the table. This can be useful for references that want
4462 to go to the end of the table. Also fix bug when computing last
4463 row constants, in tables that do not start right at the right
4465 (org-table-eval-formula): Match and replace remove references.
4466 (org-table-formula-substitute-names): Make sure that names inside
4467 a "remote" call are left alone, the will be replaced later when
4468 the remote call is handled.
4469 (org-table-convert-refs-to-rc): Do not convert things that might
4470 look like a reference, but are really part of an ID or namei n a
4472 (org-table-get-remote-range): New function.
4474 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4476 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4478 * org-clock.el (org-clock-put-overlay): Use new face instead of
4479 `secondary-selection'.
4481 * org-faces.el (org-clock-overlay): New face.
4483 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4485 * org-exp.el (org-get-current-options): Include the option for
4486 publishing time stamps.
4488 * org.el (org-toggle-heading): Renamed from
4489 `org-toggel-region-headings'.
4490 No longer needs a region defined, but will use it if there is one.
4491 (org-ctrl-c-star): Simplified, relying more on the internal
4492 workings of `org-toggle-heading'.
4493 (org-toggle-item): Renamed from `org-toggle-region-items'.
4494 No longer needs a region defined, but will use it if there is one.
4495 (org-ctrl-c-minus): Simplified, relying more on the inernal
4496 workings of `org-toggle-item'.
4498 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4499 environment detection. Also, do real changes only in unprotected
4502 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4504 * org-export-latex.el (org-export-latex-quotation-marks): Use
4505 `org-if-unprotected-1'.
4506 (org-export-latex-set-initial-vars): Check for class definition in
4509 * org-macs.el (org-if-unprotected-1): New macro.
4511 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4513 * org-compat.el (org-count-lines): New function.
4515 * org-exp.el (org-export-format-source-code-or-example): Handle
4516 switches related to text areas.
4518 * org.el (org-activate-footnote-links): Don't allow match inside a
4521 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4523 * org-export-latex.el (org-export-latex-links): Keep a relative
4524 path relative also after export.
4526 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4528 * org.el (org-make-tags-matcher): Never use IDO for completing the
4529 tags matcher match string.
4530 (org-completing-read): Also remove the special biding for "?".
4532 * org-attach.el (org-attach-allow-inheritance): New option.
4533 (org-attach-inherited): New variable.
4534 (org-attach-dir): Handle properties related to the attachment
4536 (org-attach-check-absolute-path): New function.
4537 (org-attach-set-directory, org-attach-set-inherit): New commands.
4538 (org-attach): Accommodate the new commands in the dispatcher.
4540 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4542 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4543 `window-full-width-p'.
4545 * org-exp.el (org-export-as-html): Only check for images files
4546 that really can be inlined
4548 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4549 list of extensions to be a parameter.
4551 * org-exp.el (org-export-html-inline-image-extensions): New
4554 * org-agenda.el (org-prepare-agenda): Use
4555 `org-agenda-block-separator'.
4556 (org-agenda-block-separator): New option.
4558 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4560 * org-export-latex.el (org-export-latex-tables): Call
4561 `org-table-clean-before-export' with the new optional argument.
4563 * org-exp.el (org-table-clean-before-export): New optional
4564 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4567 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4569 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4572 * org-colview.el (org-colview-construct-allowed-dates): Better
4573 error catching when a date/time property does not have allowed
4576 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4577 Better error catching when a date/time property does not have
4578 allowed values defined.
4580 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4582 * org.el (org-map-entries): Restore point and restriction after
4585 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4587 * org.el (org-time=, org-time<, org-time<=, org-time>)
4588 (org-time>=, org-time<>): Make sure both values are dates.
4590 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4592 * org-archive.el (org-extract-archive-heading): Allow %s for file
4593 name also in achive location heading.
4595 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4597 * org-archive.el (org-add-archive-files): Uniquify the list before
4600 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4602 * org-compat.el (org-fit-window-to-buffer): Use
4603 `window-full-width-p'.
4605 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4606 space after the colon in short examples.
4608 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4609 enforce a space after the colon. However, we also allow lines
4610 that are *only* a colon.
4611 (org-export-as-html): Enforce the space after the colon in short
4613 (org-export-preprocess-string): Do the colon example protection
4615 (org-export-remove-timestamps): Do not check for protection at the
4618 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4620 * org.el (org-format-latex-options): Add new matcher for single
4621 letters between dollars.
4622 (org-get-header): Function removed.
4623 (org-heading-components): New function.
4625 * org-exp.el (org-export-define-heading-targets): Record ID's also
4626 as alternative targets.
4627 (org-export-as-html): Interpret "id:" links to other files by
4628 preserving the relative path.
4630 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4633 * org-exp.el (org-export-normalize-links): Protect the main link,
4634 to avoid special character processing.
4636 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4638 (org-export-latex-special-string-regexps): Variable removed.
4639 (org-export-latex-keywords): Use the new regexp.
4641 * org-exp.el (org-export-handle-include-files): Fetch switches and
4642 put them into the BEGIN statement.
4644 * org-timer.el (org-timer-mode-line-string): New variable.
4646 * org-clock.el (org-clock-mode-line-map): Renamed from
4647 `org-clock-mode-map'.
4648 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4649 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4650 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4651 (org-clock-remove-overlays): Renamed from
4652 `org-remove-clock-overlays'.
4654 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4655 and mode line display.
4656 (org-timer-stop): New command.
4657 (org-timer-seconds): Return correct time when timer is paused.
4658 (org-timer-mode-line-timer): New variable.
4659 (org-timer-set-mode-line, org-timer-update-mode-line): New
4662 * org.el (org-insert-heading): Handle new value `auto' for
4663 `org-blank-before-new-entry'.
4664 (org-org-menu): Add new items for timer functions.
4666 * org-list.el (org-insert-item): Handle new value `auto' for
4667 `org-blank-before-new-entry'.
4669 * org.el (org-blank-before-new-entry): New value `auto', made
4672 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4674 * org-exp.el (org-export-normalize-links): If the link is also
4675 used as the description, protect the description.
4677 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4679 * org.el (org-closest-date): Fix bug with yearly repeats, in
4680 combination with preference of the past as it is used for deadline
4681 and scheduling search.
4683 * org-exp.el (org-html-handle-time-stamps): No longer check for
4684 the `org-export-with-timestamps' option, because the preprocesser
4685 has taken care of this already.
4687 * org.el (org-entry-properties): Catch the case when this is
4688 called in a non-org-mode file.
4690 * org-export-latex.el (org-export-latex-remove-from-headlines):
4691 Variable made obsolete, also LaTeX export now uses the standard
4693 (org-export-as-latex): Add the timestamps parameter to the
4694 preprocessor parameter list.
4695 (org-export-latex-content): Export the remaining keywords without
4696 considering to remove them.
4697 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4698 Use bold font instead of tt font for the keywords.
4699 (org-export-latex-fontify-headline): Format headlines, assuming
4700 that all keywords still present should be published.
4701 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4702 publish what ever remains of the time stamps.
4703 (org-export-latex-list-parameters): New option.
4704 (org-export-latex-lists): Pass additional parameters to the list
4707 * org-exp.el (org-export-preprocess-string): Remove clock lines
4708 and timestamps already in the preprocesor.
4709 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4711 (org-export-as-ascii, org-export-as-html): Add the timestamps
4712 parameter to the preprocessor parameter list.
4714 * org-list.el (org-list-parse-list): Parse for checkboxes.
4715 (org-list-to-generic): Introduce and handle new parameters :cbon
4717 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4718 optional parameter PARAMS.
4720 * org-export-latex.el (org-export-latex-special-chars): Fix
4721 problems with interpreting dollar signs.
4722 (org-inside-latex-math-p): New function.
4723 (org-export-latex-preprocess): Protect all the math fragments.
4725 * org.el (org-latex-regexps): Allow a dash after a dollar.
4727 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4730 * org-agenda.el (org-run-agenda-series): Have series options set
4731 when finalizing the agenda.
4733 * org-exp.el (org-export-format-source-code-or-example): Protect
4734 the converted examples.
4736 * org.el (org-set-regexps-and-options): Fix the regexp
4737 `org-complex-heading-regexp'.
4739 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4741 * org.el (org-edit-src-get-label-format): New function.
4742 (org-coderef-label-format): New option.
4743 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4744 a label format specification and make sure it is used in the edit
4746 (org-edit-src-get-label-format): New function.
4747 (org-store-link): Handle new coderef formats.
4748 (org-link-search): Handle new coderef formats.
4750 * org-footnote.el (org-footnote-create-definition)
4751 (org-footnote-goto-local-insertion-point): Make footnote insertion
4752 work correctly when the "Footnotes" headline is the last line in
4755 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4758 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4760 * org-w3m.el (org-w3m): New customization group.
4761 (org-w3m-deactivate-mark): New option.
4762 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4765 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4767 * org.el (org-set-font-lock-defaults): Trigger footnote
4769 (org-activate-footnote-links): New function.
4770 (org-activate-links): New entry `footnote'.
4772 * org-faces.el (org-footnote): New face.
4774 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4776 * org-macs.el (org-re): Handle the [:word:] class.
4778 * org-exp.el (org-export-preprocess-string): Call
4779 `org-export-protect-colon-examples'.
4780 (org-export-protect-colon-examples): Renamed from
4781 `org-export-protect-examples', and scope limited to lines starting
4784 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4786 * org-exp.el (org-export-preprocess-string): Move the preprocess
4787 hook to after turning on Org-mode.
4788 (org-export-preprocess-after-include-files-hook)
4789 (org-export-preprocess-after-tree-selection-hook)
4790 (org-export-preprocess-before-backend-specifics-hook)
4791 (org-export-preprocess-final-hook): New hooks.
4792 (org-export-preprocess-string): Run the new hooks.
4794 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4796 * org-footnote.el: New file.
4798 * org.el (org-footnote): Require footnote code.
4799 (org-startup-options): Add new footnote options.
4800 (org-mode-map): New keybindig for footnotes.
4801 (org-ctrl-c-ctrl-c): Add function at footnotes.
4802 (org-org-menu): New menu entries for footnotes.
4804 * org-export-latex.el (org-export-as-latex): Pass footnote
4805 variable to preprocessor.
4806 (org-export-latex-preprocess): Treat multiple references to a
4809 * org-exp.el (org-export-preprocess-string): Call
4810 `org-footnote-normalize'.
4811 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4813 (org-export-as-html): Treat multiple references to a footnote.
4815 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4817 * org-export-latex.el (org-export-latex-links): Handle coderef
4820 * org.el (org-bracket-link-analytic-regexp++): New variable.
4821 (org-make-link-regexps): Initialize
4822 `org-bracket-link-analytic-regexp++'.
4823 (org-store-link): Implement special case in edit-src buffer.
4824 (org-insert-link): No use of ide to insert stored links.
4825 (org-link-search): Implement special case for coderefs.
4827 * org-exp.el (org-export-html-scripts): New constant.
4828 (org-export-html-style-default): Add a new style for highlighted
4830 (org-export-code-refs): New variable.
4831 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4832 Call `org-export-replace-src-segments-and-examples'
4833 No longer call `org-export-protect-examples'.
4834 (org-export-target-internal-links): Take care of coderef targets.
4835 (org-export-last-code-line-counter-value): New variable.
4836 (org-export-replace-src-segments-and-examples): Renamed from
4837 `org-export-replace-src-segments', and modified.
4838 (org-export-format-source-code-or-example): Renamed from
4839 `org-export-format-source-code'.
4840 (org-export-number-lines): New function.
4841 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4843 --------------------------------------------------------------------------
4845 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4847 * org-remember.el (org-remember-handler): Safer way to get a new
4848 buffer accessing the target file.
4850 * org.el (org-refile-get-location): Handle case of current buffer
4851 not having a file associated with it.
4853 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4855 * org-table.el (org-table-get-formula): Only ask to overwrite
4856 field formula if there really is one.
4858 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4859 number, by converting these to a string.
4861 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4862 located in a different file.
4864 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4867 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4869 * org.el (org-completion-use-ido): Enhance docstring of
4870 `org-completion-use-ido'.
4872 * org-export-latex.el (org-export-latex-make-header): Double the %
4873 in the time stamp format.
4874 (org-export-latex-special-chars): Handle case where there is no
4877 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4879 * org.el (org-get-refile-targets, org-refile-get-location): Use
4880 expanded file name to improve comparison.
4882 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4884 * org.el (org-scan-tags): Rescan for tags, to get the correct
4885 upcase/downcase stuff. This slows things down for now, but it
4887 (org-mode): Make sure the tag-faces regexp is initialized.
4889 * org-export-latex.el (org-export-latex-links): Fix bug with
4892 * org-table.el (org-table-get-specials): Set
4893 `org-table-current-last-data-line'.
4894 (org-table-current-last-data-line): New variable.
4895 (org-table-insert-column, org-table-delete-column)
4896 (org-table-move-column, org-table-fix-formulas): Call
4897 `org-table-fix-formulas' a second time to fix the $LR references.
4898 (org-table-get-specials): Add the $LR references to the tables.
4899 (org-table-get-formula): Do not offer last-row names as LHS of
4902 * org.el (org-store-link): Capture link description from
4903 `org-id-store-link'.
4905 * org-exp.el (org-export-html-format-image): Add the / to the end
4907 (org-export-format-source-code): Surround example by empty lines,
4908 to make sure it will not be inside a paragraph.
4910 * org.el (org-ido-switchb): New function.
4912 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4914 * org-agenda.el (org-agenda-show): New prefix argument
4917 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4920 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4921 `org-agenda-change-all-lines'.
4922 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4923 tags are now retrieved locally.
4925 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4927 * org.el (org-get-outline-path): Fix bug if level is not given.
4928 (org-org-menu): Do not quote function in menu vector.
4930 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4933 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4935 * org.el (org-refile): Avoid refiling to within the region to be
4938 * org-export-latex.el (org-export-latex-special-chars): Replace
4939 special characters also in tables.
4941 * org-agenda.el (org-agenda-change-all-lines): New argument
4943 (org-agenda-set-tags): Cet the new tags and pass them to
4944 `org-format-agenda-item'.
4946 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
4948 * org-export-latex.el (org-export-latex-classes): Add longable as
4949 a default package to all classes.
4950 (org-export-latex-tables): Handle the longtable attribute and the
4953 * org-table.el (orgtbl-to-generic): Handle tables that start with
4956 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4957 \verb for colde-like snippets.
4958 (org-export-as-latex): Fix issues with region export.
4960 * org.el (org-up-heading-safe): Speed up function by using a
4961 direct regexp search.
4962 (org-olpa): New variable.
4963 (org-get-outline-path): Speed-up path constructions in cases where
4964 this is possible because the entire hierarchy is scanned anyway.
4965 (org-refile-get-location): Don't compare the truenames of files,
4967 (org-goto-max-level): New option.
4968 (org-goto): Use `org-goto-max-level'.
4970 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
4972 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4973 Strip angle brackets from message-ids in the former and don't do
4975 (org-gnus-follow-link): Open summary reliable, even if the last
4976 messages were deleted, and handle empty groups, too.
4978 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
4980 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4981 instead of \texttt for the =...= and ~===~ emphasis environments.
4982 (org-export-as-latex): Remove any old :org-license-to-kill text
4984 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4985 (org-export-latex-make-header): Add some hard space after the
4987 (org-export-latex-first-lines): Accept RBEG argument. Mark
4988 exported text so that it will be excuded in further steps.
4990 * org-table.el (org-table-get-specials): Make @0 reference the
4991 last line in a table.
4992 (org-table-recalculate): Improve docstring.
4994 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
4996 * org.el (org-log-done): Fix docstring.
4998 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
5000 * org-exp.el (org-export-html-format-image): Fix bugs.
5002 * org-export-latex.el (org-export-latex-tables)
5003 (org-export-latex-links): Implement attribute, label, and caption
5006 * org-exp.el (org-export-html-style-default): Add style
5007 definitions for the figure div.
5008 (org-export-preprocess-string, org-export-as-html): Implement
5009 attribute, label, and caption handling.
5010 (org-export-attach-captions-and-attributes): New function.
5011 (org-export-html-format-image): New function.
5012 (org-format-org-table-html): Implement attribute, label, and
5015 * org.el (org-find-text-property-in-string): New function.
5016 (org-extract-attributes): Use the property org-attr instead of
5017 org-attrobutes, because this property is now set with the #+ATTR
5020 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
5022 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5023 the case that FROM is nil.
5025 * org.el (org-before-first-heading-p): New function.
5027 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5029 * org-exp.el (org-export-as-html): Do not add a space before
5030 enforces line breaks.
5031 (org-export-as-html): Close paragraph before blockquote and verse
5034 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
5036 * org-id.el (org-id-locations-file): Wrap file name with
5037 `convert-standard-filename'.
5038 (org-id-files): New variable.
5039 (org-id-use-hash): New option.
5040 (org-id-update-id-locations): Also search in all files current
5041 listed in `org-id-files'. Convert the resulting alist to a hash
5042 if the user customation says so.
5043 (org-id-locations-save): Handle he case if `org-id-locations' is a
5045 (org-id-locations-load): Convert the alist to a hash.
5046 (org-id-add-location): Handle the hast case.
5047 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5049 (org-id-hash-to-alist, org-id-alist-to-hash)
5050 (org-id-paste-tracker): New functions.
5052 -------------------------------------------------------------------------
5054 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5056 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5057 bindings of calendar variables.
5059 * org-table.el (org-table-find-row-type): Renamed from
5060 `org-find-row-type'.
5061 (org-table-rewrite-old-row-references): Renamed from
5062 `org-rewrite-old-row-references'.
5063 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5064 (org-table-cleanup-narrow-column-properties): Renamed from
5065 `org-cleanup-narrow-column-properties'.
5067 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5069 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5070 for better error messages.
5071 (org-table-get-descriptor-line): Supply the new arguments to
5072 `org-find-row-type'.
5073 (org-table-error-on-row-ref-crossing-hline): New option.
5075 * org.el (org-target-link-regexp): Make buffer-local.
5076 (org-move-subtree-down): Fix bug with trees at beginning of
5079 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
5081 * org-faces.el (org-set-tag-faces): New function.
5082 (org-tags-special-faces-re): New variable.
5084 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5086 * org-faces.el (org-tag-faces): New option.
5087 (org-tag): Mention `org-tag-faces' in the docstring.
5089 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
5091 * org-exp.el (org-export-html-style-default): Implement new
5094 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5096 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5097 command to the `w3m-minor-mode-map'.
5099 * org-archive.el (org-archive-to-archive-sibling): Protect
5100 `this-command' to avoid appending kills during archiving.
5102 * org-exp.el (org-export-with-priority): New variable.
5103 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5104 instead of internal list of strings and properties.
5105 (org-print-icalendar-entries): Retrieve the location property with
5108 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
5110 * org-exp.el (org-export-with-todo-keywords): New option.
5111 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5113 (org-default-export-plist, org-export-add-options-to-plist)
5114 (org-export-as-ascii, org-export-as-html): Use the new structure
5115 of `org-export-plist-vars'.
5117 * org.el (org-map-entries): Return all values.
5119 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
5121 * org.el (org-matcher-time): Recognize more special values.
5123 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5125 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
5127 * org.el (org-tags-exclude-from-inheritance): New option.
5128 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5129 `org-tags-exclude-from-inheritance'.
5131 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5132 (org-format-agenda-item): Add inherited tags to the agenda line
5133 string, and make sure that properties are kept when downcasing the
5135 (org-agenda-add-inherited-tags): New function.
5136 (org-downcase-keep-props): New function.
5138 * org.el (org-scan-tags): Mark inherited tags with a text
5140 (org-get-tags-at): Mark inherited tags with a text property.
5141 (org-add-prop-inherited): New function.
5143 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5144 (org-agenda-show-inherited-tags): New option.
5146 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
5148 * org.el (org-modules): Add org-w3m to the default modules.
5150 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5152 (orgtabl-create-or-convert-from-region): New command.
5154 * org-exp.el (org-export-as-ascii): Remove the handling of
5156 (org-export-ascii-preprocess): Handle targets already in this
5159 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
5161 * org-timer.el (org-timer-start-time): Define this variable.
5162 (org-timer-item): Make argument optional.
5164 * org-list.el (org-insert-item): Automatically insert a timer item
5165 if the current list is a timer list.
5167 * org-timer.el: New file.
5169 * org-publish.el (org-publish-org-index): Only exclude the index
5170 file in the main directory from being added to the site-map.
5171 (org-publish-get-project-from-filename): If the current project is
5172 a component, start publishing from the parent project.
5174 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5176 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5178 * org-publish.el (org-publish-org-index): Improve removal of
5181 * org-agenda.el (org-get-closed): Re-apply changes
5182 accidentially overwritten by last commit to Emacs.
5184 * org.el (org-outline-path-complete-in-steps): New option.
5185 (org-refile-get-location): Honor
5186 `org-outline-path-complete-in-steps'.
5187 (org-agenda-change-all-lines, org-tags-sparse-tree)
5188 (org-time-string-to-absolute, org-small-year-to-year)
5189 (org-link-escape): Re-apply changes accidentially overwritten
5190 by last commit to Emacs
5192 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5194 * org-clock.el (org-dblock-write:clocktable): Make sure the
5195 clocktable sees the first line.
5196 (org-clock-in): Warn if the clock cannot be resumed.
5198 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
5200 * org.el (org-open-at-point): Fix mixup about interactive and
5201 non-interactive elisp links.
5203 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5205 * org-exp.el (org-export-preprocess-string): Allow one comment
5206 line before the first headline to always be included. This is
5207 to not miss a commented target.
5209 * org-mouse.el (org-mouse-insert-item): Call
5210 `org-indent-to-column' instead of `indent-to', for XEmacs
5213 * org.el (org-refile-targets): Fix customize definition so
5214 that it works also in XEmacs.
5215 (org-fixup-indentation): Call `org-indent-to-column' instead
5216 of `indent-to', for XEmacs compatibility.
5218 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5220 * org-mew.el (org-mew-store-link): Get the correct case folder
5221 for refiled messages.
5223 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5225 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5226 line break indicators.
5228 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5229 ido-completion propts.
5231 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5233 * org-remember.el (org-remember-apply-template): Use
5234 `org-substring-no-properties'.
5236 * org-compat.el (org-substring-no-properties): New function.
5238 * org-remember.el (org-remember-apply-template): Use
5239 `org-substring-no-properties' for compatibility.
5241 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5243 (org-fix-bullet-type): respect
5244 `org-list-two-spaces-after-bullet-regexp'.
5246 * org-clock.el (org-clock-load): Clean up the code.
5248 * org.el (org-adaptive-fill-function): Allow two spaces after
5249 "1." as a list bullet.
5251 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
5253 * org-clock.el (org-clock-save, org-clock-load): Check for
5254 live buffers, existing files, and buffer file names to ensure
5255 consistent information.
5256 (org-clock-persist): Make `clock' a special value of this
5257 variable, and improve docstring.
5259 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5260 (org-get-string-indentation): Adapt indentation when the bullet
5263 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
5265 * org-remember.el (org-remember-finalize): Make interactive.
5266 (org-remember-kill): New command.
5267 (org-remember-finish-immediately): Call `org-remember-finalize'
5269 (org-remember-finalize): Make `org-remember-finalize' an interactive
5272 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5274 * org-remember.el (org-remember-apply-template): No ido completion
5275 for free prompts in remember templates.
5276 (org-remember-before-finalize-hook): New hook.
5277 (org-remember-mode): New minor mode.
5278 (org-remember-apply-template): Turn on `org-remember-mode'.
5280 * org-id.el (org-id-add-location): Avoid error when no file is
5283 * org-remember.el (org-remember-apply-template): Fix the way how
5284 the list of allowed properties is retrieved from the target file.
5286 * org.el (org-insert-link): Improve file link matching.
5288 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5290 * org-colview.el (org-columns-display-here): New argument
5291 DATELINE, to trigger using the new face.
5292 (org-agenda-colview-summarize): Call `org-columns-display-here'
5293 with the new argument.
5295 * org-faces.el (org-agenda-column-dateline): New face.
5297 * org-publish.el (org-publish-org-index): Use index-title at page
5298 title, not as section.
5300 * org-exp.el (org-export-html-format-desc): Respect the
5301 org-protect property.
5302 (org-export-as-html): Protect image specifiers that are in the
5303 description part of a link.
5305 * org.el (org-sort-entries-or-items, org-completing-read)
5306 (org-refile-get-location, org-olpath-completing-read, org-todo)
5307 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5308 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5309 (org-set-property, org-delete-property)
5310 (org-delete-property-globally): Use `org-ido-completing-read'.
5312 * org-remember.el (org-remember-apply-template): Use
5313 `org-ido-completing-read'.
5315 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5317 * org-colview.el (org-columns-edit-value, org-columns-new)
5318 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5320 * org-colview-xemacs.el (org-columns-edit-value)
5321 (org-columns-new, org-insert-columns-dblock): Use
5322 `org-ido-completing-read'.
5324 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5325 `org-ido-completing-read'.
5327 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5328 `org-ido-completing-read'.
5330 * org.el (org-time-today): New function.
5331 (org-matcher-time): Use `org-time-today'. Add special treatment
5332 for "<tomorrow>" and "<yesterday>".
5333 (org-ido-completing-read): New function.
5334 (org-completion-use-ido): New option.
5336 * org-exp.el (org-export-format-source-code): Fix bug in require
5338 (org-export-target-internal-links): Fix bug in search for text
5341 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5343 * org-export-latex.el (org-export-latex-subcontent): Interprete
5344 target aliases as additonal labels.
5346 * org-exp.el (org-export-target-aliases): New variable.
5347 (org-export-preprocess-string)
5348 (org-export-handle-invisible-targets): Fill the alias alist.
5349 (org-export-as-html): Remove the from the anchor, and also
5351 (org-html-level-start): Insert the target aliases as additonal
5354 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5357 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5359 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5360 when following a link with the mouse from the agenda.
5362 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5363 headlines are created.
5365 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5367 * org-exp.el (org-export-preprocess-string): Reorder so that we
5368 can still see ID properties when we collect targets.
5369 (org-export-target-internal-links): Also store targets for ID's.
5371 * org.el (org-link-translation-function): New option.
5372 (org-open-at-point): Call `org-link-translation-function' if
5374 (org-translate-link): New function.
5375 (org-translate-link-from-planner): New function.
5376 (org-open-at-point): Allow interactive commands in elisp links.
5378 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5379 iCalendar quoting. The new one seems to caus problems with
5382 * org.el (org-yank): Set `this-command' to `yank', so that
5383 `yank-pop' will work.
5385 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5387 * org-id.el (org-id-search-archives): New option.
5389 * org.el (org-link-to-org-use-id): New option.
5390 (org-store-link): Use `org-link-to-org-use-id'.
5391 (org-id): Make org-id.el a standard component.
5393 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5395 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5396 hexified version of the tag.
5398 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5399 compliance as far as quoting is concerned.
5401 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5403 * org.el (org-up-heading-safe, org-forward-same-level): Always
5404 call `org-back-to-heading' instead of `outline-back-to-heading'.
5405 (org-back-to-heading): New wrapper around outline-back-to-heading,
5406 with a useful error message telling where the error happened.
5408 * org-list.el (org-update-checkbox-count): Always call
5409 `org-back-to-heading' instead of `outline-back-to-heading'.
5411 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5412 has an `alt' attribute, to ensure XHTML validation.
5414 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5416 * org-publish.el (org-publish-attachment): Allow publishing to
5417 overwrite attachment files.
5419 * org-agenda.el (org-agenda-timerange-leaders): New option.
5420 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5422 * org.el (org-edit-src-exit): Untabify ASCII image before
5436 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5438 * org.el (org-yank): Make any prefix force normal yanking.
5439 Suppress folding if text would be swallowed into a folded
5441 (org-yank-folded-subtrees, org-yank): Docstring updates.
5443 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5446 * org-exp.el (org-export-language-setup): Add Catalan and
5447 Esperanto language entries.
5449 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5451 * org.el (org-refile): Allow refiling of entire regions.
5453 * org-clock.el (org-clock-time%): New function.
5455 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5456 retrieve property values.
5458 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5460 * org-agenda.el (org-agenda-list): Handle the value `only' of
5461 org-agenda-show-log'.
5462 (org-agenda-log-mode): Interpret a double prefix arg.
5464 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5466 * org-exp.el (org-export-html-footnotes-section): New variable.
5467 (org-export-as-html): Use `org-export-html-footnotes-section' to
5468 insert the footnotes.
5469 (org-export-language-setup): Add "Footnotes" to language words.
5471 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5473 * org.el (org-yank): Fix bug when not inserting a subtree.
5475 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5477 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5478 instead of `vm-beginning-of-message'.
5480 * org.el (org-make-link-regexps): Make sure that links to gnus can
5483 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5485 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5488 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5491 * org.el (org-link-abbrev-alist): Improve customization type.
5493 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5496 * org-agenda.el (org-agenda-get-progress): Renamed from
5497 `org-get-closed'. Implement searching for state changes as well.
5498 (org-agenda-log-mode-items): New option.
5499 (org-agenda-log-mode): New option prefix argument, interpreted as
5500 request to show all possible progress info.
5501 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5503 (org-agenda-set-mode-name): Handle the more complex log mode
5505 (org-get-closed): New alias, pointing to `org-get-progress'.
5507 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5509 * org.el (org-file-apps-defaults-gnu)
5510 (org-file-apps-defaults-macosx)
5511 (org-file-apps-defaults-windowsnt): Add an entry defining the
5513 (org-file-apps): Allow `system' as key and value.
5514 (org-open-at-point): Explain the effect of a double prefix arg.
5515 (org-open-file): If the argument `in-emacs' is (16),
5516 i.e. corresponding to a double prefix argument, try to open the
5519 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5521 * org.el (org-insert-link): Abbreviate absolute files names in
5522 links. Also, fix a bug in which the double C-u prefix would not
5525 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5527 * org.el (org-insert-heading): If buffer does not end with a
5528 newline, add one if necessary to insert headline correctly.
5530 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5531 paragraphs, not inside.
5533 * org.el (org-todo): Quote
5534 `org-agenda-headline-snapshot-before-repeat'.
5536 * org-exp.el (org-export-as-html): Fully process link descriptions.
5537 (org-export-html-format-desc): New function.
5538 (org-export-as-html): Collect footnotes into the correct basket.
5539 (org-html-protect): No longer protect quotations marks here, this
5542 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5545 * org-compat.el (org-fit-window-to-buffer): New function (not
5546 really, a preliminary and incomplete version was present earlier,
5549 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5550 `org-fit-window-to-buffer'.
5552 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5554 * org-agenda.el (org-agenda-get-restriction-and-command)
5555 (org-fit-agenda-window, org-agenda-convert-date): Use
5556 `org-fit-window-to-buffer'.
5558 * org-exp.el (org-export-as-html): Process href links through
5559 `org-export-html-format-href'.
5560 (org-export-html-format-href): New function.
5562 * org-agenda.el (org-agenda-todo): Update only the current
5563 headline if this is a repeated TODO, marked done for today.
5564 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5565 only the current line.
5567 * org.el (org-todo): Take a snapshot of the headline if the
5568 repeater might change it.
5570 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5572 * org-publish.el (org-publish-find-title): Remove buffers visited
5573 only for extracting the title.
5575 * org-exp.el (org-export-html-style)
5576 (org-export-html-style-default): Mark style definitions as
5579 * org-publish.el (org-publish-validate-link): Function
5582 2008-11-02 Charles Sebold <csebold@gmail.com>
5584 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5586 (org-plot-quote-timestamp-field): New function.
5587 (org-plot-quote-tsv-field): Call timestamp field function when
5588 necessary rather than just quoting as a string.
5589 (org-plot/gnuplot-to-data): Pass in timefmt property.
5590 (org-plot/gnuplot-script): Supports timefmt property.
5591 (org-plot/gnuplot): Checks for timestamp column before checking
5592 for text index column.
5594 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5596 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5598 * org-publish.el (org-publish-org-index): Create a section in the
5600 (org-publish-org-index): Stop linking to directories.
5602 * org.el (org-emphasis-alist): Use span instead of <u> to
5605 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5608 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5610 * org-jsinfo.el (org-infojs-template): Remove language attribute
5613 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5615 * org-agenda.el (org-agenda-remove-marked-text): New function.
5616 (org-agenda-mark-filtered-text)
5617 (org-agenda-unmark-filtered-text): New functions.
5618 (org-write-agenda): Remove fltered text.
5620 * org.el (org-make-tags-matcher): Give access to TODO "property"
5621 without speed penalty.
5623 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5625 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5627 (org-store-link-props): Make sure adding to the plist works
5630 * org-gnus.el (org-gnus-no-new-news): New function.
5631 (org-gnus-follow-link): Allow the article ID to be a message-id,
5632 in addition to allowing article numbers. Message IDs make much
5634 (org-gnus-store-link): Use message-id to create link.
5636 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5638 * org.el (org-emphasize): Reverse the selection array.
5639 (org-emphasis-alist): Set <code> tags for the verbatim
5642 * org-remember.el (org-remember-handler): Fix bug with
5643 prefix-related changing of the note storage target.
5645 * org-exp.el (org-print-icalendar-entries): Make the exported
5646 priorities compatible with RFC 2445.
5648 * org-clock.el (org-clock-save): Insert time stamp without
5649 dependence on time-stamp.el.
5651 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5653 * org.el ("saveplace"): If saveplace puts point into an invisible
5654 location, make it visible.
5655 (org-make-tags-matcher): Allow inactive time stamps in time
5657 (org-yank-adjusted-subtrees): New option.
5658 (org-yank): Incorporate adjusting trees.
5659 (org-paste-subtree): New argument FOR-YANK which will cause
5660 insertion at point without backing up over white lines, and leave
5661 point at the end of the inserted text. Also if the cursor is
5662 at the beginning of a headline, use the same level or the inserted
5665 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5666 with broken symlinks
5668 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5670 * org-exp.el (org-export-select-tags, org-get-current-options):
5673 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5675 * org-agenda.el (org-format-agenda-item)
5676 (org-agenda-filter-make-matcher): Make sure tags are stored and
5679 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5681 * org.el (org-insert-todo-heading): Fix bug with force-heading
5684 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5686 * org-clock.el (org-clock-in-resume): Add a custom option to
5687 toggle starting the clock from an open clock line.
5688 (org-clock-in): When clocking in to an entry, if
5689 `org-clock-in-resume' is set, check if the first clock line is
5690 open and if so, start the clock from the time in the clock line.
5691 (org-clock-persist): Add a custom option to toggle clock
5693 (org-clock-persist-query-save): Add a custom option to toggle
5694 asking the user if they want to save the running clock when
5696 (org-clock-persist-query-resume): Add a custom option to toggle
5697 asking the user if they want to resume the saved clock when Emacs
5699 (org-clock-save): Add a function to save clock data.
5700 This includes the contents of `org-clock-history' and the buffer
5701 and position of the currently clocked task, if any.
5702 (org-clock-load): Add a function to load clock data.
5703 This populates `org-clock-history', and resumes the saved clocked
5704 task if there is one.
5705 (org-clock-persistence-insinuate): Add a method to set up the
5706 hooks for clock persistence.
5708 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5710 * org-exp.el (org-export-as-ascii): Handle the case that we are
5711 publishing from an indirect buffer.
5713 * org-table.el (org-table-copy-down): Fix bug with time stamp
5716 * org-mouse.el (org-mouse-features): New option.
5717 (org-mode-hook): Turn on features depending on
5718 `org-mouse-features'.
5720 * org.el (org-insert-heading-respect-content): Force heading
5722 (org-insert-heading): keep the folding state of the heading before
5725 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5727 * org-archive.el (org-archive-to-archive-sibling): Handle top
5728 level headlines better.
5730 2008-10-21 Bastien Guerry <bzg@altern.org>
5732 * org-export-latex.el (org-export-latex-classes): Added
5733 \usepackage{graphicx} to the default list of packages.
5735 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5737 * org-agenda.el (org-agenda-filter): Renamed from
5738 `org-agenda-filter-tags'.
5740 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5742 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5743 is not defined as a property in this entry.
5744 (org-add-log-note): Mask prefix argument when immediately storing
5747 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5750 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5752 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5753 after drawers was skipping ahead one line too many, so notes were
5754 inserted after the first note instead of before it.
5756 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5758 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5760 (org-prepare-agenda): Reset the filter tags.
5761 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5762 Show filter tags in mode line.
5764 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5767 * org-export-latex.el (org-latex-entities-regexp): New constant.
5768 (org-export-as-pdf): Use two calls to `shell-command'.
5770 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5772 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5773 Honor the {} value of the subsuperscript setting. Make sure that
5774 longer subsuperscripts are typeset in a roman font.
5776 * org.el (org-clock-update-time-maybe): Compute negative clock
5777 intervals correctly.
5779 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5781 * org.el (org-add-log-setup): Respect
5782 `org-log-state-notes-insert-after-drawers'.
5783 (org-log-state-notes-insert-after-drawers): New option.
5784 (org-todo-trigger-tag-changes): New function.
5785 (org-todo): Call `org-todo-trigger-tag-changes'.
5787 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5789 * org.el (org-add-log-setup): Only skip drawers if the are
5790 immediately after the scheduling keywords.
5792 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5794 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5795 call it with the current todo state to get the state to switch to
5797 (org-clock-in): Use org-indent-line-function to indent clock lines.
5798 (org-clock-find-position): Fix indentation of empty clock drawers.
5800 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5802 * org-publish.el (org-publish-org-to): Handle case when
5803 org-export-to-pdf does return a file name, not a buffer.
5804 (org-publish-org-to-pdf): New function.
5806 * org-export-latex.el (org-export-as-pdf)
5807 (org-export-as-pdf-and-open): New commands.
5809 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5812 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5813 things in protexted regions.
5815 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5817 * org-export-latex.el (org-export-latex-preprocess): Improve
5818 quoting of LaTeX environments.
5820 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5822 * org.el (org-edit-fixed-width-region): Exclude final newline from
5825 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5826 sections, to make internal links work.
5827 (org-export-latex-fontify-headline): Do not remove all text
5828 properties, to make sure that target properties survive this
5831 * org-exp.el (org-export-preprocess-string): Change sequence of
5832 modifications, to make sure links are prepared before the LaTeX
5833 conversions do happen.
5835 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5837 * org-attach.el (org-attach-delete-all): Renamed from
5838 `org-attch-delete'. Add a security query before deleting the
5839 entire directory. New optional argument FORCE can overrule the
5841 (org-attach-delete-one): New command.
5843 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5845 * org-attach.el (org-attach-file-list): Fix bug with directory.
5847 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5849 * org.el (org-apps-regexp-alist): New function.
5850 (org-file-apps): Add auto-mode to the default value.
5851 (org-open-file): Use the new structure of org-file-apps.
5853 * org-attach.el (org-attach): Support the new keys.
5854 (org-attach-method): New option.
5856 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5858 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5861 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5862 of the list value o `org-use-tag-inheritance'.
5864 * org-attach.el (org-attach-auto-tag): New option.
5865 (org-attach-tag, org-attach-untag): New functions.
5866 (org-attach-attach, org-attach-new, org-attach-sync): Call
5868 (org-attach-delete): Call `org-attach-untag'.
5870 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5872 * org-table.el (orgtbl-self-insert-command): Make this work for
5875 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5877 * org.el (org-add-log-setup): Limit searc for drawers to entry
5878 text, not to subtree.
5880 * org-clock.el (org-clock-heading-for-remember): New variable.
5881 (org-clock-in): Set `org-clock-heading-for-remember'.
5883 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5885 * org-remember.el (org-remember-apply-template): Add new
5886 expansions: %k, %K for currently clocked task and a link to the
5887 currently clocked task, and %< to file notes in the currently
5890 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5892 * org-export-latex.el (org-export-latex-make-header): Also insert
5893 the content of the property :latex-header-extra.
5895 * org-exp.el (org-infile-export-plist): Put the content of
5896 #+LATEX_HEADER: into the property :latex-header-extra.
5898 * org-colview.el (org-columns-get-format-and-top-level): Remove
5899 resetting the marker.
5901 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5902 Remove resetting the marker.
5904 * org.el (org-entry-property-inherited-from): Improve docstring.
5905 (org-entry-get-with-inheritance): Reset marker before starting the
5908 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5910 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5912 * org.el (org-entry-get-multivalued-property)
5913 (org-entry-protect-space, org-entry-restore-space): New
5915 (org-file-apps-defaults-macosx): Let postscript files be opened by
5917 (org-time-stamp-inactive): Call `org-time-stamp'.
5918 (org-time-stamp): New argument `inactive'. Also edit inacive
5919 stamps. Convert time stamp type.
5920 (org-open-file): Interpret the `default' value for the `command'
5923 * org-id.el (org-id-int-to-b36-one-digit)
5924 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5925 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5928 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5930 * org-id.el (org-id-reverse-string): New function.
5931 (org-id-new): Use `org-id-reverse-string' to make sure the
5932 beginning chars of the ID are mutating fast. This allows to use a
5933 directory structure to spread things better.
5934 (org-id-prefix): Changed default to nil.
5936 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5937 restore the column of the cursor position.
5939 * org-remember.el (org-remember-apply-template): Remove properties
5942 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
5944 * org-wl.el (org-wl-open): Remove useless call to
5945 `wl-thread-open-all'.
5947 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5950 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
5952 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5953 `org-bbdb-anniversaries'.
5955 * org.el (org-get-next-sibling, org-forward-same-level): New
5956 functions, similar to the outline versions, but invisible headings
5959 2008-09-25 Bastien Guerry <bzg@altern.org>
5961 * org.el (org-auto-repeat-maybe): Insert a space between
5962 the timestamp's type and the timestamp itself.
5964 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
5966 * org-table.el (org-table-sum): Do not format the result with %g,
5967 it does rounding when there are too many digits.
5969 * org.el (org-map-entries): Protect the keyword-selecting variables.
5971 2008-09-23 Bastien Guerry <bzg@altern.org>
5973 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5974 against all agenda files.
5976 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
5978 * org-list.el: New file, aggregating list functions from org.el
5979 and org-export-latex.el.
5981 * org.el (org-edit-src-region-extra): New option.
5983 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
5985 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5988 2008-09-22 Bastien Guerry <bzg@altern.org>
5990 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5992 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
5994 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5995 hline work correctly.
5996 (org-plot/gnuplot-script): Put commas at the end of each script
5999 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
6001 * org.el (org-get-refile-targets): Replace links with their
6003 (org-imenu-get-tree): Replace links with their descriptions.
6005 * org-remember.el (org-remember-apply-template): Add a new
6006 expansion for adding properties to remember items.
6008 * org.el (org-add-log-setup): Skip over drawers (properties,
6009 clocks etc) when adding notes.
6011 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6012 items as well as the start and end times.
6014 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6015 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6017 * org-remember.el (org-get-x-clipboard): Use the compat
6018 function to get clipboard values when x-selection-value is
6019 unavailable. Use substring-no-properties instead of
6020 set-text-properties to remove text properties from the clipboard
6023 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6024 modeline clock string, and display the full todo value in the
6025 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6026 the currently clocked task.
6027 (org-clock-string-limit): Add a custom value for the maximum
6028 length of the clock string in the modeline.
6029 (org-clock-mode-map): Add a keymap for the modeline string
6031 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
6033 * org-compat.el (org-propertize): New function.
6035 2008-09-20 Bastien Guerry <bzg@altern.org>
6037 * org-export-latex.el (org-export-latex-tables): protect exported
6038 tables from further special chars conversion.
6039 (org-export-latex-preprocess): Preserve LaTeX environments.
6040 (org-list-parse-list): Parse descriptive lists.
6041 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6042 (org-list-to-texinfo): Export descriptive lists.
6043 (org-quote-chars): Remove.
6044 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6045 (org-export-latex-list-beginning-re): Rename to
6046 `org-list-beginning-re'
6047 (org-list-item-begin): Rename to `org-list-item-beginning'
6049 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
6051 * org.el (org-refile): Allow refiling to the last entry in the
6053 (org-get-tags-at): Fix bug when inheritance is turned off.
6055 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
6057 * org.el (org-indent-line-function): No longer check for src
6058 regions, this is too much overhead.
6060 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6063 * org.el (org-scan-tags): Make sure that tags matching is not case
6064 sensitive. TODO keyword matching is case sensitive, however, to
6065 avoid confusion with similar words that are not meant to be
6068 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
6070 * org.el (org-get-local-tags-at): New function.
6071 (org-get-local-tags): New function.
6073 * org-exp.el (org-export-get-categories): New function.
6075 * org-agenda.el (org-sorting-choice)
6076 (org-agenda-sorting-strategy, org-agenda-get-todos)
6077 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6078 (org-agenda-get-scheduled, org-agenda-get-blocks)
6079 (org-entries-lessp): Implement sorting by TODO state.
6080 (org-cmp-todo-state): New defsubst.
6082 * org-colview.el (org-colview-construct-allowed-dates): New
6084 (org-columns-next-allowed-value): Use
6085 `org-colview-construct-allowed-dates'.
6087 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6089 (org-columns-next-allowed-value): Use
6090 `org-colview-construct-allowed-dates'.
6092 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
6094 * org.el (org-protect-slash): New function.
6095 (org-get-refile-targets): Use `org-protect-slash'.
6097 * org-agenda.el (org-global-tags-completion-table): New variable.
6099 * org-exp.el (org-export-handle-export-tags): New function.
6100 (org-export-preprocess-string): Call
6101 `org-export-handle-export-tags'.
6103 * org-plot.el: New file.
6105 * org-publish.el (org-publish-expand-components): Function removed.
6106 (org-publish-expand-projects): Allow components to have components.
6108 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
6110 * org.el (org-indent-line-function): Do not indent in regions that
6111 are external source code.
6112 (org-yank-and-fold-if-subtree): New function.
6114 * org-agenda.el (org-agenda-todayp): New function.
6115 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6116 `org-agenda-todayp'.
6118 * org.el (org-insert-heading-respect-content)
6119 (org-insert-todo-heading-respect-content): New commands.
6120 (org-insert-heading-respect-content): New option.
6121 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6123 * org-clock.el (org-clock-find-position): Make sure the note after
6124 the clock line gets moved into the new clock drawer.
6126 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
6128 * org-id.el (org-id-new): New option.
6130 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
6132 * org-table.el (org-table-copy-down): Avoid overflow during
6133 increment. Use prefix argument 0 to temporarily disable the
6136 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
6138 * org-exp.el (org-export-as-html): Do not turn on the major mode
6139 if the buffer will be killed anyway.
6140 (org-get-current-options): Exclude the #+TEXT field.
6141 (org-export-as-html): Make sure text before the first headline is
6144 * org-publish.el (org-publish-org-to): Tell the exporter that this
6145 buffer will be killed, so it is not necessary to do major mode
6148 * org-archive.el (org-archive-to-archive-sibling): Show empty
6149 lines after folding the archive sibling.
6151 * org.el (org-log-note-extra): New variable.
6153 2008-09-05 Bastien Guerry <bzg@altern.org>
6155 * org.el (org-additional-option-like-keywords): Added keywords for
6156 the _QUOTE, _VERSE and _SRC environments.
6158 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6159 exporting _QUOTE and _VERSE environments.
6161 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
6163 * org-agenda.el (org-agenda-filter-by-tag): New command.
6165 * org-exp.el (org-get-current-options): Remove angular brackets
6166 from the date entry.
6168 * org.el (org-edit-fixed-width-region): New function.
6169 (org-edit-fixed-width-region): Also try
6170 `org-edit-fixed-width-region'.
6171 (org-edit-fixed-width-region-mode): New option.
6172 (org-activate-code): Only interprete lines starting with colon
6173 plus a space as example lines.
6175 * org-remember.el (org-remember-templates): Add nil instead of
6176 empty strings to fix the length of remember templates.
6178 * org-table.el (org-calc-default-modes): Fix the time format for
6179 calc, from 12 hour to 24 hour clock.
6181 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
6183 * org-agenda.el (org-agenda-get-deadlines)
6184 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6185 entries that are pre-warnings of deadlines or reminders.
6187 * org.el (org-sort-entries-or-items): Make numeric and alpha
6188 comparisons ignore any TODO keyword and priority cookie.
6190 * org-remember.el (org-remember-handler): Reinterpretation of the
6193 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
6195 * org-agenda.el (org-agenda-get-scheduled): Use new
6196 `org-scheduled' face.
6198 * org-faces.el (org-scheduled): New face.
6200 * org-wl.el (org-wl-open): Remove incorrect declaration.
6202 * org-gnus.el (org-gnus-store-link): Support for :to information
6205 * org-exp.el (org-export-as-html): Fixed typo in creator
6207 (org-export-protect-examples): New parameter indent. Insert extra
6208 spaces only when this parameter is specified.
6209 (org-export-preprocess-string): Call `org-export-protect-examples'
6210 with an indentation parameter when exporting to ASCII.
6212 * org-remember.el (org-remember-templates)
6213 (org-remember-apply-template): Allow the file component to be a
6216 * org.el (org-goto-local-search-headings): Renamed from
6217 `org-goto-local-search-forward-headings'. Added the possibility
6218 to search backwards.
6220 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
6222 * org-export-latex.el (org-export-latex): New customization
6225 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6227 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
6229 * org-exp.el (org-html-do-expand): Allow {} to terminate
6232 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
6234 * org.el (org-buffer-list): Select buffers based on major mode,
6237 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6239 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6242 * org-colview.el (org-columns-display-here): Use
6243 `org-columns-modify-value-for-display-function'.
6245 * org-colview-xemacs.el (org-columns-display-here): Use
6246 `org-columns-modify-value-for-display-function'.
6248 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6250 * org.el (org-columns-modify-value-for-display-function): New option.
6262 * org-publish.el (org-publish-file): Make sure the directory match
6263 for the publishing directory works correctly.
6265 * org-agenda.el (org-agenda-execute-calendar-command)
6266 (org-agenda-diary-entry): Additional optional argument.
6268 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6270 * org-exp.el (org-export-as-html): Add attributes also in mailto
6273 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6282 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6284 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6285 sure that calls from `org-export-region-as-html' do not do the
6286 special check for a subtree.
6288 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6290 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6292 2008-07-20 Juri Linkov <juri@jurta.org>
6294 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6295 new keymap `narrow-map' instead of binding "\C-xns".
6297 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6299 * org.el (org-open-file): Use
6300 `org-open-directory-means-index-dot-org'.
6301 (org-open-directory-means-index-dot-org): New option.
6303 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6305 * org.el (org-make-link-string): Remove link attributes from
6307 (org-open-at-point): Remove link attributes bevore using the path.
6309 * org-exp.el (org-export-as-html): Handle link attributes.
6311 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6313 * org-table.el (org-table-to-lisp): New function.
6315 * org.el (org-narrow-to-subtree): Do not include the final newline
6316 into the narrowed region.
6318 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6319 bug with user-define skipping condition.
6321 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6323 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6325 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6327 * org-exp.el (org-export-html-style-default): Automatic overflow
6328 handling for pre fields.
6329 (org-export-as-ascii, org-export-as-html): Change default format
6332 * org-table.el (org-table-export): Offer completion for translator
6333 functions, and do not require a heading above the table.
6335 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6336 Cater for the case of a list starting in the first line of the
6339 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6341 * org-publish.el (org-publish-find-title): Bug fix.
6342 (org-publish-org-index): Implement new :index-style option.
6344 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6346 * org-publish.el (org-publish-timestamp-filename): Use
6347 SHA1-encoded file names in the timestamp directory.
6349 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6351 * org-publish.el (org-publish-needed-p): Be verbose about files
6352 published and files skipped.
6354 * org-exp.el (org-export-preprocess-string): Swap link
6355 normalization and inernal link targeting.
6357 * org-publish.el (org-publish-needed-p): Create timestamp
6358 directory when it does not exist.
6360 2008-07-04 Bastien Guerry <bzg@altern.org>
6362 * org-clock.el (org-clock-out-when-done): Doc fix.
6364 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6366 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6367 Ignore case when searching for the COMMENT cookie at export time.
6369 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6371 * org-exp.el (org-get-file-contents)
6372 (org-get-and-remove-property): New functions.
6373 (org-export-handle-include-files): Handle the new prefix options.
6374 (org-export-as-html): Fix the verse environment.
6376 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6378 * org.el (org-time=, org-time<, org-time<=, org-time>)
6379 (org-time>=, org-time<>, org-2ft): New functions.
6380 (org-op-to-function): Also provide for the time testing fucntions.
6382 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6384 * org-exp.el (org-export-html-style-default): New constant.
6386 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6388 * org-exp.el (org-export-html-style-extra): New variable.
6389 (org-export-splice-style): New function.
6391 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6393 * org-exp.el (org-export-plist-vars, org-export-as-html):
6394 Implement `org-export-creator-info'.
6395 (org-export-creator-info): New option.
6397 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6399 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6400 (org-property-drawer-re, org-clock-drawer-re): New constants.
6402 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6404 * org-exp.el (org-icalendar-use-deadline)
6405 (org-icalendar-use-scheduled): New options.
6406 (org-icalendar-include-todo): Default changed to t.
6407 (org-print-icalendar-entries): Implement better utilization of
6408 scheduling and deadline time stamps.
6409 (org-export-target-internal-links, org-export-as-html): Allow file
6410 lines without the "file:" prefix if the file path is an absolute
6411 path or starts with ".".
6413 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6415 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6417 2008-06-18 Glenn Morris <rgm@gnu.org>
6418 * org.el (org-map-entries): Let-bind `file'.
6420 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6422 * org.el (org-agenda-skip-archived-trees): Docstring now
6423 discourages using this.
6424 (org-scan-tags): Check for org-agenda-archives-mode.
6425 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6426 (org-agenda-files): Functionality of second arg changed.
6428 * org-agenda.el (org-agenda-archives-mode): New variable
6429 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6430 (org-search-view, org-todo-list, org-tags-view)
6431 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6433 (org-agenda-quit): Reset the archives mode.
6434 (org-agenda-archives-mode): New command.
6435 (org-agenda-set-mode-name): Include archives info.
6437 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6439 * org.el (org-paste-subtree): Make sure the yanked headline is
6440 visible if it was yanked at a visible point.
6441 (org-move-item-up): Fix the bug with moving white space at the end
6443 (org-show-empty-lines-in-parent): New function.
6445 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6447 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6449 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6451 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6452 agenda prefix as well.
6454 * org-publish.el (org-publish-org-index): Make a properly indented
6457 * org.el (org-calendar-agenda-action-key): New option.
6458 (org-get-cursor-date): New function.
6459 (org-mark-entry-for-agenda-action): New command.
6460 (org-overriding-default-time): New variable.
6461 (org-read-date): Respect `org-overriding-default-time'.
6463 * org-remember.el (org-remember-apply-template): Respect the
6464 ovverriding default time.
6466 * org-agenda.el (org-agenda-action-marker): New variable.
6467 (org-agenda-action): New command.
6468 (org-agenda-do-action): New function.
6470 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6472 * org.el (org-schedule, org-deadline): Protect scheduled and
6473 deadline tasks against changes that accidently remove the
6474 repeater. Also show a message with the new date when done.
6476 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6478 * org.el (org-beginning-of-line): Cater for the case when there
6479 are tags but no headline text.
6480 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6483 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6485 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6486 the return value is nil instead of "nil" when there is no match.
6488 * org-exp.el (org-insert-centered): Use fill-column instead of
6490 (org-export-as-ascii): Use string-width to measure the width of
6493 * org.el (org-diary-to-ical-string): No longer kill buffer
6494 FROMBUF, this is now done by the caller.
6496 * org-exp.el (org-print-icalendar-entries): Move the call to
6497 `org-diary-to-ical-string' out of the loop, and kill the buffer
6500 * org-remember.el (org-remember-visit-immediately): Position
6501 cursor after moving to the note.
6502 (org-remember-apply-template): Use a text property to record the
6504 (org-remember-handler): Align tags after pasting the note.
6506 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6508 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6510 * org-agenda.el (org-agenda-open-link): If there is an
6511 org-bbdb-name property in the current line, jump to that bbdb
6514 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6515 text property, so that the agenda knows where this entry comes
6518 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6519 interaction between clocking-in from the agenda, and automatic
6520 task state switching.
6522 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6524 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6525 zmacs-region stays after this command in XEmacs.
6527 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6529 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6531 * org-remember.el (org-remember-templates): Fix bug in
6532 customization type definition.
6534 * org.el (org-map-entries): New function.
6536 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6538 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6539 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6541 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6543 * org-remember.el (org-jump-to-target-location): New variable.
6544 (org-remember-apply-template): Set
6545 `org-remember-apply-template' if requested by template.
6546 (org-remember-handler): Start an idle timer to jump to
6549 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6551 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6553 (org-get-tags-at): Add the content of `org-file-tags'.
6555 * org-exp.el (org-export-handle-comments): Fix bug with several
6556 comment lines after each other.
6557 (org-number-to-roman, org-number-to-counter): New functions.
6558 (org-export-section-number-format): New option.
6560 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6562 * org-exp.el (org-export-protect-examples): Catch the case of a
6563 missing end_example line.
6565 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6566 `org-file-tags' to nil.
6568 * org-colview.el (org-columns-next-allowed-value): Handle next
6569 argument NTH to directly select a value.
6571 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6572 argument NTH to directly select a value.
6574 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6576 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6578 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6580 * org.el (org-columns-ellipses): New option.
6582 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6584 * org-colview.el (org-columns-add-ellipses): New function.
6585 (org-columns-compact-links): New function.
6586 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6587 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6589 (org-columns-edit-value): Fixed bug with editing values from
6591 (org-columns-redo): Also redo the agenda itself.
6593 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6595 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6598 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6600 * org-exp.el (org-export-ascii-preprocess): Renamed from
6601 `org-export-ascii-clean-string'.
6602 (org-export-kill-licensed-text)
6603 (org-export-define-heading-targets)
6604 (org-export-handle-invisible-targets)
6605 (org-export-target-internal-links)
6606 (org-export-remove-or-extract-drawers)
6607 (org-export-remove-archived-trees)
6608 (org-export-protect-quoted-subtrees)
6609 (org-export-protect-verbatim, org-export-protect-examples)
6610 (org-export-select-backend-specific-text)
6611 (org-export-mark-blockquote-and-verse)
6612 (org-export-remove-comment-blocks-and-subtrees)
6613 (org-export-handle-comments, org-export-mark-radio-links)
6614 (org-export-remove-special-table-lines)
6615 (org-export-normalize-links)
6616 (org-export-concatenate-multiline-links)
6617 (org-export-concatenate-multiline-emphasis): New functions,
6618 obtained from spliiting the export preprocessor.
6620 * org-table.el (org-table-recalculate): Improve error message if
6621 the row number is invalid.
6623 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6625 * org-archive.el (org-archive-save-context-info): Fix bugs in
6626 customization setup and docstring.
6628 * org-exp.el (org-export-html-style): Changed the size of in the
6629 <pre> element to 90%.
6631 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6633 * org.el (org-find-src-example-start): Function removed.
6634 (org-edit-src-find-region-and-lang): New function.
6636 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6638 * org.el (org-edit-src-exit): New function.
6639 (org-exit-edit-mode): New minor mode.
6641 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6642 comment-like lines from protected examples.
6644 * org.el (org-edit-src-example, org-find-src-example-start)
6645 (org-protect-source-example, org-edit-special): New functions.
6647 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6649 * org-publish.el (org-publish-project-alist): Fix typo in
6651 (org-publish-project-alist): Handle :index-title property.
6653 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6655 * org-export-latex.el (org-export-as-latex): Make sure region
6656 bounds are correct. Parse subtree properties relating to export.
6658 * org-exp.el (org-export-add-options-to-plist): New function.
6659 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6661 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6663 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6666 * org-exp.el (org-export-get-title-from-subtree)
6667 (org-export-as-ascii, org-export-as-html): Make sure the original
6668 region-beginning and region-end are used, even after moving
6670 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6673 * org-remember.el (org-remember-last-stored-marker): New variable.
6674 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6675 (org-remember-handler): Also use marker to remember
6676 last-stored position.
6678 * org.el (org-goto-marker-or-bmk): New function.
6680 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6682 * org.el (org-file-properties): Renamed from `org-local-properties'.
6683 (org-scan-tags): Take file tags into account.
6684 (org-tags-match-list-sublevels): Default changed to t.
6686 * org-exp.el (org-export-as-html): Close paragraph after a
6689 * org.el (org-update-parent-todo-statistics): New function.
6691 * org-exp.el (org-icalendar-store-UID): New option.
6692 (org-icalendar-force-UID): Option removed.
6693 (org-print-icalendar-entries): IMplement UIDs.
6695 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6697 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6699 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6701 * org-faces.el (org-column): Document how this face is being used
6702 and why sometimes the background faces shine through.
6704 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6706 * org-publish.el (org-publish-attachment): Create publishing
6707 directory if it does not yet exist.
6709 * org-table.el (org-calc-default-modes): Change default number
6710 format to (float 8).
6712 * org.el (org-olpath-completing-read): New function.
6713 (org-time-clocksum-format): New option.
6714 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6716 * org-clock.el (org-clock-display, org-clock-out)
6717 (org-update-mode-line): Use `org-time-clocksum-format'.
6719 * org-colview-xemacs.el (org-columns-number-to-string): Use
6720 `org-time-clocksum-format'.
6722 * org-colview.el (org-columns-number-to-string): Use
6723 `org-time-clocksum-format'.
6725 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6727 * org-id.el: New file, move from contrib to core.
6729 * org-exp.el (org-icalendar-force-UID): New option.
6731 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6733 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6734 shifted by one day if theere is a date range without an end
6737 * org.el (org-try-structure-completion): New function.
6739 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6741 * org.el (org-set-font-lock-defaults): Improve fontification of
6743 (org-insert-item): Handle description lists.
6744 (org-adaptive-fill-function): Improve auto indentation in
6747 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6748 Implement VERSE environment.
6749 (org-export-preprocess-string): Implement the COMMENT
6752 * org-export-latex.el (org-export-latex-preprocess): Implement
6755 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6757 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6760 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6762 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6764 * org.el (org-quote-csv-field): New functions.
6766 * org-table.el (org-table-export-default-format): Remove :splice
6767 from default format, we get the same effect by not specifying
6769 (org-table-export): Improve setup, distinguish better between
6770 interactive and non-interactive use, allow specifying the format
6771 on the fly, better protection against wrong file names.
6772 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6773 and :tend when :splice is omitted.
6775 2008-05-09 Bernt Hansen <bernt@norang.ca>
6777 * org-clock.el (org-clock-select-task): Make sure the selection
6778 letters are 1-9 and A-Z, no special characters.
6780 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6782 * org-exp.el (org-export-htmlize): New group.
6783 (org-export-htmlize-output-type)
6784 (org-export-htmlize-css-font-prefix): New options.
6785 (org-export-htmlize-region-for-paste): New function.
6786 (org-export-htmlize-generate-css): New command.
6788 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6790 * org/org.el (org-modules, org-format-latex-options):
6791 * org/org-archive.el (org-archive-stamp-time)
6792 (org-archive-save-context-info):
6793 * org/org-faces.el (org-hide):
6794 * org/org-irc.el (org-irc-parse-link):
6795 * org/org-macs.el (org-call-with-arg, org-autoload):
6796 * org/org-mew.el (org-mew-store-link):
6797 * org/org-remember.el (org-remember-store-without-prompt)
6798 (org-remember-templates): Fix typos in docstrings.
6800 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6802 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6803 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6804 (org-bbdb-anniv-split): Fix typos in docstrings.
6806 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6807 (org-publish-use-timestamps-flag): Reflow docstring.
6808 (org-publish-files-alist): Fix typos in docstring.
6810 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6812 * org.el (org-set-visibility-according-to-property): New function.
6813 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6814 and compute the regular expressions, and update font-lock.
6815 (org-property-re): Allow a dash in property names.
6817 * org-archive.el (org-extract-archive-file): Insert the file name
6818 without the path into the format, to allow the location format to
6819 contain a subdirectory.
6821 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6822 of buffer, and the `org-agenda-type' property undefined, use the
6823 value from the character before.
6825 * org.el (org-add-planning-info): Don't let indentation for
6826 would-be timestamp become extra whitespace at the end of headline.
6828 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6830 * org.el (org-remove-double-quotes, org-file-contents): New
6833 * org-exp.el (org-infile-export-plist): Also parse the
6834 contents of #+SETUPFILE files, recursively.
6836 * org.el (org-set-regexps-and-options): Also parse the
6837 contents of #+SETUPFILE files, recursively.
6839 * org-exp.el (org-export-handle-include-files): New function.
6840 (org-export-preprocess-string): Call
6841 `org-export-handle-include-files'.
6843 * org.el (org-delete-property-globally)
6844 (org-delete-property, org-set-property): Ignore case during
6846 (org-set-property): Use `org-completing-read' instead of
6849 * org.el (org-complete-expand-structure-template): New,
6850 experimental function.
6851 (org-structure-template-alist): New, experimental option.
6852 (org-complete): Call `org-complete-expand-structure-template'.
6854 2008-05-06 Bastien Guerry <bzg@altern.org>
6856 * org-export-latex.el (org-export-latex-preprocess): Added
6857 support for blockquotes.
6859 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6861 * org.el (org-read-date-analyze): Catch the case where only a
6864 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6866 * org.el (org-set-font-lock-defaults): Make the description
6869 * org-exp.el (org-export-as-html, org-close-li): Implement
6872 2008-05-04 Jason Riedy <jason@acm.org>
6874 * org-table.el (*orgtbl-default-fmt*): New variable.
6875 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6876 when there is no other fmt available.
6878 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6879 :tend to suppress the appropriate string.
6881 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6884 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6886 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6889 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6892 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6895 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6897 * org-clock.el (org-clock-find-position): Don't include notes
6900 * org-archive.el (org-archive-subtree): No longer remove an
6901 extra line after cutting the subtree. `org-cut-subtree' already
6904 * org-remember.el (org-remember-handler): Only kill the target
6905 buffer if it does not contain the running clock.
6907 * org.el (org-markers-to-move): New variable.
6908 (org-save-markers-in-region, org-check-and-save-marker)
6909 (org-reinstall-markers-in-region): New function.
6910 (org-move-subtree-down, org-copy-subtree): Remember relative
6911 marker positions before cutting.
6912 (org-move-subtree-down, org-paste-subtree): Restore relative
6913 marker positions after pasting.
6915 * org-remember.el (org-remember-clock-out-on-exit): New option.
6916 (org-remember-finalize): Clock out only if the setting in
6917 `org-remember-clock-out-on-exit' requires it.
6918 (org-remember-handler): Do the cleanup in the buffer, to make sure
6919 that the clock marker remains in tact.
6921 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6923 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6924 (org-clock-in): Make sure that also tasks outside the narrowed
6925 region will be clocked in correctly.
6926 (org-clock-insert-selection-line): Widen the buffer so that we can
6927 find the correct task heading.
6929 * org.el (org-base-buffer): New function.
6931 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6932 and ";" are escaped.
6933 (org-print-icalendar-entries): Also apply
6934 `org-icalendar-cleanup-string' to the headline, not only to the
6937 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
6939 * org-exp.el (org-export-preprocess-hook): New hook.
6940 (org-export-preprocess-string): Call
6941 `org-export-preprocess-hook'.
6943 * org.el (org-font-lock-hook): New variable.
6944 (org-font-lock-hook): New function.
6945 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6949 ;; add-log-time-zone-rule: t
6952 Copyright (C) 2008 Free Software Foundation, Inc.
6954 This file is part of GNU Emacs.
6956 GNU Emacs is free software: you can redistribute it and/or modify
6957 it under the terms of the GNU General Public License as published by
6958 the Free Software Foundation, either version 3 of the License, or
6959 (at your option) any later version.
6961 GNU Emacs is distributed in the hope that it will be useful,
6962 but WITHOUT ANY WARRANTY; without even the implied warranty of
6963 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6964 GNU General Public License for more details.
6966 You should have received a copy of the GNU General Public License
6967 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6969 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c