1 2010-01-04 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-html.el (org-export-as-html): Remove any left-over display
4 properties in the html file.
6 * org-wl.el (org-wl-store-link): Work-around for format bug with
9 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
10 invisibility while adding the graphs.
12 2010-01-03 Carsten Dominik <carsten.dominik@gmail.com>
14 * org-remember.el (org-select-remember-template): Use C letter to
15 customize remember templates.
17 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
18 Move cursor to next visible line.
20 2010-01-02 Carsten Dominik <carsten.dominik@gmail.com>
22 * org-beamer.el (org-beamer-sectioning): Leave columns environment
23 by specifying 0 or 1 for column width.
24 (org-beamer-column-widths): Make 0 stand for 0.0.
26 2010-01-01 Carsten Dominik <carsten.dominik@gmail.com>
28 * org-exp.el (org-export-mark-radio-links): Don't match inside
31 * org.el (org-format-latex-header-extra): New variable.
32 (org-format-latex): Set org-format-latex-header-extra from
34 (org-format-latex): Add org-format-latex-header-extra to the
35 variables on which image creation depends.
36 (org-create-formula-image): Add the header stuff from in-buffer
38 (org-read-date-analyze): Base the analysis for future preference
39 on NOW, not on the default date.
41 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
42 for TODO keyword in inline tasks.
44 * org.el (org-log-note-headings): New headings for removing
45 deadline or scheduling date.
46 (org-deadline, org-schedule): Arrange for logging when removing a
48 (org-add-log-note): Handle deadline and scheduling removal.
50 2009-12-31 Carsten Dominik <carsten.dominik@gmail.com>
52 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
54 2009-12-28 Carsten Dominik <carsten.dominik@gmail.com>
56 * org-agenda.el (org-diary-class): New function.
58 2009-12-24 Carsten Dominik <carsten.dominik@gmail.com>
60 * org-latex.el (org-export-latex-preprocess): Do process the text
63 2009-12-20 Carsten Dominik <carsten.dominik@gmail.com>
65 * org.el (org-entry-properties): Add TIMESTAMP properties back
68 2009-12-18 Carsten Dominik <carsten.dominik@gmail.com>
70 * org.el (org-all-time-keywords): New variable.
71 (org-set-regexps-and-options): Set `org-all-time-keywords'.
72 (org-entry-blocked-p): New function.
73 (org-special-properties): Add BLOCKED as a new special property.
74 (org-entry-properties): New optional argument SPECIFIC, only parse
75 for this property when it is specified.
76 (org-entry-get): Pass a SPECIFIC argument to
77 `org-entry-properties'.
79 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
81 2009-12-17 Carsten Dominik <carsten.dominik@gmail.com>
83 * org-latex.el (org-export-latex-tables): No forced line end if
86 2009-12-16 Carsten Dominik <carsten.dominik@gmail.com>
88 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
91 * org-latex.el (org-export-latex-tables): Only add a caption when
92 macro in in longtable environments if one has been defined.
94 * org-html.el (org-export-as-html): Only take title from buffer if
95 not exporting body-only.
97 * org-latex.el (org-export-latex-preprocess): Better version of
98 the regular expression for protecting LaTeX macros.
99 (org-export-latex-preprocess): Start searching for macros to
100 protect from beginning of buffer.
102 * org-exp.el (org-export-target-internal-links): Check for
103 protectedness earlier in the string.
105 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
108 * org-id.el (org-id-store-link): Match TODO keywords case
111 * org.el (org-heading-components, org-get-outline-path)
112 (org-display-outline-path): Match TODO keywords case sensitively.
114 * org-latex.el (org-export-as-latex): Ignore read-only
117 * org-exp.el (org-export-preprocess-string): Remove any
118 `read-only' properties.
120 * org-agenda.el (org-agenda-inactive-leader): New option.
121 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
122 (org-tags-view): Prompt for matcher if MATCH is an empty string.
123 (org-todo-list): Prompt for matcher if ARG is an empty string.
125 2009-12-15 Carsten Dominik <carsten.dominik@gmail.com>
127 * org.el (org-open-link-functions): New hook.
128 (org-open-at-point): Run `org-open-link-functions'.
130 2009-12-14 Carsten Dominik <carsten.dominik@gmail.com>
132 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
135 * org.el (org-inhibit-startup-visibility-stuff): New variable.
136 (org-mode): Don't do startup visibility if inhibited.
137 (org-outline-overlay-data, org-set-outline-overlay-data): New
139 (org-save-outline-visibility): New macro.
140 (org-log-note-headings): Document that one should not change the
143 2009-12-13 Carsten Dominik <carsten.dominik@gmail.com>
145 * org.el (org-make-link-regexps): Capture link path into a group.
147 2009-12-12 Carsten Dominik <carsten.dominik@gmail.com>
149 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
152 2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
154 * org.el (org-startup-with-beamer-mode): New option.
155 (org-property-changed-functions)
156 (org-property-allowed-value-functions): New hooks.
157 (org-entry-put, org-property-get-allowed-values): Run the new
159 (org-property-next-allowed-value): Run the new hooks.
161 * org-exp.el (org-export-select-backend-specific-text): Add the
165 (org-export-preprocess-before-selecting-backend-code-hook): New
168 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
169 (org-export-as-latex): Run
170 `org-export-latex-after-initial-vars-hook'.
171 (org-export-latex-format-toc-function)
172 (org-export-latex-make-header): Call
173 `org-export-latex-format-toc-function'.
175 * org.el (org-fill-template): Make template searches case sensitive.
177 * org-exp.el (org-export): Use "1" as a sign to export only the
180 * org-colview-xemacs.el (org-columns-edit-value): Use
181 org-unrestricted property.
183 * org-colview.el (org-columns-edit-value): Use
184 org-unrestricted property.
186 * org.el (org-compute-property-at-point): Set org-unrestricted
187 text property if the list contains ":ETC".
188 (org-insert-property-drawer): Use
189 org-unrestricted property.
192 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
193 (org-export-preprocess-string): Run
194 `org-export-preprocess-before-selecting-backend-code-hook'.
196 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
198 * org-latex.el (org-export-region-as-latex): Run
199 `org-export-first-hook'.
201 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
203 * org-docbook.el (org-export-as-docbook): Run
204 `org-export-first-hook'.
206 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
208 * org-exp.el (org-export-first-hook): New hook.
210 2009-12-10 Carsten Dominik <carsten.dominik@gmail.com>
212 * org-list.el (org-previous-item): Exit at the beginning of the
215 * org-id.el (org-id-locations-save): Only write the id locations
218 * org-archive.el (org-archive-all-done): Make this work in a file
219 with org-odd-levels-only set.
221 * org.el (org-get-refile-targets): Catch the case when a buffer
224 * org-latex.el (org-export-as-latex): Cleanup forced line ends
225 where they are not needed.
226 (org-export-latex-subcontent): Remove unnecessary newlines.
228 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
230 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
231 (org-export-latex-fontify): Fix regexp bug that takes special
232 care of protecting the right boundary characters in emphasis
234 (org-export-latex-preprocess): Allow multiple arguments to latex
237 * org.el (org-make-link-regexps): Use John Gruber's regexp for
240 * org-macs.el (org-re): Interpret :punct: in regexps.
242 * org-exp.el (org-export-replace-src-segments-and-examples): Also
243 take the final newline after the END line.
245 * org.el (org-clean-visibility-after-subtree-move): Only fix
246 entries that are not entirely invisible already.
247 (org-insert-link): Respect org-link-file-path-type for
248 "docview:" links in addition to "file:" links.
250 2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
252 * org-exp.el (org-export-format-source-code-or-example): Avoid
253 additional extra white lines in LaTeX.
255 * org-list.el (org-list-parse-list): Leave empty lines after the
256 list, don't consider them as part of the list.
258 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
261 * org-clock.el (org-clock-select-task): Convert integer to
262 character for XEmacs.
264 2009-12-02 Carsten Dominik <carsten.dominik@gmail.com>
266 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
269 2009-11-30 Tassilo Horn <tassilo@member.fsf.org>
271 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
273 (org-set-tags): Use it.
275 2009-11-30 Carsten Dominik <carsten.dominik@gmail.com>
277 * org-list.el (org-empty-line-terminates-plain-lists): Update
280 * org.el (org-format-latex): Fix link creation for processed latex
283 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
285 * org-footnote.el (org-footnote-normalize): Protect replacement
288 * org.el (org-inside-latex-macro-p): Save match data.
290 2009-11-28 Jan Böcker <jan.boecker@jboecker.de>
292 * org-docview.el: New file.
294 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
296 * org-latex.el (org-export-latex-class-options): New variable.
297 (org-export-latex-set-initial-vars): Use the class options.
299 * org.el (org-forward-same-level): Stop at headings that start
300 with an invisible character.
301 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
303 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
305 * org-footnote.el (org-footnote-normalize): Don't take optional
306 arguments in LaTeX macros as footnotes.
308 * org.el (org-inside-latex-macro-p): New function.
310 * org-latex.el (org-latex-to-pdf-process): Change customization
311 group to `org-export-pdf'.
313 * org-agenda.el (org-agenda-get-blocks): Look at time string also
314 on days after the first one.
316 * org.el (org-insert-heading): Also check for item before assuming
317 before-first-heading condition.
319 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
320 (org-export-pdf-logfiles): New option.
321 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
322 (org-export-pdf-logfiles): Fix customization type.
324 * org.el (org-insert-link): Improve error message when there is no
325 default link to select with RET.
327 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
330 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
332 * org-latex.el (org-export-latex-parse-global)
333 (org-export-latex-parse-content)
334 (org-export-latex-parse-subcontent): Use
335 `org-re-search-forward-unprotected'.
336 (org-export-as-pdf): Remove log files produced by XeTeX.
338 * org-macs.el (org-re-search-forward-unprotected): New function.
340 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
342 * org-colview.el (org-agenda-colview-summarize): Sort out some
343 confusion between properties and titles, which resulted in
344 agenda summaries not working if a title was set for a column.
346 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
348 * org-mobile.el (org-mobile-agendas): New option.
349 (org-mobile-sumo-agenda-command): Select the right agendas.
351 * org-latex.el (org-export-latex-format-image): Preserve the
352 original-indentation property.
354 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
356 * org-clock.el (org-clock-insert-selection-line): Catch error when
357 an old tasks no longer exists.
359 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
360 (org-export-as-pdf): Don't remove the old PDF file before making
363 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
364 (org-mouse-context-menu): Use `org-looking-back'.
366 * org.el (org-cycle-level): Use `org-looking-back'.
368 * org-list.el (org-cycle-item-indentation): Use
371 * org-compat.el (org-looking-back): New function.
373 * org.el (org-insert-heading): Catch before-first-headline when
374 inserting a headline.
376 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
378 * org-latex.el (org-export-latex-format-image): Indent figure
379 environment, so that it does not interrupt plain list.
381 * org.el (org-open-at-point): Allow long link descriptions.
383 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
385 * org-html.el (org-export-as-html): Remove empty lines at the
386 beginning of the exported text.
388 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
390 * org-protocol.el (org-protocol-remember): Cater for empty title,
393 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
394 agenda after adding new entry.
395 (org-agenda-get-represented-tags): New function.
396 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
397 to get a list of tags in the agenda.
399 * org-datetree.el (org-datetree-find-day-create): Fix regular
402 * org.el (org-display-outline-path): Use a format specifier for
403 message, to avoid problems with heading containing `%'.
405 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
406 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
407 (org-agenda-fix-displayed-tags): New function.
408 (org-agenda-do-context-action): Just call
409 `org-display-outline-path', without piping the result through
412 * org-latex.el (org-export-latex-preprocess): Protect secondary
415 * org-indent.el (org-indent-initialize): Avoid empty strings as
418 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
419 hat checking for the mark does not throw an error.
420 (org-agenda-diary-entry-in-org-file): Catch the case that there is
421 not `day' text property in the cursor line.
423 * org.el (org-sort-entries-or-items): Make sure that the final
424 entry has a newline before doing the sorting.
426 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
427 property at the beginning of the line.
429 * org.el (org-make-link-string): Don't allow a description with
432 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
434 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
435 (org-agenda-insert-diary-as-top-level): New function.
436 (org-agenda-add-entry-to-org-agenda-diary-file): Call
437 `org-agenda-insert-diary-as-top-level'.
439 * org.el (org-occur-in-agenda-files): Make sure none of the
441 (org-activate-plain-links): Add the face property here.
442 (org-set-font-lock-defaults): Do not add the face to plain links,
443 the activator function does this.
445 * org-habit.el (org-is-habit-p): Add doc string.
447 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
449 * org-archive.el (org-archive-subtree-default-with-confirmation):
452 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
453 after match optional (happens at the end of a line...).
455 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
458 * org-faces.el (org-copy-face): Set lisp indentation.
459 (org-quote, org-verse): New faces.
461 * org-agenda.el (org-agenda-remove-date): Remove variable.
463 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
465 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
467 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
469 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
470 hash keys to cache and re-use images generated by the
471 org-exp-blocks interface to ditaa and dot.
473 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
475 * org-html.el (org-export-as-html): Move the home/up link into
478 * org.el (org-export-latex-packages-alist): Option definition
479 moved here from org-latex.el.
481 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
483 * org.el (org-format-latex): Latex images are now saved to files
484 named by the sha1 hash of the latex source text avoiding
485 regeneration of identical images.
487 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
489 * org-html.el (org-export-html-home/up-format): Add an ID to the
492 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
494 * org-wl.el (org-wl-store-link): Handle the case that
495 `wl-use-petname' is set.
497 * org.el (org-set-effort): Improve prompt.
498 (org-get-outline-path): Widen to get full path.
499 (org-compact-display-after-subtree-move): Function removed.
501 * org-latex.el (org-export-as-latex): Add the :drawers property.
503 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
505 * org.el (org-speed-commands-user): Allow documentation headlines.
506 (org-speed-commands-default): Organize the value of this constant
507 with descriptive headlines.
508 (org-print-speed-command): Output the headlines.
510 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
512 * org-agenda.el (org-agenda-show-outline-path): New option.
513 (org-agenda-do-context-action): New function.
514 (org-agenda-next-line, org-agenda-previous-line): Use
515 `org-agenda-do-context-action'.
517 * org.el (org-use-speed-commands): Allow function value.
518 (org-speed-commands-default): Make headline motion safe, so that
519 these commands always end on a headline.
520 (org-speed-commands-default): New key `v' for `org-agenda'.
521 (org-speed-move-safe): New function.
522 (org-self-insert-command): Use the function value of
523 `org-use-speed-commands'.
524 (org-get-outline-path): Improve docstring.
525 (org-format-outline-path): New function.
526 (org-display-outline-path): New function.
528 2009-11-12 John Wiegley <jwiegley@gmail.com>
530 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
531 a string, use that to find the LOGBOOK drawer.
533 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
535 * org.el (org-clone-subtree-with-time-shift): Make it work at the
538 * org-mobile.el (org-mobile-write-checksums): Specify coding
540 (org-mobile-timestamp-buffer): Keep local variable/mode line at
543 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
545 * org.el (org-block-todo-from-children-or-siblings-or-parent)
546 (org-block-todo-from-checkboxes): Do not block changes to a nil
549 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
551 * org-habit.el (org-habit-parse-todo): Indicate which habit is
552 wrongly set up in the error messages.
554 * org-colview.el (org-columns-display-here): Don't try to
555 calculate values if the underlying property is not set.
556 (org-columns-string-to-number): Convert age strings back into
558 (org-agenda-colview-summarize): Handle extended summary types
561 * org-colview-xemacs.el (org-columns-display-here): Don't try to
562 calculate values if the underlying property is not set.
563 (org-columns-string-to-number): Convert age strings back into
565 (org-agenda-colview-summarize): Handle extended summary types
568 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
570 * org-exp.el (org-export-format-drawer-function): New variable.
571 (org-export-format-drawer): New function.
572 (org-export-preprocess-string): Pass the backend as a parameter to
573 `org-export-remove-or-extract-drawers'.
574 (org-export-remove-or-extract-drawers): New parameter BACKEND.
576 * org-protocol.el (org-protocol-char-to-string): New defsubst.
578 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
580 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
581 message when no block is selected.
583 * org-latex.el (org-export-latex-links): Check for protectedness
584 in the last matched character, not after the match.
586 * org-datetree.el (org-datetree-find-date-create): Respect
587 restriction when KEEP-RESTRICTION is set.
588 (org-datetree-file-entry-under): New function.
589 (org-datetree-cleanup): New command.
591 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
593 * org-src.el (org-edit-src-code): New optional argument context
594 allows calling functions to avoid altering the saved window
596 (org-edit-src-exit): Do not restore window configuration when this
597 function is used in the context of saving the edit buffer.
599 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
601 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
602 instances to switching to with-current-buffer, because these seem
603 to cause problems - no idea why.
605 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
606 Require diary-lib for (diary-date-display-form).
608 * org.el (org-log-reschedule, org-log-redeadline): New options.
609 (org-log-note-headings): Add templates for rescheduling and
611 (org-startup-options): Add in-buffer settings for logging changing
612 schedule and deadline time stamps.
613 (org-deadline, org-schedule): Check for existing date and arrange
614 for logging if the user requests it.
615 (org-add-log-note): Prepare proper note buffers for rescheduling
616 and deadline changes.
618 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
620 * org-agenda.el (org-agenda-diary-entry-in-org-file)
621 (org-agenda-add-entry-to-org-agenda-diary-file)
622 (org-agenda-insert-diary-make-new-entry): New functions.
623 (org-agenda-diary-entry): Call
624 `org-agenda-diary-entry-in-org-file' when appropriate.
626 * org.el (org-calendar-insert-diary-entry-key): New option.
627 (org-agenda-diary-file): New option.
628 ("calendar"): Install our insertion function in the calendar.
630 * org-remember.el (org-datetree): Require.
631 (org-remember-templates): Add new positioning option.
632 (org-remember-reference-date): New variable.
633 (org-remember-apply-template): Store the reference date in a local
635 (org-remember-handler): Implement date tree positioning of entries.
637 * org-datetree.el: New file.
639 * org-latex.el (org-export-latex-preprocess): Protect targets in
642 * org-html.el (org-export-as-html): Protect targets in verbatim
645 * org-docbook.el (org-export-as-docbook): Protect targets in
648 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
650 * org.el (org-link-display-format): Should be literal replacement.
652 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
654 * org-clock.el (org-show-notification): Handle messages that
655 contain a percent character.
657 * org-remember.el (org-remember-apply-template): Turn of partial
660 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
661 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
663 * org.el (org-indent-mode): Define variable already in org.el.
664 (org-unfontify-region): Remove line-prefix and wrap-prefix
665 properties only if org-indent-mode is active.
667 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
669 * org-icalendar.el (org-print-icalendar-entries): Save match data
670 around call to verify function.
671 (org-print-icalendar-entries): Add a call to the verification
674 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
675 save-restrivtion' form.
677 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
679 * org-exp.el (org-export-format-source-code-or-example): restrict
680 scope of preserve-indentp to the let binding.
681 (org-src): require org-src, since org-src-preserve-indentation is used.
683 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
685 * org-timer.el (org-timer-set-timer): Set variables
686 org-timer-timer[123] correctly.
689 * org-mobile.el (org-mobile-files-alist): Make it work when
690 `agenda-archives' is included in
691 `org-agenda-text-search-extra-files'.
692 (org-mobile-push): Restore agenda after mobile push.
694 2009-11-05 John Wiegley <jwiegley@gmail.com>
696 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
697 way the amount of idle time is presented in the minibuffer.
699 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
701 * org-icalendar.el (org-print-icalendar-entries): Use
702 org-icalendar-verify-function only if non-nil.
704 * org.el (org-refile): Refile to clock only if the prefix arg is
706 (org-sparse-tree): Fix docstring to be in line with prompt.
707 (org-update-parent-todo-statistics): Call
708 `org-after-todo-statistics-hook' on each level.
710 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
712 * org-remember.el (org-remember-apply-template): Make sure the
715 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
717 * org.el (org-tab-ind-state): New variable.
718 (org-cycle-level): New function.
719 (org-cycle-level-after-item/entry-creation): New option.
720 (org-flag-subtree): New function.
721 (org-hide-archived-subtrees): Call `org-flag-subtree'.
722 (org-set-effort): Indexed access.
724 * org-list.el (org-cycle-item-indentation): New function.
726 * org.el (org-refile): Make prefix argument 2 refile to current
728 (org-priority): Interpret action `remove' as call to remove the
731 * org-remember.el (org-remember-apply-template): Don't depend on
732 buffer name being like file name.
734 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
736 * org-clock.el (org-clock-play-sound): Expand file in
737 org-clock-sound, to allow ~ for home.
739 * org-remember.el (org-remember-handler): Set
740 text-before-node-creation even if this already looks like a node,
741 because the string might be needed on non-org-mode target files.
743 * org-agenda.el (org-agenda-open-link): Make this work in agenda
745 (org-agenda-switch-to): Follow a link at point if
746 org-return-follows-link' is set and there is nothing else to do in
749 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
751 * org-colview-xemacs.el: Add in changes from org-colview.el
753 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
755 * org-exp-blocks.el: Modify split separator regexp to avoid empty
758 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
760 * org-colview.el (org-columns-new): Make this work with the new
762 (org-columns-store-format): Make this work with the new operators.
764 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
766 * org-src.el (org-src-preserve-indentation): Document that this
767 variable is also used during export.
769 * org-exp.el (org-export-format-source-code-or-example): Preserve
770 indentation if a block has a -i option, or if
771 `org-src-preserve-indentation' is set.
773 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
774 indentation if a block has a -i option, or if
775 `org-src-preserve-indentation' is set.
777 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
779 * org.el (org-mode-map): Define the new archiving keys.
780 (org-speed-commands-default): Define an archiving key in the speed
782 (org-org-menu): Improve the menu structure concerning archiving.
784 * org-archive.el (org-archive-subtree-default-with-confirmation):
787 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
788 (org-agenda-menu): Add the new archiving commands to the menu.
789 (org-agenda-archive-default)
790 (org-agenda-archive-default-with-confirmation): New commands.
791 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
792 call `org-agenda-archive-with'.
793 (org-agenda-archive-with): New function.
795 * org-table.el (org-table-convert-region): Inert spaces around "|"
796 to avoid line beginnings like "|-1" which will be mistaken as
799 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
801 * org.el (org-offer-links-in-entry): Return nil if there are no
802 links, t if a link has been selected.
803 (org-open-at-point): Open attachment directory when called in the
804 headline and there are no links in the entry body.
805 (org-speed-commands-default): Add "o" for open-at-point as a speed
808 * org-attach.el (org-attach-reveal): Optional prefix arg
809 IF-EXISTS, which avoids creating the attachment directory if it
812 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
815 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
817 * org.el ("abbrev"): Work with abbrev tables only after they have
820 * org-list.el (org-list-send-list): Fix bug related to match
823 * org-latex.el (org-export-latex-fontify): Apply verbatim
825 (org-export-latex-make-header): Insert \obeylines if line breaks
828 * org-exp.el (org-export-protect-verbatim): Add an
829 `org-verbatim-emph' property to such text.
831 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
833 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
834 (org-print-icalendar-entries): Skip entries where the timestamp is
835 not a deadline and not scheduled, if the user requests that.
837 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
838 before an opening quote.
840 * org-archive.el (org-archive-subtree): Keep archive after
843 * org-id.el (org-id-update-id-locations): Add archive files if
844 that is required by `org-id-extra-files'.
846 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
848 * org-src.el (org-src-window-setup): New option.
849 (org-src-switch-to-buffer): New function.
850 (org-edit-src-exit): Add optional argument CONTEXT and use it to
851 restore window configuration.
852 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
853 Call `org-src-switch-to-buffer'.
855 * org.el (org-default-properties): Add STYLE property.
856 (org-files-list): Use the function call to get the files.
857 (org-additional-option-like-keywords): Add SETUPFILE to completion
860 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
862 * org-table.el (org-table-convert-region): Correctly interpret
863 quoting in csv import.
865 * org.el (org-icompleting-read): Make iswitchb completion work
866 with lists and tables.
868 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
869 while pushing the mobile agenda.
871 2009-10-25 John Wiegley <jwiegley@gmail.com>
874 (org-clock-auto-clock-resolution): Now takes three values: nil, t
875 and `when-no-clock-is-running'.
876 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
877 whether or not to resolve Org buffers on clock in.
879 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
881 * org-colview.el (org-format-time-period): Function to format
882 times in fractional days for display.
883 (org-columns-display-here): Add support for showing a calculated
884 value in place of the property.
885 (org-columns): Set `org-columns-time' to the current time so time
886 difference calculations will work.
887 (org-columns-time): Use to store the current time when column view
888 is displayed, so all time differences will use the same reference
890 (org-columns-compile-map): There is now an extra position in each
891 entry specifying the function to use to calculate the displayed
892 value for the non-calculated properties in the column,
893 (org-columns-compute-all): Set `org-columns-time' to the current
894 time so time difference calculations will work.
895 (org-columns-compute): Handle column operators where the values
896 used are calculated from the underlying property.
897 (org-columns-number-to-string): Handle the 'age' column format
898 (org-columns-string-to-number): Correct the function name (was
899 org-column...). Add support for the 'age' column format.
900 (org-columns-compile-format): Support the additional parameter in
901 org-columns-compile-map.
903 2009-10-26 Bastien Guerry <bzg@altern.org>
905 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
908 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
910 * org-clock.el (org-clock-has-been-used): New variable.
911 (org-clock-in): Set `org-clock-has-been-used'.
912 (org-clock-save): Save only if clock data has been used or created
915 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
917 * org-clock.el (org-clock-persist): New value, to store only the
919 (org-clock-save): Don't save the clock if only the history should
921 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
922 when restoring a saved clock.
924 2009-10-24 John Wiegley <jwiegley@gmail.com>
926 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
927 `org-time-clock-use-fractional'.
929 * org.el (org-time-clocksum-use-fractional)
930 (org-time-clocksum-fractional-format): Two new customizable
931 variables which allow the user to select fractional times (1.25
932 instead of 1:25) in the `org-clock-display' report.
934 2009-10-23 John Wiegley <jwiegley@gmail.com>
936 * org-habit.el (org-habit-build-graph): None of the arguments
938 (org-habit-parse-todo, org-habit-deadline)
939 (org-habit-get-priority, org-habit-get-faces)
940 (org-habit-build-graph): Further simplifications by storing all
941 past, scheduled and deadline dates as a number of days past the
942 epoch, and not as times.
944 * org-habit.el (org-habit-warning-face)
945 (org-habit-warning-future-face): Removed because these are no
947 (org-habit-deadline, org-habit-deadline-repeat): Now always
948 returns a date; computed if there was a scheduled repeater but no
950 (org-habit-get-priority): Further improvements to the priority
951 algorithm. In particular, items past due should always appear
952 before items due or not yet due.
953 (org-habit-get-faces): Greatly simplified the logic, now that
954 `org-habit-deadline' always returns a valid time.
956 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
958 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
961 * org.el (org-tag-alist): Fix customization type.
963 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
965 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
966 Make sure the regexp search can fail without throwing an error.
967 (org-mobile-apply): Save the inbox buffer after removing
968 successfully applied changes.
970 2009-10-22 John Wiegley <jwiegley@gmail.com>
972 * org-habit.el (org-habit-build-graph): Fix to the graph building
973 when last DONE date is earlier than `org-habit-preceding-days'.
975 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
976 time is reported after the user comes back (but before they
979 * org.el (org-get-repeat): Change so that this function can be
980 called with either `org-scheduled-string' or
981 `org-deadline-string'.
983 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
984 to find the scheduled date.
986 * org-clock.el (org-clock-auto-clock-resolution): Renamed
987 `org-clock-disable-clock-resolution', since negatives don't sound
988 good in customization variables.
989 (org-clock-in): Don't use the auto-resolution logic if the user is
990 clocking into a different task while an active clock is running.
991 This then allows the default behavior of clocking out of the open
992 task and then into the new task.
994 * org-habit.el (org-habit-parse-todo): Generate an error if a
995 habit has a scheduled repeat period < 1.
996 (org-habit-get-faces): Fixes to the way that colors are computed.
997 (org-habit-build-graph): The graph wasn't displaying beyond any
998 day that had two completions in it.
1000 * org.el (org-modules): Made this variable more consistent, since
1001 it was referring to Org, OrgMode and Org-mode, whereas the docs
1002 for the variable always refer to Org-mode.
1004 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
1006 * org.el (org-repeat-re): The changed org-repeat-re no longer
1007 matched simple +2d type repeaters. Fix it so it does.
1009 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
1011 * org-latex.el (org-export-latex-preprocess): Protect the vspace
1012 macro in the VERSE environment.
1014 2009-10-20 John Wiegley <jwiegley@gmail.com>
1016 * org-habit.el (org-habit-get-priority): A new function that
1017 determines the relative priority of a habit, based on how long
1018 past its scheduled date it is, and how near the deadline is.
1020 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1021 using `org-habit-get-priority'.
1023 * org-habit.el (org-habit-build-graph): Start displaying colors
1024 from the first scheduled date, if that date is earlier than the
1025 first completion date.
1027 * org-habit.el: Changed all "color" variables to faces, and made
1028 them appropriate for light and dark backgrounds.
1030 * org-habit.el (org-habit-duration-to-days): Made this function
1032 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1034 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1035 habits, since they don't use DEADLINE anymore.
1037 * org.el (org-repeat-re, org-display-custom-time)
1038 (org-timestamp-change): Extended to support the new ".+N/N"
1039 syntax, used for habits.
1041 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1044 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1045 modeline when habits are being displayed (if that module is being
1048 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
1050 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1051 idle time using the xscreensaver extension.
1052 (org-user-idle-seconds): Use X11 idle time if available.
1054 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
1056 * org-agenda.el (org-agenda-next-line): New command.
1057 (org-agenda-previous-line): New commands.
1058 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1060 (org-agenda-follow-mode): Do the follow immediately if the mode is
1062 (previous-line, next-line): Replace keys with the corresponding
1064 (org-agenda-mode-map): Bind backspace and delete to the scrolling
1067 * org.el (org-icompleting-read): Turn off partial completion mode
1068 for the duration of this completion round.
1070 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1071 macros in author lines and similar stuff.
1073 * org.el (org-file-tags): Fix docstring.
1074 (org-get-buffer-tags): Add the #+FILETAGS tags.
1075 ("ecb"): Maks ecb show context after jumping into an Org file.
1077 2009-10-20 John Wiegley <johnw@newartisans.com>
1079 * org-agenda.el (org-finalize-agenda): Draw habit consistency
1080 graphs after everything else in the buffer has been setup.
1082 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
1084 * org-mobile.el (org-mobile-apply): Count success and failure.
1086 * org.el (org-indent-line-function): Fix regexp replace problem.
1088 2009-10-19 John Wiegley <johnw@newartisans.com>
1090 * org-clock.el (org-clock-disable-clock-resolution): New
1091 customization variable that disable automatic clock resolution on
1093 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1094 not automatically resolve anything. This is does not affect
1095 idle-time resolution, however, if `org-clock-idle-time' is set.
1097 2009-10-19 John Wiegley <johnw@newartisans.com>
1099 * org-habit.el: New file, which implements code to build a "habit
1102 * org-agenda.el (org-agenda-get-deadlines)
1103 (org-agenda-get-scheduled): Display consistency graphs when
1104 outputting habits into the agenda. The graphs are always relative
1105 to the current time.
1106 (org-format-agenda-item): Added new parameter `habitp', which
1107 indicates whether we are formatting a habit or not. Do not
1108 display "extra" leading information if habitp is true.
1110 * org.el (org-repeat-re): Improved regexp to include .+ and ++
1111 leaders for repeat strings.
1112 (org-get-repeat): Now takes a string parameter `tagline', so the
1113 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1115 2009-10-19 John Wiegley <johnw@newartisans.com>
1117 * org-agenda.el (org-agenda-auto-exclude-function): New
1118 customization variable for allowing the user to create an "auto
1119 exclusion" filter for doing context-aware auto tag filtering.
1120 (org-agenda-filter-by-tag): Changes to support the use of
1121 `org-agenda-auto-exclude-function'. See the new manual addition,.
1123 2009-10-18 John Wiegley <johnw@newartisans.com>
1125 * org.el (org-files-list): Don't attempt to return a file name for
1126 Org buffers which have no associated file.
1128 * org-agenda.el (org-agenda-do-action): Fixed a typo.
1130 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
1132 * org-mobile.el (org-mobile-locate-entry): Interpret files
1133 relative to org-directory.
1134 (org-mobile-inbox-for-pull): Document the best location for this
1136 (org-mobile-check-setup): Verify `org-directory'.
1137 (org-mobile-create-index-file): Sort the files to be listed in
1140 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
1142 * org.el (org-fast-tag-selection): Add a way to display a
1143 description for a tag group. This is done by adding a string to
1144 either the startgroup or endgroup cell.
1146 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1148 * org-clock.el (org-clock-resolve, org-resolve-clocks)
1149 (org-emacs-idle-seconds): Use `org-float-time' instead of
1152 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1154 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1157 * org.el (org-pre-cycle-hook): Document that `empty' can also be
1158 the value of ARG when doing local cycling.
1160 2009-10-17 John Wiegley <johnw@newartisans.com>
1162 * org-clock.el (org-clock-resolve-clock): If keeping or
1163 subtracting time results in a clock out at a time in the past, and
1164 if the resolution occurred due to idleness or invoking `M-x
1165 org-resolve-clocks', remember that past moment in time. On the
1166 next clock in, the user will be prompted to see if they want to
1167 back-date their new clock to then.
1168 (org-clock-resolve): Do not jump the user to the location of a
1169 dangling clock if the resolution is occuring due to an idle
1170 timeout. In that case there is typically only one dangling clock,
1171 the active one, and there is no value gained by shuffling their
1172 windows around to show it to them. Being prompted to resolve an
1173 idle clock should be as inobtrusive as possible.
1174 (org-resolve-clocks-if-idle): New function that resolves only the
1175 currently active clock if the user has exceeded the time returned
1176 by `org-user-idle-seconds', based on the value of
1177 `org-clock-idle-time'.
1178 (org-clock-in): If, after resolving clocks,
1179 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1181 * org-clock.el (org-clock-resolve-clock): New function that
1182 resolves a clock to a specific time, closing or resuming as need
1183 be, and possibly even starting a new clock.
1184 (org-clock-resolve): New function used by `org-resolve-clocks'
1185 that sets up for the call to `org-clock-resolve-clock'. It
1186 determines the time to resolve to based on a single-character
1187 selection from the user to either keep time, subtract away time or
1189 (org-resolve-clocks): New user command which resolves dangling
1190 clocks -- that is, open but not active -- anywhere in the file
1191 list returned by `org-files-list'.
1192 (org-clock-in): Automatically resolve dangling clocks whenever a
1194 (org-clock-cancel): If the user cancels the solely clock in a
1195 LOGBOOK, remove the empty drawer.
1197 * org-clock.el (org-clock-idle-time): New user customizable option
1198 for detecting whether the user has left a clock idle. Note: it is
1199 only used in this commit to test whether it's worthwhile to check
1200 OS X to get the Mac user's current idle time. If the Emacs idle
1201 time is less than the value, the user hasn't been away long enough
1202 to be worth checking (a more expensive test than just getting
1204 (org-user-idle-seconds, org-mac-idle-seconds)
1205 (org-emacs-idle-seconds): This three functions, in conjunction
1206 with the user customization variable `org-clock-idle-time', return
1207 the number of seconds (as a floating point) that the user has been
1208 away from their Emacs (or, if running on OS X, their computer).
1210 * org-clock.el (org-find-open-clocks): New function that returns a
1211 list of all open clocks in the given FILE. Note that each clock
1212 it returns is a cons cell of the format (MARKER . START-TIME).
1213 This "clock" value is used by several of the new clock module
1215 (org-is-active-clock): New inline function which tests whether the
1216 given clock value is the same as the currently active clock.
1217 Returns non-nil if this is the case.
1218 (org-with-clock-position): New macro that evaluates FORMS with
1219 point in the buffer and at the position of the given clock.
1220 Changes to the current clock are global.
1221 (org-with-clock): New macro that evaluates FORMS with point in the
1222 buffer and at the position of the given clock. However, changes
1223 to the current clock are local and have no effect on the user's
1224 active clock. This allows, for example, far any clock to be
1225 cancelled without cancelling the active clock.
1226 (org-clock-clock-in): New inline function that switches the active
1227 clock to the given clock. If either the argument RESUME, or the
1228 global `org-clock-in-resume', are non-nil, it will resume a clock
1229 that was previously left open.
1230 (org-clock-clock-out): New inline function that clocks out the
1231 given clock value without affecting the currently active clock.
1232 (org-clock-clock-cancel): New inline function that cancels the
1233 given clock value without affecting the currently active clock.
1235 * org-clock.el (org-clock-in): Before creating
1236 `org-clock-mode-line-timer', check to make sure an older timer is
1237 not currently running.
1238 (org-clock-out): Accept new third parameter `at-time', which
1239 permits a clock to be clocked out at a specific time. Note that
1240 no attempt is made to verify that the clock out time is later than
1243 * org.el (org-files-list): New utility function for returning a
1244 list of all open org-mode buffers, plus all files used to build
1245 the agenda buffer. Note that not all the files will necessarily
1246 be visited by a buffer at time of call.
1247 (org-entry-beginning-position): Like the function
1248 `line-beginning-position', this inline function returns the
1249 beginning position of the current heading/entry.
1250 (org-entry-end-position): Like the function `line-end-position',
1251 this inline function returns the end position of the current
1254 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
1256 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1259 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
1261 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1263 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
1265 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1266 entries that have no tags.
1267 (org-agenda-search-view): New customize group.
1268 (org-agenda-search-view-search-words-only): New option.
1269 (org-search-view): Implement substring search.
1271 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
1273 * org.el (org-outline-level): Add doc string.
1275 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
1277 * org-inlinetask.el (org-inlinetask-export): Re-introduce
1279 (org-inlinetask-export-handler): Only export inline task if the
1280 user option calls for it.
1282 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
1284 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1287 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
1289 * org-latex.el (org-export-latex-tables): Don't format in
1292 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
1294 * org-src.el (org-edit-src-code)
1295 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1298 * org-agenda.el (org-prefix-category-max-length): New variable.
1299 (org-format-agenda-item): Use `org-prefix-category-max-length'.
1300 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1302 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
1304 * org-mobile.el (org-mobile-create-index-file): Improve the
1305 listing of tags and todo keywords.
1307 * org-latex.el (org-export-latex-format-image): New function.
1308 (org-export-latex-links): Use `org-export-latex-format-image'.
1310 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
1312 * org-inlinetask.el (org-inlinetask-get-current-indentation)
1313 (org-inlinetask-remove-terminator): New functions.
1314 (org-inlinetask-export-handler): Terminate the description list.
1316 * org-exp.el (org-export-select-backend-specific-text): Remove the
1319 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1320 tasks without content.
1322 * org-clock.el: Make sure the clock-in target position does not
1323 move to a different node by widening the buffer.
1325 * org-html.el (org-export-html-format-image): Wrap image into
1326 figure div only when there is a caption.
1328 * org-archive.el (org-archive-mark-done): Change default value to
1331 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1333 * org.el (org-context): Call `bobp', not `eobp'.
1335 * org-clock.el (org-clock-cancel): Remove quotes from marker
1338 * org.el (org-read-date-prefer-future): New allowed value `time'.
1339 (org-read-date-analyze): Shift day to tomorrow depending on time
1340 entered and value of `org-read-date-prefer-future'.
1342 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
1344 * org.el (org-set-tags-to): New command.
1346 * org-mobile.el (org-mobile-action-alist): Add more options and
1347 update the docstring.
1348 (org-mobile-apply-flags): Parse for and use the data.
1350 * org-latex.el (org-export-latex-set-initial-vars): Also check in
1353 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1356 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1358 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
1360 * org-inlinetask.el (org-inlinetask-export): Option removed.
1361 (org-inlinetask-export-handler): Better export.
1363 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1364 (org-export-as-xoxo): Run the new hook.
1366 * org-html.el (org-export-html-final-hook): New hook.
1367 (org-export-as-html): Run the new hook.
1369 * org-docbook.el (org-export-docbook-final-hook): New hook.
1370 (org-export-as-docbook): Run the new hook.
1372 * org-ascii.el (org-export-ascii-final-hook): New hook.
1373 (org-export-as-ascii): Run the new hook.
1375 * org-mobile.el (org-mobile-create-sumo-agenda): Call
1376 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1378 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1379 space character as the character before the ^/_.
1380 (org-export-latex-final-hook): New hook.
1381 (org-export-as-latex): Run `org-export-latex-final-hook'.
1383 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
1385 * org-macs.el (org-if-unprotected-at): Fix docstring.
1387 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1388 text in the prefix (if category is a link).
1390 * org-latex.el (org-export-latex-preprocess): Deal properly with
1391 empty lines in verse environments.
1393 * org.el (org-format-latex-header): Inline fullpage.sty.
1395 * org-footnote.el (org-footnote-create-definition): Reveal context
1396 to add a new footnote definition.
1398 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1400 (org-mobile-files): New option.
1401 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1402 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1404 (org-mobile-push): Start by creating the files lists.
1405 (org-mobile-copy-agenda-files): Move killing the buffer to after
1406 the save-excursion has exited.
1407 (org-mobile-write-checksums): Write checksums also for files in
1410 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1411 org-table-recalculate when cursor is in TBLFM line.
1413 * org-list.el (org-renumber-ordered-list): Fix cursor position
1414 when bullet length has changed.
1416 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1418 * org.el (org-format-latex): Mention `org-format-latex-options' in
1421 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1423 * org.el (org-agenda-get): New function.
1425 * org-agenda.el (org-agenda-post-command-hook): No longer move
1426 point away from end of line.
1427 (org-agenda-add-entry-text, org-agenda-collect-markers)
1428 (org-finalize-agenda, org-agenda-mark-clocking-task)
1429 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1430 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1431 (org-agenda-compare-effort, org-agenda-filter-apply)
1432 (org-agenda-later, org-agenda-change-time-span)
1433 (org-agenda-post-command-hook, org-agenda-show-priority)
1434 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1435 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1436 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1437 (org-agenda-open-link, org-agenda-copy-local-variable)
1438 (org-agenda-switch-to, org-agenda-check-no-diary)
1439 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1440 (org-agenda-add-note, org-agenda-change-all-lines)
1441 (org-agenda-priority, org-agenda-set-tags)
1442 (org-agenda-set-property, org-agenda-set-effort)
1443 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1444 (org-agenda-show-new-time, org-agenda-date-prompt)
1445 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1446 (org-agenda-clock-in, org-agenda-bulk-mark)
1447 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1450 * org-colview.el (org-columns-display-here)
1451 (org-columns-edit-allowed, org-agenda-columns): Use
1454 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1456 * org.el (org-special-ctrl-a/e): Improve documentation and
1458 (org-end-of-line): Don't jump to after the ellipsis.
1459 (org-mode-map): Bind <home> and <end> as well.
1461 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1463 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1464 space after #+ as comments.
1465 (org-open-at-point): Run `org-follow-link-hook' always.
1467 * org-latex.el (org-export-latex-emph-format): Use better commands
1468 to insert special characters in verbatim snippets.
1470 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1472 * org-faces.el (org-copy-face): New function. Use it to create
1473 various faces formerly created by using `copy-face'.
1475 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1477 (org-agenda-quit): Kill the frame containing the agenda window if
1478 that frame was created for the agenda.
1480 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1482 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1483 stamp in the agenda.
1485 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1487 * org-mobile.el (org-mobile-create-index-file): Add the list of
1488 TODO keywords, and the list of drawers to the index file.
1490 * org-agenda.el (org-prepare-agenda): Reset
1491 `org-drawers-for-agenda'.
1492 (org-prepare-agenda): Uniquify list of drawers.
1494 * org.el (org-complex-heading-regexp-format): New variable.
1495 (org-set-regexps-and-options): Define
1496 `org-complex-heading-regexp-format'.
1497 (org-drawers-for-agenda): New variable.
1498 (org-map-entries): Bind `org-drawers-for-agenda'.
1499 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1501 * org-remember.el (org-go-to-remember-target)
1502 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1504 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1506 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1509 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1510 the capture file, and make it non-configurable.
1512 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1513 always with `invisible-ok'.
1514 (org-store-link): No error when there is nothing to link to in the
1517 * org-list.el (org-update-checkbox-count): Insert changed cookie
1518 before the old, to avoid problems with invisibility at the end of
1520 (org-update-checkbox-count): Insert changed cookie before the old,
1521 to avoid problems with invisibility at the end of the line.
1523 * org.el (org-sort-entries-or-items): Include the final newline.
1524 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1525 lines for fontification.
1526 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1527 (org-prepare-dblock): Store the current indentation of the BEGIN
1529 (org-update-dblock): Apply the indentation of the begin line to
1530 the rest of the block.
1531 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1532 (org-startup-folded): New allowed value `showeverything'.
1533 (org-startup-options): Add STARTUP keyword `showeverything'.
1534 (org-set-startup-visibility): Respect value `showeverything' in
1537 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1539 * org.el (org-closest-date): Fix issue with past preference.
1541 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1543 * org-archive.el (org-archive-set-tag)
1544 (org-archive-subtree-default): New commands.
1546 * org-mobile.el (org-mobile-create-index-file): Fix link to
1548 (org-mobile-copy-agenda-files): Create the capture file if it does
1551 * org-clock.el (org-clock-clocktable-default-properties): New
1553 (org-clock-report): Use
1554 `org-clock-clocktable-default-properties'.
1556 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1558 * org.el (org-iswitchb-completing-read): Fix typo.
1560 * org-crypt.el: New file.
1562 * org.el: Add an entry for org-crypt.
1564 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1566 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1568 (org-batch-store-agenda-views): New function.
1569 (org-mobile-force-id-on-agenda-items): Mention variable.
1570 (org-agenda-title-append): Define variable.
1571 (org-write-agenda): New export to Org files.
1572 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1573 (org-agenda): Allow to keep the restricted file list if a special
1574 variable is bound to t.
1575 (org-agenda): Define a special agenda view for working on flagged
1577 (org-agenda-get-restriction-and-command): List the new agenda
1579 (org-agenda-show-the-flagging-note): New command.
1580 (org-agenda-mode-map): New key `?' for looking at the flagging
1583 * org.el (org-autoload): Autoload org-mobile.el.
1584 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1586 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1588 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1590 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1592 (org-table-get-remote-range): Match indented #+TBLNAME
1595 * org.el (org-convert-to-odd-levels)
1596 (org-convert-to-oddeven-levels): Work also correctly if the file
1599 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1601 * org.el (org-store-link): When in agenda buffer, link to
1603 (org-add-planning-info): Remove spaces at eol.
1605 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1608 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1610 * org-latex.el (org-export-latex-first-lines): Fix problem with
1611 LaTeX export of first line and selected subtree.
1613 * org.el (org-shifttab): Interpret arg differently when using only
1616 2009-09-09 Bastien Guerry <bzg@altern.org>
1618 * org.el (org-check-agenda-file): Use a more explicit message
1620 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1622 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1625 2009-09-08 Bastien Guerry <bzg@altern.org>
1627 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1628 prompt in the temporary window.
1630 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1631 prefix for marked entries in the agenda view.
1633 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1635 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1636 a way that prevents any trailing character from being displayed.
1638 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1640 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1643 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1646 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1648 * org-latex.el (org-export-latex-preprocess): Do not protect in
1651 * org-src.el (org-edit-src-save): Save window setup while saving.
1652 (org-edit-src-code): Use new buffer name construction scheme.
1654 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1656 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1658 (org-agenda-entry-text-cleanup-hook): New hook.
1659 (org-agenda-get-some-entry-text): Remove matches of
1660 `org-agenda-entry-text-exclude-regexps' and run the hook
1661 `org-agenda-entry-text-cleanup-hook'.
1663 * org.el (org-offer-links-in-entry): New argument ZERO to
1664 implement a link with index zero.
1665 (org-cycle-show-empty-lines): Not keep empty line under header
1667 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1668 to nil for special completion.
1669 (org-store-link): Don't error before the first heading.
1671 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1672 `org-offer-links-in-entry'.
1674 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1676 * org-agenda.el (org-agenda-quit): Provide the window argument for
1677 `window-dedicated-p', Emacs 22 needs it.
1678 (org-format-agenda-item): If the category is a link, arrange for
1679 invisible text to replaced with spaces.
1680 (org-compile-prefix-format): Add the extra space.
1681 (org-prefix-category-length): New variable.
1683 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1684 references from TOC lines.
1686 * org.el (org-selected-window): New variable.
1688 * org-table.el (org-table-edit-formulas): Remember the selected
1690 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1691 that was originally selected.
1693 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1694 expansion of a macro for more macro definitions.
1696 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1697 invisibility overlay starts on the newline.
1699 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1701 * org-protocol.el (org-protocol-store-link)
1702 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1704 * org-compat.el (org-float-time): New function.
1706 * org.el (org-clock-update-time-maybe)
1707 (org-sort-entries-or-items, org-do-sort)
1708 (org-evaluate-time-range, org-time-string-to-seconds)
1709 (org-closed-in-range): Use `org-float-time'.
1711 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1712 (org-timer-seconds): Use `org-float-time'.
1714 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1715 (org-clock-sum, org-dblock-write:clocktable)
1716 (org-clocktable-steps): Use `org-float-time'.
1718 * org-agenda.el (org-agenda-last-marker-time)
1719 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1721 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1724 * org-exp.el (org-get-file-contents): Only protect lines that
1727 * org-html.el (require): Require cl for compilation.
1729 * org.el: Avoid using `default-major-mode'.
1731 * org-plot.el (require): Require CL only at compile time.
1733 * org-exp.el (require): Require CL only at compile time.
1735 * org-agenda.el (org-agenda-quit): When the agenda window is
1736 dedicated, remove other windows before exiting, so that the frame
1737 really will be killed.
1739 * org-exp.el (org-export-handle-include-files): Reset START and
1740 END for each loop cycle.
1742 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1744 * org.el (org-eval-in-calendar): Use
1745 `org-select-frame-set-input-focus'.
1747 * org-compat.el (org-select-frame-set-input-focus): New function.
1749 * org.el (org-update-statistics-cookies): New function.
1750 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1752 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1754 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1755 after the local variables are set.
1757 * org-latex.el (org-export-latex-protect-amp): New function.
1758 (org-export-latex-links): Protect link ampersands in tables.
1760 * org-exp.el (org-export-select-backend-specific-text): Match in
1761 two steps, to avoid regexp problems.
1763 * org.el (org-offer-links-in-entry): Improve working with many and
1766 * org-agenda.el (org-agenda-show-1): Make more consistent with
1768 (org-agenda-cycle-show): Make more consistent with normal cycling.
1770 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1773 2009-08-30 Bastien Guerry <bzg@altern.org>
1775 * org-latex.el (org-export-latex-first-lines): Bugfix.
1777 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1779 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1782 * org.el (org-set-effort): New function.
1783 (org-mode-map): New key for effort setting command.
1785 * org-agenda.el (org-agenda): Keep window setup when calling
1786 agenda from within agenda window.
1787 (org-agenda-mode-map): New keys for effort setting commands.
1788 (org-agenda-menu): Add effort setting commands to menu.
1789 (org-agenda-set-property, org-agenda-set-effort): New functions.
1791 * org-latex.el (org-export-latex-tables): Fix
1792 `org-table-last-alignment' and `org-table-last-column-widths' if
1793 the first column has been removed.
1795 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1797 * org.el (org-remove-timestamp-with-keyword): Only remove in
1798 entry, not in subtree.
1800 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1803 * org.el (org-open-at-point): When on headline, offer all strings
1806 * org-remember.el (org-remember-templates): Documentation fix.
1808 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1809 `org-get-last-sibling' instead of the outline versions of these
1811 (org-get-last-sibling): New function.
1812 (org-refile): Use `org-get-next-sibling' instead of the outline
1813 version of this function.
1814 (org-clean-visibility-after-subtree-move): Use
1815 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1816 outline versions of these functions.
1818 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1820 * org-agenda.el (org-prepare-agenda): When creating a new frame
1821 for the agenda, make the window dedicated.
1823 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1825 * org-table.el (org-table-align): Change the order of reinsertion
1826 and deletion, to avoid problems with overlays following the table.
1828 * org.el (org-parse-time-string): Better error message.
1829 (org-show-subtree): Use org-end-of-subtree.
1831 * org-macs.el (org-goto-line): New defsubst.
1833 * org.el (org-open-file, org-change-tag-in-region)
1834 (org-fast-tag-show-exit): Don't use `goto-line'.
1836 * org-table.el (org-table-align, org-table-insert-column)
1837 (org-table-delete-column, org-table-move-column)
1838 (org-table-sort-lines, org-table-copy-region)
1839 (org-table-paste-rectangle, org-table-wrap-region)
1840 (org-table-get-specials, org-table-rotate-recalc-marks)
1841 (org-table-get-range, org-table-recalculate)
1842 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1843 (org-table-show-reference, org-table-highlight-rectangle): Don't
1846 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1847 (org-edit-src-exit): Don't use `goto-line'.
1849 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1851 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1852 Don't use `goto-line'.
1854 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1856 * org-colview.el (org-columns, org-columns-redo)
1857 (org-agenda-columns): Don't use `goto-line'.
1859 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1862 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1863 (org-agenda-add-entry-text-maxlines): Improve docstring.
1864 (org-agenda-start-with-entry-text-mode): New option.
1865 (org-agenda-entry-text-maxlines): New option.
1866 (org-agenda-entry-text-mode): New variable.
1867 (org-agenda-mode): Set initial value of
1868 `org-agenda-entry-text-mode'.
1869 (org-agenda-mode-map): Add the `E' key.
1870 (org-agenda-menu): Add entry text mode to the menu.
1871 (org-agenda-get-some-entry-text): Fix line count bug.
1872 (org-finalize-agenda): Apply entry text mode if appropriate.
1873 (org-agenda-entry-text-show-here): New function.
1874 (org-agenda-entry-text-show): New function.
1875 (org-agenda-entry-text-hide): New function.
1876 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1878 (org-agenda-entry-text-mode): New command.
1879 (org-agenda-set-mode-name): Add entry text mode to the mode line
1881 (org-agenda-undo, org-agenda-get-restriction-and-command)
1882 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1885 2009-08-26 Bernt Hansen <bernt@norang.ca>
1887 * org-clock.el (org-notify): Bugfix.
1889 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1891 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1892 check for after-string.
1894 * org-gnus.el (org-gnus-store-link): Simplify.
1896 * org.el (org-latex-regexps): Don't add extra empty lines for
1899 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1901 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1902 (org-agenda-add-entry-text): Use
1903 `org-agenda-get-some-entry-text'.
1905 * org.el (org-cycle-separator-lines): Update docstring.
1906 (org-cycle-show-empty-lines): Handle negative values for
1907 `org-cycle-show-empty-lines'.
1909 * org-exp.el (org-export-protect-sub-super): New function.
1910 (org-export-normalize-links): Protect the url of plain links from
1911 supscript and superscript processing.
1913 * org-remember.el (org-remember-escaped-%): New function.
1914 (org-remember-apply-template): Use `org-remember-escaped-%' to
1915 detect escaped % signs.
1917 2009-08-23 Bastien Guerry <bzg@altern.org>
1919 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1920 sound when showing the notification.
1922 * org-clock.el (org-notify): New function.
1923 (org-clock-notify-once-if-expired): Use `org-notify'.
1925 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1926 and `gnus-article-mode' separately.
1927 (gnus-summary-article-header): Fix the declare-function.
1929 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1931 * org-exp.el (org-export-format-source-code-or-example): Translate
1934 * org-src.el (org-src-lang-modes): New variable
1935 (org-edit-src-code): Translate language.
1937 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1938 the new structure of the `org-export-latex-listings-langs'
1941 * org-latex.el (org-export-latex-listings-langs): Change structure
1942 of the variable from plist to alist.
1944 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1946 * org.el (org-in-commented-line): New function.
1948 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1950 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1952 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1954 * org.el (org-flag-drawer): More useful error.
1956 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1958 * org-remember.el (org-remember-apply-template): Use
1959 org-icompleting-read.
1961 * org-publish.el (org-publish): Use org-icompleting-read.
1963 * org-colview.el (org-columns-edit-value, org-columns-new)
1964 (org-insert-columns-dblock): Use org-icompleting-read.
1966 * org-colview-xemacs.el (org-columns-edit-value)
1967 (org-columns-new, org-insert-columns-dblock): Use
1968 org-icompleting-read.
1970 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1971 org-icompleting-read.
1973 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1975 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1976 (org-version): Return the version text.
1977 (org-org-menu): Add a menu entry for the new bug reporter.
1978 (org-submit-bug-report): New command.
1980 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1983 * org.el (org-emphasis-regexp-components): Add "`" to set of
1984 pre-emphasis characters.
1986 * org-latex.el (org-export-latex-classes): Always include the soul
1988 (org-export-latex-emphasis-alist): Use \st for strikethough.
1990 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1991 `indent-code-rigidly' to indent.
1993 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1994 properties only if MATCH really is a string.
1996 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1998 * org-latex.el (org-export-latex-packages-alist): Fix
2001 * org.el (org-create-formula-image): Also use
2002 `org-export-latex-packages-alist'.
2004 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2005 (org-export-as-html): Format footnotes correctly.
2007 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
2009 * org.el (org-fast-tag-selection): Avoid text properties on tags
2012 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2013 text properties on the match element.
2015 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
2017 * org.el (org-set-regexps-and-options): Make sure the list of done
2018 keywords is not invalid.
2020 * org-exp.el (org-export-interpolate-newlines): New function.
2022 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
2024 * org.el (org-format-latex): Avoid nested overlays.
2026 * org-latex.el (org-export-latex-listings-langs): Add a few more
2029 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2030 ignore newlines and space before the first macro argument.
2032 * org-latex.el (org-export-latex-tables): Remove save-excursion
2033 around `org-table-align'.
2035 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
2037 * org.el (org-export-html-special-string-regexps): Definition
2040 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2043 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
2045 * org-latex.el (org-export-latex-listings)
2046 (org-export-latex-listings-langs): New options.
2048 * org-exp.el (org-export-format-source-code-or-example): Use
2049 listing package if requested by the user.
2051 2009-08-08 Bastien Guerry <bzg@altern.org>
2053 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2054 command before actually switching to a buffer.
2056 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
2058 * org-exp.el (org-get-file-contents): Only quote org lines when
2059 the markup is src or example.
2061 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2063 (org-agenda-get-day-entries): Remember deadline results and pass
2064 them on into the function getting the scheduling information.
2065 (org-agenda-get-scheduled): Accept deadline results as parameters
2066 and maybe skip some entries.
2067 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2069 * org.el (org-insert-heading): When respecting content, do not
2070 convert current line to headline.
2072 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2073 cheeeeeck the hd marker
2074 (org-clock-in): Also set the hd marker.
2075 (org-clock-out): Also set the hd marker.
2076 (org-clock-cancel): Reset markers.
2078 * org.el (org-clock-hd-marker): New marker.
2080 * org-faces.el (org-agenda-clocking): New face.
2082 * org-agenda.el (org-agenda-mark-clocking-task): New function.
2083 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2085 * org.el (org-modules): Add org-track.el.
2087 * org-agenda.el (org-agenda-bulk-marked-p): New function.
2088 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2089 `org-agenda-bulk-marked-p'.
2090 (org-agenda-bulk-toggle): New command.
2092 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2094 * org.el (org-move-subtree-down): Hide subtree if it was folded,
2097 * org-remember.el (org-remember-finalize): Avoid buffer-modified
2100 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2102 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2103 before gnuplot can read it.
2105 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
2107 * org-latex.el (org-export-latex-first-lines): Fix bug with
2108 finding the end of the first lines.
2110 * org.el (org-create-formula-image): Remove the -E option for
2113 * org-exp.el (org-default-export-plist): Respect #+BIND.
2114 (org-export-confirm-letbind): New function.
2116 * org.el (org-paste-subtree): Test the kill ring entry if it is
2118 (org-copy-subtree): Use `org-forward-same-level'.
2119 (org-forward-same-level): Respect the `invisibe-ok' arg for
2122 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
2124 * org.el (org-table-map-tables): Make sure cursor is back at table
2125 beginning after funcall.
2127 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2128 handled before children, and do not error if an entry is not
2129 found, probably because it hase been remove when the parent was
2130 archived or refiled.
2132 * org.el (org-ido-completing-read): Accept straight lists for
2133 completion as well as alists.
2135 * org-html.el (org-export-as-html): Fix parenthesis error in
2138 * org-timer.el (org-timer-cancel-timers): Renamed from
2139 `org-timer-cancel-timers'.
2141 * org.el (org-cycle-internal-local): Fix problem with finding next
2144 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
2146 * org-list.el (org-list-send-list): Call
2147 `org-list-goto-true-beginning' instead of
2148 `org-list-find-true-beginning', which does not exist.
2150 * org-timer.el (org-timer-reset-timers): Use `mapc'.
2151 (org-timer-set-timer): Do not assign to heading.
2153 * org-id.el (org-id-open): Quote function name.
2155 * org-macs.el (org-unmodified): Turn off recording undo
2156 information while running inside the macro.
2158 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2160 (org-indent-mode): Remember and restore value of
2161 org-hide-leading-stars before `org-indent-mode'.
2163 * org-table.el (org-table-export): Also work in file-less
2166 * org.el (org-startup-indented): New option.
2167 (org-startup-options): Add new options indent and noindent.
2168 (org-unfontify-region): Remove line-prefix and wrap-prefix
2170 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2172 (org-promote, org-demote): Run the new hooks.
2174 * org-table.el (org-table-align): Replace leading \n as well.
2176 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2177 and `line-wrap' text properties.
2179 * org-compat.el (org-kill-new): New function.
2181 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2182 `line-wrap' text properties.
2184 * org-indent.el: New file.
2186 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
2188 * org.el (org-provide-todo-statistics): Tweak docstring.
2190 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2192 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
2194 * org-exp.el (org-export-as-org): Insert the "-source" string
2195 before the extension.
2197 * org.el (org-read-date): Make sure the calendar is in the current
2199 (org-set-emph-re): Remove the ? from the post-match.
2200 (org-emphasis-regexp-components): Add backslash to the
2202 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2203 optional so that also lines at the end of the buffers will still
2204 be matched as headlines.
2206 * org-table.el (org-table-error-on-row-ref-crossing-hline):
2207 Variable made obsolete.
2208 (org-table-relative-ref-may-cross-hline): New option.
2209 (org-table-find-row-type): Honow the new option
2210 `org-table-relative-ref-may-cross-hline'.
2212 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
2214 * org-table.el (org-table-cut-region, org-table-copy-region): Work
2215 on single field if no active region.
2217 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
2219 * org-latex.el (org-export-latex-make-header): Only insert title
2222 * org.el (org-make-options-regexp): Allow empty values.
2224 * org-html.el (org-export-as-html): Move hrule detection to after
2225 plain list handling.
2227 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
2229 * org-html.el (org-format-org-table-html): Fix colgroup tags.
2231 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
2233 * org.el (org-cycle-internal-local): Improved version of finding
2235 (org-cycle-hide-drawers): Only hide drawers if this is really
2237 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2238 org-version of this function in Org-mode. We use advice to
2239 implement this change, so that future changes to this function in
2240 outline.el wil be handled properly.
2241 (org-forward-same-level, org-backward-same-level): New commands.
2243 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
2245 * org.el (org-remove-empty-overlays-at)
2246 (org-clean-visibility-after-subtree-move): New functons.
2247 (org-move-subtree-down): Simplify cleanup of display.
2249 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
2251 * org-mac-message.el (org-mac-message-get-links): Improve
2252 docstring. Make argument SELECT-OR-FLAGGED optional, default to
2253 "s". Fix the return value.
2254 (org-mac-message-insert-flagged): Simplify.
2256 * org.el (org-refile-get-location): Tamper with refile history o
2257 that history contains compete matches instead of the entered
2260 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
2262 * org.el (org-store-link): Never store a link to an inline task.
2264 * org-inlinetask.el (org-inlinetask-insert-task): New command.
2266 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2267 inline tasks when positioning footnotes.
2269 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2272 * org.el (org-refile): Remove the END line when archiving an
2273 inline task that does have an END line.
2275 * org-archive.el (org-archive-subtree): Remove the END line when
2276 archiving an inline task that does have an END line.
2278 * org-macs.el (org-with-limited-levels): New macro.
2279 (org-get-limited-outline-regexp): New function.
2281 * org-exp.el (org-export-format-source-code-or-example): Fix bug
2282 that did not enumerate first line.
2283 (org-export-mark-radio-links): Skip matches in links.
2285 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
2287 * org.el (org-activate-plain-links): Make single-match.
2288 (org-adapt-indentation): Fix docstring.
2290 * org-macs.el (org-unmodified): Turn of modification hooks while
2293 2009-08-02 Bastien Guerry <bzg@altern.org>
2295 * org.el (org-adapt-indentation): Slightly improve the docstring.
2296 (org-occur): Sends an error when the user inputs an empty string.
2297 (org-priority): Bugfix: the tag alignement should happen within
2300 2009-07-31 Bastien Guerry <bzg@altern.org>
2302 * org.el (org-make-link-regexps): Don't exclude parentheses from
2304 (org-cycle-internal-local): When locally cycling, switch directly
2305 from CHILDREN to FOLDED if there is no subtree
2306 (org-cycle): Update the docstring to document the new behavior of
2307 `org-cycle-internal-local'.
2309 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
2311 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2312 an abbreviated format for days.
2314 2009-07-27 Bastien Guerry <bzg@altern.org>
2316 * org-protocol.el (org-protocol-default-template-key): New
2319 * org.el (org-refile): Bugfix: save-excursion before reading the
2320 refile target, otherwise cursor moves might confuse `org-refile'.
2322 * org-html.el (org-export-as-html): Bugfix: correctly convert the
2323 footnote reference before the footnote itself.
2325 * org.el (org-toggle-heading): Bugfix: correctly convert list
2326 items before the first headline.
2328 * org-html.el (org-export-html-footnote-format): New option for
2329 formatting the footnote reference.
2330 (org-export-as-html): Use the new option.
2332 * org.el (org-provide-todo-statistics): Allow a list of TODO
2333 keywords to compute statistics against headlines containing a
2334 keyword from this list.
2335 (org-update-parent-todo-statistics): Possibly use the new allowed
2336 value of `org-provide-todo-statistics'.
2338 2009-07-26 Bastien Guerry <bzg@altern.org>
2340 * org-timer.el: Add autoload cookie.
2342 * org.el (org-occur-link-in-agenda-files): New function.
2344 * org-timer.el (org-timer-last-timer): New variable.
2346 * org-agenda.el (org-agenda-mode-map): New key for
2347 org-timer-set-timer called from the agenda.
2349 * org.el (org-mode-map): New key for org-timer-set-timer.
2351 * org-timer.el (org-timer-reset-timers)
2352 (org-timer-show-remaining-time, org-timer-set-timer): New
2355 * org-clock.el (org-show-notification): Update the docstring.
2357 * org.el (org-provide-todo-statistics): Allow new value
2358 'all-headlines for this option, which includes entries with no
2359 TODO keywords in the todo statistics.
2360 (org-update-parent-todo-statistics): Possibly use the new
2361 'all-headline value from `org-provide-todo-statistics'.
2363 2009-07-25 Bastien Guerry <bzg@altern.org>
2365 * org-clock.el (org-dblock-write:clocktable): Add a new option
2366 :timestamp which allows display of timestamps in clock reports.
2368 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2369 list to a subtree, preserving the structure of the list.
2370 (org-set-emph-re): Make the last element optional in the regexp.
2371 This regexp now matches an emphasized string at the end of a line.
2373 * org-list.el (org-list-goto-true-beginning)
2374 (org-list-make-subtree, org-list-make-subtrees): New functions.
2376 * org.el (org-eval-in-calendar): Select the right frame.
2377 (org-save-frame-excursion): Remove this macro.
2379 2009-07-24 Bastien Guerry <bzg@altern.org>
2381 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2382 trying to find the beginning of a list.
2384 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2385 When present, tell org-get-file-contents not to protect org-like
2388 * org-id.el (org-id-uuid-program): New option to set the name of
2389 the uuidgen program.
2390 (org-id-method): Use `org-id-uuid-program'.
2391 (org-id-new): Use `org-id-uuid-program'.
2393 2009-07-23 Bastien Guerry <bzg@altern.org>
2395 * org-exp.el (org-export-number-lines): Allow whitespace in code
2396 references. Allow the -r switch to remove the references in the
2397 source code even when the lines are not numbered: the labels can
2400 * org.el (org-fontify-whole-heading-line): New option.
2401 (org-set-font-lock-defaults): Use the new option.
2403 * org-clock.el (org-show-notification-handler): New option.
2404 (org-show-notification): Use the new option.
2406 2009-07-21 Bastien Guerry <bzg@altern.org>
2408 * org.el (org-eval-in-calendar): Fix a bug about calendar
2409 navigation when `calendar-setup' value is 'calendar-only.
2411 2009-07-19 Bastien Guerry <bzg@altern.org>
2413 * org.el (orgstruct++-mode): Fix typo in docstring.
2414 (org-insert-link): Clean up: (or (...)) => (...)
2415 (org-insert-link): Use TAB for stored links completion.
2417 2009-07-18 Bastien Guerry <bzg@altern.org>
2419 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2420 building the list of targets.
2422 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2424 (org-remember-handler): Use the new option.
2426 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2428 * org.el (org-tags-sort-function): New option for sorting tags.
2429 (org-set-tags): Use the new option to sort tags.
2431 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2432 premature deletion of the data when using org-plot in a script.
2434 2009-07-17 Bastien Guerry <bzg@altern.org>
2436 * org-clock.el (org-clock-in-prepare-hook): New hook.
2437 (org-clock-in): Use this new hook.
2439 2009-07-16 Bastien Guerry <bzg@altern.org>
2441 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2442 'reversed for this option to the "true line boundary first"
2444 (org-tags-match-list-sublevels): Document the 'indented value for
2447 * org-latex.el (org-export-latex-first-lines): Fix problem with
2448 publishing the region.
2450 * org-exp.el (org-export-format-source-code-or-example): Fix
2451 bad line numbering when exporting examples in HTML.
2453 * org-colview.el (org-format-time-period): Formats a time in
2454 fractional days as days, hours, mins, seconds.
2455 (org-columns-display-here): Add special handling for SINCE and
2456 SINCE_IA to format for display.
2458 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2460 * org.el (org-tags-sort-function): Add custom declaration for tags
2462 (org-set-tags): Sort tags if org-tags-sort-function is set
2464 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2466 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2468 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2470 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2473 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2475 * org-publish.el (org-publish-remove-all-timestamps): New function.
2476 (org-publish-all): Remove all timestamp files if `org-publish-all'
2477 is called with a prefix argument.
2479 * org-list.el (org-indent-item): Fix typo.
2480 (org-item-indent-positions): Normalize ordered bullet.
2482 * org-html.el (org-export-html-home/up-format): New option.
2483 (org-export-as-html): Insert the up and HOME links.
2485 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2487 * org-html.el (org-export-as-html): Insert the title into the
2489 (org-export-html-insert-plist-item): New function.
2490 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2492 * org-macs.el (org-set-local): Make a local variable, do not make
2493 the variable buffer-local!
2495 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2497 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2499 * org-docbook.el (org-export-as-docbook): Call
2500 `org-install-letbind'.
2502 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2504 * org-exp.el (org-infile-export-plist): Read BIND lines.
2505 (org-install-letbind): New function.
2506 (org-export-as-org, org-export-preprocess-string): Call
2507 `org-install-letbind'.
2509 * org-src.el (org-edit-src-exit): Untabify the example before
2512 * org-list.el (org-list-demote-modify-bullet): New option.
2513 (org-first-list-item-p): Save point.
2514 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2515 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2516 (org-item-indent-positions): Return bullet types along with
2519 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2521 * org.el (org-show-entry): Hide drawers.
2523 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2525 * org-footnote.el (org-footnote-auto-adjust): New option.
2526 (org-footnote-auto-adjust-maybe): New function.
2527 (org-footnote-new, org-footnote-delete): Call
2528 `org-footnote-auto-adjust-maybe'.
2530 * org.el (org-startup-options): Add new footnote-related
2533 * org-publish.el (org-publish-timestamp-filename): Additional
2534 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2535 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2536 TRUE-PUB-DIR. Pass them through to
2537 `org-publish-timestamp-filename'.
2538 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2539 PUB-FUNC, which are included in the hash.
2540 (org-publish-file): Delay timestamp test until the publishing
2543 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2545 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2546 setting the deadline.
2548 * org.el (org-read-date-final-answer): New variable.
2549 (org-read-date): Store the final answer string, including the date
2550 from the calendar, for reuse by agenda bulk commands.
2552 * org-publish.el (org-publish-attachment): Fix publishing of
2555 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2556 quotation makrs in parenthesis.
2557 (org-remove-initial-hash): New function.
2558 (org-export-latex-preprocess): Fix bug with infinite loop if
2559 environment is not properly closed.
2561 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2564 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2565 highlight also when indented.
2567 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2569 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2570 (org-footnote-action): Offer renumbering.
2572 * org.el (org-cycle): Honor the `integrate' value of
2573 org-cycle-include-plain-lists'.
2575 * org-list.el (org-cycle-include-plain-lists): New allowed value
2576 `internal'. Improve the docstring.
2578 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2579 regexp to work better with LaTeX commands.
2581 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2583 * org-feed.el (org-feed-update): fix problem with non-existing
2585 (org-feed-skip-http-headers): New function.
2586 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2587 (org-feed-get-feed): Fix command line arguments for curl.
2589 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2591 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2594 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2596 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2599 * org.el (org-map-entries): No longer force
2600 `org-tags-match-list-sublevels' to t during a todo-only tags
2603 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2605 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2607 (org-export-latex-subcontent): Handle user-defined environment.
2609 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2610 the View dispatcher.
2612 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2615 * org-latex.el (org-export-as-pdf): Protect match data during call
2616 to shell-quote-argument.
2618 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2619 (org-agenda-view-mode-dispatch): New function.
2621 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2623 * org-agenda.el (org-agenda-mode): Reset list of marks.
2624 (org-agenda-mode-map): Define new keys for refile and bulk action.
2625 (org-agenda-menu): Add menu itesm for refile and bulk action.
2626 (org-agenda-refile): New function.
2627 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2628 (org-agenda-marked-entries): New variable.
2629 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2630 (org-agenda-remove-all-bulk-action-marks)
2631 (org-agenda-bulk-action): New functions/commands.
2633 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2635 * org-exp.el (org-get-file-contents): Protect org-like lines in
2637 (org-export-format-source-code-or-example): Remove newlines.
2639 * org-latex.el (org-export-latex-links): Check for no-description
2642 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2643 argument separator back to comma.
2644 (org-export-normalize-links): Mark links without description.
2646 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2648 * org-exp.el (org-infile-export-plist): Fix bug in macro
2651 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2653 (org-agenda-highlight-todo): Fix bug with highlighting.
2655 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2657 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2658 new alignment strings.
2660 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2662 (org-table-align): Check for forced align type.
2664 * org.el (org-self-insert-command): Add yas/expand to command
2667 * org-clock.el (org-clock-in-hook): New hook.
2668 (org-clock-in): Run `org-clock-in-hook.
2669 (org-clock-out-hook): New hook.
2670 (org-clock-out): Run `org-clock-out-hook.
2671 (org-clock-cancel-hook): New hook.
2672 (org-clock-cancel): Run `org-clock-cancel-hook.
2673 (org-clock-goto-hook): New hook.
2674 (org-clock-goto): Run `org-clock-goto-hook.
2676 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2678 * org.el (org-store-link): Better default description for link to
2681 * org-exp.el (org-export-generic): Autoload the generic exporter
2683 (org-export): Implement the `g' key for the generic exporter.
2685 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2687 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2690 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2692 * org-exp.el (org-infile-export-plist): Get macros also from
2695 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2697 * org-colview.el (org-columns-capture-view): Protect vertical bars
2699 (org-columns-capture-view): Exclude comment and archived trees.
2701 * org-colview-xemacs.el (org-columns-capture-view): Protect
2702 vertical bars in column values.
2703 (org-columns-capture-view): Exclude comment and archived trees.
2705 * org.el (org-quote-vert): New function.
2707 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2709 * org-exp.el (org-export-format-source-code-or-example): Use
2710 `org-export-latex-verbatim-wrap'.
2712 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2715 * org-html.el (org-export-table-row-tags): New option.
2716 (org-format-org-table-html): Rename `nlines' to `nline', use new
2720 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2722 * org-exp-blocks.el: Declare functions and variables.
2724 * org-remember.el (org-remember-templates): Allow the headline
2725 element to be a function.
2726 (org-remember-apply-template): If the headline is a function, call
2727 it to get the true function.
2729 * org-clock.el (org-clock-menu): New function.
2730 (org-clock-update-mode-line): Update help string.
2731 (org-clock-modify-effort-estimate): New function.
2732 (org-clock-mark-default-task): New function.
2734 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2736 (org-org-menu): Add new clocking stuff.
2737 (org-clock-is-active): New function.
2739 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2741 * org.el (org-open-non-existing-files): Improve docstring.
2743 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2745 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2747 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2749 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2751 * org-list.el (org-get-checkbox-statistics-face): Use the new
2754 * org-faces.el (org-checkbox-statistics-todo)
2755 (org-checkbox-statistics-done): New faces.
2757 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2759 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2760 (org-edit-src-exit): Better cursor positioning when returning from
2763 * org-latex.el (org-export-latex-use-verb): New variable.
2764 (org-export-latex-emph-format): Prefer \texttt over \verb when
2765 org-export-latex-use-verb is set.
2767 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2769 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2770 at normal indentation.
2772 * org-html.el (org-export-html-close-lists-maybe): Also look at
2775 * org-remember.el (org-remember-handler): Abort remember if the
2778 * org-src.el (org-edit-src-content-indentation): New option.
2779 (org-edit-src-exit): Apply extra indentation.
2781 * org-exp.el (org-export-format-source-code-or-example): Run
2782 `org-src-mode-hook'.
2784 * org-src.el (org-src-mode-hook): New variable.
2785 (org-edit-src-code): Run `org-src-mode-hook'.
2787 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2789 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2791 * org-src.el (org-edit-src-get-indentation): New function.
2792 (org-edit-src-code): Base indentation on the begin line.
2794 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2796 * org-gnus.el (org-gnus-store-link): Require message.el in
2797 org-gnus-store-link.
2799 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2801 * org-src.el: New file, split out of org.el
2803 * org-docbook.el (org-export-as-docbook): Better indentation
2806 * org-macs.el (org-replace-match-keep-properties): New function.
2808 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2809 preprocessing of center and quote and verse blocks.
2811 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2812 (org-export-as-docbook): Close lists when original indentation
2815 * org-html.el (org-export-html-close-lists-maybe): New function.
2816 (org-export-as-html): Close lists when original indentation
2819 * org-list.el (org-list-end): Respect the stored "original"
2820 indentation when determining the end of the list.
2822 * org-exp.el (org-export-replace-src-segments-and-examples):
2823 Remember indentation correctly.
2825 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2827 * org-clock.el (org-clock-update-mode-line): Apply face
2828 org-mode-line-clock.
2830 * org-faces.el (org-mode-line-clock): New face.
2832 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2834 * org-gnus.el (org-gnus-store-link): Fix bug where
2835 `org-gnus-store-link' used wrong subject when called in an article
2836 buffer. Patch provided by fengli AT gmail DOT com.
2838 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2840 * org-exp.el (org-export-format-source-code-or-example): Remember
2841 the original indentation of source code snippets and examples.
2843 * org-latex.el (org-export-as-latex): Relocate the table of
2846 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2848 * org-agenda.el (org-run-agenda-series): Scope global options also
2849 when creating the agenda buffer.
2851 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2853 * org.el (org-adapt-indentation): Improve documentation.
2854 (org-insert-property-drawer): Respect org-adapt-indentation when
2855 inserting the drawer.
2856 (org-remove-flyspell-overlays-in): New function.
2857 (org-do-emphasis-faces, org-activate-plain-links)
2858 (org-activate-code, org-fontify-meta-lines-and-blocks)
2859 (org-activate-angle-links, org-activate-footnote-links)
2860 (org-activate-bracket-links, org-activate-dates)
2861 (org-activate-target-links, org-activate-tags): Remove flyspell
2864 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2866 * org.el (org-edit-src-save): New function.
2868 * org-clock.el (org-clock-out-switch-to-state): New option.
2869 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2871 * org-compat.el (org-compatible-face): Improve macro.
2873 * org.el (org-global-properties-fixed): Add default for
2874 CLOCK_MODELINE_TOTAL.
2876 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2878 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2880 (org-clock-get-sum-start): New function.
2882 * org.el (org-startup-options): New keywords blockhide and
2884 (org-mode): Add new invisibility spec.
2885 (org-set-startup-visibility): Hide block on startup if so
2887 (org-hide-block-startup): New option.
2888 (org-block-regexp): New constant.
2889 (org-hide-block-overlays): New variable.
2890 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2891 (org-show-block-all, org-hide-block-toggle-maybe)
2892 (org-hide-block-toggle): New functions.
2893 (org-edit-src-exit): Do not quote lines starting with # and no +
2895 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2898 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2900 * org.el (org-buffer-property-keys): Add Effort property for
2903 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2905 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2906 when retrieving total clocked time in the subtree.
2908 * org.el (org-quoting-blocks): New variable.
2910 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2912 * org-table.el (org-table-store-formulas)
2913 (org-table-get-stored-formulas, org-table-fix-formulas)
2914 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2915 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2917 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2918 indented #+TBLFM line.
2920 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2921 indented #+TBLFM line.
2923 * org-colview.el (org-dblock-write:columnview): Allow indented
2926 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2927 indented #+TBLFM line.
2929 * org-clock.el (org-dblock-write:clocktable): Allow indented
2932 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2934 * org-exp.el (org-export-format-source-code-or-example): Make
2935 editing indented blocks work correctly.
2937 * org.el (org-edit-src-nindent): New variable.
2938 (org-edit-src-code, org-edit-fixed-width-region)
2939 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2940 editing indented blocks work correctly.
2942 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2944 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2946 (org-export-format-source-code-or-example): Fix indentation of
2948 (org-export-remove-indentation): New function.
2949 (org-export-select-backend-specific-text): Allow backend-specific
2950 code to be indented.
2951 (org-export-mark-blockquote-verse-center): Allow markers to be
2954 * org.el (org-fontify-meta-lines): New function.
2955 (org-set-font-lock-defaults): Call the new fontification
2958 * org-faces.el (org-meta-line): New face
2959 (org-block): New face.
2961 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2963 * org.el (org-treat-insert-todo-heading-as-state-change)
2964 (org-treat-S-cursor-todo-selection-as-state-change): New
2966 (org-insert-todo-heading): Honor
2967 `org-treat-insert-todo-heading-as-state-change'.
2968 (org-shiftright, org-shiftleft): Honor
2969 `org-treat-S-cursor-todo-selection-as-state-change'.
2970 (org-inhibit-logging): New variable.
2972 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2974 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2975 range for marker position checking.
2977 * org-latex.el (org-export-latex-first-lines): Fix bug when
2980 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2982 * org-exp.el (org-export-push-to-kill-ring): Protect using
2983 x-set-selection, because that does not always work.
2985 * org-agenda.el (org-agenda-list): Apply the new face
2986 `org-agenda-date-today'.
2988 * org-faces.el (org-agenda-date-today): New face.
2990 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2992 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2993 creating appointments.
2995 * org-latex.el (org-export-latex-low-levels): Fix customization
2998 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3001 * org-agenda.el (org-agenda-priority): Disable priority commands.
3003 * org.el (org-enable-priority-commands): New option.
3005 * org-colview-xemacs.el (org-columns-compute)
3006 (org-columns-number-to-string): Fix problems with empty fields.
3008 * org-colview.el (org-columns-compute)
3009 (org-columns-number-to-string): Fix problems with empty fields.
3011 * org-exp.el (org-export-push-to-kill-ring): New function.
3012 (org-export-copy-to-kill-ring): New option.
3014 * org-latex.el (org-export-as-latex): Call
3015 `org-export-push-to-kill-ring'.
3017 * org-html.el (org-export-as-html): Call
3018 `org-export-push-to-kill-ring'.
3020 * org-docbook.el (org-export-as-docbook): Call
3021 `org-export-push-to-kill-ring'.
3023 * org-ascii.el (org-export-as-ascii): Call
3024 `org-export-push-to-kill-ring'.
3026 * org-exp.el (org-export-show-temporary-export-buffer): New
3029 * org-latex.el (org-export-as-latex): Use
3030 `org-export-show-temporary-export-buffer'.
3032 * org-html.el (org-export-as-html): Use
3033 `org-export-show-temporary-export-buffer'.
3035 * org-docbook.el (org-export-as-docbook): Use
3036 `org-export-show-temporary-export-buffer'.
3038 * org-ascii.el (org-export-as-ascii-to-buffer): Use
3039 `org-export-show-temporary-export-buffer'.
3041 * org-exp.el (org-export-show-temporary-export-buffer): New
3043 (org-export-push-to-kill-ring): New function.
3045 * org-colview.el (org-columns-compile-map): New variable.
3046 (org-columns-new, org-columns-compute)
3047 (org-columns-number-to-string, org-columns-uncompile-format)
3048 (org-columns-compile-format): Implement new operators.
3050 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
3052 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3054 * org-html.el (org-export-html-xml-declaration): New option.
3055 (org-export-as-html): Use `org-export-html-xml-declaration'.
3057 * org-list.el (org-update-checkbox-count): Make property
3060 * org.el (org-hierarchical-todo-statistics): New option.
3061 (org-update-parent-todo-statistics): Modified to handle recursive
3064 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
3066 * org-publish.el (org-publish): Make this function behave
3067 correctly in interactive use when called with a prefix argument.
3069 * org.el (org-todo-statistics-hook): New hook.
3070 (org-update-parent-todo-statistics): Use new hook.
3071 (org-log-into-drawer): New function.
3072 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3073 determine if we should be logging into a drawer.
3074 (org-log-into-drawer): Update docstring.
3075 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3077 * org-list.el (org-checkbox-statistics-hook): New hook.
3078 (org-update-checkbox-count-maybe): Use new hook.
3080 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3081 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3084 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
3086 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3089 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
3091 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3092 better bufer-generating mechanism.
3093 (org-edit-src-find-buffer): New function.
3095 * org-icalendar.el (org-print-icalendar-entries): Don't check for
3096 archive tag, this is already done by `org-agenda-skip'.
3097 data while constructing lost of tags.
3099 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
3101 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3102 as argument separator in macros.
3104 * org-html.el (org-export-as-html): Add xml declaration.
3106 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
3108 * org.el (org-after-sorting-entries-or-items-hook): New hook.
3109 (org-sort-entries-or-items): Run the new hook.
3110 (org-after-refile-insert-hook): New hook.
3111 (org-refile): Run `org-after-refile-insert-hook'.
3113 * org-agenda.el (org-agenda-get-progress): Never take time of day
3114 from headline when displaying progress.
3116 * org-latex.el (org-export-latex-complex-heading-re): New variable.
3117 (org-export-as-latex): Force the correct regexp in the
3118 preprocessor buffer.
3119 (org-export-latex-set-initial-vars): Set
3120 `org-export-latex-complex-heading-re'.
3122 * org-agenda.el (org-agenda-start-with-log-mode): New option.
3123 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3125 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
3127 * org-latex.el (org-export-latex-tables-centered): New option.
3128 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3130 * org-exp.el (org-export-as-org): New command.
3131 (org-export-as-org): New command.
3133 * org-publish.el (org-publish-org-to-org): New function.
3135 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
3137 * org.el (org-yank): Just call `org-yank-generic'.
3138 (org-yank-generic): New function, containing the formaer
3139 functionality of `org-yank'.
3141 * org-latex.el (org-export-latex-not-done-keywords)
3142 (org-export-latex-done-keywords): New variables.
3143 (org-export-latex-todo-keyword-markup): New option.
3144 (org-export-latex-set-initial-vars): Remember the TODO keywords.
3145 (org-export-latex-keywords-maybe): Apply the TODO markup.
3147 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
3149 * org-exp.el (org-infile-export-plist): Add more default macros.
3150 (org-export-preprocess-apply-macros): Process macro arguments.
3152 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
3154 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3156 (org-print-icalendar-entries): Respect the new value of
3157 `org-icalendar-include-todo'.
3159 * org.el (org-link-try-special-completion)
3160 (org-file-complete-link): New functions.
3161 (org-insert-link): Add special completion support for some link
3164 * org-bbdb.el (org-bbdb-complete-link): New function.
3166 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
3168 * org-list.el (org-update-checkbox-count): Allow recursive
3170 (org-hierarchical-checkbox-statistics): New option.
3172 * org.el (org-cycle): Remove erraneous space character.
3174 * org-icalendar.el (org-icalendar-timezone): Initialize from
3177 * org-html.el (org-format-org-table-html): Specify the scope.
3178 (org-format-table-table-html): Specify the scope.
3179 (org-export-table-header-tags): Prepare the scope parameter.
3181 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
3184 (org-export-html-table-use-header-tags-for-first-column): New
3187 * org.el (org-autoload): Fix autoloading of ascii export
3189 (org-modules): Add org-special-blocks.
3191 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
3193 * org-icalendar.el (org-start-icalendar-file): Use the new option.
3194 (org-ical-timezone): New option.
3196 * org-exp.el (org-export-get-coderef-format): Use the description
3199 * org.el (org-sort-entries-or-items): Improve docstring, and make
3200 better implementation for time sorting.
3202 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
3204 * org.el (org-edit-src-persistent-message): New option.
3205 (org-edit-src-code, org-edit-fixed-width-region): Use the new
3208 * org-clock.el (org-clock-insert-selection-line): Fix prefious
3211 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3212 separate buffer instead of indirect buffer to edit source code.
3213 (org-edit-src-exit): Make this function work with the new setup.
3215 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3216 are properly fontified before shown in the selection menu.
3218 * org.el (org-fontify-like-in-org-mode): New function.
3220 * org-latex.el (org-export-latex-links): Use the property list to
3221 retrieve the default image attributes.
3223 * org-exp.el (org-export-plist-vars): Add a new option.
3225 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
3227 * org-exp.el (org-export, org-export-visible): Support ASCII
3229 (org-export-normalize-links): Do not protect the description if it
3230 is explicitly given.
3232 * org-ascii.el (org-export-as-ascii-to-buffer)
3233 (org-replace-region-by-ascii, org-export-region-as-ascii): New
3235 (org-export-as-ascii): Add all the same parameters that are also
3236 supported by the other export functions.
3238 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3240 (org-reset-checkbox-state-subtree): Call
3241 `org-reset-checkbox-state-subtree'.
3243 * org-remember.el (org-select-remember-template): For the
3244 selection of a valid template.
3246 * org-latex.el (org-export-region-as-latex): Supply the
3247 force-no-subtree argument.
3248 (org-export-as-latex): Provide better limits when exporting the
3249 first line. When exporting to string, we still want the first
3251 (org-export-latex-first-lines): New argument END, to force the end
3253 (org-export-region-as-latex): Use the property list.
3254 (org-export-as-latex):
3256 * org-colview-xemacs.el (org-columns-remove-overlays)
3257 (org-columns): Fix call to `local-variable-p'.
3259 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
3261 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3262 (org-export-as-html): Run the new hook.
3264 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3265 (org-export-latex-preprocess): Run the new hook.
3267 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3268 (org-export-preprocess-string): Run the new hook.
3270 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
3272 * org-macs.el (org-check-external-command): New defsubst.
3274 * org.el (org-mode-map): New key for reload.
3275 (org-format-latex): Better error message when external programs
3278 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3280 * org.el (org-sort-entries-or-items): Explicit sorting function
3281 for priorities, needed for XEmacs compatibility.
3283 * org-remember.el (org-remember-apply-template): Improve auto-save
3286 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
3288 * org-latex.el (org-export-latex-preprocess): Also protect
3289 environments ending in a star.
3291 * org-list.el (org-at-item-p): Fix regular expression.
3293 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
3295 * org.el (org-end-of-subtree): Improve speed.
3297 * org-agenda.el (org-agenda-get-timestamps)
3298 (org-agenda-get-progress, org-agenda-get-deadlines)
3299 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3300 in particular, wait as long as possible to collect the tags.
3301 (org-stuck-projects): Improve docstring.
3303 * org.el (org-store-link): No errors when getting custom id before
3305 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3307 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
3309 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3311 * org-protocol.el: Remove dependency on url.el.
3312 (org-protocol-unhex-compound, org-protocol-open-source): Remove
3313 dependency on url.el.
3315 * org-latex.el (org-export-as-pdf): Use
3316 `org-latex-to-pdf-process'.
3318 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
3320 * org-latex.el (org-latex-to-pdf-process): New option.
3322 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3324 (org-agenda-get-timestamps): Honor
3325 `org-agenda-skip-additional-timestamps-same-entry'.
3327 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3328 (org-clock-goto): Find recent task only if
3329 `org-clock-goto-may-find-recent-task' allows it.
3331 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3332 drawers, and drawers that are missing the :END: line.
3334 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3336 * org-clock.el (org-clock-goto): Go to recently clocked task if no
3339 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3341 * org.el (org-update-parent-todo-statistics): Check for
3342 STATISTICS_FROM property.
3344 * org-list.el (org-update-checkbox-count): Check for
3345 STATISTICS_FROM property.
3347 * org.el (org-tab-first-hook)
3348 (org-tab-after-check-for-table-hook)
3349 (org-tab-after-check-for-cycling-hook): New hooks.
3350 (org-cycle-internal-global, org-cycle-internal-local): New
3351 functions, split out from `org-cycle'.
3352 (org-cycle): Call the new hooks.
3354 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
3356 * org-exp.el (org-export-preprocess-string): Reset the list of
3357 preferred targets for each run of the preprocessor.
3359 * org.el (org-refile-target-verify-function): Improve
3361 (org-get-refile-targets): Respect point being moved by the
3362 verification function.
3364 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3366 (org-export-latex-keywords): Use new option.
3368 * org.el (org-rear-nonsticky-at): New defsubst.
3369 (org-activate-plain-links, org-activate-angle-links)
3370 (org-activate-footnote-links, org-activate-bracket-links)
3371 (org-activate-dates, org-activate-target-links)
3372 (org-activate-tags): Place the rear-nonsticky properties at the
3375 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
3377 * org-protocol.el (server-edit): Declare `server-edit'.
3378 (org-protocol-unhex-string, org-protocol-unhex-compound): New
3380 (org-protocol-check-filename-for-protocol): Call `server-edit'.
3382 * org.el (org-default-properties): New default properteis for
3385 * org-exp.el (org-export-add-subtree-options): Add new properties
3388 * org-docbook.el (org-export-docbook-keywords-markup)
3389 (org-export-docbook-timestamp-markup): New options.
3390 (org-export-docbook-protect-tags): New function.
3392 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
3394 * org-id.el (org-id-get-with-outline-path-completion): Turn off
3395 org-refile-target-verify-function for the duration of the command.
3397 * org.el (org-link-to-org-use-id): New possible value
3398 `create-if-interactive-and-no-custom-id'.
3399 (org-store-link): Use custom IDs.
3400 (org-link-search): Find custom ID properties from #link.
3401 (org-default-properties): Add CUSTOM_ID for property completion.
3402 (org-refile-target-verify-function): New option.
3403 (org-goto): Turn off org-refile-target-verify-function
3404 for the duration of the command.
3406 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
3408 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3410 * org-exp.el (org-export-preferred-target-alist): New variable.
3411 (org-export-define-heading-targets): Find the new CUSTOM_ID
3413 (org-export-target-internal-links): Target the custom ids when
3416 * org-latex.el (org-export-latex-preprocess): Better regexp for
3417 matching latex macros with arguments.
3419 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3421 * org-remember.el (org-remember-handler): Allow filing to non-org
3424 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3426 * org-feed.el (org-feed-alist): New keyword options.
3427 (org-feed-update): Use the new options.
3428 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3429 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3430 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3433 * org-table.el (org-table-fix-formulas): Do not change references
3435 (org-table-get-remote-range): Convert standard coordinates to RC
3438 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3440 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3442 * org-compat.el (org-sha1-string): Function removed.
3444 * org.el (org-refile-allow-creating-parent-nodes): New option.
3445 (org-refile-get-location): New argument NEW-NODES.
3446 (org-refile): Call `org-refile-get-location' with the new
3448 (org-refile-get-location): Arrange for adding a new child.
3449 (org-refile-new-child): New function.
3451 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3452 an additional span element.
3454 * org-clock.el: Fix a number of docstrings.
3455 (org-clock-find-position): New argument
3456 FIND-UNCLOSED to make the function find an unclosed clock in the
3458 (org-clock-in): Call `org-clock-find-position' with the new
3459 argument if we might be resuming a clock.
3461 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3463 * org-latex.el (org-export-latex-display-custom-times): New variable.
3464 (org-export-latex-timestamp-markup): New option.
3465 (org-export-latex-set-initial-vars): Remember the local value of
3466 `org-display-custom-times'.
3467 (org-export-latex-content): Process time stamps.
3468 (org-export-latex-time-stamps): New function.
3470 * org-macs.el (org-maybe-intangible): Add intangible property
3471 again to invisible text.
3473 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3475 * org-exp.el (org-default-export-plist): Handle undefined
3478 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3480 * org.el (org-sort-entries-or-items): Match TODO keywrds
3481 case-sensitively, when sorting.
3482 (org-priority): Do not match TODO keywords with wrong case.
3484 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3486 * org-feed.el (org-feed-update): Bind the variable
3489 * org-html.el (org-export-as-html): Start paragraphs after literal
3492 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3495 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3497 * org.el (org-todo): Honor the NOBLOCKING property.
3499 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3500 NOBLOCKING property.
3502 * org.el (org-scan-tags): Fix bug in tag scanner
3504 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3506 * org.el (org-modules): Mark obsolete packages.
3508 * org-html.el: New file, split out from org-exp.el.
3510 * org-icalendar.el: New file, split out from org-exp.el.
3512 * org-xoxo.el: New file, split out from org-exp.el.
3514 * org-ascii.el: New file, split out from org-exp.el.
3516 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3518 * org-compat.el (org-find-library-name): New function.
3520 * org.el (org-pre-cycle-hook): New hook.
3521 (org-cycle): Call the new hook in appropriate places.
3522 (org-reload): Only reload files that have been loaded before.
3524 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3526 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3528 (org-todo): When changing TODO state, do matching
3530 (org-map-continue-from): New variable.
3531 (org-scan-tags): Respect values in `org-map-continue-from'.
3532 (org-reload): Make XEmacs compatible.
3534 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3536 * org-protocol.el (org-protocol-flatten-greedy): New function.
3537 (org-protocol-flatten): New function.
3539 * org.el (org-open-link-from-string): Pass reference buffer to
3540 `org-open-at-point'.
3541 (org-open-at-point): New optional argument `reference-buffer'.
3543 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3545 * org.el (org-scan-tags): Make tag scan find headline in first
3547 (org-get-refile-targets): Add the naked file name.
3548 (org-refile): Store as top-level entry when only file name was
3551 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3553 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3554 Renamed from org-block-todo-from-children-or-siblings, and
3555 enhanced to look for the parent's status as well.
3557 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3558 (org-agenda-get-progress): Add first notes line to log entry if so
3561 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3563 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3564 (org-agenda-cleanup-fancy-diary): Call the new hook.
3566 * org-remember.el (org-remember-apply-template): Take the default
3567 for the annotation from the :annotation property.
3569 * org-mac-message.el (org-mac-message-get-link): Remove the
3571 (org-mac-message-get-link): Return the result.
3573 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3575 * org.el (org-refile-get-location): Add file name only if not
3576 already included in outline path.
3578 * org-faces.el (org-n-level-faces): Fix customization type from
3581 * org-exp.el (org-export-headline-levels): Fix customization type
3582 from number to integer.
3584 * org-agenda.el (org-agenda-confirm-kill)
3585 (org-agenda-custom-commands-local-options)
3586 (org-timeline-show-empty-dates, org-agenda-ndays)
3587 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3588 customization type from number to integer.
3590 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3592 * org-protocol.el: Declare some functions.
3594 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3595 postion before inserting modified headline.
3597 * org-agenda.el (org-agenda-compare-effort): Honor
3598 `org-sort-agenda-noeffort-is-high'.
3599 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3600 (org-agenda-compare-effort): Implement the "?" operator for
3601 finding entries without effort setting.
3603 * org.el (org-extract-attributes-from-string): New function.
3605 * org-exp.el (org-export-splice-attributes): New function.
3607 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3609 * org-mouse.el: XEmacs compatibility fixes
3611 * org-docbook.el (org-export-as-docbook): Process footnotes like
3614 * org.el (org-modules): Add org-inlinetasks.el
3615 (org-cycle): Implement limiting level on cycling.
3616 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3619 * org-inlinetask.el: New file.
3621 * org.el (org-emphasis-regexp-components): Allow braces in
3622 emphasis pre and post match.
3624 * org-footnote.el (org-footnote-normalize): When only dorting, do
3625 not insert inline notes at the end.
3627 * org-docbook.el (org-id-find-id-file): Add function declaration.
3629 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3631 * org-docbook.el: New file.
3633 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3635 * org.el (org-reftex-citation): New command.
3637 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3639 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3640 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3642 (org-entries-lessp): Apply the new sorting option.
3644 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3645 blocker code, when an older sibling has children.
3647 * org-mac-message.el (org-mac-message-get-link): Improve getting
3648 links from multiple selected messages.
3650 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3652 * org-remember.el (org-remember-finalize): Do not set buffer file
3654 (org-remember-handler): Mark buffer as unmodified.
3655 (org-remember-handler): Delete backup file and show message about
3656 remaining backup files.
3657 (org-remember-auto-remove-backup-files): New option.
3659 * org.el (org-store-link): Use buffer name as link description in
3661 (org-ido-switchb): Fix argument bug for completion.
3663 * org-remember.el (org-remember-apply-template): Set local
3664 variable `auto-save-visited-file-name' instead of global one.
3666 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3668 * org-feed.el: Re-write.
3670 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3671 (org-agenda-get-todos): Mark file tags as inherited.
3672 (org-agenda-list): Always search diary lines for a time.
3674 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3676 * org-feed.el (org-feed-assume-stable): New option.
3677 (org-feed-before-adding-hook): New hook.
3679 * org-exp.el (org-export-as-html): Close local lists depending on
3680 indentation, also when starting a table.
3682 * org-remember.el (org-remember-backup-directory)
3683 (org-remember-backup-name): New internal variable.
3685 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3687 * org-clock.el (org-clock-out-if-current): Make buffer detection
3688 work in indirect buffers as well.
3690 * org.el (org-emphasis-regexp-components): Add the exxclamation
3691 mark to the post-emphasis characters.
3693 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3695 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3696 (org-read-date): Run the new hook.
3698 * org-mac-message.el (org-mac-flagged-mail): New group.
3699 (org-mac-mail-account): New variable.
3700 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3703 * org-remember.el (org-remember-backup-directory): New variable.
3704 (org-remember-apply-template): Write file to backup directory.
3706 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3708 * org-mouse.el (org-mouse-todo-menu): New function.
3709 (org-mouse-todo-keywords): Function removed.
3710 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3712 * org-table.el (org-table-beginning-of-field)
3713 (org-table-end-of-field): New commands
3714 (org-table-previous-field, org-table-beginning-of-field): Better
3716 (orgtbl-setup): Include `M-a' and `M-e'.
3718 * org.el (org-backward-sentence, org-forward-sentence): New
3721 * org-colview.el (org-colview-initial-truncate-line-value): New
3723 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3724 (org-columns): Remember the value of `truncate-lines'.
3726 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3728 (org-columns-remove-overlays): Restore the value of
3730 (org-columns): Remember the value of `truncate-lines'.
3732 * org.el (org-columns-skip-arrchived-trees): New option.
3734 * org-agenda.el (org-agenda-export-html-style): Define color for
3735 org-agenda-done face.
3736 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3737 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3739 * org.el (org-scan-tags): Use the new face.
3741 * org-faces.el (org-agenda-done): New face.
3743 * org.el (org-scan-tags): Test the value org
3744 `org-tags-match-list-sublevels'.
3745 (org-tags-match-list-sublevels): New allowed value: indented.
3747 * org-export-latex.el (org-export-latex-make-header): Apply macros
3750 * org-exp.el (org-export-apply-macros-in-string): New function.
3752 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3753 with the definition of a checked box.
3755 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3757 * org-export-latex.el (org-export-latex-low-levels): More options
3758 for how to process lower levels in LaTeX.
3759 (org-export-latex-subcontent): Better treatment for lists as a
3760 means of publishing lower levels.
3762 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3764 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3766 * org-faces.el (org-checkbox): New face.
3768 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3769 fragement images if there is an export file.
3771 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3773 * org-agenda.el (org-stuck-projects): Document that the subtree of
3774 projects that are not stuck will now be searched for stuck
3776 (org-agenda-skip-entry-when-regexp-matches)
3777 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3778 (org-agenda-list-stuck-projects): Use
3779 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3781 * org-export-latex.el (org-export-latex-preprocess): Improve
3784 * org-exp.el (org-export-as-html): Implement centering as a div
3785 rather than a paragraph. Do a better job with line-end in verse
3788 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3790 * org.el (org-open-at-point): Fix tags searches by mouse click.
3792 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3794 * org-export-latex.el (org-export-latex-preprocess): Implement the
3797 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3798 from `org-export-mark-blockquote-and-verse'.
3799 (org-export-as-html): Implement the centering markup.
3801 * org-export-latex.el (org-export-latex-tables): Fix vertical
3804 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3806 * org.el (org-read-date-history): New variable.
3807 (org-read-date): Use new history variable.
3808 (org-toggle-heading): Fix bug when used before first headline.
3809 (org-store-log-note): Remove drawer if empty while note is
3811 (org-remove-empty-drawer-at): New function.
3812 (org-check-after-date): New command.
3813 (org-sparse-tree): New sparse tree command "a".
3815 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3817 2009-03-14 Bastien Guerry <bzg@altern.org>
3819 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3820 column and a space, not only a column.
3822 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3824 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3825 defaults for verbose emphasis.
3826 (org-export-latex-emph-format): New function.
3827 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3829 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3830 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3831 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3832 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3835 * org.el (org-timestamp-change): Move end-time along with start
3838 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3840 * org-exp.el (org-export-target-internal-links)
3841 (org-export-as-html): Protect links specified as #name.
3843 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3845 * org.el (org-clone-subtree-with-time-shift): New command.
3847 * org-export-latex.el (org-export-latex-special-chars)
3848 (org-export-latex-treat-sub-super-char): Fix subscript export.
3850 * org-exp.el (org-create-multibrace-regexp): Do not add
3851 backslashes to the class.
3853 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3855 * org-colview.el (org-columns-map): Better functions for moving up
3856 and down a row, even if `truncate-line' is nil.
3858 * org.el (org-insert-todo-heading): Make sure the keyword is
3859 inserted at the correct position.
3861 * org-publish.el (org-publish-project-alist)
3862 (org-publish-projects, org-publish-org-index): Change default anme
3863 for the index of file names to "sitemap.org".
3865 * org-export-latex.el (org-export-latex-tables): Use
3866 `org-split-string', for Emacs 21 compatibility.
3868 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3870 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3872 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3874 * org-exp.el (org-export-page-description)
3875 (org-export-page-keywords): New variables.
3876 (org-export-plist-vars): Add entries for :keywords and
3878 (org-infile-export-plist): Parse for new keywords.
3879 (org-get-current-options): Add new keywords
3880 (org-export-as-html): Publish description and keywords.
3882 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3884 (org-agenda-add-entry-text): Honor
3885 `org-agenda-add-entry-text-descriptive-links'.
3887 * org-export-latex.el (org-export-latex-preprocess): Make all
3888 external preprocess functions use a PARAMETER arg.
3890 * org-exp.el (org-export-preprocess-string)
3891 (org-export-select-backend-specific-text)
3892 (org-export-format-source-code-or-example)
3893 (org-format-org-table-html): Support docbook export.
3894 (org-export-preprocess-string): Make all external preprocess
3895 functions use a PARAMETER arg.
3897 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3899 * org-exp.el (org-export-html-style-include-scripts): New option.
3900 (org-export-plist-vars): Add new option
3901 `org-export-html-style-include-scripts'.
3902 (org-export-as-html): Honor new option
3903 `org-export-html-style-include-scripts'.
3904 (org-export-html-scripts, org-export-html-style-default): Fix
3905 xml issues with the Safari browser.
3907 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3909 * org-publish.el (org-publish-attachment): Only copy file when the
3912 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3914 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3915 for clocktable steps.
3917 * org.el (org-additional-option-like-keywords): Add two more
3920 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3922 * org-exp.el (org-export-format-source-code-or-example): Mark
3923 temporary buffer unmodified, so that it will be killed even if
3924 mode like message mode has decided to assign a file name.
3926 * org.el (org-scan-tags): Improve tag inheritance.
3927 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3929 (org-scan-tags): Use the internal tags list instead of creating it
3931 (org-trust-scanner-tags, org-scanner-tags): New variables.
3932 (org-scan-tags): Set `org-scanner-tags'.
3933 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3934 (org-map-entries): Document the possible speedup using scanner
3937 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3939 * org.el (org-add-planning-info): Fix bug with looking for keyword
3942 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3943 option for tags filter preset.
3944 (org-prepare-agenda): Store filter preset as a property on the
3946 (org-finalize-agenda): Call the filter, if there is a preset.
3947 (org-agenda-filter-by-tag): Filter again after clearing the
3948 filter, when there still is a preset.
3949 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3950 Include the preset filter.
3951 (org-agenda-redo): Apply the filter again, also the preset filter.
3953 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3955 * org.el (org-uuidgen-p): New funtion.
3957 * org-agenda.el (org-agenda-fontify-priorities): New default value
3959 (org-agenda-fontify-priorities): Renamed from
3960 org-fontify-priorities.
3962 * org.el (org-set-font-lock-defaults): Call
3963 `org-font-lock-add-priority-faces'.
3964 (org-font-lock-add-priority-faces): New function.
3966 * org-faces.el: (org-set-tag-faces): New option.
3967 (org-priority-faces): New variable.
3969 * org-exp.el (org-export-as-html): Add a "content" div around the
3970 entire content of the body tag.
3971 (org-export-html-get-bibliography): New function.
3972 (org-export-html-validation-link): New variable.
3973 (org-export-as-html): Add validation link to exported page.
3975 * org.el (org-match-sparse-tree): Renamed from
3976 `org-tags-sparse-tree'.
3977 (org-tags-sparse-tree): New alias.
3979 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3981 * org.el (org-get-valid-level): Catch the case where the level
3984 * org-clock.el (org-clock-find-position): Better indentation of
3987 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3989 * org-agenda.el (org-agenda-quit): Delete window only when the
3990 frame-setup was not `current-window'.
3992 * org.el (org-tag-persistent-alist): New option.
3993 (org-startup-options): Add keyword `noptag'.
3994 (org-fast-todo-selection): Handle :newline correctly.
3995 (org-set-tags): Handle :newline correctly.
3996 (org-fast-tag-selection): Handle :newline correctly.
3998 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
4000 * org-exp.el (org-export-as-ascii): Reverse link buffer before
4002 (org-export-ascii-push-links): Fix bug with pussing links into the
4005 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
4007 * org-archive.el (org-archive-subtree): Do not add 1 to level if
4008 pasting at top level.
4010 * org-bbdb.el: Improve documentation.
4012 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
4014 * org-list.el (org-insert-item): Only consider insert empty lines
4015 is `org-empty-line-terminates-plain-lists' is not nil.
4017 * org.el (org-blank-before-new-entry): Mention the dependence on
4018 `org-empty-line-terminates-plain-lists' in the docstring.
4020 * org-publish.el (org-publish-get-project-from-filename): New
4021 optional argument UP. Only find the top project if UP is set.
4022 (org-publish-current-project): Find the top encloding project.
4024 * org-agenda.el (org-agenda-before-write-hook)
4025 (org-agenda-add-entry-text-maxlines): New options.
4026 (org-write-agenda): Run the new hook in the temporary buffer.
4027 (org-agenda-add-entry-text): New function.
4028 (org-write-agenda): Implement PDF export, using ps2pdf.
4030 * org.el (org-global-properties-fixed, org-global-properties):
4031 Improve documentation string.
4033 * org-exp.el (org-export-ascii-links-to-notes): New option.
4034 (org-export-as-ascii): Handle links better.
4035 (org-export-ascii-wrap, org-export-ascii-push-links): New
4038 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
4040 * org-agenda.el (org-agenda): Make prefix arg optional.
4041 (org-agenda-search-headline-for-time): New option.
4042 (org-format-agenda-item): Honor
4043 `org-agenda-search-headline-for-time'.
4045 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4048 * org.el (org-self-insert-cluster-for-undo): New option.
4049 (org-self-insert-command): Cluster undo for 20 characters.
4050 (org-self-insert-command-undo-counter): New variable.
4052 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
4054 * org-exp.el (org-export-as-html): Fix problem with closing colone
4057 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
4059 * org-export-latex.el (org-export-as-latex)
4060 (org-export-latex-first-lines): Avoid modification flag when
4061 adding or removing text properties.
4062 (org-export-latex-fontify): Catch error when org-emph-alist has
4063 entries that are not defined for LaTeX export.
4065 * org.el (orgstruct++-mode): New function.
4066 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4067 (org-context-p): Allow detecting item context after the first line
4069 (orgstruct-make-binding): Detect if item-body context should be
4071 (orgstruct-is-++): New variable.
4072 (org-add-planning-info): Catch the case when there is no planning
4073 info yet and the call does not want to add anything, only maybe
4074 tries to remove something.
4075 (org-special-ctrl-a/e): All value to be a cons cell with separate
4076 settings for `C-a. and `C-e'.
4077 (org-beginning-of-line, org-end-of-line): Honor separate values
4078 for `C-a' and `C-e'.
4080 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
4082 * org.el (org-reload): New command.
4084 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
4086 * org-exp.el (org-export-htm-get-tag-class-name)
4087 (org-export-htm-get-todo-kwd-class-name): New functions.
4088 (org-export-html-tag-class-prefix)
4089 (org-export-html-todo-kwd-class-prefix): New options.
4090 (org-export-as-html): Call
4091 `org-export-html-get-todo-kwd-class-name'.
4092 (org-html-level-start): Wrap tags into classes.
4093 (org-export-html-get-tag-class-name)
4094 (org-export-html-get-todo-kwd-class-name): New functions.
4096 * org-export-latex.el (org-export-latex-collect-header-macros):
4097 Remove fields that are used anyway.
4098 (org-export-latex-make-header): Insert the options earlier.
4100 * org-agenda.el (org-agenda-get-progress): Fix bug with state
4103 * org-list.el (org-indent-item): Allow point to be at the end of
4106 * org.el (org-metaleft, org-metaright): Be more accurate about
4107 detecting a region where commands apply.
4109 * org-compat.el (org-cursor-to-region-beginning): New function.
4111 * org.el (org-priority): Also find invisible heading.
4113 * org-colview-xemacs.el (org-columns-edit-value): No special
4114 treatment for `org-todo' prefix.
4116 * org-colview.el (org-columns-edit-value): No special treatment
4117 for `org-todo' prefix.
4119 * org-remember.el (org-remember-apply-template): Use
4120 `org-completing-read-no-ido'.
4122 * org.el (org-completing-read-no-ido): New function.
4123 (org-make-tags-matcher, org-set-property): Use
4124 `org-completing-read-no-ido'.
4126 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4128 (org-export-as-latex): Import in-buffer settings as TeX macros.
4129 (org-export-latex-make-header): Additional parameter OPT-DEFS.
4130 (org-export-latex-collect-header-macros): New function.
4132 * org.el (org-refile-get-location): Turn off
4133 `partial-completion-mode'.
4135 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
4137 * org.el (org-block-todo-from-checkboxes): Announce that
4138 checkboxes are the culprit.
4139 (org-block-todo-from-children-or-siblings): Call
4140 `org-up-heading-all instead' of `outline-up-heading'.
4142 * org-agenda.el (org-agenda-show-1): Renamed from
4144 (org-agenda-show): Re-install the old version for now.
4145 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
4146 variable into the blokker hook, so that the checkbox checker can
4147 anounce that it caused the blocking.
4149 * org.el (org-track-ordered-property-with-tag): New option.
4150 (org-toggle-ordered-property): Honor
4151 `org-track-ordered-property-with-tag'.
4152 (org-tag-alist): Add newline options.
4153 (org-set-regexps-and-options): Separate option lines imply a
4155 (org-set-regexps-and-options, org-assign-fast-keys)
4156 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4158 (org-indent-line-function): Make sure this works even if there is
4159 not `org-drawer-regexp' defined. This can happen when
4160 orgstruct-mode is used in a non-org buffer.
4162 * org-list.el (org-checkbox-blocked-p): New function.
4163 (org-toggle-checkbox): Check for blocking.
4165 * org.el (org-modules): Add an entry for org-R.el.
4167 * org-agenda.el (org-agenda-todo-ignore-with-date)
4168 (org-agenda-todo-ignore-scheduled)
4169 (org-agenda-todo-ignore-deadlines): Mention the variable
4170 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4172 * org.el (org-get-wdays): Find the warning period also if it is in
4174 (org-ido-completing-read): Provide the correct arguments to
4175 ido-completing-read and bind `ido-enter-matching-directory' to
4178 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
4180 * org.el (org-olpath-completing-read): Never use ido for this
4183 * org-exp.el (org-export-normalize-links): Use new macro.
4185 * org-macs.el (org-if-unprotected-at): New macro.
4187 * org-agenda.el (org-agenda-show): Allow numerical prefix
4188 arguments to specify how much context should be shown.
4189 (org-agenda-cycle-show): New command, could be bound to SPC in
4190 org-agenda-mode-map.
4192 * org-exp.el (org-html-level-start): Space after section number.
4194 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
4196 * org-agenda.el (org-agenda-get-sexps): Add todo state as
4197 property, for sorting.
4198 (org-cmp-todo-state): Get the applicable TODO keywords directly
4200 (org-run-agenda-series, org-agenda-list, org-search-view)
4201 (org-todo-list, org-tags-view): Only fit agenda window when the
4202 whole series is done.
4204 * org.el (org-scan-tags): Add todo state as property, for sorting.
4206 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4207 `org-agenda-overriding-header' as an option.
4208 (org-agenda-list): Honor org-agenda-overriding-header'.
4210 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
4212 * org-list.el (org-toggle-checkbox): Improve cursor positioning
4213 after removing a checkbox.
4215 * org.el (org-show-entry): Make this work correctly also if it is
4216 the last entry in the file.
4217 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4218 falling back to normal, default command.
4219 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4220 item, call the checkbox toggler to get a box.
4222 * org-list.el (org-toggle-checkbox): Make double prefix set the
4224 (org-fix-bullet-type): Only replace bullet if it is changed.
4225 (org-renumber-ordered-list): Handle case when first item does not
4228 * org.el (org-add-log-setup): Fix positioning when
4229 `org-log-states-order-reversed' is nil.
4231 * org-clock.el (org-clock-in): Fix positioning when
4232 `org-log-states-order-reversed' is nil.
4233 (org-clock-find-position): Fix positioning when
4234 `org-log-states-order-reversed' is nil.
4236 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
4238 * org-clock.el (org-clock-into-drawer): Take default from
4239 `org-log-into-drawer'.
4240 (org-clock-find-position): Look for the correct drawer.
4242 * org.el (org-log-into-drawer): Renamed from
4243 `org-log-state-notes-into-drawer'.
4244 (org-log-state-notes-into-drawer): New variable alias.
4245 (org-add-log-setup): Make drawer name default to LOGBOOK, not
4247 (org-insert-property-drawer): Also skip LOGBOOK drawers.
4249 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
4251 * org-agenda.el (org-agenda): Fix docstring.
4253 * org.el ("org-plot"): Help loading org-plot.
4254 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4255 (org-metadown-hook, org-shiftmetaleft-hook)
4256 (org-shiftmetaright-hook, org-shiftmetaup-hook)
4257 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4258 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4259 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4260 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4262 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4263 for selecting files with any (and even without) extension.
4265 * org.el (org-save-all-org-buffers): Also save id locations.
4266 (org-revert-all-org-buffers): Also load id locations.
4268 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4269 * org.el (org-drawers): Add LOGBOOK to the default drawers.
4270 (org-log-state-notes-into-drawer): New option.
4271 (org-add-log-setup): Place the sate note marker into the drawer,
4272 create drawer when necessary.
4273 (org-refile-targets): Document special interpretation of LEVEL
4274 when odd-levels are used.
4276 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4278 * org.el (org-store-log-note): Fix note indentation when adding
4279 notes to end of list.
4281 * org-exp.el (org-export-as-html): Add TODO keyword as extra
4282 class, so that each keyword can get special colors through CSS.
4284 * org-clock.el (org-clock-out): Add another nil for the previous
4285 state into the call to `org-add-log-setup'.
4287 * org.el (org-log-note-previous-state): New variable.
4288 (org-log-note-headings): New %S escape for old state.
4289 (org-todo): Call the note setup with the old state as an
4291 (org-add-note): Add another nil for the previous state into the
4292 call to `org-add-log-setup'.
4293 (org-add-log-setup): New argument PREV-STATE.
4294 (org-add-log-note): Handle new %S escape.
4295 (org-store-log-note): Handle new %S escape.
4297 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
4299 * org-clock.el (org-clock-find-position): Do not swallow an item
4300 less indented than the CLOCK line itself.
4301 (org-clock-in): Push markers to lin after the clock line.
4302 (org-clock-find-position): Handle values of
4303 `org-clock-into-drawer' smaller than 2.
4305 * org-exp.el (org-html-level-start): Add a CSS class to section
4307 (org-export-html-toplevel-hlevel): Better documentation of the
4308 influence of this variables on H levels and css classes in
4311 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
4313 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4314 timestamp and nottimestamp to the chooe menu.
4316 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4317 (org-revert-all-org-buffers): New command.
4319 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
4321 * org.el (org-return): Implement `org-return-follows-link' in the
4322 function org-return. This is more robust than using the mouse
4324 (org-set-regexps-and-options): Match more general #+TODO lines.
4325 (org-make-options-regexp): New optional argument EXTRA, for an
4327 (org-tab-follows-link): Mark as deprecated.
4329 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
4331 * org-exp.el (org-export-preprocess-string): Remove clock lines
4332 earlier, so that they cannot cotribute to verbatim snippets.
4334 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
4336 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4337 for finding drawers.
4338 (org-export-as-ascii, org-export-as-html): Count levels relative
4339 to the subtree header.
4340 (org-get-min-level): New optional argument OFFSET.
4341 (org-export): Make sure point is restored after popping up that
4344 * org.el (org-do-sort): Also take an inactive timestamp if no
4345 active one is found.
4347 * org-colview-xemacs.el (org-columns-capture-view): Copy before
4348 deleting duplicates.
4350 * org-colview.el (org-columns-capture-view): Copy before
4351 deleting duplicates.
4353 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4354 text before first headline.
4356 * org.el (org-format-latex): Do not convert LaTeX fragments in
4359 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
4361 * org-exp.el (org-export-html-style-default): Use color values
4362 instead of names for XHTML validation.
4364 * org.el (org-get-scheduled-time, org-get-deadline-time): New
4366 (org-return-follows-link): Revert making this the default untile
4367 issues are resolved.
4369 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4372 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4374 * org.el (org-mode): Make dependence stuff work more reliably.
4375 (org-update-parent-todo-statistics): Fix bug with updating
4378 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4379 ~ as verbatim delimiters.
4381 * org-exp.el (org-export-html-format-image): New argument
4383 (org-export-as-html): Pass par-open to
4384 `org-export-html-format-image'.
4386 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
4388 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4389 (org-use-fast-todo-selection, org-tags-column): New default
4390 setting for variables, based on a poll what typical uses use.
4392 * org-agenda.el (org-agenda-sorting-strategy)
4393 (org-agenda-tags-column): New default setting for variables, based
4394 on a poll what typical uses use.
4396 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
4398 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4399 blocked entries from setting the blocked tag.
4401 * org-exp.el (org-export-html-footnotes-section): Use a more
4402 consistent id for footnotes.
4404 * org-export-latex.el (org-export-latex-classes): Remove the
4405 a4paper option from the default styles.
4407 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4409 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4410 (org-block-todo-from-checkboxes): New function.
4411 (org-todo): Make tripple prefix arg circumvent blocking.
4413 * org-timer.el (org-timer): Provide the timer feature.
4415 * org.el (org-require-autoloaded-modules): Add a few more files to
4416 the list of autoloaded modules.
4418 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4420 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4422 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4423 drawers that are unprotected.
4424 (org-export-html-format-image): Make sure inlined LaTeX fragment
4425 images remain inlined.
4427 * org.el (org-toggle-ordered-property): New function.
4428 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4429 (org-org-menu): Add menu entries for TODO dependencies.
4431 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4433 * org.el (org-default-properties): Add ORDERED to the default
4434 properties, to get completion support for it.
4436 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4438 * org.el (org-update-parent-todo-statistics): Update more than one
4441 * org-agenda.el (org-agenda-get-todos): Start search from correct
4444 * org.el (org-fast-todo-selection): Make sure TODO selection does
4445 not change buffer position.
4447 * org-list.el (org-toggle-checkbox): Implement adding or removing
4448 checkboxes from line or region when called with a prefix
4451 * org-rmail.el (org-rmail-store-link): Protect the call to
4452 `rmail-narrow-to-non-pruned-header'.
4454 * org-clock.el (org-clock-special-range): Fix week display in
4457 * org-exp.el (org-get-current-options): Fix bug when in indirect
4460 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4462 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4463 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4464 (org-agenda-dim-blocked-tasks): New function.
4466 * org.el (org-enforce-todo-dependencies): New option.
4467 (org-block-todo-from-children-or-siblings): New function.
4469 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4471 * org.el (org-todo): Return correct state type even if the blocker
4473 (org-modifier-cursor-error): Renamed from
4474 `org-shiftcursor-error'.
4475 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4476 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4478 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4479 to get real errors from the blocker hook.
4481 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4483 (org-set-visibility-according-to-property): Turn off the setting
4484 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4487 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4489 * org.el (org-support-shift-select): New option.
4490 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4491 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4492 selection outside contexts.
4494 * org-list.el (org-at-item-bullet-p): New function.
4496 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4499 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4501 (org-insert-footnote-reference-near-definition): Remove
4502 unnecessary let form.
4504 * org-export-latex.el (org-export-latex-first-lines): Add
4505 OPT-PLIST parameter.
4506 (org-export-as-latex): Call `org-export-latex-first-lines' with
4507 opt-plits parameter.
4508 (org-export-latex-preprocess): Remove unnecessary variables.
4510 * org-exp.el (org-infile-export-plist)
4511 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4512 (org-export-remove-headline-metadata)
4513 (org-export-get-title-from-subtree, org-get-min-level)
4514 (org-html-do-expand): Remove innecessary let form.
4516 * org-colview-xemacs.el (org-columns-display-here): Remove
4517 unnecessary variables.
4519 * org-colview.el (org-columns-display-here): Remove unnecessary
4522 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4525 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4526 unnecessary variables.
4528 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4529 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4532 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4533 (org-compact-display-after-subtree-move): Remove unnecessary
4535 (org-edit-fixed-width-region): Remove unnecessary variables.
4536 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4537 (org-olpath-completing-read): Remove unnecessary variable.
4538 (org-auto-repeat-maybe): Remove unnecessary variable.
4539 (org-map-entries): Remove unnecessary variable.
4540 (org-buffer-property-keys, org-imenu-get-tree)
4541 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4543 -----------------------------------------------------------------
4545 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4546 * org-exp.el (org-export-remove-timestamps): Never remove
4547 timestamps from tables.
4549 * org-export-latex.el (org-export-latex-first-lines): Add more
4550 options to the preprocessing of the text before the first
4553 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4555 * org-faces.el (org-clock-overlay): Make face compatible with
4558 * org.el (org-yank): Add property for delete-selection mode.
4560 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4562 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4565 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4568 * org-exp.el (org-export-as-html): Remove the initial space from
4571 * org.el (org-scan-tags): Call
4572 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4574 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4575 customization groups.
4576 (org-agenda-tags-todo-honor-ignore-options): New option.
4577 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4579 (org-agenda-get-todos): Use
4580 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4582 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4584 * org-exp.el (org-export-format-source-code-or-example): Escape
4585 HTML characters also in examples that anre not treated with
4586 htmlize. Also, just switch to EXAMPLE processing if we do not
4587 have a good version of htmlize.
4589 * org-rmail.el: Fix copyright notice.
4591 * org.el (org-activate-footnote-links): Improve footnote link
4594 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4595 a footnote definition at the end of the file.
4597 * org-table.el (org-table-get-specials): Add an imagined hline at
4598 the end of the table. This can be useful for references that want
4599 to go to the end of the table. Also fix bug when computing last
4600 row constants, in tables that do not start right at the right
4602 (org-table-eval-formula): Match and replace remove references.
4603 (org-table-formula-substitute-names): Make sure that names inside
4604 a "remote" call are left alone, the will be replaced later when
4605 the remote call is handled.
4606 (org-table-convert-refs-to-rc): Do not convert things that might
4607 look like a reference, but are really part of an ID or namei n a
4609 (org-table-get-remote-range): New function.
4611 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4613 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4615 * org-clock.el (org-clock-put-overlay): Use new face instead of
4616 `secondary-selection'.
4618 * org-faces.el (org-clock-overlay): New face.
4620 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4622 * org-exp.el (org-get-current-options): Include the option for
4623 publishing time stamps.
4625 * org.el (org-toggle-heading): Renamed from
4626 `org-toggel-region-headings'.
4627 No longer needs a region defined, but will use it if there is one.
4628 (org-ctrl-c-star): Simplified, relying more on the internal
4629 workings of `org-toggle-heading'.
4630 (org-toggle-item): Renamed from `org-toggle-region-items'.
4631 No longer needs a region defined, but will use it if there is one.
4632 (org-ctrl-c-minus): Simplified, relying more on the inernal
4633 workings of `org-toggle-item'.
4635 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4636 environment detection. Also, do real changes only in unprotected
4639 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4641 * org-export-latex.el (org-export-latex-quotation-marks): Use
4642 `org-if-unprotected-1'.
4643 (org-export-latex-set-initial-vars): Check for class definition in
4646 * org-macs.el (org-if-unprotected-1): New macro.
4648 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4650 * org-compat.el (org-count-lines): New function.
4652 * org-exp.el (org-export-format-source-code-or-example): Handle
4653 switches related to text areas.
4655 * org.el (org-activate-footnote-links): Don't allow match inside a
4658 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4660 * org-export-latex.el (org-export-latex-links): Keep a relative
4661 path relative also after export.
4663 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4665 * org.el (org-make-tags-matcher): Never use IDO for completing the
4666 tags matcher match string.
4667 (org-completing-read): Also remove the special biding for "?".
4669 * org-attach.el (org-attach-allow-inheritance): New option.
4670 (org-attach-inherited): New variable.
4671 (org-attach-dir): Handle properties related to the attachment
4673 (org-attach-check-absolute-path): New function.
4674 (org-attach-set-directory, org-attach-set-inherit): New commands.
4675 (org-attach): Accommodate the new commands in the dispatcher.
4677 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4679 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4680 `window-full-width-p'.
4682 * org-exp.el (org-export-as-html): Only check for images files
4683 that really can be inlined
4685 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4686 list of extensions to be a parameter.
4688 * org-exp.el (org-export-html-inline-image-extensions): New
4691 * org-agenda.el (org-prepare-agenda): Use
4692 `org-agenda-block-separator'.
4693 (org-agenda-block-separator): New option.
4695 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4697 * org-export-latex.el (org-export-latex-tables): Call
4698 `org-table-clean-before-export' with the new optional argument.
4700 * org-exp.el (org-table-clean-before-export): New optional
4701 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4704 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4706 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4709 * org-colview.el (org-colview-construct-allowed-dates): Better
4710 error catching when a date/time property does not have allowed
4713 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4714 Better error catching when a date/time property does not have
4715 allowed values defined.
4717 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4719 * org.el (org-map-entries): Restore point and restriction after
4722 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4724 * org.el (org-time=, org-time<, org-time<=, org-time>)
4725 (org-time>=, org-time<>): Make sure both values are dates.
4727 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4729 * org-archive.el (org-extract-archive-heading): Allow %s for file
4730 name also in achive location heading.
4732 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4734 * org-archive.el (org-add-archive-files): Uniquify the list before
4737 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4739 * org-compat.el (org-fit-window-to-buffer): Use
4740 `window-full-width-p'.
4742 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4743 space after the colon in short examples.
4745 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4746 enforce a space after the colon. However, we also allow lines
4747 that are *only* a colon.
4748 (org-export-as-html): Enforce the space after the colon in short
4750 (org-export-preprocess-string): Do the colon example protection
4752 (org-export-remove-timestamps): Do not check for protection at the
4755 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4757 * org.el (org-format-latex-options): Add new matcher for single
4758 letters between dollars.
4759 (org-get-header): Function removed.
4760 (org-heading-components): New function.
4762 * org-exp.el (org-export-define-heading-targets): Record ID's also
4763 as alternative targets.
4764 (org-export-as-html): Interpret "id:" links to other files by
4765 preserving the relative path.
4767 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4770 * org-exp.el (org-export-normalize-links): Protect the main link,
4771 to avoid special character processing.
4773 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4775 (org-export-latex-special-string-regexps): Variable removed.
4776 (org-export-latex-keywords): Use the new regexp.
4778 * org-exp.el (org-export-handle-include-files): Fetch switches and
4779 put them into the BEGIN statement.
4781 * org-timer.el (org-timer-mode-line-string): New variable.
4783 * org-clock.el (org-clock-mode-line-map): Renamed from
4784 `org-clock-mode-map'.
4785 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4786 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4787 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4788 (org-clock-remove-overlays): Renamed from
4789 `org-remove-clock-overlays'.
4791 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4792 and mode line display.
4793 (org-timer-stop): New command.
4794 (org-timer-seconds): Return correct time when timer is paused.
4795 (org-timer-mode-line-timer): New variable.
4796 (org-timer-set-mode-line, org-timer-update-mode-line): New
4799 * org.el (org-insert-heading): Handle new value `auto' for
4800 `org-blank-before-new-entry'.
4801 (org-org-menu): Add new items for timer functions.
4803 * org-list.el (org-insert-item): Handle new value `auto' for
4804 `org-blank-before-new-entry'.
4806 * org.el (org-blank-before-new-entry): New value `auto', made
4809 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4811 * org-exp.el (org-export-normalize-links): If the link is also
4812 used as the description, protect the description.
4814 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4816 * org.el (org-closest-date): Fix bug with yearly repeats, in
4817 combination with preference of the past as it is used for deadline
4818 and scheduling search.
4820 * org-exp.el (org-html-handle-time-stamps): No longer check for
4821 the `org-export-with-timestamps' option, because the preprocesser
4822 has taken care of this already.
4824 * org.el (org-entry-properties): Catch the case when this is
4825 called in a non-org-mode file.
4827 * org-export-latex.el (org-export-latex-remove-from-headlines):
4828 Variable made obsolete, also LaTeX export now uses the standard
4830 (org-export-as-latex): Add the timestamps parameter to the
4831 preprocessor parameter list.
4832 (org-export-latex-content): Export the remaining keywords without
4833 considering to remove them.
4834 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4835 Use bold font instead of tt font for the keywords.
4836 (org-export-latex-fontify-headline): Format headlines, assuming
4837 that all keywords still present should be published.
4838 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4839 publish what ever remains of the time stamps.
4840 (org-export-latex-list-parameters): New option.
4841 (org-export-latex-lists): Pass additional parameters to the list
4844 * org-exp.el (org-export-preprocess-string): Remove clock lines
4845 and timestamps already in the preprocesor.
4846 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4848 (org-export-as-ascii, org-export-as-html): Add the timestamps
4849 parameter to the preprocessor parameter list.
4851 * org-list.el (org-list-parse-list): Parse for checkboxes.
4852 (org-list-to-generic): Introduce and handle new parameters :cbon
4854 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4855 optional parameter PARAMS.
4857 * org-export-latex.el (org-export-latex-special-chars): Fix
4858 problems with interpreting dollar signs.
4859 (org-inside-latex-math-p): New function.
4860 (org-export-latex-preprocess): Protect all the math fragments.
4862 * org.el (org-latex-regexps): Allow a dash after a dollar.
4864 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4867 * org-agenda.el (org-run-agenda-series): Have series options set
4868 when finalizing the agenda.
4870 * org-exp.el (org-export-format-source-code-or-example): Protect
4871 the converted examples.
4873 * org.el (org-set-regexps-and-options): Fix the regexp
4874 `org-complex-heading-regexp'.
4876 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4878 * org.el (org-edit-src-get-label-format): New function.
4879 (org-coderef-label-format): New option.
4880 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4881 a label format specification and make sure it is used in the edit
4883 (org-edit-src-get-label-format): New function.
4884 (org-store-link): Handle new coderef formats.
4885 (org-link-search): Handle new coderef formats.
4887 * org-footnote.el (org-footnote-create-definition)
4888 (org-footnote-goto-local-insertion-point): Make footnote insertion
4889 work correctly when the "Footnotes" headline is the last line in
4892 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4895 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4897 * org-w3m.el (org-w3m): New customization group.
4898 (org-w3m-deactivate-mark): New option.
4899 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4902 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4904 * org.el (org-set-font-lock-defaults): Trigger footnote
4906 (org-activate-footnote-links): New function.
4907 (org-activate-links): New entry `footnote'.
4909 * org-faces.el (org-footnote): New face.
4911 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4913 * org-macs.el (org-re): Handle the [:word:] class.
4915 * org-exp.el (org-export-preprocess-string): Call
4916 `org-export-protect-colon-examples'.
4917 (org-export-protect-colon-examples): Renamed from
4918 `org-export-protect-examples', and scope limited to lines starting
4921 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4923 * org-exp.el (org-export-preprocess-string): Move the preprocess
4924 hook to after turning on Org-mode.
4925 (org-export-preprocess-after-include-files-hook)
4926 (org-export-preprocess-after-tree-selection-hook)
4927 (org-export-preprocess-before-backend-specifics-hook)
4928 (org-export-preprocess-final-hook): New hooks.
4929 (org-export-preprocess-string): Run the new hooks.
4931 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4933 * org-footnote.el: New file.
4935 * org.el (org-footnote): Require footnote code.
4936 (org-startup-options): Add new footnote options.
4937 (org-mode-map): New keybindig for footnotes.
4938 (org-ctrl-c-ctrl-c): Add function at footnotes.
4939 (org-org-menu): New menu entries for footnotes.
4941 * org-export-latex.el (org-export-as-latex): Pass footnote
4942 variable to preprocessor.
4943 (org-export-latex-preprocess): Treat multiple references to a
4946 * org-exp.el (org-export-preprocess-string): Call
4947 `org-footnote-normalize'.
4948 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4950 (org-export-as-html): Treat multiple references to a footnote.
4952 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4954 * org-export-latex.el (org-export-latex-links): Handle coderef
4957 * org.el (org-bracket-link-analytic-regexp++): New variable.
4958 (org-make-link-regexps): Initialize
4959 `org-bracket-link-analytic-regexp++'.
4960 (org-store-link): Implement special case in edit-src buffer.
4961 (org-insert-link): No use of ide to insert stored links.
4962 (org-link-search): Implement special case for coderefs.
4964 * org-exp.el (org-export-html-scripts): New constant.
4965 (org-export-html-style-default): Add a new style for highlighted
4967 (org-export-code-refs): New variable.
4968 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4969 Call `org-export-replace-src-segments-and-examples'
4970 No longer call `org-export-protect-examples'.
4971 (org-export-target-internal-links): Take care of coderef targets.
4972 (org-export-last-code-line-counter-value): New variable.
4973 (org-export-replace-src-segments-and-examples): Renamed from
4974 `org-export-replace-src-segments', and modified.
4975 (org-export-format-source-code-or-example): Renamed from
4976 `org-export-format-source-code'.
4977 (org-export-number-lines): New function.
4978 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4980 --------------------------------------------------------------------------
4982 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4984 * org-remember.el (org-remember-handler): Safer way to get a new
4985 buffer accessing the target file.
4987 * org.el (org-refile-get-location): Handle case of current buffer
4988 not having a file associated with it.
4990 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4992 * org-table.el (org-table-get-formula): Only ask to overwrite
4993 field formula if there really is one.
4995 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4996 number, by converting these to a string.
4998 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4999 located in a different file.
5001 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5004 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
5006 * org.el (org-completion-use-ido): Enhance docstring of
5007 `org-completion-use-ido'.
5009 * org-export-latex.el (org-export-latex-make-header): Double the %
5010 in the time stamp format.
5011 (org-export-latex-special-chars): Handle case where there is no
5014 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5016 * org.el (org-get-refile-targets, org-refile-get-location): Use
5017 expanded file name to improve comparison.
5019 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
5021 * org.el (org-scan-tags): Rescan for tags, to get the correct
5022 upcase/downcase stuff. This slows things down for now, but it
5024 (org-mode): Make sure the tag-faces regexp is initialized.
5026 * org-export-latex.el (org-export-latex-links): Fix bug with
5029 * org-table.el (org-table-get-specials): Set
5030 `org-table-current-last-data-line'.
5031 (org-table-current-last-data-line): New variable.
5032 (org-table-insert-column, org-table-delete-column)
5033 (org-table-move-column, org-table-fix-formulas): Call
5034 `org-table-fix-formulas' a second time to fix the $LR references.
5035 (org-table-get-specials): Add the $LR references to the tables.
5036 (org-table-get-formula): Do not offer last-row names as LHS of
5039 * org.el (org-store-link): Capture link description from
5040 `org-id-store-link'.
5042 * org-exp.el (org-export-html-format-image): Add the / to the end
5044 (org-export-format-source-code): Surround example by empty lines,
5045 to make sure it will not be inside a paragraph.
5047 * org.el (org-ido-switchb): New function.
5049 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
5051 * org-agenda.el (org-agenda-show): New prefix argument
5054 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5057 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5058 `org-agenda-change-all-lines'.
5059 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5060 tags are now retrieved locally.
5062 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
5064 * org.el (org-get-outline-path): Fix bug if level is not given.
5065 (org-org-menu): Do not quote function in menu vector.
5067 * org-agenda.el (org-finalize-agenda): Fix typo with variable
5070 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5072 * org.el (org-refile): Avoid refiling to within the region to be
5075 * org-export-latex.el (org-export-latex-special-chars): Replace
5076 special characters also in tables.
5078 * org-agenda.el (org-agenda-change-all-lines): New argument
5080 (org-agenda-set-tags): Cet the new tags and pass them to
5081 `org-format-agenda-item'.
5083 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
5085 * org-export-latex.el (org-export-latex-classes): Add longable as
5086 a default package to all classes.
5087 (org-export-latex-tables): Handle the longtable attribute and the
5090 * org-table.el (orgtbl-to-generic): Handle tables that start with
5093 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5094 \verb for colde-like snippets.
5095 (org-export-as-latex): Fix issues with region export.
5097 * org.el (org-up-heading-safe): Speed up function by using a
5098 direct regexp search.
5099 (org-olpa): New variable.
5100 (org-get-outline-path): Speed-up path constructions in cases where
5101 this is possible because the entire hierarchy is scanned anyway.
5102 (org-refile-get-location): Don't compare the truenames of files,
5104 (org-goto-max-level): New option.
5105 (org-goto): Use `org-goto-max-level'.
5107 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
5109 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5110 Strip angle brackets from message-ids in the former and don't do
5112 (org-gnus-follow-link): Open summary reliable, even if the last
5113 messages were deleted, and handle empty groups, too.
5115 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
5117 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5118 instead of \texttt for the =...= and ~===~ emphasis environments.
5119 (org-export-as-latex): Remove any old :org-license-to-kill text
5121 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5122 (org-export-latex-make-header): Add some hard space after the
5124 (org-export-latex-first-lines): Accept RBEG argument. Mark
5125 exported text so that it will be excuded in further steps.
5127 * org-table.el (org-table-get-specials): Make @0 reference the
5128 last line in a table.
5129 (org-table-recalculate): Improve docstring.
5131 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
5133 * org.el (org-log-done): Fix docstring.
5135 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
5137 * org-exp.el (org-export-html-format-image): Fix bugs.
5139 * org-export-latex.el (org-export-latex-tables)
5140 (org-export-latex-links): Implement attribute, label, and caption
5143 * org-exp.el (org-export-html-style-default): Add style
5144 definitions for the figure div.
5145 (org-export-preprocess-string, org-export-as-html): Implement
5146 attribute, label, and caption handling.
5147 (org-export-attach-captions-and-attributes): New function.
5148 (org-export-html-format-image): New function.
5149 (org-format-org-table-html): Implement attribute, label, and
5152 * org.el (org-find-text-property-in-string): New function.
5153 (org-extract-attributes): Use the property org-attr instead of
5154 org-attrobutes, because this property is now set with the #+ATTR
5157 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
5159 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5160 the case that FROM is nil.
5162 * org.el (org-before-first-heading-p): New function.
5164 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5166 * org-exp.el (org-export-as-html): Do not add a space before
5167 enforces line breaks.
5168 (org-export-as-html): Close paragraph before blockquote and verse
5171 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
5173 * org-id.el (org-id-locations-file): Wrap file name with
5174 `convert-standard-filename'.
5175 (org-id-files): New variable.
5176 (org-id-use-hash): New option.
5177 (org-id-update-id-locations): Also search in all files current
5178 listed in `org-id-files'. Convert the resulting alist to a hash
5179 if the user customation says so.
5180 (org-id-locations-save): Handle he case if `org-id-locations' is a
5182 (org-id-locations-load): Convert the alist to a hash.
5183 (org-id-add-location): Handle the hast case.
5184 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5186 (org-id-hash-to-alist, org-id-alist-to-hash)
5187 (org-id-paste-tracker): New functions.
5189 -------------------------------------------------------------------------
5191 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5193 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5194 bindings of calendar variables.
5196 * org-table.el (org-table-find-row-type): Renamed from
5197 `org-find-row-type'.
5198 (org-table-rewrite-old-row-references): Renamed from
5199 `org-rewrite-old-row-references'.
5200 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5201 (org-table-cleanup-narrow-column-properties): Renamed from
5202 `org-cleanup-narrow-column-properties'.
5204 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5206 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5207 for better error messages.
5208 (org-table-get-descriptor-line): Supply the new arguments to
5209 `org-find-row-type'.
5210 (org-table-error-on-row-ref-crossing-hline): New option.
5212 * org.el (org-target-link-regexp): Make buffer-local.
5213 (org-move-subtree-down): Fix bug with trees at beginning of
5216 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
5218 * org-faces.el (org-set-tag-faces): New function.
5219 (org-tags-special-faces-re): New variable.
5221 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5223 * org-faces.el (org-tag-faces): New option.
5224 (org-tag): Mention `org-tag-faces' in the docstring.
5226 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
5228 * org-exp.el (org-export-html-style-default): Implement new
5231 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5233 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5234 command to the `w3m-minor-mode-map'.
5236 * org-archive.el (org-archive-to-archive-sibling): Protect
5237 `this-command' to avoid appending kills during archiving.
5239 * org-exp.el (org-export-with-priority): New variable.
5240 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5241 instead of internal list of strings and properties.
5242 (org-print-icalendar-entries): Retrieve the location property with
5245 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
5247 * org-exp.el (org-export-with-todo-keywords): New option.
5248 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5250 (org-default-export-plist, org-export-add-options-to-plist)
5251 (org-export-as-ascii, org-export-as-html): Use the new structure
5252 of `org-export-plist-vars'.
5254 * org.el (org-map-entries): Return all values.
5256 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
5258 * org.el (org-matcher-time): Recognize more special values.
5260 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5262 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
5264 * org.el (org-tags-exclude-from-inheritance): New option.
5265 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5266 `org-tags-exclude-from-inheritance'.
5268 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5269 (org-format-agenda-item): Add inherited tags to the agenda line
5270 string, and make sure that properties are kept when downcasing the
5272 (org-agenda-add-inherited-tags): New function.
5273 (org-downcase-keep-props): New function.
5275 * org.el (org-scan-tags): Mark inherited tags with a text
5277 (org-get-tags-at): Mark inherited tags with a text property.
5278 (org-add-prop-inherited): New function.
5280 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5281 (org-agenda-show-inherited-tags): New option.
5283 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
5285 * org.el (org-modules): Add org-w3m to the default modules.
5287 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5289 (orgtabl-create-or-convert-from-region): New command.
5291 * org-exp.el (org-export-as-ascii): Remove the handling of
5293 (org-export-ascii-preprocess): Handle targets already in this
5296 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
5298 * org-timer.el (org-timer-start-time): Define this variable.
5299 (org-timer-item): Make argument optional.
5301 * org-list.el (org-insert-item): Automatically insert a timer item
5302 if the current list is a timer list.
5304 * org-timer.el: New file.
5306 * org-publish.el (org-publish-org-index): Only exclude the index
5307 file in the main directory from being added to the site-map.
5308 (org-publish-get-project-from-filename): If the current project is
5309 a component, start publishing from the parent project.
5311 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5313 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5315 * org-publish.el (org-publish-org-index): Improve removal of
5318 * org-agenda.el (org-get-closed): Re-apply changes
5319 accidentially overwritten by last commit to Emacs.
5321 * org.el (org-outline-path-complete-in-steps): New option.
5322 (org-refile-get-location): Honor
5323 `org-outline-path-complete-in-steps'.
5324 (org-agenda-change-all-lines, org-tags-sparse-tree)
5325 (org-time-string-to-absolute, org-small-year-to-year)
5326 (org-link-escape): Re-apply changes accidentially overwritten
5327 by last commit to Emacs
5329 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5331 * org-clock.el (org-dblock-write:clocktable): Make sure the
5332 clocktable sees the first line.
5333 (org-clock-in): Warn if the clock cannot be resumed.
5335 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
5337 * org.el (org-open-at-point): Fix mixup about interactive and
5338 non-interactive elisp links.
5340 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5342 * org-exp.el (org-export-preprocess-string): Allow one comment
5343 line before the first headline to always be included. This is
5344 to not miss a commented target.
5346 * org-mouse.el (org-mouse-insert-item): Call
5347 `org-indent-to-column' instead of `indent-to', for XEmacs
5350 * org.el (org-refile-targets): Fix customize definition so
5351 that it works also in XEmacs.
5352 (org-fixup-indentation): Call `org-indent-to-column' instead
5353 of `indent-to', for XEmacs compatibility.
5355 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5357 * org-mew.el (org-mew-store-link): Get the correct case folder
5358 for refiled messages.
5360 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5362 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5363 line break indicators.
5365 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5366 ido-completion propts.
5368 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5370 * org-remember.el (org-remember-apply-template): Use
5371 `org-substring-no-properties'.
5373 * org-compat.el (org-substring-no-properties): New function.
5375 * org-remember.el (org-remember-apply-template): Use
5376 `org-substring-no-properties' for compatibility.
5378 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5380 (org-fix-bullet-type): respect
5381 `org-list-two-spaces-after-bullet-regexp'.
5383 * org-clock.el (org-clock-load): Clean up the code.
5385 * org.el (org-adaptive-fill-function): Allow two spaces after
5386 "1." as a list bullet.
5388 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
5390 * org-clock.el (org-clock-save, org-clock-load): Check for
5391 live buffers, existing files, and buffer file names to ensure
5392 consistent information.
5393 (org-clock-persist): Make `clock' a special value of this
5394 variable, and improve docstring.
5396 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5397 (org-get-string-indentation): Adapt indentation when the bullet
5400 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
5402 * org-remember.el (org-remember-finalize): Make interactive.
5403 (org-remember-kill): New command.
5404 (org-remember-finish-immediately): Call `org-remember-finalize'
5406 (org-remember-finalize): Make `org-remember-finalize' an interactive
5409 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5411 * org-remember.el (org-remember-apply-template): No ido completion
5412 for free prompts in remember templates.
5413 (org-remember-before-finalize-hook): New hook.
5414 (org-remember-mode): New minor mode.
5415 (org-remember-apply-template): Turn on `org-remember-mode'.
5417 * org-id.el (org-id-add-location): Avoid error when no file is
5420 * org-remember.el (org-remember-apply-template): Fix the way how
5421 the list of allowed properties is retrieved from the target file.
5423 * org.el (org-insert-link): Improve file link matching.
5425 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5427 * org-colview.el (org-columns-display-here): New argument
5428 DATELINE, to trigger using the new face.
5429 (org-agenda-colview-summarize): Call `org-columns-display-here'
5430 with the new argument.
5432 * org-faces.el (org-agenda-column-dateline): New face.
5434 * org-publish.el (org-publish-org-index): Use index-title at page
5435 title, not as section.
5437 * org-exp.el (org-export-html-format-desc): Respect the
5438 org-protect property.
5439 (org-export-as-html): Protect image specifiers that are in the
5440 description part of a link.
5442 * org.el (org-sort-entries-or-items, org-completing-read)
5443 (org-refile-get-location, org-olpath-completing-read, org-todo)
5444 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5445 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5446 (org-set-property, org-delete-property)
5447 (org-delete-property-globally): Use `org-ido-completing-read'.
5449 * org-remember.el (org-remember-apply-template): Use
5450 `org-ido-completing-read'.
5452 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5454 * org-colview.el (org-columns-edit-value, org-columns-new)
5455 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5457 * org-colview-xemacs.el (org-columns-edit-value)
5458 (org-columns-new, org-insert-columns-dblock): Use
5459 `org-ido-completing-read'.
5461 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5462 `org-ido-completing-read'.
5464 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5465 `org-ido-completing-read'.
5467 * org.el (org-time-today): New function.
5468 (org-matcher-time): Use `org-time-today'. Add special treatment
5469 for "<tomorrow>" and "<yesterday>".
5470 (org-ido-completing-read): New function.
5471 (org-completion-use-ido): New option.
5473 * org-exp.el (org-export-format-source-code): Fix bug in require
5475 (org-export-target-internal-links): Fix bug in search for text
5478 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5480 * org-export-latex.el (org-export-latex-subcontent): Interprete
5481 target aliases as additonal labels.
5483 * org-exp.el (org-export-target-aliases): New variable.
5484 (org-export-preprocess-string)
5485 (org-export-handle-invisible-targets): Fill the alias alist.
5486 (org-export-as-html): Remove the from the anchor, and also
5488 (org-html-level-start): Insert the target aliases as additonal
5491 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5494 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5496 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5497 when following a link with the mouse from the agenda.
5499 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5500 headlines are created.
5502 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5504 * org-exp.el (org-export-preprocess-string): Reorder so that we
5505 can still see ID properties when we collect targets.
5506 (org-export-target-internal-links): Also store targets for ID's.
5508 * org.el (org-link-translation-function): New option.
5509 (org-open-at-point): Call `org-link-translation-function' if
5511 (org-translate-link): New function.
5512 (org-translate-link-from-planner): New function.
5513 (org-open-at-point): Allow interactive commands in elisp links.
5515 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5516 iCalendar quoting. The new one seems to caus problems with
5519 * org.el (org-yank): Set `this-command' to `yank', so that
5520 `yank-pop' will work.
5522 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5524 * org-id.el (org-id-search-archives): New option.
5526 * org.el (org-link-to-org-use-id): New option.
5527 (org-store-link): Use `org-link-to-org-use-id'.
5528 (org-id): Make org-id.el a standard component.
5530 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5532 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5533 hexified version of the tag.
5535 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5536 compliance as far as quoting is concerned.
5538 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5540 * org.el (org-up-heading-safe, org-forward-same-level): Always
5541 call `org-back-to-heading' instead of `outline-back-to-heading'.
5542 (org-back-to-heading): New wrapper around outline-back-to-heading,
5543 with a useful error message telling where the error happened.
5545 * org-list.el (org-update-checkbox-count): Always call
5546 `org-back-to-heading' instead of `outline-back-to-heading'.
5548 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5549 has an `alt' attribute, to ensure XHTML validation.
5551 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5553 * org-publish.el (org-publish-attachment): Allow publishing to
5554 overwrite attachment files.
5556 * org-agenda.el (org-agenda-timerange-leaders): New option.
5557 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5559 * org.el (org-edit-src-exit): Untabify ASCII image before
5573 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5575 * org.el (org-yank): Make any prefix force normal yanking.
5576 Suppress folding if text would be swallowed into a folded
5578 (org-yank-folded-subtrees, org-yank): Docstring updates.
5580 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5583 * org-exp.el (org-export-language-setup): Add Catalan and
5584 Esperanto language entries.
5586 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5588 * org.el (org-refile): Allow refiling of entire regions.
5590 * org-clock.el (org-clock-time%): New function.
5592 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5593 retrieve property values.
5595 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5597 * org-agenda.el (org-agenda-list): Handle the value `only' of
5598 org-agenda-show-log'.
5599 (org-agenda-log-mode): Interpret a double prefix arg.
5601 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5603 * org-exp.el (org-export-html-footnotes-section): New variable.
5604 (org-export-as-html): Use `org-export-html-footnotes-section' to
5605 insert the footnotes.
5606 (org-export-language-setup): Add "Footnotes" to language words.
5608 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5610 * org.el (org-yank): Fix bug when not inserting a subtree.
5612 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5614 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5615 instead of `vm-beginning-of-message'.
5617 * org.el (org-make-link-regexps): Make sure that links to gnus can
5620 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5622 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5625 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5628 * org.el (org-link-abbrev-alist): Improve customization type.
5630 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5633 * org-agenda.el (org-agenda-get-progress): Renamed from
5634 `org-get-closed'. Implement searching for state changes as well.
5635 (org-agenda-log-mode-items): New option.
5636 (org-agenda-log-mode): New option prefix argument, interpreted as
5637 request to show all possible progress info.
5638 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5640 (org-agenda-set-mode-name): Handle the more complex log mode
5642 (org-get-closed): New alias, pointing to `org-get-progress'.
5644 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5646 * org.el (org-file-apps-defaults-gnu)
5647 (org-file-apps-defaults-macosx)
5648 (org-file-apps-defaults-windowsnt): Add an entry defining the
5650 (org-file-apps): Allow `system' as key and value.
5651 (org-open-at-point): Explain the effect of a double prefix arg.
5652 (org-open-file): If the argument `in-emacs' is (16),
5653 i.e. corresponding to a double prefix argument, try to open the
5656 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5658 * org.el (org-insert-link): Abbreviate absolute files names in
5659 links. Also, fix a bug in which the double C-u prefix would not
5662 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5664 * org.el (org-insert-heading): If buffer does not end with a
5665 newline, add one if necessary to insert headline correctly.
5667 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5668 paragraphs, not inside.
5670 * org.el (org-todo): Quote
5671 `org-agenda-headline-snapshot-before-repeat'.
5673 * org-exp.el (org-export-as-html): Fully process link descriptions.
5674 (org-export-html-format-desc): New function.
5675 (org-export-as-html): Collect footnotes into the correct basket.
5676 (org-html-protect): No longer protect quotations marks here, this
5679 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5682 * org-compat.el (org-fit-window-to-buffer): New function (not
5683 really, a preliminary and incomplete version was present earlier,
5686 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5687 `org-fit-window-to-buffer'.
5689 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5691 * org-agenda.el (org-agenda-get-restriction-and-command)
5692 (org-fit-agenda-window, org-agenda-convert-date): Use
5693 `org-fit-window-to-buffer'.
5695 * org-exp.el (org-export-as-html): Process href links through
5696 `org-export-html-format-href'.
5697 (org-export-html-format-href): New function.
5699 * org-agenda.el (org-agenda-todo): Update only the current
5700 headline if this is a repeated TODO, marked done for today.
5701 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5702 only the current line.
5704 * org.el (org-todo): Take a snapshot of the headline if the
5705 repeater might change it.
5707 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5709 * org-publish.el (org-publish-find-title): Remove buffers visited
5710 only for extracting the title.
5712 * org-exp.el (org-export-html-style)
5713 (org-export-html-style-default): Mark style definitions as
5716 * org-publish.el (org-publish-validate-link): Function
5719 2008-11-02 Charles Sebold <csebold@gmail.com>
5721 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5723 (org-plot-quote-timestamp-field): New function.
5724 (org-plot-quote-tsv-field): Call timestamp field function when
5725 necessary rather than just quoting as a string.
5726 (org-plot/gnuplot-to-data): Pass in timefmt property.
5727 (org-plot/gnuplot-script): Supports timefmt property.
5728 (org-plot/gnuplot): Checks for timestamp column before checking
5729 for text index column.
5731 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5733 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5735 * org-publish.el (org-publish-org-index): Create a section in the
5737 (org-publish-org-index): Stop linking to directories.
5739 * org.el (org-emphasis-alist): Use span instead of <u> to
5742 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5745 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5747 * org-jsinfo.el (org-infojs-template): Remove language attribute
5750 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5752 * org-agenda.el (org-agenda-remove-marked-text): New function.
5753 (org-agenda-mark-filtered-text)
5754 (org-agenda-unmark-filtered-text): New functions.
5755 (org-write-agenda): Remove fltered text.
5757 * org.el (org-make-tags-matcher): Give access to TODO "property"
5758 without speed penalty.
5760 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5762 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5764 (org-store-link-props): Make sure adding to the plist works
5767 * org-gnus.el (org-gnus-no-new-news): New function.
5768 (org-gnus-follow-link): Allow the article ID to be a message-id,
5769 in addition to allowing article numbers. Message IDs make much
5771 (org-gnus-store-link): Use message-id to create link.
5773 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5775 * org.el (org-emphasize): Reverse the selection array.
5776 (org-emphasis-alist): Set <code> tags for the verbatim
5779 * org-remember.el (org-remember-handler): Fix bug with
5780 prefix-related changing of the note storage target.
5782 * org-exp.el (org-print-icalendar-entries): Make the exported
5783 priorities compatible with RFC 2445.
5785 * org-clock.el (org-clock-save): Insert time stamp without
5786 dependence on time-stamp.el.
5788 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5790 * org.el ("saveplace"): If saveplace puts point into an invisible
5791 location, make it visible.
5792 (org-make-tags-matcher): Allow inactive time stamps in time
5794 (org-yank-adjusted-subtrees): New option.
5795 (org-yank): Incorporate adjusting trees.
5796 (org-paste-subtree): New argument FOR-YANK which will cause
5797 insertion at point without backing up over white lines, and leave
5798 point at the end of the inserted text. Also if the cursor is
5799 at the beginning of a headline, use the same level or the inserted
5802 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5803 with broken symlinks
5805 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5807 * org-exp.el (org-export-select-tags, org-get-current-options):
5810 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5812 * org-agenda.el (org-format-agenda-item)
5813 (org-agenda-filter-make-matcher): Make sure tags are stored and
5816 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5818 * org.el (org-insert-todo-heading): Fix bug with force-heading
5821 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5823 * org-clock.el (org-clock-in-resume): Add a custom option to
5824 toggle starting the clock from an open clock line.
5825 (org-clock-in): When clocking in to an entry, if
5826 `org-clock-in-resume' is set, check if the first clock line is
5827 open and if so, start the clock from the time in the clock line.
5828 (org-clock-persist): Add a custom option to toggle clock
5830 (org-clock-persist-query-save): Add a custom option to toggle
5831 asking the user if they want to save the running clock when
5833 (org-clock-persist-query-resume): Add a custom option to toggle
5834 asking the user if they want to resume the saved clock when Emacs
5836 (org-clock-save): Add a function to save clock data.
5837 This includes the contents of `org-clock-history' and the buffer
5838 and position of the currently clocked task, if any.
5839 (org-clock-load): Add a function to load clock data.
5840 This populates `org-clock-history', and resumes the saved clocked
5841 task if there is one.
5842 (org-clock-persistence-insinuate): Add a method to set up the
5843 hooks for clock persistence.
5845 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5847 * org-exp.el (org-export-as-ascii): Handle the case that we are
5848 publishing from an indirect buffer.
5850 * org-table.el (org-table-copy-down): Fix bug with time stamp
5853 * org-mouse.el (org-mouse-features): New option.
5854 (org-mode-hook): Turn on features depending on
5855 `org-mouse-features'.
5857 * org.el (org-insert-heading-respect-content): Force heading
5859 (org-insert-heading): keep the folding state of the heading before
5862 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5864 * org-archive.el (org-archive-to-archive-sibling): Handle top
5865 level headlines better.
5867 2008-10-21 Bastien Guerry <bzg@altern.org>
5869 * org-export-latex.el (org-export-latex-classes): Added
5870 \usepackage{graphicx} to the default list of packages.
5872 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5874 * org-agenda.el (org-agenda-filter): Renamed from
5875 `org-agenda-filter-tags'.
5877 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5879 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5880 is not defined as a property in this entry.
5881 (org-add-log-note): Mask prefix argument when immediately storing
5884 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5887 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5889 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5890 after drawers was skipping ahead one line too many, so notes were
5891 inserted after the first note instead of before it.
5893 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5895 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5897 (org-prepare-agenda): Reset the filter tags.
5898 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5899 Show filter tags in mode line.
5901 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5904 * org-export-latex.el (org-latex-entities-regexp): New constant.
5905 (org-export-as-pdf): Use two calls to `shell-command'.
5907 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5909 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5910 Honor the {} value of the subsuperscript setting. Make sure that
5911 longer subsuperscripts are typeset in a roman font.
5913 * org.el (org-clock-update-time-maybe): Compute negative clock
5914 intervals correctly.
5916 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5918 * org.el (org-add-log-setup): Respect
5919 `org-log-state-notes-insert-after-drawers'.
5920 (org-log-state-notes-insert-after-drawers): New option.
5921 (org-todo-trigger-tag-changes): New function.
5922 (org-todo): Call `org-todo-trigger-tag-changes'.
5924 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5926 * org.el (org-add-log-setup): Only skip drawers if the are
5927 immediately after the scheduling keywords.
5929 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5931 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5932 call it with the current todo state to get the state to switch to
5934 (org-clock-in): Use org-indent-line-function to indent clock lines.
5935 (org-clock-find-position): Fix indentation of empty clock drawers.
5937 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5939 * org-publish.el (org-publish-org-to): Handle case when
5940 org-export-to-pdf does return a file name, not a buffer.
5941 (org-publish-org-to-pdf): New function.
5943 * org-export-latex.el (org-export-as-pdf)
5944 (org-export-as-pdf-and-open): New commands.
5946 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5949 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5950 things in protexted regions.
5952 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5954 * org-export-latex.el (org-export-latex-preprocess): Improve
5955 quoting of LaTeX environments.
5957 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5959 * org.el (org-edit-fixed-width-region): Exclude final newline from
5962 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5963 sections, to make internal links work.
5964 (org-export-latex-fontify-headline): Do not remove all text
5965 properties, to make sure that target properties survive this
5968 * org-exp.el (org-export-preprocess-string): Change sequence of
5969 modifications, to make sure links are prepared before the LaTeX
5970 conversions do happen.
5972 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5974 * org-attach.el (org-attach-delete-all): Renamed from
5975 `org-attch-delete'. Add a security query before deleting the
5976 entire directory. New optional argument FORCE can overrule the
5978 (org-attach-delete-one): New command.
5980 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5982 * org-attach.el (org-attach-file-list): Fix bug with directory.
5984 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5986 * org.el (org-apps-regexp-alist): New function.
5987 (org-file-apps): Add auto-mode to the default value.
5988 (org-open-file): Use the new structure of org-file-apps.
5990 * org-attach.el (org-attach): Support the new keys.
5991 (org-attach-method): New option.
5993 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5995 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5998 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5999 of the list value o `org-use-tag-inheritance'.
6001 * org-attach.el (org-attach-auto-tag): New option.
6002 (org-attach-tag, org-attach-untag): New functions.
6003 (org-attach-attach, org-attach-new, org-attach-sync): Call
6005 (org-attach-delete): Call `org-attach-untag'.
6007 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
6009 * org-table.el (orgtbl-self-insert-command): Make this work for
6012 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
6014 * org.el (org-add-log-setup): Limit searc for drawers to entry
6015 text, not to subtree.
6017 * org-clock.el (org-clock-heading-for-remember): New variable.
6018 (org-clock-in): Set `org-clock-heading-for-remember'.
6020 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
6022 * org-remember.el (org-remember-apply-template): Add new
6023 expansions: %k, %K for currently clocked task and a link to the
6024 currently clocked task, and %< to file notes in the currently
6027 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
6029 * org-export-latex.el (org-export-latex-make-header): Also insert
6030 the content of the property :latex-header-extra.
6032 * org-exp.el (org-infile-export-plist): Put the content of
6033 #+LATEX_HEADER: into the property :latex-header-extra.
6035 * org-colview.el (org-columns-get-format-and-top-level): Remove
6036 resetting the marker.
6038 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6039 Remove resetting the marker.
6041 * org.el (org-entry-property-inherited-from): Improve docstring.
6042 (org-entry-get-with-inheritance): Reset marker before starting the
6045 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6047 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
6049 * org.el (org-entry-get-multivalued-property)
6050 (org-entry-protect-space, org-entry-restore-space): New
6052 (org-file-apps-defaults-macosx): Let postscript files be opened by
6054 (org-time-stamp-inactive): Call `org-time-stamp'.
6055 (org-time-stamp): New argument `inactive'. Also edit inacive
6056 stamps. Convert time stamp type.
6057 (org-open-file): Interpret the `default' value for the `command'
6060 * org-id.el (org-id-int-to-b36-one-digit)
6061 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6062 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6065 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
6067 * org-id.el (org-id-reverse-string): New function.
6068 (org-id-new): Use `org-id-reverse-string' to make sure the
6069 beginning chars of the ID are mutating fast. This allows to use a
6070 directory structure to spread things better.
6071 (org-id-prefix): Changed default to nil.
6073 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6074 restore the column of the cursor position.
6076 * org-remember.el (org-remember-apply-template): Remove properties
6079 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
6081 * org-wl.el (org-wl-open): Remove useless call to
6082 `wl-thread-open-all'.
6084 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6087 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
6089 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6090 `org-bbdb-anniversaries'.
6092 * org.el (org-get-next-sibling, org-forward-same-level): New
6093 functions, similar to the outline versions, but invisible headings
6096 2008-09-25 Bastien Guerry <bzg@altern.org>
6098 * org.el (org-auto-repeat-maybe): Insert a space between
6099 the timestamp's type and the timestamp itself.
6101 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
6103 * org-table.el (org-table-sum): Do not format the result with %g,
6104 it does rounding when there are too many digits.
6106 * org.el (org-map-entries): Protect the keyword-selecting variables.
6108 2008-09-23 Bastien Guerry <bzg@altern.org>
6110 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6111 against all agenda files.
6113 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
6115 * org-list.el: New file, aggregating list functions from org.el
6116 and org-export-latex.el.
6118 * org.el (org-edit-src-region-extra): New option.
6120 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
6122 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6125 2008-09-22 Bastien Guerry <bzg@altern.org>
6127 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6129 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
6131 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6132 hline work correctly.
6133 (org-plot/gnuplot-script): Put commas at the end of each script
6136 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
6138 * org.el (org-get-refile-targets): Replace links with their
6140 (org-imenu-get-tree): Replace links with their descriptions.
6142 * org-remember.el (org-remember-apply-template): Add a new
6143 expansion for adding properties to remember items.
6145 * org.el (org-add-log-setup): Skip over drawers (properties,
6146 clocks etc) when adding notes.
6148 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6149 items as well as the start and end times.
6151 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6152 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6154 * org-remember.el (org-get-x-clipboard): Use the compat
6155 function to get clipboard values when x-selection-value is
6156 unavailable. Use substring-no-properties instead of
6157 set-text-properties to remove text properties from the clipboard
6160 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6161 modeline clock string, and display the full todo value in the
6162 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6163 the currently clocked task.
6164 (org-clock-string-limit): Add a custom value for the maximum
6165 length of the clock string in the modeline.
6166 (org-clock-mode-map): Add a keymap for the modeline string
6168 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
6170 * org-compat.el (org-propertize): New function.
6172 2008-09-20 Bastien Guerry <bzg@altern.org>
6174 * org-export-latex.el (org-export-latex-tables): protect exported
6175 tables from further special chars conversion.
6176 (org-export-latex-preprocess): Preserve LaTeX environments.
6177 (org-list-parse-list): Parse descriptive lists.
6178 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6179 (org-list-to-texinfo): Export descriptive lists.
6180 (org-quote-chars): Remove.
6181 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6182 (org-export-latex-list-beginning-re): Rename to
6183 `org-list-beginning-re'
6184 (org-list-item-begin): Rename to `org-list-item-beginning'
6186 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
6188 * org.el (org-refile): Allow refiling to the last entry in the
6190 (org-get-tags-at): Fix bug when inheritance is turned off.
6192 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
6194 * org.el (org-indent-line-function): No longer check for src
6195 regions, this is too much overhead.
6197 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6200 * org.el (org-scan-tags): Make sure that tags matching is not case
6201 sensitive. TODO keyword matching is case sensitive, however, to
6202 avoid confusion with similar words that are not meant to be
6205 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
6207 * org.el (org-get-local-tags-at): New function.
6208 (org-get-local-tags): New function.
6210 * org-exp.el (org-export-get-categories): New function.
6212 * org-agenda.el (org-sorting-choice)
6213 (org-agenda-sorting-strategy, org-agenda-get-todos)
6214 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6215 (org-agenda-get-scheduled, org-agenda-get-blocks)
6216 (org-entries-lessp): Implement sorting by TODO state.
6217 (org-cmp-todo-state): New defsubst.
6219 * org-colview.el (org-colview-construct-allowed-dates): New
6221 (org-columns-next-allowed-value): Use
6222 `org-colview-construct-allowed-dates'.
6224 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6226 (org-columns-next-allowed-value): Use
6227 `org-colview-construct-allowed-dates'.
6229 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
6231 * org.el (org-protect-slash): New function.
6232 (org-get-refile-targets): Use `org-protect-slash'.
6234 * org-agenda.el (org-global-tags-completion-table): New variable.
6236 * org-exp.el (org-export-handle-export-tags): New function.
6237 (org-export-preprocess-string): Call
6238 `org-export-handle-export-tags'.
6240 * org-plot.el: New file.
6242 * org-publish.el (org-publish-expand-components): Function removed.
6243 (org-publish-expand-projects): Allow components to have components.
6245 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
6247 * org.el (org-indent-line-function): Do not indent in regions that
6248 are external source code.
6249 (org-yank-and-fold-if-subtree): New function.
6251 * org-agenda.el (org-agenda-todayp): New function.
6252 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6253 `org-agenda-todayp'.
6255 * org.el (org-insert-heading-respect-content)
6256 (org-insert-todo-heading-respect-content): New commands.
6257 (org-insert-heading-respect-content): New option.
6258 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6260 * org-clock.el (org-clock-find-position): Make sure the note after
6261 the clock line gets moved into the new clock drawer.
6263 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
6265 * org-id.el (org-id-new): New option.
6267 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
6269 * org-table.el (org-table-copy-down): Avoid overflow during
6270 increment. Use prefix argument 0 to temporarily disable the
6273 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
6275 * org-exp.el (org-export-as-html): Do not turn on the major mode
6276 if the buffer will be killed anyway.
6277 (org-get-current-options): Exclude the #+TEXT field.
6278 (org-export-as-html): Make sure text before the first headline is
6281 * org-publish.el (org-publish-org-to): Tell the exporter that this
6282 buffer will be killed, so it is not necessary to do major mode
6285 * org-archive.el (org-archive-to-archive-sibling): Show empty
6286 lines after folding the archive sibling.
6288 * org.el (org-log-note-extra): New variable.
6290 2008-09-05 Bastien Guerry <bzg@altern.org>
6292 * org.el (org-additional-option-like-keywords): Added keywords for
6293 the _QUOTE, _VERSE and _SRC environments.
6295 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6296 exporting _QUOTE and _VERSE environments.
6298 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
6300 * org-agenda.el (org-agenda-filter-by-tag): New command.
6302 * org-exp.el (org-get-current-options): Remove angular brackets
6303 from the date entry.
6305 * org.el (org-edit-fixed-width-region): New function.
6306 (org-edit-fixed-width-region): Also try
6307 `org-edit-fixed-width-region'.
6308 (org-edit-fixed-width-region-mode): New option.
6309 (org-activate-code): Only interprete lines starting with colon
6310 plus a space as example lines.
6312 * org-remember.el (org-remember-templates): Add nil instead of
6313 empty strings to fix the length of remember templates.
6315 * org-table.el (org-calc-default-modes): Fix the time format for
6316 calc, from 12 hour to 24 hour clock.
6318 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
6320 * org-agenda.el (org-agenda-get-deadlines)
6321 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6322 entries that are pre-warnings of deadlines or reminders.
6324 * org.el (org-sort-entries-or-items): Make numeric and alpha
6325 comparisons ignore any TODO keyword and priority cookie.
6327 * org-remember.el (org-remember-handler): Reinterpretation of the
6330 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
6332 * org-agenda.el (org-agenda-get-scheduled): Use new
6333 `org-scheduled' face.
6335 * org-faces.el (org-scheduled): New face.
6337 * org-wl.el (org-wl-open): Remove incorrect declaration.
6339 * org-gnus.el (org-gnus-store-link): Support for :to information
6342 * org-exp.el (org-export-as-html): Fixed typo in creator
6344 (org-export-protect-examples): New parameter indent. Insert extra
6345 spaces only when this parameter is specified.
6346 (org-export-preprocess-string): Call `org-export-protect-examples'
6347 with an indentation parameter when exporting to ASCII.
6349 * org-remember.el (org-remember-templates)
6350 (org-remember-apply-template): Allow the file component to be a
6353 * org.el (org-goto-local-search-headings): Renamed from
6354 `org-goto-local-search-forward-headings'. Added the possibility
6355 to search backwards.
6357 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
6359 * org-export-latex.el (org-export-latex): New customization
6362 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6364 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
6366 * org-exp.el (org-html-do-expand): Allow {} to terminate
6369 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
6371 * org.el (org-buffer-list): Select buffers based on major mode,
6374 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6376 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6379 * org-colview.el (org-columns-display-here): Use
6380 `org-columns-modify-value-for-display-function'.
6382 * org-colview-xemacs.el (org-columns-display-here): Use
6383 `org-columns-modify-value-for-display-function'.
6385 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6387 * org.el (org-columns-modify-value-for-display-function): New option.
6399 * org-publish.el (org-publish-file): Make sure the directory match
6400 for the publishing directory works correctly.
6402 * org-agenda.el (org-agenda-execute-calendar-command)
6403 (org-agenda-diary-entry): Additional optional argument.
6405 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6407 * org-exp.el (org-export-as-html): Add attributes also in mailto
6410 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6419 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6421 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6422 sure that calls from `org-export-region-as-html' do not do the
6423 special check for a subtree.
6425 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6427 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6429 2008-07-20 Juri Linkov <juri@jurta.org>
6431 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6432 new keymap `narrow-map' instead of binding "\C-xns".
6434 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6436 * org.el (org-open-file): Use
6437 `org-open-directory-means-index-dot-org'.
6438 (org-open-directory-means-index-dot-org): New option.
6440 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6442 * org.el (org-make-link-string): Remove link attributes from
6444 (org-open-at-point): Remove link attributes bevore using the path.
6446 * org-exp.el (org-export-as-html): Handle link attributes.
6448 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6450 * org-table.el (org-table-to-lisp): New function.
6452 * org.el (org-narrow-to-subtree): Do not include the final newline
6453 into the narrowed region.
6455 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6456 bug with user-define skipping condition.
6458 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6460 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6462 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6464 * org-exp.el (org-export-html-style-default): Automatic overflow
6465 handling for pre fields.
6466 (org-export-as-ascii, org-export-as-html): Change default format
6469 * org-table.el (org-table-export): Offer completion for translator
6470 functions, and do not require a heading above the table.
6472 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6473 Cater for the case of a list starting in the first line of the
6476 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6478 * org-publish.el (org-publish-find-title): Bug fix.
6479 (org-publish-org-index): Implement new :index-style option.
6481 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6483 * org-publish.el (org-publish-timestamp-filename): Use
6484 SHA1-encoded file names in the timestamp directory.
6486 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6488 * org-publish.el (org-publish-needed-p): Be verbose about files
6489 published and files skipped.
6491 * org-exp.el (org-export-preprocess-string): Swap link
6492 normalization and inernal link targeting.
6494 * org-publish.el (org-publish-needed-p): Create timestamp
6495 directory when it does not exist.
6497 2008-07-04 Bastien Guerry <bzg@altern.org>
6499 * org-clock.el (org-clock-out-when-done): Doc fix.
6501 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6503 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6504 Ignore case when searching for the COMMENT cookie at export time.
6506 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6508 * org-exp.el (org-get-file-contents)
6509 (org-get-and-remove-property): New functions.
6510 (org-export-handle-include-files): Handle the new prefix options.
6511 (org-export-as-html): Fix the verse environment.
6513 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6515 * org.el (org-time=, org-time<, org-time<=, org-time>)
6516 (org-time>=, org-time<>, org-2ft): New functions.
6517 (org-op-to-function): Also provide for the time testing fucntions.
6519 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6521 * org-exp.el (org-export-html-style-default): New constant.
6523 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6525 * org-exp.el (org-export-html-style-extra): New variable.
6526 (org-export-splice-style): New function.
6528 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6530 * org-exp.el (org-export-plist-vars, org-export-as-html):
6531 Implement `org-export-creator-info'.
6532 (org-export-creator-info): New option.
6534 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6536 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6537 (org-property-drawer-re, org-clock-drawer-re): New constants.
6539 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6541 * org-exp.el (org-icalendar-use-deadline)
6542 (org-icalendar-use-scheduled): New options.
6543 (org-icalendar-include-todo): Default changed to t.
6544 (org-print-icalendar-entries): Implement better utilization of
6545 scheduling and deadline time stamps.
6546 (org-export-target-internal-links, org-export-as-html): Allow file
6547 lines without the "file:" prefix if the file path is an absolute
6548 path or starts with ".".
6550 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6552 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6554 2008-06-18 Glenn Morris <rgm@gnu.org>
6555 * org.el (org-map-entries): Let-bind `file'.
6557 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6559 * org.el (org-agenda-skip-archived-trees): Docstring now
6560 discourages using this.
6561 (org-scan-tags): Check for org-agenda-archives-mode.
6562 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6563 (org-agenda-files): Functionality of second arg changed.
6565 * org-agenda.el (org-agenda-archives-mode): New variable
6566 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6567 (org-search-view, org-todo-list, org-tags-view)
6568 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6570 (org-agenda-quit): Reset the archives mode.
6571 (org-agenda-archives-mode): New command.
6572 (org-agenda-set-mode-name): Include archives info.
6574 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6576 * org.el (org-paste-subtree): Make sure the yanked headline is
6577 visible if it was yanked at a visible point.
6578 (org-move-item-up): Fix the bug with moving white space at the end
6580 (org-show-empty-lines-in-parent): New function.
6582 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6584 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6586 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6588 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6589 agenda prefix as well.
6591 * org-publish.el (org-publish-org-index): Make a properly indented
6594 * org.el (org-calendar-agenda-action-key): New option.
6595 (org-get-cursor-date): New function.
6596 (org-mark-entry-for-agenda-action): New command.
6597 (org-overriding-default-time): New variable.
6598 (org-read-date): Respect `org-overriding-default-time'.
6600 * org-remember.el (org-remember-apply-template): Respect the
6601 ovverriding default time.
6603 * org-agenda.el (org-agenda-action-marker): New variable.
6604 (org-agenda-action): New command.
6605 (org-agenda-do-action): New function.
6607 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6609 * org.el (org-schedule, org-deadline): Protect scheduled and
6610 deadline tasks against changes that accidently remove the
6611 repeater. Also show a message with the new date when done.
6613 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6615 * org.el (org-beginning-of-line): Cater for the case when there
6616 are tags but no headline text.
6617 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6620 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6622 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6623 the return value is nil instead of "nil" when there is no match.
6625 * org-exp.el (org-insert-centered): Use fill-column instead of
6627 (org-export-as-ascii): Use string-width to measure the width of
6630 * org.el (org-diary-to-ical-string): No longer kill buffer
6631 FROMBUF, this is now done by the caller.
6633 * org-exp.el (org-print-icalendar-entries): Move the call to
6634 `org-diary-to-ical-string' out of the loop, and kill the buffer
6637 * org-remember.el (org-remember-visit-immediately): Position
6638 cursor after moving to the note.
6639 (org-remember-apply-template): Use a text property to record the
6641 (org-remember-handler): Align tags after pasting the note.
6643 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6645 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6647 * org-agenda.el (org-agenda-open-link): If there is an
6648 org-bbdb-name property in the current line, jump to that bbdb
6651 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6652 text property, so that the agenda knows where this entry comes
6655 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6656 interaction between clocking-in from the agenda, and automatic
6657 task state switching.
6659 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6661 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6662 zmacs-region stays after this command in XEmacs.
6664 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6666 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6668 * org-remember.el (org-remember-templates): Fix bug in
6669 customization type definition.
6671 * org.el (org-map-entries): New function.
6673 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6675 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6676 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6678 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6680 * org-remember.el (org-jump-to-target-location): New variable.
6681 (org-remember-apply-template): Set
6682 `org-remember-apply-template' if requested by template.
6683 (org-remember-handler): Start an idle timer to jump to
6686 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6688 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6690 (org-get-tags-at): Add the content of `org-file-tags'.
6692 * org-exp.el (org-export-handle-comments): Fix bug with several
6693 comment lines after each other.
6694 (org-number-to-roman, org-number-to-counter): New functions.
6695 (org-export-section-number-format): New option.
6697 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6699 * org-exp.el (org-export-protect-examples): Catch the case of a
6700 missing end_example line.
6702 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6703 `org-file-tags' to nil.
6705 * org-colview.el (org-columns-next-allowed-value): Handle next
6706 argument NTH to directly select a value.
6708 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6709 argument NTH to directly select a value.
6711 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6713 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6715 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6717 * org.el (org-columns-ellipses): New option.
6719 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6721 * org-colview.el (org-columns-add-ellipses): New function.
6722 (org-columns-compact-links): New function.
6723 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6724 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6726 (org-columns-edit-value): Fixed bug with editing values from
6728 (org-columns-redo): Also redo the agenda itself.
6730 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6732 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6735 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6737 * org-exp.el (org-export-ascii-preprocess): Renamed from
6738 `org-export-ascii-clean-string'.
6739 (org-export-kill-licensed-text)
6740 (org-export-define-heading-targets)
6741 (org-export-handle-invisible-targets)
6742 (org-export-target-internal-links)
6743 (org-export-remove-or-extract-drawers)
6744 (org-export-remove-archived-trees)
6745 (org-export-protect-quoted-subtrees)
6746 (org-export-protect-verbatim, org-export-protect-examples)
6747 (org-export-select-backend-specific-text)
6748 (org-export-mark-blockquote-and-verse)
6749 (org-export-remove-comment-blocks-and-subtrees)
6750 (org-export-handle-comments, org-export-mark-radio-links)
6751 (org-export-remove-special-table-lines)
6752 (org-export-normalize-links)
6753 (org-export-concatenate-multiline-links)
6754 (org-export-concatenate-multiline-emphasis): New functions,
6755 obtained from spliiting the export preprocessor.
6757 * org-table.el (org-table-recalculate): Improve error message if
6758 the row number is invalid.
6760 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6762 * org-archive.el (org-archive-save-context-info): Fix bugs in
6763 customization setup and docstring.
6765 * org-exp.el (org-export-html-style): Changed the size of in the
6766 <pre> element to 90%.
6768 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6770 * org.el (org-find-src-example-start): Function removed.
6771 (org-edit-src-find-region-and-lang): New function.
6773 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6775 * org.el (org-edit-src-exit): New function.
6776 (org-exit-edit-mode): New minor mode.
6778 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6779 comment-like lines from protected examples.
6781 * org.el (org-edit-src-example, org-find-src-example-start)
6782 (org-protect-source-example, org-edit-special): New functions.
6784 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6786 * org-publish.el (org-publish-project-alist): Fix typo in
6788 (org-publish-project-alist): Handle :index-title property.
6790 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6792 * org-export-latex.el (org-export-as-latex): Make sure region
6793 bounds are correct. Parse subtree properties relating to export.
6795 * org-exp.el (org-export-add-options-to-plist): New function.
6796 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6798 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6800 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6803 * org-exp.el (org-export-get-title-from-subtree)
6804 (org-export-as-ascii, org-export-as-html): Make sure the original
6805 region-beginning and region-end are used, even after moving
6807 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6810 * org-remember.el (org-remember-last-stored-marker): New variable.
6811 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6812 (org-remember-handler): Also use marker to remember
6813 last-stored position.
6815 * org.el (org-goto-marker-or-bmk): New function.
6817 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6819 * org.el (org-file-properties): Renamed from `org-local-properties'.
6820 (org-scan-tags): Take file tags into account.
6821 (org-tags-match-list-sublevels): Default changed to t.
6823 * org-exp.el (org-export-as-html): Close paragraph after a
6826 * org.el (org-update-parent-todo-statistics): New function.
6828 * org-exp.el (org-icalendar-store-UID): New option.
6829 (org-icalendar-force-UID): Option removed.
6830 (org-print-icalendar-entries): IMplement UIDs.
6832 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6834 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6836 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6838 * org-faces.el (org-column): Document how this face is being used
6839 and why sometimes the background faces shine through.
6841 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6843 * org-publish.el (org-publish-attachment): Create publishing
6844 directory if it does not yet exist.
6846 * org-table.el (org-calc-default-modes): Change default number
6847 format to (float 8).
6849 * org.el (org-olpath-completing-read): New function.
6850 (org-time-clocksum-format): New option.
6851 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6853 * org-clock.el (org-clock-display, org-clock-out)
6854 (org-update-mode-line): Use `org-time-clocksum-format'.
6856 * org-colview-xemacs.el (org-columns-number-to-string): Use
6857 `org-time-clocksum-format'.
6859 * org-colview.el (org-columns-number-to-string): Use
6860 `org-time-clocksum-format'.
6862 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6864 * org-id.el: New file, move from contrib to core.
6866 * org-exp.el (org-icalendar-force-UID): New option.
6868 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6870 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6871 shifted by one day if theere is a date range without an end
6874 * org.el (org-try-structure-completion): New function.
6876 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6878 * org.el (org-set-font-lock-defaults): Improve fontification of
6880 (org-insert-item): Handle description lists.
6881 (org-adaptive-fill-function): Improve auto indentation in
6884 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6885 Implement VERSE environment.
6886 (org-export-preprocess-string): Implement the COMMENT
6889 * org-export-latex.el (org-export-latex-preprocess): Implement
6892 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6894 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6897 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6899 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6901 * org.el (org-quote-csv-field): New functions.
6903 * org-table.el (org-table-export-default-format): Remove :splice
6904 from default format, we get the same effect by not specifying
6906 (org-table-export): Improve setup, distinguish better between
6907 interactive and non-interactive use, allow specifying the format
6908 on the fly, better protection against wrong file names.
6909 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6910 and :tend when :splice is omitted.
6912 2008-05-09 Bernt Hansen <bernt@norang.ca>
6914 * org-clock.el (org-clock-select-task): Make sure the selection
6915 letters are 1-9 and A-Z, no special characters.
6917 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6919 * org-exp.el (org-export-htmlize): New group.
6920 (org-export-htmlize-output-type)
6921 (org-export-htmlize-css-font-prefix): New options.
6922 (org-export-htmlize-region-for-paste): New function.
6923 (org-export-htmlize-generate-css): New command.
6925 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6927 * org/org.el (org-modules, org-format-latex-options):
6928 * org/org-archive.el (org-archive-stamp-time)
6929 (org-archive-save-context-info):
6930 * org/org-faces.el (org-hide):
6931 * org/org-irc.el (org-irc-parse-link):
6932 * org/org-macs.el (org-call-with-arg, org-autoload):
6933 * org/org-mew.el (org-mew-store-link):
6934 * org/org-remember.el (org-remember-store-without-prompt)
6935 (org-remember-templates): Fix typos in docstrings.
6937 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6939 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6940 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6941 (org-bbdb-anniv-split): Fix typos in docstrings.
6943 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6944 (org-publish-use-timestamps-flag): Reflow docstring.
6945 (org-publish-files-alist): Fix typos in docstring.
6947 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6949 * org.el (org-set-visibility-according-to-property): New function.
6950 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6951 and compute the regular expressions, and update font-lock.
6952 (org-property-re): Allow a dash in property names.
6954 * org-archive.el (org-extract-archive-file): Insert the file name
6955 without the path into the format, to allow the location format to
6956 contain a subdirectory.
6958 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6959 of buffer, and the `org-agenda-type' property undefined, use the
6960 value from the character before.
6962 * org.el (org-add-planning-info): Don't let indentation for
6963 would-be timestamp become extra whitespace at the end of headline.
6965 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6967 * org.el (org-remove-double-quotes, org-file-contents): New
6970 * org-exp.el (org-infile-export-plist): Also parse the
6971 contents of #+SETUPFILE files, recursively.
6973 * org.el (org-set-regexps-and-options): Also parse the
6974 contents of #+SETUPFILE files, recursively.
6976 * org-exp.el (org-export-handle-include-files): New function.
6977 (org-export-preprocess-string): Call
6978 `org-export-handle-include-files'.
6980 * org.el (org-delete-property-globally)
6981 (org-delete-property, org-set-property): Ignore case during
6983 (org-set-property): Use `org-completing-read' instead of
6986 * org.el (org-complete-expand-structure-template): New,
6987 experimental function.
6988 (org-structure-template-alist): New, experimental option.
6989 (org-complete): Call `org-complete-expand-structure-template'.
6991 2008-05-06 Bastien Guerry <bzg@altern.org>
6993 * org-export-latex.el (org-export-latex-preprocess): Added
6994 support for blockquotes.
6996 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6998 * org.el (org-read-date-analyze): Catch the case where only a
7001 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
7003 * org.el (org-set-font-lock-defaults): Make the description
7006 * org-exp.el (org-export-as-html, org-close-li): Implement
7009 2008-05-04 Jason Riedy <jason@acm.org>
7011 * org-table.el (*orgtbl-default-fmt*): New variable.
7012 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7013 when there is no other fmt available.
7015 (orgtbl-to-generic): Allow an explicitly nil :tstart or
7016 :tend to suppress the appropriate string.
7018 (orgtbl-to-orgtbl): New function for translating to another orgtbl
7021 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
7023 * org.el (org-read-date-analyze): "." as an alias for "+0" in
7026 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7029 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7032 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
7034 * org-clock.el (org-clock-find-position): Don't include notes
7037 * org-archive.el (org-archive-subtree): No longer remove an
7038 extra line after cutting the subtree. `org-cut-subtree' already
7041 * org-remember.el (org-remember-handler): Only kill the target
7042 buffer if it does not contain the running clock.
7044 * org.el (org-markers-to-move): New variable.
7045 (org-save-markers-in-region, org-check-and-save-marker)
7046 (org-reinstall-markers-in-region): New function.
7047 (org-move-subtree-down, org-copy-subtree): Remember relative
7048 marker positions before cutting.
7049 (org-move-subtree-down, org-paste-subtree): Restore relative
7050 marker positions after pasting.
7052 * org-remember.el (org-remember-clock-out-on-exit): New option.
7053 (org-remember-finalize): Clock out only if the setting in
7054 `org-remember-clock-out-on-exit' requires it.
7055 (org-remember-handler): Do the cleanup in the buffer, to make sure
7056 that the clock marker remains in tact.
7058 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
7060 * org-clock.el (org-clock-goto): Widen buffer if necessary.
7061 (org-clock-in): Make sure that also tasks outside the narrowed
7062 region will be clocked in correctly.
7063 (org-clock-insert-selection-line): Widen the buffer so that we can
7064 find the correct task heading.
7066 * org.el (org-base-buffer): New function.
7068 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7069 and ";" are escaped.
7070 (org-print-icalendar-entries): Also apply
7071 `org-icalendar-cleanup-string' to the headline, not only to the
7074 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
7076 * org-exp.el (org-export-preprocess-hook): New hook.
7077 (org-export-preprocess-string): Call
7078 `org-export-preprocess-hook'.
7080 * org.el (org-font-lock-hook): New variable.
7081 (org-font-lock-hook): New function.
7082 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7086 ;; add-log-time-zone-rule: t
7089 Copyright (C) 2008 Free Software Foundation, Inc.
7091 This file is part of GNU Emacs.
7093 GNU Emacs is free software: you can redistribute it and/or modify
7094 it under the terms of the GNU General Public License as published by
7095 the Free Software Foundation, either version 3 of the License, or
7096 (at your option) any later version.
7098 GNU Emacs is distributed in the hope that it will be useful,
7099 but WITHOUT ANY WARRANTY; without even the implied warranty of
7100 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7101 GNU General Public License for more details.
7103 You should have received a copy of the GNU General Public License
7104 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7106 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c