1 2010-02-03 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-open-at-point): Also check for text property
4 org-linked-text before offering collected links.
6 2010-02-03 Stephen Eglen <stephen@gnu.org>
8 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
9 Optionally extract time specification from text and add to the
12 2010-02-03 Carsten Dominik <carsten.dominik@gmail.com>
14 * org-exp.el (org-html-entities): Fix typo.
16 * org-latex.el (org-export-latex-make-header): Use \providecommand
17 to make sure the \alert macro is defined.
19 * org.el (org-format-latex-signal-error)
20 (org-create-formula-image): Use `org-format-latex-signal-error'.
22 2010-02-02 Stephen Eglen <stephen@gnu.org>
24 * org.el (org-store-link): For dired buffers, use
25 default-directory as link name if dired-get-filename returns
28 2010-02-02 Carsten Dominik <carsten.dominik@gmail.com>
30 * org-exp.el (org-export-concatenate-multiline-links): The for
31 protectedness at beginning of match.
33 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
34 AUTO as a coding system, instead default to utf8.
36 2010-02-01 Carsten Dominik <carsten.dominik@gmail.com>
38 * org.el (org-block-todo-from-children-or-siblings-or-parent)
39 (org-block-todo-from-checkboxes): Respect the local variable
40 value when deciding if blocking should be active.
42 * org-latex.el (org-export-latex-make-header): Define the align
43 macro if it is not yet defined.
45 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
46 `org-insert-heading' with the INVISIBLE-OK argument.
48 * org-mac-message.el (org-mac-message-insert-flagged): Call
49 `org-insert-heading' with the INVISIBLE-OK argument.
51 * org.el (org-insert-heading): New argument INVISIBLE-OK.
53 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
56 * org-html.el (org-html-level-start): Use the
57 `html-container-class' text property to set an additional class
58 for an outline container.
60 * org-exp.el (org-export-remember-html-container-classes): New
62 (org-export-preprocess-string): Call
63 `org-export-remember-html-container-classes'.
65 * org.el (org-cycle): Mention level cycling in the docstring.
66 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
68 * org-remember.el (org-remember-apply-template): Do file insertion
71 2010-01-31 Carsten Dominik <carsten.dominik@gmail.com>
73 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
74 problem with mis-aligned graphs when showing habits.
76 2010-01-28 Mikael Fornius <mfo@abc.se>
78 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
79 when assigning. Begin using numerical characters when all in name
80 is used up. This is to spare alphanumeric characters for better
81 match with other keywords.
83 2010-01-28 Carsten Dominik <carsten.dominik@gmail.com>
85 * org-exp.el (org-export-preprocess-hook): Improve documentation.
87 * org-latex.el (org-export-latex-preprocess): More consistent
88 conversion and protection of the words LaTeX and TeX.
89 (org-export-latex-fontify-headline, org-export-latex-preprocess):
90 Allow angle brackets in commands, for beamer.
92 2010-01-26 Carsten Dominik <carsten.dominik@gmail.com>
94 * org-clock.el (org-clock-in): Improve the look of the clock line
97 2010-01-24 Carsten Dominik <carsten.dominik@gmail.com>
99 * org-latex.el (org-export-latex-classes): Use AUTO as the place
100 holder string for the coding system. And improve the
102 (org-export-latex-fix-inputenc): Only modify the coding system if
103 it is given by the placeholder AUTO.
105 2010-01-23 Carsten Dominik <carsten.dominik@gmail.com>
107 * org-clock.el (org-task-overrun-text): New option.
108 (org-task-overrun, org-clock-update-period): New variables.
109 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
111 (org-clock-notify-once-if-expired): Check if clock is overrun.
113 * org-faces.el: New face `org-mode-line-clock-overrun'.
115 2010-01-18 Jan Böcker <jan.boecker@jboecker.de>
117 * org.el (org-narrow-to-subtree): Position the end of the narrowed
118 region before the line with the next heading, to prevent the user
119 from prepending text to the next headline.
121 2010-01-20 Stephen Eglen <stephen@gnu.org>
123 * org-agenda.el (org-get-time-of-day): Use
124 org-agenda-time-leading-zero to allow leading zero (rather than
127 2010-01-20 Carsten Dominik <carsten.dominik@gmail.com>
129 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
130 org-datetree.el is loaded.
132 * org-datetree.el: autoload `org-datetree-find-day-create'
134 * org-latex.el (org-export-latex-hyperref-format): New option.
135 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
137 2010-01-18 Carsten Dominik <carsten.dominik@gmail.com>
139 * org-ctags.el (org-ctags-enable): Change order of functions.
140 (org-ctags-create-tags): Add wildcard to file name expansion.
142 2010-01-17 Carsten Dominik <carsten.dominik@gmail.com>
144 * org.el (org-entry-properties): Fix some important bugs.
146 2010-01-16 Carsten Dominik <carsten.dominik@gmail.com>
148 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
149 the table is not explicitly given.
151 2010-01-15 Carsten Dominik <carsten.dominik@gmail.com>
153 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
155 (org-clock-out-if-current): Work with the new list value of
156 `org-clock-out-when-done'.
157 (org-clock-out, org-clock-out-if-current): Avoid circular logic
158 between clocking out and state changes.
160 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
162 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
163 accident protect a character that is before a backslash.
165 2010-01-14 Carsten Dominik <carsten.dominik@gmail.com>
167 * org-agenda.el (org-diary-class): Use
168 `org-order-calendar-date-args'.
170 * org.el (org-order-calendar-date-args): New function.
172 * org-exp.el (org-export-target-internal-links): Check for
173 protectedness after the first bracket.
175 * org.el (org-entry-properties): Don't match wrong-case TODO
178 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
179 Document that ARG is passed through to remove the date.
180 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
181 not read a date when the user has given a `C-u' prefix.
183 2010-01-11 Carsten Dominik <carsten.dominik@gmail.com>
185 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
188 2010-01-10 Carsten Dominik <carsten.dominik@gmail.com>
190 * org-latex.el (org-export-latex-fix-inputenc): New function.
191 (org-export-latex-inputenc-alist): New option.
193 * org-exp.el (org-export): New key SPC to publish enclosing
196 2010-01-09 Carsten Dominik <carsten.dominik@gmail.com>
198 * org-indent.el (org-indent-add-properties): Catch case when there
199 is no headline in the buffer.
201 2010-01-08 Carsten Dominik <carsten.dominik@gmail.com>
203 * org-exp.el (org-html-entities): Add checkmark symbol.
205 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
206 verbatim code for ASCII export.
208 * org.el (org-update-statistics-cookies): Also see checkboxes in
211 2010-01-07 Carsten Dominik <carsten.dominik@gmail.com>
213 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
216 * org-beamer.el (org-beamer-amend-header): Change the location
217 where `org-beamer-header-extra' is inserted.
219 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
220 just for computing this regexp.
222 2010-01-06 Carsten Dominik <carsten.dominik@gmail.com>
224 * org-beamer.el (org-beamer-frame-default-options): New option.
225 (org-beamer-sectioning): Use default options if the user does not
227 (org-beamer-fix-toc): Put a frame around the table of contents.
229 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
230 sure case-folding works well when processing comment stuff.
232 * org-latex.el (org-export-latex-after-save-hook): New hook.
233 (org-export-as-latex): Run the new hook.
235 2010-01-05 Carsten Dominik <carsten.dominik@gmail.com>
237 * org-beamer.el (org-beamer-environments-default): Add the note
239 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
240 lines and collect and combine the content.
241 (org-beamer-after-initial-vars): Check for note tags and make sure
242 they will be seen like a property.
244 * org.el (org-offer-links-in-entry): Fix bug when there is a
247 * org-exp.el (org-export): Make sure the mark is activated, also
248 when `transient-mark-mode' is off.
250 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
251 (org-agenda-search-view-search-words-only): Obsolete variable, is
252 now an alias for `org-agenda-search-view-always-boolean'.
253 (org-agenda-search-view-force-full-words): New option.
254 (org-search-view): Improve docstring, and implement a better logic
255 for Boolean and phrase searches.
256 (org-agenda-last-search-view-search-was-boolean): New variable.
257 (org-agenda-manipulate-query): Consider the type of the last
258 search when modifying the search string.
260 2010-01-04 Carsten Dominik <carsten.dominik@gmail.com>
262 * org-latex.el (org-export-as-latex): Do the first letbind in the
265 * org-agenda.el (org-get-entries-from-diary): Add the new face to
268 * org-faces.el (org-agenda-diary): New face.
270 * org.el (org-make-link-regexps): Allow regexp-special characters
272 (org-open-file): When in-emacs is `system', also force system
273 opening, like when the value was `(16)'.
274 (org-update-statistics-cookies): Handle entries without children.
277 (org-export-preprocess-before-normalizing-links-hook): New hook.
278 (org-export-preprocess-string): Run the new hook.
280 * org.el (org-offer-links-in-entry): Make RET open all links.
282 * org-html.el (org-export-as-html): Remove any left-over display
283 properties in the html file.
285 * org-wl.el (org-wl-store-link): Work-around for format bug with
288 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
289 invisibility while adding the graphs.
291 2010-01-03 Carsten Dominik <carsten.dominik@gmail.com>
293 * org-remember.el (org-select-remember-template): Use C letter to
294 customize remember templates.
296 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
297 Move cursor to next visible line.
299 2010-01-02 Carsten Dominik <carsten.dominik@gmail.com>
301 * org-beamer.el (org-beamer-sectioning): Leave columns environment
302 by specifying 0 or 1 for column width.
303 (org-beamer-column-widths): Make 0 stand for 0.0.
305 2010-01-01 Carsten Dominik <carsten.dominik@gmail.com>
307 * org-exp.el (org-export-mark-radio-links): Don't match inside
310 * org.el (org-format-latex-header-extra): New variable.
311 (org-format-latex): Set org-format-latex-header-extra from
313 (org-format-latex): Add org-format-latex-header-extra to the
314 variables on which image creation depends.
315 (org-create-formula-image): Add the header stuff from in-buffer
317 (org-read-date-analyze): Base the analysis for future preference
318 on NOW, not on the default date.
320 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
321 for TODO keyword in inline tasks.
323 * org.el (org-log-note-headings): New headings for removing
324 deadline or scheduling date.
325 (org-deadline, org-schedule): Arrange for logging when removing a
327 (org-add-log-note): Handle deadline and scheduling removal.
329 2009-12-31 Carsten Dominik <carsten.dominik@gmail.com>
331 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
333 2009-12-28 Carsten Dominik <carsten.dominik@gmail.com>
335 * org-agenda.el (org-diary-class): New function.
337 2009-12-24 Carsten Dominik <carsten.dominik@gmail.com>
339 * org-latex.el (org-export-latex-preprocess): Do process the text
342 2009-12-20 Carsten Dominik <carsten.dominik@gmail.com>
344 * org.el (org-entry-properties): Add TIMESTAMP properties back
347 2009-12-18 Carsten Dominik <carsten.dominik@gmail.com>
349 * org.el (org-all-time-keywords): New variable.
350 (org-set-regexps-and-options): Set `org-all-time-keywords'.
351 (org-entry-blocked-p): New function.
352 (org-special-properties): Add BLOCKED as a new special property.
353 (org-entry-properties): New optional argument SPECIFIC, only parse
354 for this property when it is specified.
355 (org-entry-get): Pass a SPECIFIC argument to
356 `org-entry-properties'.
358 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
360 2009-12-17 Carsten Dominik <carsten.dominik@gmail.com>
362 * org-latex.el (org-export-latex-tables): No forced line end if
365 2009-12-16 Carsten Dominik <carsten.dominik@gmail.com>
367 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
370 * org-latex.el (org-export-latex-tables): Only add a caption when
371 macro in in longtable environments if one has been defined.
373 * org-html.el (org-export-as-html): Only take title from buffer if
374 not exporting body-only.
376 * org-latex.el (org-export-latex-preprocess): Better version of
377 the regular expression for protecting LaTeX macros.
378 (org-export-latex-preprocess): Start searching for macros to
379 protect from beginning of buffer.
381 * org-exp.el (org-export-target-internal-links): Check for
382 protectedness earlier in the string.
384 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
387 * org-id.el (org-id-store-link): Match TODO keywords case
390 * org.el (org-heading-components, org-get-outline-path)
391 (org-display-outline-path): Match TODO keywords case sensitively.
393 * org-latex.el (org-export-as-latex): Ignore read-only
396 * org-exp.el (org-export-preprocess-string): Remove any
397 `read-only' properties.
399 * org-agenda.el (org-agenda-inactive-leader): New option.
400 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
401 (org-tags-view): Prompt for matcher if MATCH is an empty string.
402 (org-todo-list): Prompt for matcher if ARG is an empty string.
404 2009-12-15 Carsten Dominik <carsten.dominik@gmail.com>
406 * org.el (org-open-link-functions): New hook.
407 (org-open-at-point): Run `org-open-link-functions'.
409 2009-12-14 Carsten Dominik <carsten.dominik@gmail.com>
411 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
414 * org.el (org-inhibit-startup-visibility-stuff): New variable.
415 (org-mode): Don't do startup visibility if inhibited.
416 (org-outline-overlay-data, org-set-outline-overlay-data): New
418 (org-save-outline-visibility): New macro.
419 (org-log-note-headings): Document that one should not change the
422 2009-12-13 Carsten Dominik <carsten.dominik@gmail.com>
424 * org.el (org-make-link-regexps): Capture link path into a group.
426 2009-12-12 Carsten Dominik <carsten.dominik@gmail.com>
428 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
431 2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
433 * org.el (org-startup-with-beamer-mode): New option.
434 (org-property-changed-functions)
435 (org-property-allowed-value-functions): New hooks.
436 (org-entry-put, org-property-get-allowed-values): Run the new
438 (org-property-next-allowed-value): Run the new hooks.
440 * org-exp.el (org-export-select-backend-specific-text): Add the
444 (org-export-preprocess-before-selecting-backend-code-hook): New
447 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
448 (org-export-as-latex): Run
449 `org-export-latex-after-initial-vars-hook'.
450 (org-export-latex-format-toc-function)
451 (org-export-latex-make-header): Call
452 `org-export-latex-format-toc-function'.
454 * org.el (org-fill-template): Make template searches case sensitive.
456 * org-exp.el (org-export): Use "1" as a sign to export only the
459 * org-colview-xemacs.el (org-columns-edit-value): Use
460 org-unrestricted property.
462 * org-colview.el (org-columns-edit-value): Use
463 org-unrestricted property.
465 * org.el (org-compute-property-at-point): Set org-unrestricted
466 text property if the list contains ":ETC".
467 (org-insert-property-drawer): Use
468 org-unrestricted property.
471 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
472 (org-export-preprocess-string): Run
473 `org-export-preprocess-before-selecting-backend-code-hook'.
475 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
477 * org-latex.el (org-export-region-as-latex): Run
478 `org-export-first-hook'.
480 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
482 * org-docbook.el (org-export-as-docbook): Run
483 `org-export-first-hook'.
485 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
487 * org-exp.el (org-export-first-hook): New hook.
489 2009-12-10 Carsten Dominik <carsten.dominik@gmail.com>
491 * org-list.el (org-previous-item): Exit at the beginning of the
494 * org-id.el (org-id-locations-save): Only write the id locations
497 * org-archive.el (org-archive-all-done): Make this work in a file
498 with org-odd-levels-only set.
500 * org.el (org-get-refile-targets): Catch the case when a buffer
503 * org-latex.el (org-export-as-latex): Cleanup forced line ends
504 where they are not needed.
505 (org-export-latex-subcontent): Remove unnecessary newlines.
507 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
509 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
510 (org-export-latex-fontify): Fix regexp bug that takes special
511 care of protecting the right boundary characters in emphasis
513 (org-export-latex-preprocess): Allow multiple arguments to latex
516 * org.el (org-make-link-regexps): Use John Gruber's regexp for
519 * org-macs.el (org-re): Interpret :punct: in regexps.
521 * org-exp.el (org-export-replace-src-segments-and-examples): Also
522 take the final newline after the END line.
524 * org.el (org-clean-visibility-after-subtree-move): Only fix
525 entries that are not entirely invisible already.
526 (org-insert-link): Respect org-link-file-path-type for
527 "docview:" links in addition to "file:" links.
529 2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
531 * org-exp.el (org-export-format-source-code-or-example): Avoid
532 additional extra white lines in LaTeX.
534 * org-list.el (org-list-parse-list): Leave empty lines after the
535 list, don't consider them as part of the list.
537 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
540 * org-clock.el (org-clock-select-task): Convert integer to
541 character for XEmacs.
543 2009-12-02 Carsten Dominik <carsten.dominik@gmail.com>
545 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
548 2009-11-30 Tassilo Horn <tassilo@member.fsf.org>
550 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
552 (org-set-tags): Use it.
554 2009-11-30 Carsten Dominik <carsten.dominik@gmail.com>
556 * org-list.el (org-empty-line-terminates-plain-lists): Update
559 * org.el (org-format-latex): Fix link creation for processed latex
562 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
564 * org-footnote.el (org-footnote-normalize): Protect replacement
567 * org.el (org-inside-latex-macro-p): Save match data.
569 2009-11-28 Jan Böcker <jan.boecker@jboecker.de>
571 * org-docview.el: New file.
573 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
575 * org-latex.el (org-export-latex-class-options): New variable.
576 (org-export-latex-set-initial-vars): Use the class options.
578 * org.el (org-forward-same-level): Stop at headings that start
579 with an invisible character.
580 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
582 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
584 * org-footnote.el (org-footnote-normalize): Don't take optional
585 arguments in LaTeX macros as footnotes.
587 * org.el (org-inside-latex-macro-p): New function.
589 * org-latex.el (org-latex-to-pdf-process): Change customization
590 group to `org-export-pdf'.
592 * org-agenda.el (org-agenda-get-blocks): Look at time string also
593 on days after the first one.
595 * org.el (org-insert-heading): Also check for item before assuming
596 before-first-heading condition.
598 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
599 (org-export-pdf-logfiles): New option.
600 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
601 (org-export-pdf-logfiles): Fix customization type.
603 * org.el (org-insert-link): Improve error message when there is no
604 default link to select with RET.
606 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
609 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
611 * org-latex.el (org-export-latex-parse-global)
612 (org-export-latex-parse-content)
613 (org-export-latex-parse-subcontent): Use
614 `org-re-search-forward-unprotected'.
615 (org-export-as-pdf): Remove log files produced by XeTeX.
617 * org-macs.el (org-re-search-forward-unprotected): New function.
619 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
621 * org-colview.el (org-agenda-colview-summarize): Sort out some
622 confusion between properties and titles, which resulted in
623 agenda summaries not working if a title was set for a column.
625 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
627 * org-mobile.el (org-mobile-agendas): New option.
628 (org-mobile-sumo-agenda-command): Select the right agendas.
630 * org-latex.el (org-export-latex-format-image): Preserve the
631 original-indentation property.
633 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
635 * org-clock.el (org-clock-insert-selection-line): Catch error when
636 an old tasks no longer exists.
638 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
639 (org-export-as-pdf): Don't remove the old PDF file before making
642 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
643 (org-mouse-context-menu): Use `org-looking-back'.
645 * org.el (org-cycle-level): Use `org-looking-back'.
647 * org-list.el (org-cycle-item-indentation): Use
650 * org-compat.el (org-looking-back): New function.
652 * org.el (org-insert-heading): Catch before-first-headline when
653 inserting a headline.
655 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
657 * org-latex.el (org-export-latex-format-image): Indent figure
658 environment, so that it does not interrupt plain list.
660 * org.el (org-open-at-point): Allow long link descriptions.
662 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
664 * org-html.el (org-export-as-html): Remove empty lines at the
665 beginning of the exported text.
667 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
669 * org-protocol.el (org-protocol-remember): Cater for empty title,
672 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
673 agenda after adding new entry.
674 (org-agenda-get-represented-tags): New function.
675 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
676 to get a list of tags in the agenda.
678 * org-datetree.el (org-datetree-find-day-create): Fix regular
681 * org.el (org-display-outline-path): Use a format specifier for
682 message, to avoid problems with heading containing `%'.
684 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
685 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
686 (org-agenda-fix-displayed-tags): New function.
687 (org-agenda-do-context-action): Just call
688 `org-display-outline-path', without piping the result through
691 * org-latex.el (org-export-latex-preprocess): Protect secondary
694 * org-indent.el (org-indent-initialize): Avoid empty strings as
697 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
698 hat checking for the mark does not throw an error.
699 (org-agenda-diary-entry-in-org-file): Catch the case that there is
700 not `day' text property in the cursor line.
702 * org.el (org-sort-entries-or-items): Make sure that the final
703 entry has a newline before doing the sorting.
705 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
706 property at the beginning of the line.
708 * org.el (org-make-link-string): Don't allow a description with
711 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
713 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
714 (org-agenda-insert-diary-as-top-level): New function.
715 (org-agenda-add-entry-to-org-agenda-diary-file): Call
716 `org-agenda-insert-diary-as-top-level'.
718 * org.el (org-occur-in-agenda-files): Make sure none of the
720 (org-activate-plain-links): Add the face property here.
721 (org-set-font-lock-defaults): Do not add the face to plain links,
722 the activator function does this.
724 * org-habit.el (org-is-habit-p): Add doc string.
726 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
728 * org-archive.el (org-archive-subtree-default-with-confirmation):
731 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
732 after match optional (happens at the end of a line...).
734 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
737 * org-faces.el (org-copy-face): Set lisp indentation.
738 (org-quote, org-verse): New faces.
740 * org-agenda.el (org-agenda-remove-date): Remove variable.
742 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
744 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
746 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
748 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
749 hash keys to cache and re-use images generated by the
750 org-exp-blocks interface to ditaa and dot.
752 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
754 * org-html.el (org-export-as-html): Move the home/up link into
757 * org.el (org-export-latex-packages-alist): Option definition
758 moved here from org-latex.el.
760 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
762 * org.el (org-format-latex): Latex images are now saved to files
763 named by the sha1 hash of the latex source text avoiding
764 regeneration of identical images.
766 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
768 * org-html.el (org-export-html-home/up-format): Add an ID to the
771 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
773 * org-wl.el (org-wl-store-link): Handle the case that
774 `wl-use-petname' is set.
776 * org.el (org-set-effort): Improve prompt.
777 (org-get-outline-path): Widen to get full path.
778 (org-compact-display-after-subtree-move): Function removed.
780 * org-latex.el (org-export-as-latex): Add the :drawers property.
782 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
784 * org.el (org-speed-commands-user): Allow documentation headlines.
785 (org-speed-commands-default): Organize the value of this constant
786 with descriptive headlines.
787 (org-print-speed-command): Output the headlines.
789 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
791 * org-agenda.el (org-agenda-show-outline-path): New option.
792 (org-agenda-do-context-action): New function.
793 (org-agenda-next-line, org-agenda-previous-line): Use
794 `org-agenda-do-context-action'.
796 * org.el (org-use-speed-commands): Allow function value.
797 (org-speed-commands-default): Make headline motion safe, so that
798 these commands always end on a headline.
799 (org-speed-commands-default): New key `v' for `org-agenda'.
800 (org-speed-move-safe): New function.
801 (org-self-insert-command): Use the function value of
802 `org-use-speed-commands'.
803 (org-get-outline-path): Improve docstring.
804 (org-format-outline-path): New function.
805 (org-display-outline-path): New function.
807 2009-11-12 John Wiegley <jwiegley@gmail.com>
809 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
810 a string, use that to find the LOGBOOK drawer.
812 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
814 * org.el (org-clone-subtree-with-time-shift): Make it work at the
817 * org-mobile.el (org-mobile-write-checksums): Specify coding
819 (org-mobile-timestamp-buffer): Keep local variable/mode line at
822 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
824 * org.el (org-block-todo-from-children-or-siblings-or-parent)
825 (org-block-todo-from-checkboxes): Do not block changes to a nil
828 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
830 * org-habit.el (org-habit-parse-todo): Indicate which habit is
831 wrongly set up in the error messages.
833 * org-colview.el (org-columns-display-here): Don't try to
834 calculate values if the underlying property is not set.
835 (org-columns-string-to-number): Convert age strings back into
837 (org-agenda-colview-summarize): Handle extended summary types
840 * org-colview-xemacs.el (org-columns-display-here): Don't try to
841 calculate values if the underlying property is not set.
842 (org-columns-string-to-number): Convert age strings back into
844 (org-agenda-colview-summarize): Handle extended summary types
847 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
849 * org-exp.el (org-export-format-drawer-function): New variable.
850 (org-export-format-drawer): New function.
851 (org-export-preprocess-string): Pass the backend as a parameter to
852 `org-export-remove-or-extract-drawers'.
853 (org-export-remove-or-extract-drawers): New parameter BACKEND.
855 * org-protocol.el (org-protocol-char-to-string): New defsubst.
857 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
859 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
860 message when no block is selected.
862 * org-latex.el (org-export-latex-links): Check for protectedness
863 in the last matched character, not after the match.
865 * org-datetree.el (org-datetree-find-date-create): Respect
866 restriction when KEEP-RESTRICTION is set.
867 (org-datetree-file-entry-under): New function.
868 (org-datetree-cleanup): New command.
870 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
872 * org-src.el (org-edit-src-code): New optional argument context
873 allows calling functions to avoid altering the saved window
875 (org-edit-src-exit): Do not restore window configuration when this
876 function is used in the context of saving the edit buffer.
878 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
880 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
881 instances to switching to with-current-buffer, because these seem
882 to cause problems - no idea why.
884 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
885 Require diary-lib for (diary-date-display-form).
887 * org.el (org-log-reschedule, org-log-redeadline): New options.
888 (org-log-note-headings): Add templates for rescheduling and
890 (org-startup-options): Add in-buffer settings for logging changing
891 schedule and deadline time stamps.
892 (org-deadline, org-schedule): Check for existing date and arrange
893 for logging if the user requests it.
894 (org-add-log-note): Prepare proper note buffers for rescheduling
895 and deadline changes.
897 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
899 * org-agenda.el (org-agenda-diary-entry-in-org-file)
900 (org-agenda-add-entry-to-org-agenda-diary-file)
901 (org-agenda-insert-diary-make-new-entry): New functions.
902 (org-agenda-diary-entry): Call
903 `org-agenda-diary-entry-in-org-file' when appropriate.
905 * org.el (org-calendar-insert-diary-entry-key): New option.
906 (org-agenda-diary-file): New option.
907 ("calendar"): Install our insertion function in the calendar.
909 * org-remember.el (org-datetree): Require.
910 (org-remember-templates): Add new positioning option.
911 (org-remember-reference-date): New variable.
912 (org-remember-apply-template): Store the reference date in a local
914 (org-remember-handler): Implement date tree positioning of entries.
916 * org-datetree.el: New file.
918 * org-latex.el (org-export-latex-preprocess): Protect targets in
921 * org-html.el (org-export-as-html): Protect targets in verbatim
924 * org-docbook.el (org-export-as-docbook): Protect targets in
927 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
929 * org.el (org-link-display-format): Should be literal replacement.
931 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
933 * org-clock.el (org-show-notification): Handle messages that
934 contain a percent character.
936 * org-remember.el (org-remember-apply-template): Turn of partial
939 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
940 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
942 * org.el (org-indent-mode): Define variable already in org.el.
943 (org-unfontify-region): Remove line-prefix and wrap-prefix
944 properties only if org-indent-mode is active.
946 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
948 * org-icalendar.el (org-print-icalendar-entries): Save match data
949 around call to verify function.
950 (org-print-icalendar-entries): Add a call to the verification
953 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
954 save-restrivtion' form.
956 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
958 * org-exp.el (org-export-format-source-code-or-example): restrict
959 scope of preserve-indentp to the let binding.
960 (org-src): require org-src, since org-src-preserve-indentation is used.
962 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
964 * org-timer.el (org-timer-set-timer): Set variables
965 org-timer-timer[123] correctly.
968 * org-mobile.el (org-mobile-files-alist): Make it work when
969 `agenda-archives' is included in
970 `org-agenda-text-search-extra-files'.
971 (org-mobile-push): Restore agenda after mobile push.
973 2009-11-05 John Wiegley <jwiegley@gmail.com>
975 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
976 way the amount of idle time is presented in the minibuffer.
978 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
980 * org-icalendar.el (org-print-icalendar-entries): Use
981 org-icalendar-verify-function only if non-nil.
983 * org.el (org-refile): Refile to clock only if the prefix arg is
985 (org-sparse-tree): Fix docstring to be in line with prompt.
986 (org-update-parent-todo-statistics): Call
987 `org-after-todo-statistics-hook' on each level.
989 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
991 * org-remember.el (org-remember-apply-template): Make sure the
994 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
996 * org.el (org-tab-ind-state): New variable.
997 (org-cycle-level): New function.
998 (org-cycle-level-after-item/entry-creation): New option.
999 (org-flag-subtree): New function.
1000 (org-hide-archived-subtrees): Call `org-flag-subtree'.
1001 (org-set-effort): Indexed access.
1003 * org-list.el (org-cycle-item-indentation): New function.
1005 * org.el (org-refile): Make prefix argument 2 refile to current
1007 (org-priority): Interpret action `remove' as call to remove the
1010 * org-remember.el (org-remember-apply-template): Don't depend on
1011 buffer name being like file name.
1013 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
1015 * org-clock.el (org-clock-play-sound): Expand file in
1016 org-clock-sound, to allow ~ for home.
1018 * org-remember.el (org-remember-handler): Set
1019 text-before-node-creation even if this already looks like a node,
1020 because the string might be needed on non-org-mode target files.
1022 * org-agenda.el (org-agenda-open-link): Make this work in agenda
1024 (org-agenda-switch-to): Follow a link at point if
1025 org-return-follows-link' is set and there is nothing else to do in
1028 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
1030 * org-colview-xemacs.el: Add in changes from org-colview.el
1032 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
1034 * org-exp-blocks.el: Modify split separator regexp to avoid empty
1037 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
1039 * org-colview.el (org-columns-new): Make this work with the new
1041 (org-columns-store-format): Make this work with the new operators.
1043 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
1045 * org-src.el (org-src-preserve-indentation): Document that this
1046 variable is also used during export.
1048 * org-exp.el (org-export-format-source-code-or-example): Preserve
1049 indentation if a block has a -i option, or if
1050 `org-src-preserve-indentation' is set.
1052 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1053 indentation if a block has a -i option, or if
1054 `org-src-preserve-indentation' is set.
1056 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
1058 * org.el (org-mode-map): Define the new archiving keys.
1059 (org-speed-commands-default): Define an archiving key in the speed
1061 (org-org-menu): Improve the menu structure concerning archiving.
1063 * org-archive.el (org-archive-subtree-default-with-confirmation):
1066 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1067 (org-agenda-menu): Add the new archiving commands to the menu.
1068 (org-agenda-archive-default)
1069 (org-agenda-archive-default-with-confirmation): New commands.
1070 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1071 call `org-agenda-archive-with'.
1072 (org-agenda-archive-with): New function.
1074 * org-table.el (org-table-convert-region): Inert spaces around "|"
1075 to avoid line beginnings like "|-1" which will be mistaken as
1078 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
1080 * org.el (org-offer-links-in-entry): Return nil if there are no
1081 links, t if a link has been selected.
1082 (org-open-at-point): Open attachment directory when called in the
1083 headline and there are no links in the entry body.
1084 (org-speed-commands-default): Add "o" for open-at-point as a speed
1087 * org-attach.el (org-attach-reveal): Optional prefix arg
1088 IF-EXISTS, which avoids creating the attachment directory if it
1091 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1094 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
1096 * org.el ("abbrev"): Work with abbrev tables only after they have
1099 * org-list.el (org-list-send-list): Fix bug related to match
1102 * org-latex.el (org-export-latex-fontify): Apply verbatim
1104 (org-export-latex-make-header): Insert \obeylines if line breaks
1105 should be preserved.
1107 * org-exp.el (org-export-protect-verbatim): Add an
1108 `org-verbatim-emph' property to such text.
1110 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
1112 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1113 (org-print-icalendar-entries): Skip entries where the timestamp is
1114 not a deadline and not scheduled, if the user requests that.
1116 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1117 before an opening quote.
1119 * org-archive.el (org-archive-subtree): Keep archive after
1120 archiving something.
1122 * org-id.el (org-id-update-id-locations): Add archive files if
1123 that is required by `org-id-extra-files'.
1125 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
1127 * org-src.el (org-src-window-setup): New option.
1128 (org-src-switch-to-buffer): New function.
1129 (org-edit-src-exit): Add optional argument CONTEXT and use it to
1130 restore window configuration.
1131 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1132 Call `org-src-switch-to-buffer'.
1134 * org.el (org-default-properties): Add STYLE property.
1135 (org-files-list): Use the function call to get the files.
1136 (org-additional-option-like-keywords): Add SETUPFILE to completion
1139 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
1141 * org-table.el (org-table-convert-region): Correctly interpret
1142 quoting in csv import.
1144 * org.el (org-icompleting-read): Make iswitchb completion work
1145 with lists and tables.
1147 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1148 while pushing the mobile agenda.
1150 2009-10-25 John Wiegley <jwiegley@gmail.com>
1153 (org-clock-auto-clock-resolution): Now takes three values: nil, t
1154 and `when-no-clock-is-running'.
1155 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1156 whether or not to resolve Org buffers on clock in.
1158 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
1160 * org-colview.el (org-format-time-period): Function to format
1161 times in fractional days for display.
1162 (org-columns-display-here): Add support for showing a calculated
1163 value in place of the property.
1164 (org-columns): Set `org-columns-time' to the current time so time
1165 difference calculations will work.
1166 (org-columns-time): Use to store the current time when column view
1167 is displayed, so all time differences will use the same reference
1169 (org-columns-compile-map): There is now an extra position in each
1170 entry specifying the function to use to calculate the displayed
1171 value for the non-calculated properties in the column,
1172 (org-columns-compute-all): Set `org-columns-time' to the current
1173 time so time difference calculations will work.
1174 (org-columns-compute): Handle column operators where the values
1175 used are calculated from the underlying property.
1176 (org-columns-number-to-string): Handle the 'age' column format
1177 (org-columns-string-to-number): Correct the function name (was
1178 org-column...). Add support for the 'age' column format.
1179 (org-columns-compile-format): Support the additional parameter in
1180 org-columns-compile-map.
1182 2009-10-26 Bastien Guerry <bzg@altern.org>
1184 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1187 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
1189 * org-clock.el (org-clock-has-been-used): New variable.
1190 (org-clock-in): Set `org-clock-has-been-used'.
1191 (org-clock-save): Save only if clock data has been used or created
1192 during this session.
1194 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
1196 * org-clock.el (org-clock-persist): New value, to store only the
1198 (org-clock-save): Don't save the clock if only the history should
1200 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1201 when restoring a saved clock.
1203 2009-10-24 John Wiegley <jwiegley@gmail.com>
1205 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1206 `org-time-clock-use-fractional'.
1208 * org.el (org-time-clocksum-use-fractional)
1209 (org-time-clocksum-fractional-format): Two new customizable
1210 variables which allow the user to select fractional times (1.25
1211 instead of 1:25) in the `org-clock-display' report.
1213 2009-10-23 John Wiegley <jwiegley@gmail.com>
1215 * org-habit.el (org-habit-build-graph): None of the arguments
1217 (org-habit-parse-todo, org-habit-deadline)
1218 (org-habit-get-priority, org-habit-get-faces)
1219 (org-habit-build-graph): Further simplifications by storing all
1220 past, scheduled and deadline dates as a number of days past the
1221 epoch, and not as times.
1223 * org-habit.el (org-habit-warning-face)
1224 (org-habit-warning-future-face): Removed because these are no
1226 (org-habit-deadline, org-habit-deadline-repeat): Now always
1227 returns a date; computed if there was a scheduled repeater but no
1229 (org-habit-get-priority): Further improvements to the priority
1230 algorithm. In particular, items past due should always appear
1231 before items due or not yet due.
1232 (org-habit-get-faces): Greatly simplified the logic, now that
1233 `org-habit-deadline' always returns a valid time.
1235 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
1237 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1240 * org.el (org-tag-alist): Fix customization type.
1242 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
1244 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1245 Make sure the regexp search can fail without throwing an error.
1246 (org-mobile-apply): Save the inbox buffer after removing
1247 successfully applied changes.
1249 2009-10-22 John Wiegley <jwiegley@gmail.com>
1251 * org-habit.el (org-habit-build-graph): Fix to the graph building
1252 when last DONE date is earlier than `org-habit-preceding-days'.
1254 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1255 time is reported after the user comes back (but before they
1258 * org.el (org-get-repeat): Change so that this function can be
1259 called with either `org-scheduled-string' or
1260 `org-deadline-string'.
1262 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1263 to find the scheduled date.
1265 * org-clock.el (org-clock-auto-clock-resolution): Renamed
1266 `org-clock-disable-clock-resolution', since negatives don't sound
1267 good in customization variables.
1268 (org-clock-in): Don't use the auto-resolution logic if the user is
1269 clocking into a different task while an active clock is running.
1270 This then allows the default behavior of clocking out of the open
1271 task and then into the new task.
1273 * org-habit.el (org-habit-parse-todo): Generate an error if a
1274 habit has a scheduled repeat period < 1.
1275 (org-habit-get-faces): Fixes to the way that colors are computed.
1276 (org-habit-build-graph): The graph wasn't displaying beyond any
1277 day that had two completions in it.
1279 * org.el (org-modules): Made this variable more consistent, since
1280 it was referring to Org, OrgMode and Org-mode, whereas the docs
1281 for the variable always refer to Org-mode.
1283 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
1285 * org.el (org-repeat-re): The changed org-repeat-re no longer
1286 matched simple +2d type repeaters. Fix it so it does.
1288 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
1290 * org-latex.el (org-export-latex-preprocess): Protect the vspace
1291 macro in the VERSE environment.
1293 2009-10-20 John Wiegley <jwiegley@gmail.com>
1295 * org-habit.el (org-habit-get-priority): A new function that
1296 determines the relative priority of a habit, based on how long
1297 past its scheduled date it is, and how near the deadline is.
1299 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1300 using `org-habit-get-priority'.
1302 * org-habit.el (org-habit-build-graph): Start displaying colors
1303 from the first scheduled date, if that date is earlier than the
1304 first completion date.
1306 * org-habit.el: Changed all "color" variables to faces, and made
1307 them appropriate for light and dark backgrounds.
1309 * org-habit.el (org-habit-duration-to-days): Made this function
1311 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1313 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1314 habits, since they don't use DEADLINE anymore.
1316 * org.el (org-repeat-re, org-display-custom-time)
1317 (org-timestamp-change): Extended to support the new ".+N/N"
1318 syntax, used for habits.
1320 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1323 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1324 modeline when habits are being displayed (if that module is being
1327 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
1329 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1330 idle time using the xscreensaver extension.
1331 (org-user-idle-seconds): Use X11 idle time if available.
1333 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
1335 * org-agenda.el (org-agenda-next-line): New command.
1336 (org-agenda-previous-line): New commands.
1337 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1339 (org-agenda-follow-mode): Do the follow immediately if the mode is
1341 (previous-line, next-line): Replace keys with the corresponding
1343 (org-agenda-mode-map): Bind backspace and delete to the scrolling
1346 * org.el (org-icompleting-read): Turn off partial completion mode
1347 for the duration of this completion round.
1349 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1350 macros in author lines and similar stuff.
1352 * org.el (org-file-tags): Fix docstring.
1353 (org-get-buffer-tags): Add the #+FILETAGS tags.
1354 ("ecb"): Maks ecb show context after jumping into an Org file.
1356 2009-10-20 John Wiegley <johnw@newartisans.com>
1358 * org-agenda.el (org-finalize-agenda): Draw habit consistency
1359 graphs after everything else in the buffer has been setup.
1361 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
1363 * org-mobile.el (org-mobile-apply): Count success and failure.
1365 * org.el (org-indent-line-function): Fix regexp replace problem.
1367 2009-10-19 John Wiegley <johnw@newartisans.com>
1369 * org-clock.el (org-clock-disable-clock-resolution): New
1370 customization variable that disable automatic clock resolution on
1372 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1373 not automatically resolve anything. This is does not affect
1374 idle-time resolution, however, if `org-clock-idle-time' is set.
1376 2009-10-19 John Wiegley <johnw@newartisans.com>
1378 * org-habit.el: New file, which implements code to build a "habit
1381 * org-agenda.el (org-agenda-get-deadlines)
1382 (org-agenda-get-scheduled): Display consistency graphs when
1383 outputting habits into the agenda. The graphs are always relative
1384 to the current time.
1385 (org-format-agenda-item): Added new parameter `habitp', which
1386 indicates whether we are formatting a habit or not. Do not
1387 display "extra" leading information if habitp is true.
1389 * org.el (org-repeat-re): Improved regexp to include .+ and ++
1390 leaders for repeat strings.
1391 (org-get-repeat): Now takes a string parameter `tagline', so the
1392 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1394 2009-10-19 John Wiegley <johnw@newartisans.com>
1396 * org-agenda.el (org-agenda-auto-exclude-function): New
1397 customization variable for allowing the user to create an "auto
1398 exclusion" filter for doing context-aware auto tag filtering.
1399 (org-agenda-filter-by-tag): Changes to support the use of
1400 `org-agenda-auto-exclude-function'. See the new manual addition,.
1402 2009-10-18 John Wiegley <johnw@newartisans.com>
1404 * org.el (org-files-list): Don't attempt to return a file name for
1405 Org buffers which have no associated file.
1407 * org-agenda.el (org-agenda-do-action): Fixed a typo.
1409 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
1411 * org-mobile.el (org-mobile-locate-entry): Interpret files
1412 relative to org-directory.
1413 (org-mobile-inbox-for-pull): Document the best location for this
1415 (org-mobile-check-setup): Verify `org-directory'.
1416 (org-mobile-create-index-file): Sort the files to be listed in
1419 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
1421 * org.el (org-fast-tag-selection): Add a way to display a
1422 description for a tag group. This is done by adding a string to
1423 either the startgroup or endgroup cell.
1425 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1427 * org-clock.el (org-clock-resolve, org-resolve-clocks)
1428 (org-emacs-idle-seconds): Use `org-float-time' instead of
1431 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
1433 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1436 * org.el (org-pre-cycle-hook): Document that `empty' can also be
1437 the value of ARG when doing local cycling.
1439 2009-10-17 John Wiegley <johnw@newartisans.com>
1441 * org-clock.el (org-clock-resolve-clock): If keeping or
1442 subtracting time results in a clock out at a time in the past, and
1443 if the resolution occurred due to idleness or invoking `M-x
1444 org-resolve-clocks', remember that past moment in time. On the
1445 next clock in, the user will be prompted to see if they want to
1446 back-date their new clock to then.
1447 (org-clock-resolve): Do not jump the user to the location of a
1448 dangling clock if the resolution is occuring due to an idle
1449 timeout. In that case there is typically only one dangling clock,
1450 the active one, and there is no value gained by shuffling their
1451 windows around to show it to them. Being prompted to resolve an
1452 idle clock should be as inobtrusive as possible.
1453 (org-resolve-clocks-if-idle): New function that resolves only the
1454 currently active clock if the user has exceeded the time returned
1455 by `org-user-idle-seconds', based on the value of
1456 `org-clock-idle-time'.
1457 (org-clock-in): If, after resolving clocks,
1458 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1460 * org-clock.el (org-clock-resolve-clock): New function that
1461 resolves a clock to a specific time, closing or resuming as need
1462 be, and possibly even starting a new clock.
1463 (org-clock-resolve): New function used by `org-resolve-clocks'
1464 that sets up for the call to `org-clock-resolve-clock'. It
1465 determines the time to resolve to based on a single-character
1466 selection from the user to either keep time, subtract away time or
1468 (org-resolve-clocks): New user command which resolves dangling
1469 clocks -- that is, open but not active -- anywhere in the file
1470 list returned by `org-files-list'.
1471 (org-clock-in): Automatically resolve dangling clocks whenever a
1473 (org-clock-cancel): If the user cancels the solely clock in a
1474 LOGBOOK, remove the empty drawer.
1476 * org-clock.el (org-clock-idle-time): New user customizable option
1477 for detecting whether the user has left a clock idle. Note: it is
1478 only used in this commit to test whether it's worthwhile to check
1479 OS X to get the Mac user's current idle time. If the Emacs idle
1480 time is less than the value, the user hasn't been away long enough
1481 to be worth checking (a more expensive test than just getting
1483 (org-user-idle-seconds, org-mac-idle-seconds)
1484 (org-emacs-idle-seconds): This three functions, in conjunction
1485 with the user customization variable `org-clock-idle-time', return
1486 the number of seconds (as a floating point) that the user has been
1487 away from their Emacs (or, if running on OS X, their computer).
1489 * org-clock.el (org-find-open-clocks): New function that returns a
1490 list of all open clocks in the given FILE. Note that each clock
1491 it returns is a cons cell of the format (MARKER . START-TIME).
1492 This "clock" value is used by several of the new clock module
1494 (org-is-active-clock): New inline function which tests whether the
1495 given clock value is the same as the currently active clock.
1496 Returns non-nil if this is the case.
1497 (org-with-clock-position): New macro that evaluates FORMS with
1498 point in the buffer and at the position of the given clock.
1499 Changes to the current clock are global.
1500 (org-with-clock): New macro that evaluates FORMS with point in the
1501 buffer and at the position of the given clock. However, changes
1502 to the current clock are local and have no effect on the user's
1503 active clock. This allows, for example, far any clock to be
1504 cancelled without cancelling the active clock.
1505 (org-clock-clock-in): New inline function that switches the active
1506 clock to the given clock. If either the argument RESUME, or the
1507 global `org-clock-in-resume', are non-nil, it will resume a clock
1508 that was previously left open.
1509 (org-clock-clock-out): New inline function that clocks out the
1510 given clock value without affecting the currently active clock.
1511 (org-clock-clock-cancel): New inline function that cancels the
1512 given clock value without affecting the currently active clock.
1514 * org-clock.el (org-clock-in): Before creating
1515 `org-clock-mode-line-timer', check to make sure an older timer is
1516 not currently running.
1517 (org-clock-out): Accept new third parameter `at-time', which
1518 permits a clock to be clocked out at a specific time. Note that
1519 no attempt is made to verify that the clock out time is later than
1522 * org.el (org-files-list): New utility function for returning a
1523 list of all open org-mode buffers, plus all files used to build
1524 the agenda buffer. Note that not all the files will necessarily
1525 be visited by a buffer at time of call.
1526 (org-entry-beginning-position): Like the function
1527 `line-beginning-position', this inline function returns the
1528 beginning position of the current heading/entry.
1529 (org-entry-end-position): Like the function `line-end-position',
1530 this inline function returns the end position of the current
1533 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
1535 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1538 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
1540 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1542 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
1544 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1545 entries that have no tags.
1546 (org-agenda-search-view): New customize group.
1547 (org-agenda-search-view-search-words-only): New option.
1548 (org-search-view): Implement substring search.
1550 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
1552 * org.el (org-outline-level): Add doc string.
1554 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
1556 * org-inlinetask.el (org-inlinetask-export): Re-introduce
1558 (org-inlinetask-export-handler): Only export inline task if the
1559 user option calls for it.
1561 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
1563 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1566 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
1568 * org-latex.el (org-export-latex-tables): Don't format in
1571 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
1573 * org-src.el (org-edit-src-code)
1574 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1577 * org-agenda.el (org-prefix-category-max-length): New variable.
1578 (org-format-agenda-item): Use `org-prefix-category-max-length'.
1579 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1581 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
1583 * org-mobile.el (org-mobile-create-index-file): Improve the
1584 listing of tags and todo keywords.
1586 * org-latex.el (org-export-latex-format-image): New function.
1587 (org-export-latex-links): Use `org-export-latex-format-image'.
1589 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
1591 * org-inlinetask.el (org-inlinetask-get-current-indentation)
1592 (org-inlinetask-remove-terminator): New functions.
1593 (org-inlinetask-export-handler): Terminate the description list.
1595 * org-exp.el (org-export-select-backend-specific-text): Remove the
1598 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1599 tasks without content.
1601 * org-clock.el: Make sure the clock-in target position does not
1602 move to a different node by widening the buffer.
1604 * org-html.el (org-export-html-format-image): Wrap image into
1605 figure div only when there is a caption.
1607 * org-archive.el (org-archive-mark-done): Change default value to
1610 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1612 * org.el (org-context): Call `bobp', not `eobp'.
1614 * org-clock.el (org-clock-cancel): Remove quotes from marker
1617 * org.el (org-read-date-prefer-future): New allowed value `time'.
1618 (org-read-date-analyze): Shift day to tomorrow depending on time
1619 entered and value of `org-read-date-prefer-future'.
1621 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
1623 * org.el (org-set-tags-to): New command.
1625 * org-mobile.el (org-mobile-action-alist): Add more options and
1626 update the docstring.
1627 (org-mobile-apply-flags): Parse for and use the data.
1629 * org-latex.el (org-export-latex-set-initial-vars): Also check in
1632 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1635 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1637 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
1639 * org-inlinetask.el (org-inlinetask-export): Option removed.
1640 (org-inlinetask-export-handler): Better export.
1642 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1643 (org-export-as-xoxo): Run the new hook.
1645 * org-html.el (org-export-html-final-hook): New hook.
1646 (org-export-as-html): Run the new hook.
1648 * org-docbook.el (org-export-docbook-final-hook): New hook.
1649 (org-export-as-docbook): Run the new hook.
1651 * org-ascii.el (org-export-ascii-final-hook): New hook.
1652 (org-export-as-ascii): Run the new hook.
1654 * org-mobile.el (org-mobile-create-sumo-agenda): Call
1655 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1657 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1658 space character as the character before the ^/_.
1659 (org-export-latex-final-hook): New hook.
1660 (org-export-as-latex): Run `org-export-latex-final-hook'.
1662 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
1664 * org-macs.el (org-if-unprotected-at): Fix docstring.
1666 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1667 text in the prefix (if category is a link).
1669 * org-latex.el (org-export-latex-preprocess): Deal properly with
1670 empty lines in verse environments.
1672 * org.el (org-format-latex-header): Inline fullpage.sty.
1674 * org-footnote.el (org-footnote-create-definition): Reveal context
1675 to add a new footnote definition.
1677 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1679 (org-mobile-files): New option.
1680 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1681 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1683 (org-mobile-push): Start by creating the files lists.
1684 (org-mobile-copy-agenda-files): Move killing the buffer to after
1685 the save-excursion has exited.
1686 (org-mobile-write-checksums): Write checksums also for files in
1689 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1690 org-table-recalculate when cursor is in TBLFM line.
1692 * org-list.el (org-renumber-ordered-list): Fix cursor position
1693 when bullet length has changed.
1695 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1697 * org.el (org-format-latex): Mention `org-format-latex-options' in
1700 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1702 * org.el (org-agenda-get): New function.
1704 * org-agenda.el (org-agenda-post-command-hook): No longer move
1705 point away from end of line.
1706 (org-agenda-add-entry-text, org-agenda-collect-markers)
1707 (org-finalize-agenda, org-agenda-mark-clocking-task)
1708 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1709 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1710 (org-agenda-compare-effort, org-agenda-filter-apply)
1711 (org-agenda-later, org-agenda-change-time-span)
1712 (org-agenda-post-command-hook, org-agenda-show-priority)
1713 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1714 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1715 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1716 (org-agenda-open-link, org-agenda-copy-local-variable)
1717 (org-agenda-switch-to, org-agenda-check-no-diary)
1718 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1719 (org-agenda-add-note, org-agenda-change-all-lines)
1720 (org-agenda-priority, org-agenda-set-tags)
1721 (org-agenda-set-property, org-agenda-set-effort)
1722 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1723 (org-agenda-show-new-time, org-agenda-date-prompt)
1724 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1725 (org-agenda-clock-in, org-agenda-bulk-mark)
1726 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1729 * org-colview.el (org-columns-display-here)
1730 (org-columns-edit-allowed, org-agenda-columns): Use
1733 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1735 * org.el (org-special-ctrl-a/e): Improve documentation and
1737 (org-end-of-line): Don't jump to after the ellipsis.
1738 (org-mode-map): Bind <home> and <end> as well.
1740 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1742 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1743 space after #+ as comments.
1744 (org-open-at-point): Run `org-follow-link-hook' always.
1746 * org-latex.el (org-export-latex-emph-format): Use better commands
1747 to insert special characters in verbatim snippets.
1749 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1751 * org-faces.el (org-copy-face): New function. Use it to create
1752 various faces formerly created by using `copy-face'.
1754 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1756 (org-agenda-quit): Kill the frame containing the agenda window if
1757 that frame was created for the agenda.
1759 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1761 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1762 stamp in the agenda.
1764 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1766 * org-mobile.el (org-mobile-create-index-file): Add the list of
1767 TODO keywords, and the list of drawers to the index file.
1769 * org-agenda.el (org-prepare-agenda): Reset
1770 `org-drawers-for-agenda'.
1771 (org-prepare-agenda): Uniquify list of drawers.
1773 * org.el (org-complex-heading-regexp-format): New variable.
1774 (org-set-regexps-and-options): Define
1775 `org-complex-heading-regexp-format'.
1776 (org-drawers-for-agenda): New variable.
1777 (org-map-entries): Bind `org-drawers-for-agenda'.
1778 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1780 * org-remember.el (org-go-to-remember-target)
1781 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1783 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1785 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1788 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1789 the capture file, and make it non-configurable.
1791 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1792 always with `invisible-ok'.
1793 (org-store-link): No error when there is nothing to link to in the
1796 * org-list.el (org-update-checkbox-count): Insert changed cookie
1797 before the old, to avoid problems with invisibility at the end of
1799 (org-update-checkbox-count): Insert changed cookie before the old,
1800 to avoid problems with invisibility at the end of the line.
1802 * org.el (org-sort-entries-or-items): Include the final newline.
1803 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1804 lines for fontification.
1805 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1806 (org-prepare-dblock): Store the current indentation of the BEGIN
1808 (org-update-dblock): Apply the indentation of the begin line to
1809 the rest of the block.
1810 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1811 (org-startup-folded): New allowed value `showeverything'.
1812 (org-startup-options): Add STARTUP keyword `showeverything'.
1813 (org-set-startup-visibility): Respect value `showeverything' in
1816 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1818 * org.el (org-closest-date): Fix issue with past preference.
1820 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1822 * org-archive.el (org-archive-set-tag)
1823 (org-archive-subtree-default): New commands.
1825 * org-mobile.el (org-mobile-create-index-file): Fix link to
1827 (org-mobile-copy-agenda-files): Create the capture file if it does
1830 * org-clock.el (org-clock-clocktable-default-properties): New
1832 (org-clock-report): Use
1833 `org-clock-clocktable-default-properties'.
1835 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1837 * org.el (org-iswitchb-completing-read): Fix typo.
1839 * org-crypt.el: New file.
1841 * org.el: Add an entry for org-crypt.
1843 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1845 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1847 (org-batch-store-agenda-views): New function.
1848 (org-mobile-force-id-on-agenda-items): Mention variable.
1849 (org-agenda-title-append): Define variable.
1850 (org-write-agenda): New export to Org files.
1851 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1852 (org-agenda): Allow to keep the restricted file list if a special
1853 variable is bound to t.
1854 (org-agenda): Define a special agenda view for working on flagged
1856 (org-agenda-get-restriction-and-command): List the new agenda
1858 (org-agenda-show-the-flagging-note): New command.
1859 (org-agenda-mode-map): New key `?' for looking at the flagging
1862 * org.el (org-autoload): Autoload org-mobile.el.
1863 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1865 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1867 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1869 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1871 (org-table-get-remote-range): Match indented #+TBLNAME
1874 * org.el (org-convert-to-odd-levels)
1875 (org-convert-to-oddeven-levels): Work also correctly if the file
1878 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1880 * org.el (org-store-link): When in agenda buffer, link to
1882 (org-add-planning-info): Remove spaces at eol.
1884 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1887 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1889 * org-latex.el (org-export-latex-first-lines): Fix problem with
1890 LaTeX export of first line and selected subtree.
1892 * org.el (org-shifttab): Interpret arg differently when using only
1895 2009-09-09 Bastien Guerry <bzg@altern.org>
1897 * org.el (org-check-agenda-file): Use a more explicit message
1899 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1901 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1904 2009-09-08 Bastien Guerry <bzg@altern.org>
1906 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1907 prompt in the temporary window.
1909 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1910 prefix for marked entries in the agenda view.
1912 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1914 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1915 a way that prevents any trailing character from being displayed.
1917 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1919 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1922 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1925 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1927 * org-latex.el (org-export-latex-preprocess): Do not protect in
1930 * org-src.el (org-edit-src-save): Save window setup while saving.
1931 (org-edit-src-code): Use new buffer name construction scheme.
1933 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1935 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1937 (org-agenda-entry-text-cleanup-hook): New hook.
1938 (org-agenda-get-some-entry-text): Remove matches of
1939 `org-agenda-entry-text-exclude-regexps' and run the hook
1940 `org-agenda-entry-text-cleanup-hook'.
1942 * org.el (org-offer-links-in-entry): New argument ZERO to
1943 implement a link with index zero.
1944 (org-cycle-show-empty-lines): Not keep empty line under header
1946 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1947 to nil for special completion.
1948 (org-store-link): Don't error before the first heading.
1950 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1951 `org-offer-links-in-entry'.
1953 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1955 * org-agenda.el (org-agenda-quit): Provide the window argument for
1956 `window-dedicated-p', Emacs 22 needs it.
1957 (org-format-agenda-item): If the category is a link, arrange for
1958 invisible text to replaced with spaces.
1959 (org-compile-prefix-format): Add the extra space.
1960 (org-prefix-category-length): New variable.
1962 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1963 references from TOC lines.
1965 * org.el (org-selected-window): New variable.
1967 * org-table.el (org-table-edit-formulas): Remember the selected
1969 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1970 that was originally selected.
1972 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1973 expansion of a macro for more macro definitions.
1975 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1976 invisibility overlay starts on the newline.
1978 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1980 * org-protocol.el (org-protocol-store-link)
1981 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1983 * org-compat.el (org-float-time): New function.
1985 * org.el (org-clock-update-time-maybe)
1986 (org-sort-entries-or-items, org-do-sort)
1987 (org-evaluate-time-range, org-time-string-to-seconds)
1988 (org-closed-in-range): Use `org-float-time'.
1990 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1991 (org-timer-seconds): Use `org-float-time'.
1993 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1994 (org-clock-sum, org-dblock-write:clocktable)
1995 (org-clocktable-steps): Use `org-float-time'.
1997 * org-agenda.el (org-agenda-last-marker-time)
1998 (org-agenda-new-marker, org-diary): Use `org-float-time'.
2000 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2003 * org-exp.el (org-get-file-contents): Only protect lines that
2006 * org-html.el (require): Require cl for compilation.
2008 * org.el: Avoid using `default-major-mode'.
2010 * org-plot.el (require): Require CL only at compile time.
2012 * org-exp.el (require): Require CL only at compile time.
2014 * org-agenda.el (org-agenda-quit): When the agenda window is
2015 dedicated, remove other windows before exiting, so that the frame
2016 really will be killed.
2018 * org-exp.el (org-export-handle-include-files): Reset START and
2019 END for each loop cycle.
2021 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
2023 * org.el (org-eval-in-calendar): Use
2024 `org-select-frame-set-input-focus'.
2026 * org-compat.el (org-select-frame-set-input-focus): New function.
2028 * org.el (org-update-statistics-cookies): New function.
2029 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2031 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
2033 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2034 after the local variables are set.
2036 * org-latex.el (org-export-latex-protect-amp): New function.
2037 (org-export-latex-links): Protect link ampersands in tables.
2039 * org-exp.el (org-export-select-backend-specific-text): Match in
2040 two steps, to avoid regexp problems.
2042 * org.el (org-offer-links-in-entry): Improve working with many and
2045 * org-agenda.el (org-agenda-show-1): Make more consistent with
2047 (org-agenda-cycle-show): Make more consistent with normal cycling.
2049 * org-gnus.el (org-gnus-store-link): Restore the linking to a
2052 2009-08-30 Bastien Guerry <bzg@altern.org>
2054 * org-latex.el (org-export-latex-first-lines): Bugfix.
2056 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
2058 * org-clock.el (org-clock-modify-effort-estimate): Emit message
2061 * org.el (org-set-effort): New function.
2062 (org-mode-map): New key for effort setting command.
2064 * org-agenda.el (org-agenda): Keep window setup when calling
2065 agenda from within agenda window.
2066 (org-agenda-mode-map): New keys for effort setting commands.
2067 (org-agenda-menu): Add effort setting commands to menu.
2068 (org-agenda-set-property, org-agenda-set-effort): New functions.
2070 * org-latex.el (org-export-latex-tables): Fix
2071 `org-table-last-alignment' and `org-table-last-column-widths' if
2072 the first column has been removed.
2074 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
2076 * org.el (org-remove-timestamp-with-keyword): Only remove in
2077 entry, not in subtree.
2079 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2082 * org.el (org-open-at-point): When on headline, offer all strings
2085 * org-remember.el (org-remember-templates): Documentation fix.
2087 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2088 `org-get-last-sibling' instead of the outline versions of these
2090 (org-get-last-sibling): New function.
2091 (org-refile): Use `org-get-next-sibling' instead of the outline
2092 version of this function.
2093 (org-clean-visibility-after-subtree-move): Use
2094 `org-get-next-sibling' and `org-get-last-sibling' instead of the
2095 outline versions of these functions.
2097 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
2099 * org-agenda.el (org-prepare-agenda): When creating a new frame
2100 for the agenda, make the window dedicated.
2102 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2104 * org-table.el (org-table-align): Change the order of reinsertion
2105 and deletion, to avoid problems with overlays following the table.
2107 * org.el (org-parse-time-string): Better error message.
2108 (org-show-subtree): Use org-end-of-subtree.
2110 * org-macs.el (org-goto-line): New defsubst.
2112 * org.el (org-open-file, org-change-tag-in-region)
2113 (org-fast-tag-show-exit): Don't use `goto-line'.
2115 * org-table.el (org-table-align, org-table-insert-column)
2116 (org-table-delete-column, org-table-move-column)
2117 (org-table-sort-lines, org-table-copy-region)
2118 (org-table-paste-rectangle, org-table-wrap-region)
2119 (org-table-get-specials, org-table-rotate-recalc-marks)
2120 (org-table-get-range, org-table-recalculate)
2121 (org-table-edit-formulas, org-table-fedit-convert-buffer)
2122 (org-table-show-reference, org-table-highlight-rectangle): Don't
2125 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2126 (org-edit-src-exit): Don't use `goto-line'.
2128 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2130 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2131 Don't use `goto-line'.
2133 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2135 * org-colview.el (org-columns, org-columns-redo)
2136 (org-agenda-columns): Don't use `goto-line'.
2138 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2141 * org-agenda.el (org-agenda-mode): Force visual line motion off.
2142 (org-agenda-add-entry-text-maxlines): Improve docstring.
2143 (org-agenda-start-with-entry-text-mode): New option.
2144 (org-agenda-entry-text-maxlines): New option.
2145 (org-agenda-entry-text-mode): New variable.
2146 (org-agenda-mode): Set initial value of
2147 `org-agenda-entry-text-mode'.
2148 (org-agenda-mode-map): Add the `E' key.
2149 (org-agenda-menu): Add entry text mode to the menu.
2150 (org-agenda-get-some-entry-text): Fix line count bug.
2151 (org-finalize-agenda): Apply entry text mode if appropriate.
2152 (org-agenda-entry-text-show-here): New function.
2153 (org-agenda-entry-text-show): New function.
2154 (org-agenda-entry-text-hide): New function.
2155 (org-agenda-view-mode-dispatch): Add entry text mode to the view
2157 (org-agenda-entry-text-mode): New command.
2158 (org-agenda-set-mode-name): Add entry text mode to the mode line
2160 (org-agenda-undo, org-agenda-get-restriction-and-command)
2161 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2164 2009-08-26 Bernt Hansen <bernt@norang.ca>
2166 * org-clock.el (org-notify): Bugfix.
2168 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
2170 * org-agenda.el (org-agenda-open-link): Handle multiple links and
2171 check for after-string.
2173 * org-gnus.el (org-gnus-store-link): Simplify.
2175 * org.el (org-latex-regexps): Don't add extra empty lines for
2178 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
2180 * org-agenda.el (org-agenda-get-some-entry-text): New function.
2181 (org-agenda-add-entry-text): Use
2182 `org-agenda-get-some-entry-text'.
2184 * org.el (org-cycle-separator-lines): Update docstring.
2185 (org-cycle-show-empty-lines): Handle negative values for
2186 `org-cycle-show-empty-lines'.
2188 * org-exp.el (org-export-protect-sub-super): New function.
2189 (org-export-normalize-links): Protect the url of plain links from
2190 supscript and superscript processing.
2192 * org-remember.el (org-remember-escaped-%): New function.
2193 (org-remember-apply-template): Use `org-remember-escaped-%' to
2194 detect escaped % signs.
2196 2009-08-23 Bastien Guerry <bzg@altern.org>
2198 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2199 sound when showing the notification.
2201 * org-clock.el (org-notify): New function.
2202 (org-clock-notify-once-if-expired): Use `org-notify'.
2204 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2205 and `gnus-article-mode' separately.
2206 (gnus-summary-article-header): Fix the declare-function.
2208 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
2210 * org-exp.el (org-export-format-source-code-or-example): Translate
2213 * org-src.el (org-src-lang-modes): New variable
2214 (org-edit-src-code): Translate language.
2216 * org-exp.el (org-export-format-source-code-or-example): Deal wit
2217 the new structure of the `org-export-latex-listings-langs'
2220 * org-latex.el (org-export-latex-listings-langs): Change structure
2221 of the variable from plist to alist.
2223 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
2225 * org.el (org-in-commented-line): New function.
2227 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
2229 * org.el (org-hide-block-toggle): Make folded blocks searchable.
2231 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
2233 * org.el (org-flag-drawer): More useful error.
2235 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
2237 * org-remember.el (org-remember-apply-template): Use
2238 org-icompleting-read.
2240 * org-publish.el (org-publish): Use org-icompleting-read.
2242 * org-colview.el (org-columns-edit-value, org-columns-new)
2243 (org-insert-columns-dblock): Use org-icompleting-read.
2245 * org-colview-xemacs.el (org-columns-edit-value)
2246 (org-columns-new, org-insert-columns-dblock): Use
2247 org-icompleting-read.
2249 * org-attach.el (org-attach-delete-one, org-attach-open): Use
2250 org-icompleting-read.
2252 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
2254 * org.el (org-hierarchical-todo-statistics): Improve docstring.
2255 (org-version): Return the version text.
2256 (org-org-menu): Add a menu entry for the new bug reporter.
2257 (org-submit-bug-report): New command.
2259 * org-list.el (org-hierarchical-checkbox-statistics): Improve
2262 * org.el (org-emphasis-regexp-components): Add "`" to set of
2263 pre-emphasis characters.
2265 * org-latex.el (org-export-latex-classes): Always include the soul
2267 (org-export-latex-emphasis-alist): Use \st for strikethough.
2269 * org-exp-blocks.el (org-export-blocks-preprocess): Use
2270 `indent-code-rigidly' to indent.
2272 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2273 properties only if MATCH really is a string.
2275 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
2277 * org-latex.el (org-export-latex-packages-alist): Fix
2280 * org.el (org-create-formula-image): Also use
2281 `org-export-latex-packages-alist'.
2283 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2284 (org-export-as-html): Format footnotes correctly.
2286 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
2288 * org.el (org-fast-tag-selection): Avoid text properties on tags
2291 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2292 text properties on the match element.
2294 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
2296 * org.el (org-set-regexps-and-options): Make sure the list of done
2297 keywords is not invalid.
2299 * org-exp.el (org-export-interpolate-newlines): New function.
2301 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
2303 * org.el (org-format-latex): Avoid nested overlays.
2305 * org-latex.el (org-export-latex-listings-langs): Add a few more
2308 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2309 ignore newlines and space before the first macro argument.
2311 * org-latex.el (org-export-latex-tables): Remove save-excursion
2312 around `org-table-align'.
2314 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
2316 * org.el (org-export-html-special-string-regexps): Definition
2319 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2322 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
2324 * org-latex.el (org-export-latex-listings)
2325 (org-export-latex-listings-langs): New options.
2327 * org-exp.el (org-export-format-source-code-or-example): Use
2328 listing package if requested by the user.
2330 2009-08-08 Bastien Guerry <bzg@altern.org>
2332 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2333 command before actually switching to a buffer.
2335 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
2337 * org-exp.el (org-get-file-contents): Only quote org lines when
2338 the markup is src or example.
2340 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2342 (org-agenda-get-day-entries): Remember deadline results and pass
2343 them on into the function getting the scheduling information.
2344 (org-agenda-get-scheduled): Accept deadline results as parameters
2345 and maybe skip some entries.
2346 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2348 * org.el (org-insert-heading): When respecting content, do not
2349 convert current line to headline.
2351 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2352 cheeeeeck the hd marker
2353 (org-clock-in): Also set the hd marker.
2354 (org-clock-out): Also set the hd marker.
2355 (org-clock-cancel): Reset markers.
2357 * org.el (org-clock-hd-marker): New marker.
2359 * org-faces.el (org-agenda-clocking): New face.
2361 * org-agenda.el (org-agenda-mark-clocking-task): New function.
2362 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2364 * org.el (org-modules): Add org-track.el.
2366 * org-agenda.el (org-agenda-bulk-marked-p): New function.
2367 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2368 `org-agenda-bulk-marked-p'.
2369 (org-agenda-bulk-toggle): New command.
2371 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2373 * org.el (org-move-subtree-down): Hide subtree if it was folded,
2376 * org-remember.el (org-remember-finalize): Avoid buffer-modified
2379 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2381 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2382 before gnuplot can read it.
2384 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
2386 * org-latex.el (org-export-latex-first-lines): Fix bug with
2387 finding the end of the first lines.
2389 * org.el (org-create-formula-image): Remove the -E option for
2392 * org-exp.el (org-default-export-plist): Respect #+BIND.
2393 (org-export-confirm-letbind): New function.
2395 * org.el (org-paste-subtree): Test the kill ring entry if it is
2397 (org-copy-subtree): Use `org-forward-same-level'.
2398 (org-forward-same-level): Respect the `invisibe-ok' arg for
2401 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
2403 * org.el (org-table-map-tables): Make sure cursor is back at table
2404 beginning after funcall.
2406 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2407 handled before children, and do not error if an entry is not
2408 found, probably because it hase been remove when the parent was
2409 archived or refiled.
2411 * org.el (org-ido-completing-read): Accept straight lists for
2412 completion as well as alists.
2414 * org-html.el (org-export-as-html): Fix parenthesis error in
2417 * org-timer.el (org-timer-cancel-timers): Renamed from
2418 `org-timer-cancel-timers'.
2420 * org.el (org-cycle-internal-local): Fix problem with finding next
2423 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
2425 * org-list.el (org-list-send-list): Call
2426 `org-list-goto-true-beginning' instead of
2427 `org-list-find-true-beginning', which does not exist.
2429 * org-timer.el (org-timer-reset-timers): Use `mapc'.
2430 (org-timer-set-timer): Do not assign to heading.
2432 * org-id.el (org-id-open): Quote function name.
2434 * org-macs.el (org-unmodified): Turn off recording undo
2435 information while running inside the macro.
2437 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2439 (org-indent-mode): Remember and restore value of
2440 org-hide-leading-stars before `org-indent-mode'.
2442 * org-table.el (org-table-export): Also work in file-less
2445 * org.el (org-startup-indented): New option.
2446 (org-startup-options): Add new options indent and noindent.
2447 (org-unfontify-region): Remove line-prefix and wrap-prefix
2449 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2451 (org-promote, org-demote): Run the new hooks.
2453 * org-table.el (org-table-align): Replace leading \n as well.
2455 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2456 and `line-wrap' text properties.
2458 * org-compat.el (org-kill-new): New function.
2460 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2461 `line-wrap' text properties.
2463 * org-indent.el: New file.
2465 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
2467 * org.el (org-provide-todo-statistics): Tweak docstring.
2469 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2471 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
2473 * org-exp.el (org-export-as-org): Insert the "-source" string
2474 before the extension.
2476 * org.el (org-read-date): Make sure the calendar is in the current
2478 (org-set-emph-re): Remove the ? from the post-match.
2479 (org-emphasis-regexp-components): Add backslash to the
2481 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2482 optional so that also lines at the end of the buffers will still
2483 be matched as headlines.
2485 * org-table.el (org-table-error-on-row-ref-crossing-hline):
2486 Variable made obsolete.
2487 (org-table-relative-ref-may-cross-hline): New option.
2488 (org-table-find-row-type): Honow the new option
2489 `org-table-relative-ref-may-cross-hline'.
2491 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
2493 * org-table.el (org-table-cut-region, org-table-copy-region): Work
2494 on single field if no active region.
2496 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
2498 * org-latex.el (org-export-latex-make-header): Only insert title
2501 * org.el (org-make-options-regexp): Allow empty values.
2503 * org-html.el (org-export-as-html): Move hrule detection to after
2504 plain list handling.
2506 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
2508 * org-html.el (org-format-org-table-html): Fix colgroup tags.
2510 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
2512 * org.el (org-cycle-internal-local): Improved version of finding
2514 (org-cycle-hide-drawers): Only hide drawers if this is really
2516 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2517 org-version of this function in Org-mode. We use advice to
2518 implement this change, so that future changes to this function in
2519 outline.el wil be handled properly.
2520 (org-forward-same-level, org-backward-same-level): New commands.
2522 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
2524 * org.el (org-remove-empty-overlays-at)
2525 (org-clean-visibility-after-subtree-move): New functons.
2526 (org-move-subtree-down): Simplify cleanup of display.
2528 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
2530 * org-mac-message.el (org-mac-message-get-links): Improve
2531 docstring. Make argument SELECT-OR-FLAGGED optional, default to
2532 "s". Fix the return value.
2533 (org-mac-message-insert-flagged): Simplify.
2535 * org.el (org-refile-get-location): Tamper with refile history o
2536 that history contains compete matches instead of the entered
2539 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
2541 * org.el (org-store-link): Never store a link to an inline task.
2543 * org-inlinetask.el (org-inlinetask-insert-task): New command.
2545 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2546 inline tasks when positioning footnotes.
2548 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2551 * org.el (org-refile): Remove the END line when archiving an
2552 inline task that does have an END line.
2554 * org-archive.el (org-archive-subtree): Remove the END line when
2555 archiving an inline task that does have an END line.
2557 * org-macs.el (org-with-limited-levels): New macro.
2558 (org-get-limited-outline-regexp): New function.
2560 * org-exp.el (org-export-format-source-code-or-example): Fix bug
2561 that did not enumerate first line.
2562 (org-export-mark-radio-links): Skip matches in links.
2564 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
2566 * org.el (org-activate-plain-links): Make single-match.
2567 (org-adapt-indentation): Fix docstring.
2569 * org-macs.el (org-unmodified): Turn of modification hooks while
2572 2009-08-02 Bastien Guerry <bzg@altern.org>
2574 * org.el (org-adapt-indentation): Slightly improve the docstring.
2575 (org-occur): Sends an error when the user inputs an empty string.
2576 (org-priority): Bugfix: the tag alignement should happen within
2579 2009-07-31 Bastien Guerry <bzg@altern.org>
2581 * org.el (org-make-link-regexps): Don't exclude parentheses from
2583 (org-cycle-internal-local): When locally cycling, switch directly
2584 from CHILDREN to FOLDED if there is no subtree
2585 (org-cycle): Update the docstring to document the new behavior of
2586 `org-cycle-internal-local'.
2588 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
2590 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2591 an abbreviated format for days.
2593 2009-07-27 Bastien Guerry <bzg@altern.org>
2595 * org-protocol.el (org-protocol-default-template-key): New
2598 * org.el (org-refile): Bugfix: save-excursion before reading the
2599 refile target, otherwise cursor moves might confuse `org-refile'.
2601 * org-html.el (org-export-as-html): Bugfix: correctly convert the
2602 footnote reference before the footnote itself.
2604 * org.el (org-toggle-heading): Bugfix: correctly convert list
2605 items before the first headline.
2607 * org-html.el (org-export-html-footnote-format): New option for
2608 formatting the footnote reference.
2609 (org-export-as-html): Use the new option.
2611 * org.el (org-provide-todo-statistics): Allow a list of TODO
2612 keywords to compute statistics against headlines containing a
2613 keyword from this list.
2614 (org-update-parent-todo-statistics): Possibly use the new allowed
2615 value of `org-provide-todo-statistics'.
2617 2009-07-26 Bastien Guerry <bzg@altern.org>
2619 * org-timer.el: Add autoload cookie.
2621 * org.el (org-occur-link-in-agenda-files): New function.
2623 * org-timer.el (org-timer-last-timer): New variable.
2625 * org-agenda.el (org-agenda-mode-map): New key for
2626 org-timer-set-timer called from the agenda.
2628 * org.el (org-mode-map): New key for org-timer-set-timer.
2630 * org-timer.el (org-timer-reset-timers)
2631 (org-timer-show-remaining-time, org-timer-set-timer): New
2634 * org-clock.el (org-show-notification): Update the docstring.
2636 * org.el (org-provide-todo-statistics): Allow new value
2637 'all-headlines for this option, which includes entries with no
2638 TODO keywords in the todo statistics.
2639 (org-update-parent-todo-statistics): Possibly use the new
2640 'all-headline value from `org-provide-todo-statistics'.
2642 2009-07-25 Bastien Guerry <bzg@altern.org>
2644 * org-clock.el (org-dblock-write:clocktable): Add a new option
2645 :timestamp which allows display of timestamps in clock reports.
2647 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2648 list to a subtree, preserving the structure of the list.
2649 (org-set-emph-re): Make the last element optional in the regexp.
2650 This regexp now matches an emphasized string at the end of a line.
2652 * org-list.el (org-list-goto-true-beginning)
2653 (org-list-make-subtree, org-list-make-subtrees): New functions.
2655 * org.el (org-eval-in-calendar): Select the right frame.
2656 (org-save-frame-excursion): Remove this macro.
2658 2009-07-24 Bastien Guerry <bzg@altern.org>
2660 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2661 trying to find the beginning of a list.
2663 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2664 When present, tell org-get-file-contents not to protect org-like
2667 * org-id.el (org-id-uuid-program): New option to set the name of
2668 the uuidgen program.
2669 (org-id-method): Use `org-id-uuid-program'.
2670 (org-id-new): Use `org-id-uuid-program'.
2672 2009-07-23 Bastien Guerry <bzg@altern.org>
2674 * org-exp.el (org-export-number-lines): Allow whitespace in code
2675 references. Allow the -r switch to remove the references in the
2676 source code even when the lines are not numbered: the labels can
2679 * org.el (org-fontify-whole-heading-line): New option.
2680 (org-set-font-lock-defaults): Use the new option.
2682 * org-clock.el (org-show-notification-handler): New option.
2683 (org-show-notification): Use the new option.
2685 2009-07-21 Bastien Guerry <bzg@altern.org>
2687 * org.el (org-eval-in-calendar): Fix a bug about calendar
2688 navigation when `calendar-setup' value is 'calendar-only.
2690 2009-07-19 Bastien Guerry <bzg@altern.org>
2692 * org.el (orgstruct++-mode): Fix typo in docstring.
2693 (org-insert-link): Clean up: (or (...)) => (...)
2694 (org-insert-link): Use TAB for stored links completion.
2696 2009-07-18 Bastien Guerry <bzg@altern.org>
2698 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2699 building the list of targets.
2701 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2703 (org-remember-handler): Use the new option.
2705 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2707 * org.el (org-tags-sort-function): New option for sorting tags.
2708 (org-set-tags): Use the new option to sort tags.
2710 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2711 premature deletion of the data when using org-plot in a script.
2713 2009-07-17 Bastien Guerry <bzg@altern.org>
2715 * org-clock.el (org-clock-in-prepare-hook): New hook.
2716 (org-clock-in): Use this new hook.
2718 2009-07-16 Bastien Guerry <bzg@altern.org>
2720 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2721 'reversed for this option to the "true line boundary first"
2723 (org-tags-match-list-sublevels): Document the 'indented value for
2726 * org-latex.el (org-export-latex-first-lines): Fix problem with
2727 publishing the region.
2729 * org-exp.el (org-export-format-source-code-or-example): Fix
2730 bad line numbering when exporting examples in HTML.
2732 * org-colview.el (org-format-time-period): Formats a time in
2733 fractional days as days, hours, mins, seconds.
2734 (org-columns-display-here): Add special handling for SINCE and
2735 SINCE_IA to format for display.
2737 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2739 * org.el (org-tags-sort-function): Add custom declaration for tags
2741 (org-set-tags): Sort tags if org-tags-sort-function is set
2743 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2745 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2747 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2749 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2752 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2754 * org-publish.el (org-publish-remove-all-timestamps): New function.
2755 (org-publish-all): Remove all timestamp files if `org-publish-all'
2756 is called with a prefix argument.
2758 * org-list.el (org-indent-item): Fix typo.
2759 (org-item-indent-positions): Normalize ordered bullet.
2761 * org-html.el (org-export-html-home/up-format): New option.
2762 (org-export-as-html): Insert the up and HOME links.
2764 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2766 * org-html.el (org-export-as-html): Insert the title into the
2768 (org-export-html-insert-plist-item): New function.
2769 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2771 * org-macs.el (org-set-local): Make a local variable, do not make
2772 the variable buffer-local!
2774 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2776 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2778 * org-docbook.el (org-export-as-docbook): Call
2779 `org-install-letbind'.
2781 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2783 * org-exp.el (org-infile-export-plist): Read BIND lines.
2784 (org-install-letbind): New function.
2785 (org-export-as-org, org-export-preprocess-string): Call
2786 `org-install-letbind'.
2788 * org-src.el (org-edit-src-exit): Untabify the example before
2791 * org-list.el (org-list-demote-modify-bullet): New option.
2792 (org-first-list-item-p): Save point.
2793 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2794 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2795 (org-item-indent-positions): Return bullet types along with
2798 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2800 * org.el (org-show-entry): Hide drawers.
2802 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2804 * org-footnote.el (org-footnote-auto-adjust): New option.
2805 (org-footnote-auto-adjust-maybe): New function.
2806 (org-footnote-new, org-footnote-delete): Call
2807 `org-footnote-auto-adjust-maybe'.
2809 * org.el (org-startup-options): Add new footnote-related
2812 * org-publish.el (org-publish-timestamp-filename): Additional
2813 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2814 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2815 TRUE-PUB-DIR. Pass them through to
2816 `org-publish-timestamp-filename'.
2817 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2818 PUB-FUNC, which are included in the hash.
2819 (org-publish-file): Delay timestamp test until the publishing
2822 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2824 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2825 setting the deadline.
2827 * org.el (org-read-date-final-answer): New variable.
2828 (org-read-date): Store the final answer string, including the date
2829 from the calendar, for reuse by agenda bulk commands.
2831 * org-publish.el (org-publish-attachment): Fix publishing of
2834 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2835 quotation makrs in parenthesis.
2836 (org-remove-initial-hash): New function.
2837 (org-export-latex-preprocess): Fix bug with infinite loop if
2838 environment is not properly closed.
2840 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2843 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2844 highlight also when indented.
2846 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2848 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2849 (org-footnote-action): Offer renumbering.
2851 * org.el (org-cycle): Honor the `integrate' value of
2852 org-cycle-include-plain-lists'.
2854 * org-list.el (org-cycle-include-plain-lists): New allowed value
2855 `internal'. Improve the docstring.
2857 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2858 regexp to work better with LaTeX commands.
2860 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2862 * org-feed.el (org-feed-update): fix problem with non-existing
2864 (org-feed-skip-http-headers): New function.
2865 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2866 (org-feed-get-feed): Fix command line arguments for curl.
2868 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2870 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2873 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2875 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2878 * org.el (org-map-entries): No longer force
2879 `org-tags-match-list-sublevels' to t during a todo-only tags
2882 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2884 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2886 (org-export-latex-subcontent): Handle user-defined environment.
2888 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2889 the View dispatcher.
2891 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2894 * org-latex.el (org-export-as-pdf): Protect match data during call
2895 to shell-quote-argument.
2897 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2898 (org-agenda-view-mode-dispatch): New function.
2900 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2902 * org-agenda.el (org-agenda-mode): Reset list of marks.
2903 (org-agenda-mode-map): Define new keys for refile and bulk action.
2904 (org-agenda-menu): Add menu itesm for refile and bulk action.
2905 (org-agenda-refile): New function.
2906 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2907 (org-agenda-marked-entries): New variable.
2908 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2909 (org-agenda-remove-all-bulk-action-marks)
2910 (org-agenda-bulk-action): New functions/commands.
2912 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2914 * org-exp.el (org-get-file-contents): Protect org-like lines in
2916 (org-export-format-source-code-or-example): Remove newlines.
2918 * org-latex.el (org-export-latex-links): Check for no-description
2921 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2922 argument separator back to comma.
2923 (org-export-normalize-links): Mark links without description.
2925 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2927 * org-exp.el (org-infile-export-plist): Fix bug in macro
2930 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2932 (org-agenda-highlight-todo): Fix bug with highlighting.
2934 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2936 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2937 new alignment strings.
2939 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2941 (org-table-align): Check for forced align type.
2943 * org.el (org-self-insert-command): Add yas/expand to command
2946 * org-clock.el (org-clock-in-hook): New hook.
2947 (org-clock-in): Run `org-clock-in-hook.
2948 (org-clock-out-hook): New hook.
2949 (org-clock-out): Run `org-clock-out-hook.
2950 (org-clock-cancel-hook): New hook.
2951 (org-clock-cancel): Run `org-clock-cancel-hook.
2952 (org-clock-goto-hook): New hook.
2953 (org-clock-goto): Run `org-clock-goto-hook.
2955 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2957 * org.el (org-store-link): Better default description for link to
2960 * org-exp.el (org-export-generic): Autoload the generic exporter
2962 (org-export): Implement the `g' key for the generic exporter.
2964 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2966 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2969 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2971 * org-exp.el (org-infile-export-plist): Get macros also from
2974 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2976 * org-colview.el (org-columns-capture-view): Protect vertical bars
2978 (org-columns-capture-view): Exclude comment and archived trees.
2980 * org-colview-xemacs.el (org-columns-capture-view): Protect
2981 vertical bars in column values.
2982 (org-columns-capture-view): Exclude comment and archived trees.
2984 * org.el (org-quote-vert): New function.
2986 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2988 * org-exp.el (org-export-format-source-code-or-example): Use
2989 `org-export-latex-verbatim-wrap'.
2991 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2994 * org-html.el (org-export-table-row-tags): New option.
2995 (org-format-org-table-html): Rename `nlines' to `nline', use new
2999 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
3001 * org-exp-blocks.el: Declare functions and variables.
3003 * org-remember.el (org-remember-templates): Allow the headline
3004 element to be a function.
3005 (org-remember-apply-template): If the headline is a function, call
3006 it to get the true function.
3008 * org-clock.el (org-clock-menu): New function.
3009 (org-clock-update-mode-line): Update help string.
3010 (org-clock-modify-effort-estimate): New function.
3011 (org-clock-mark-default-task): New function.
3013 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3015 (org-org-menu): Add new clocking stuff.
3016 (org-clock-is-active): New function.
3018 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
3020 * org.el (org-open-non-existing-files): Improve docstring.
3022 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
3024 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3026 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3028 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3030 * org-list.el (org-get-checkbox-statistics-face): Use the new
3033 * org-faces.el (org-checkbox-statistics-todo)
3034 (org-checkbox-statistics-done): New faces.
3036 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
3038 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3039 (org-edit-src-exit): Better cursor positioning when returning from
3042 * org-latex.el (org-export-latex-use-verb): New variable.
3043 (org-export-latex-emph-format): Prefer \texttt over \verb when
3044 org-export-latex-use-verb is set.
3046 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
3048 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3049 at normal indentation.
3051 * org-html.el (org-export-html-close-lists-maybe): Also look at
3054 * org-remember.el (org-remember-handler): Abort remember if the
3057 * org-src.el (org-edit-src-content-indentation): New option.
3058 (org-edit-src-exit): Apply extra indentation.
3060 * org-exp.el (org-export-format-source-code-or-example): Run
3061 `org-src-mode-hook'.
3063 * org-src.el (org-src-mode-hook): New variable.
3064 (org-edit-src-code): Run `org-src-mode-hook'.
3066 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
3068 * org.el (org-indent-line-function): Fix indentation of +#end lines.
3070 * org-src.el (org-edit-src-get-indentation): New function.
3071 (org-edit-src-code): Base indentation on the begin line.
3073 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
3075 * org-gnus.el (org-gnus-store-link): Require message.el in
3076 org-gnus-store-link.
3078 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
3080 * org-src.el: New file, split out of org.el
3082 * org-docbook.el (org-export-as-docbook): Better indentation
3085 * org-macs.el (org-replace-match-keep-properties): New function.
3087 * org-exp.el (org-export-mark-blockquote-verse-center): Better
3088 preprocessing of center and quote and verse blocks.
3090 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3091 (org-export-as-docbook): Close lists when original indentation
3094 * org-html.el (org-export-html-close-lists-maybe): New function.
3095 (org-export-as-html): Close lists when original indentation
3098 * org-list.el (org-list-end): Respect the stored "original"
3099 indentation when determining the end of the list.
3101 * org-exp.el (org-export-replace-src-segments-and-examples):
3102 Remember indentation correctly.
3104 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
3106 * org-clock.el (org-clock-update-mode-line): Apply face
3107 org-mode-line-clock.
3109 * org-faces.el (org-mode-line-clock): New face.
3111 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
3113 * org-gnus.el (org-gnus-store-link): Fix bug where
3114 `org-gnus-store-link' used wrong subject when called in an article
3115 buffer. Patch provided by fengli AT gmail DOT com.
3117 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
3119 * org-exp.el (org-export-format-source-code-or-example): Remember
3120 the original indentation of source code snippets and examples.
3122 * org-latex.el (org-export-as-latex): Relocate the table of
3125 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3127 * org-agenda.el (org-run-agenda-series): Scope global options also
3128 when creating the agenda buffer.
3130 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
3132 * org.el (org-adapt-indentation): Improve documentation.
3133 (org-insert-property-drawer): Respect org-adapt-indentation when
3134 inserting the drawer.
3135 (org-remove-flyspell-overlays-in): New function.
3136 (org-do-emphasis-faces, org-activate-plain-links)
3137 (org-activate-code, org-fontify-meta-lines-and-blocks)
3138 (org-activate-angle-links, org-activate-footnote-links)
3139 (org-activate-bracket-links, org-activate-dates)
3140 (org-activate-target-links, org-activate-tags): Remove flyspell
3143 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
3145 * org.el (org-edit-src-save): New function.
3147 * org-clock.el (org-clock-out-switch-to-state): New option.
3148 (org-clock-out): Honor `org-clock-out-switch-to-state'.
3150 * org-compat.el (org-compatible-face): Improve macro.
3152 * org.el (org-global-properties-fixed): Add default for
3153 CLOCK_MODELINE_TOTAL.
3155 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3157 (org-clock-sum-current-item): Optional argument TSTART, pass it to
3159 (org-clock-get-sum-start): New function.
3161 * org.el (org-startup-options): New keywords blockhide and
3163 (org-mode): Add new invisibility spec.
3164 (org-set-startup-visibility): Hide block on startup if so
3166 (org-hide-block-startup): New option.
3167 (org-block-regexp): New constant.
3168 (org-hide-block-overlays): New variable.
3169 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3170 (org-show-block-all, org-hide-block-toggle-maybe)
3171 (org-hide-block-toggle): New functions.
3172 (org-edit-src-exit): Do not quote lines starting with # and no +
3174 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3177 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
3179 * org.el (org-buffer-property-keys): Add Effort property for
3182 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
3184 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3185 when retrieving total clocked time in the subtree.
3187 * org.el (org-quoting-blocks): New variable.
3189 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
3191 * org-table.el (org-table-store-formulas)
3192 (org-table-get-stored-formulas, org-table-fix-formulas)
3193 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3194 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3196 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3197 indented #+TBLFM line.
3199 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3200 indented #+TBLFM line.
3202 * org-colview.el (org-dblock-write:columnview): Allow indented
3205 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3206 indented #+TBLFM line.
3208 * org-clock.el (org-dblock-write:clocktable): Allow indented
3211 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
3213 * org-exp.el (org-export-format-source-code-or-example): Make
3214 editing indented blocks work correctly.
3216 * org.el (org-edit-src-nindent): New variable.
3217 (org-edit-src-code, org-edit-fixed-width-region)
3218 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3219 editing indented blocks work correctly.
3221 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
3223 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3225 (org-export-format-source-code-or-example): Fix indentation of
3227 (org-export-remove-indentation): New function.
3228 (org-export-select-backend-specific-text): Allow backend-specific
3229 code to be indented.
3230 (org-export-mark-blockquote-verse-center): Allow markers to be
3233 * org.el (org-fontify-meta-lines): New function.
3234 (org-set-font-lock-defaults): Call the new fontification
3237 * org-faces.el (org-meta-line): New face
3238 (org-block): New face.
3240 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
3242 * org.el (org-treat-insert-todo-heading-as-state-change)
3243 (org-treat-S-cursor-todo-selection-as-state-change): New
3245 (org-insert-todo-heading): Honor
3246 `org-treat-insert-todo-heading-as-state-change'.
3247 (org-shiftright, org-shiftleft): Honor
3248 `org-treat-S-cursor-todo-selection-as-state-change'.
3249 (org-inhibit-logging): New variable.
3251 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
3253 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3254 range for marker position checking.
3256 * org-latex.el (org-export-latex-first-lines): Fix bug when
3259 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
3261 * org-exp.el (org-export-push-to-kill-ring): Protect using
3262 x-set-selection, because that does not always work.
3264 * org-agenda.el (org-agenda-list): Apply the new face
3265 `org-agenda-date-today'.
3267 * org-faces.el (org-agenda-date-today): New face.
3269 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
3271 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3272 creating appointments.
3274 * org-latex.el (org-export-latex-low-levels): Fix customization
3277 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3280 * org-agenda.el (org-agenda-priority): Disable priority commands.
3282 * org.el (org-enable-priority-commands): New option.
3284 * org-colview-xemacs.el (org-columns-compute)
3285 (org-columns-number-to-string): Fix problems with empty fields.
3287 * org-colview.el (org-columns-compute)
3288 (org-columns-number-to-string): Fix problems with empty fields.
3290 * org-exp.el (org-export-push-to-kill-ring): New function.
3291 (org-export-copy-to-kill-ring): New option.
3293 * org-latex.el (org-export-as-latex): Call
3294 `org-export-push-to-kill-ring'.
3296 * org-html.el (org-export-as-html): Call
3297 `org-export-push-to-kill-ring'.
3299 * org-docbook.el (org-export-as-docbook): Call
3300 `org-export-push-to-kill-ring'.
3302 * org-ascii.el (org-export-as-ascii): Call
3303 `org-export-push-to-kill-ring'.
3305 * org-exp.el (org-export-show-temporary-export-buffer): New
3308 * org-latex.el (org-export-as-latex): Use
3309 `org-export-show-temporary-export-buffer'.
3311 * org-html.el (org-export-as-html): Use
3312 `org-export-show-temporary-export-buffer'.
3314 * org-docbook.el (org-export-as-docbook): Use
3315 `org-export-show-temporary-export-buffer'.
3317 * org-ascii.el (org-export-as-ascii-to-buffer): Use
3318 `org-export-show-temporary-export-buffer'.
3320 * org-exp.el (org-export-show-temporary-export-buffer): New
3322 (org-export-push-to-kill-ring): New function.
3324 * org-colview.el (org-columns-compile-map): New variable.
3325 (org-columns-new, org-columns-compute)
3326 (org-columns-number-to-string, org-columns-uncompile-format)
3327 (org-columns-compile-format): Implement new operators.
3329 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
3331 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3333 * org-html.el (org-export-html-xml-declaration): New option.
3334 (org-export-as-html): Use `org-export-html-xml-declaration'.
3336 * org-list.el (org-update-checkbox-count): Make property
3339 * org.el (org-hierarchical-todo-statistics): New option.
3340 (org-update-parent-todo-statistics): Modified to handle recursive
3343 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
3345 * org-publish.el (org-publish): Make this function behave
3346 correctly in interactive use when called with a prefix argument.
3348 * org.el (org-todo-statistics-hook): New hook.
3349 (org-update-parent-todo-statistics): Use new hook.
3350 (org-log-into-drawer): New function.
3351 (org-add-log-setup): Use the new `org-log-into-drawer' function to
3352 determine if we should be logging into a drawer.
3353 (org-log-into-drawer): Update docstring.
3354 (org-default-properties): Add LOG_INTO_DRAWER as a property.
3356 * org-list.el (org-checkbox-statistics-hook): New hook.
3357 (org-update-checkbox-count-maybe): Use new hook.
3359 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3360 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3363 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
3365 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3368 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
3370 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3371 better bufer-generating mechanism.
3372 (org-edit-src-find-buffer): New function.
3374 * org-icalendar.el (org-print-icalendar-entries): Don't check for
3375 archive tag, this is already done by `org-agenda-skip'.
3376 data while constructing lost of tags.
3378 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
3380 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3381 as argument separator in macros.
3383 * org-html.el (org-export-as-html): Add xml declaration.
3385 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
3387 * org.el (org-after-sorting-entries-or-items-hook): New hook.
3388 (org-sort-entries-or-items): Run the new hook.
3389 (org-after-refile-insert-hook): New hook.
3390 (org-refile): Run `org-after-refile-insert-hook'.
3392 * org-agenda.el (org-agenda-get-progress): Never take time of day
3393 from headline when displaying progress.
3395 * org-latex.el (org-export-latex-complex-heading-re): New variable.
3396 (org-export-as-latex): Force the correct regexp in the
3397 preprocessor buffer.
3398 (org-export-latex-set-initial-vars): Set
3399 `org-export-latex-complex-heading-re'.
3401 * org-agenda.el (org-agenda-start-with-log-mode): New option.
3402 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3404 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
3406 * org-latex.el (org-export-latex-tables-centered): New option.
3407 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3409 * org-exp.el (org-export-as-org): New command.
3410 (org-export-as-org): New command.
3412 * org-publish.el (org-publish-org-to-org): New function.
3414 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
3416 * org.el (org-yank): Just call `org-yank-generic'.
3417 (org-yank-generic): New function, containing the formaer
3418 functionality of `org-yank'.
3420 * org-latex.el (org-export-latex-not-done-keywords)
3421 (org-export-latex-done-keywords): New variables.
3422 (org-export-latex-todo-keyword-markup): New option.
3423 (org-export-latex-set-initial-vars): Remember the TODO keywords.
3424 (org-export-latex-keywords-maybe): Apply the TODO markup.
3426 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
3428 * org-exp.el (org-infile-export-plist): Add more default macros.
3429 (org-export-preprocess-apply-macros): Process macro arguments.
3431 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
3433 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3435 (org-print-icalendar-entries): Respect the new value of
3436 `org-icalendar-include-todo'.
3438 * org.el (org-link-try-special-completion)
3439 (org-file-complete-link): New functions.
3440 (org-insert-link): Add special completion support for some link
3443 * org-bbdb.el (org-bbdb-complete-link): New function.
3445 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
3447 * org-list.el (org-update-checkbox-count): Allow recursive
3449 (org-hierarchical-checkbox-statistics): New option.
3451 * org.el (org-cycle): Remove erraneous space character.
3453 * org-icalendar.el (org-icalendar-timezone): Initialize from
3456 * org-html.el (org-format-org-table-html): Specify the scope.
3457 (org-format-table-table-html): Specify the scope.
3458 (org-export-table-header-tags): Prepare the scope parameter.
3460 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
3463 (org-export-html-table-use-header-tags-for-first-column): New
3466 * org.el (org-autoload): Fix autoloading of ascii export
3468 (org-modules): Add org-special-blocks.
3470 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
3472 * org-icalendar.el (org-start-icalendar-file): Use the new option.
3473 (org-ical-timezone): New option.
3475 * org-exp.el (org-export-get-coderef-format): Use the description
3478 * org.el (org-sort-entries-or-items): Improve docstring, and make
3479 better implementation for time sorting.
3481 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
3483 * org.el (org-edit-src-persistent-message): New option.
3484 (org-edit-src-code, org-edit-fixed-width-region): Use the new
3487 * org-clock.el (org-clock-insert-selection-line): Fix prefious
3490 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3491 separate buffer instead of indirect buffer to edit source code.
3492 (org-edit-src-exit): Make this function work with the new setup.
3494 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3495 are properly fontified before shown in the selection menu.
3497 * org.el (org-fontify-like-in-org-mode): New function.
3499 * org-latex.el (org-export-latex-links): Use the property list to
3500 retrieve the default image attributes.
3502 * org-exp.el (org-export-plist-vars): Add a new option.
3504 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
3506 * org-exp.el (org-export, org-export-visible): Support ASCII
3508 (org-export-normalize-links): Do not protect the description if it
3509 is explicitly given.
3511 * org-ascii.el (org-export-as-ascii-to-buffer)
3512 (org-replace-region-by-ascii, org-export-region-as-ascii): New
3514 (org-export-as-ascii): Add all the same parameters that are also
3515 supported by the other export functions.
3517 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3519 (org-reset-checkbox-state-subtree): Call
3520 `org-reset-checkbox-state-subtree'.
3522 * org-remember.el (org-select-remember-template): For the
3523 selection of a valid template.
3525 * org-latex.el (org-export-region-as-latex): Supply the
3526 force-no-subtree argument.
3527 (org-export-as-latex): Provide better limits when exporting the
3528 first line. When exporting to string, we still want the first
3530 (org-export-latex-first-lines): New argument END, to force the end
3532 (org-export-region-as-latex): Use the property list.
3533 (org-export-as-latex):
3535 * org-colview-xemacs.el (org-columns-remove-overlays)
3536 (org-columns): Fix call to `local-variable-p'.
3538 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
3540 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3541 (org-export-as-html): Run the new hook.
3543 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3544 (org-export-latex-preprocess): Run the new hook.
3546 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3547 (org-export-preprocess-string): Run the new hook.
3549 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
3551 * org-macs.el (org-check-external-command): New defsubst.
3553 * org.el (org-mode-map): New key for reload.
3554 (org-format-latex): Better error message when external programs
3557 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3559 * org.el (org-sort-entries-or-items): Explicit sorting function
3560 for priorities, needed for XEmacs compatibility.
3562 * org-remember.el (org-remember-apply-template): Improve auto-save
3565 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
3567 * org-latex.el (org-export-latex-preprocess): Also protect
3568 environments ending in a star.
3570 * org-list.el (org-at-item-p): Fix regular expression.
3572 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
3574 * org.el (org-end-of-subtree): Improve speed.
3576 * org-agenda.el (org-agenda-get-timestamps)
3577 (org-agenda-get-progress, org-agenda-get-deadlines)
3578 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3579 in particular, wait as long as possible to collect the tags.
3580 (org-stuck-projects): Improve docstring.
3582 * org.el (org-store-link): No errors when getting custom id before
3584 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3586 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
3588 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3590 * org-protocol.el: Remove dependency on url.el.
3591 (org-protocol-unhex-compound, org-protocol-open-source): Remove
3592 dependency on url.el.
3594 * org-latex.el (org-export-as-pdf): Use
3595 `org-latex-to-pdf-process'.
3597 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
3599 * org-latex.el (org-latex-to-pdf-process): New option.
3601 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3603 (org-agenda-get-timestamps): Honor
3604 `org-agenda-skip-additional-timestamps-same-entry'.
3606 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3607 (org-clock-goto): Find recent task only if
3608 `org-clock-goto-may-find-recent-task' allows it.
3610 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3611 drawers, and drawers that are missing the :END: line.
3613 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3615 * org-clock.el (org-clock-goto): Go to recently clocked task if no
3618 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3620 * org.el (org-update-parent-todo-statistics): Check for
3621 STATISTICS_FROM property.
3623 * org-list.el (org-update-checkbox-count): Check for
3624 STATISTICS_FROM property.
3626 * org.el (org-tab-first-hook)
3627 (org-tab-after-check-for-table-hook)
3628 (org-tab-after-check-for-cycling-hook): New hooks.
3629 (org-cycle-internal-global, org-cycle-internal-local): New
3630 functions, split out from `org-cycle'.
3631 (org-cycle): Call the new hooks.
3633 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
3635 * org-exp.el (org-export-preprocess-string): Reset the list of
3636 preferred targets for each run of the preprocessor.
3638 * org.el (org-refile-target-verify-function): Improve
3640 (org-get-refile-targets): Respect point being moved by the
3641 verification function.
3643 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3645 (org-export-latex-keywords): Use new option.
3647 * org.el (org-rear-nonsticky-at): New defsubst.
3648 (org-activate-plain-links, org-activate-angle-links)
3649 (org-activate-footnote-links, org-activate-bracket-links)
3650 (org-activate-dates, org-activate-target-links)
3651 (org-activate-tags): Place the rear-nonsticky properties at the
3654 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
3656 * org-protocol.el (server-edit): Declare `server-edit'.
3657 (org-protocol-unhex-string, org-protocol-unhex-compound): New
3659 (org-protocol-check-filename-for-protocol): Call `server-edit'.
3661 * org.el (org-default-properties): New default properteis for
3664 * org-exp.el (org-export-add-subtree-options): Add new properties
3667 * org-docbook.el (org-export-docbook-keywords-markup)
3668 (org-export-docbook-timestamp-markup): New options.
3669 (org-export-docbook-protect-tags): New function.
3671 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
3673 * org-id.el (org-id-get-with-outline-path-completion): Turn off
3674 org-refile-target-verify-function for the duration of the command.
3676 * org.el (org-link-to-org-use-id): New possible value
3677 `create-if-interactive-and-no-custom-id'.
3678 (org-store-link): Use custom IDs.
3679 (org-link-search): Find custom ID properties from #link.
3680 (org-default-properties): Add CUSTOM_ID for property completion.
3681 (org-refile-target-verify-function): New option.
3682 (org-goto): Turn off org-refile-target-verify-function
3683 for the duration of the command.
3685 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
3687 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3689 * org-exp.el (org-export-preferred-target-alist): New variable.
3690 (org-export-define-heading-targets): Find the new CUSTOM_ID
3692 (org-export-target-internal-links): Target the custom ids when
3695 * org-latex.el (org-export-latex-preprocess): Better regexp for
3696 matching latex macros with arguments.
3698 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3700 * org-remember.el (org-remember-handler): Allow filing to non-org
3703 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3705 * org-feed.el (org-feed-alist): New keyword options.
3706 (org-feed-update): Use the new options.
3707 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3708 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3709 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3712 * org-table.el (org-table-fix-formulas): Do not change references
3714 (org-table-get-remote-range): Convert standard coordinates to RC
3717 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3719 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3721 * org-compat.el (org-sha1-string): Function removed.
3723 * org.el (org-refile-allow-creating-parent-nodes): New option.
3724 (org-refile-get-location): New argument NEW-NODES.
3725 (org-refile): Call `org-refile-get-location' with the new
3727 (org-refile-get-location): Arrange for adding a new child.
3728 (org-refile-new-child): New function.
3730 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3731 an additional span element.
3733 * org-clock.el: Fix a number of docstrings.
3734 (org-clock-find-position): New argument
3735 FIND-UNCLOSED to make the function find an unclosed clock in the
3737 (org-clock-in): Call `org-clock-find-position' with the new
3738 argument if we might be resuming a clock.
3740 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3742 * org-latex.el (org-export-latex-display-custom-times): New variable.
3743 (org-export-latex-timestamp-markup): New option.
3744 (org-export-latex-set-initial-vars): Remember the local value of
3745 `org-display-custom-times'.
3746 (org-export-latex-content): Process time stamps.
3747 (org-export-latex-time-stamps): New function.
3749 * org-macs.el (org-maybe-intangible): Add intangible property
3750 again to invisible text.
3752 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3754 * org-exp.el (org-default-export-plist): Handle undefined
3757 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3759 * org.el (org-sort-entries-or-items): Match TODO keywrds
3760 case-sensitively, when sorting.
3761 (org-priority): Do not match TODO keywords with wrong case.
3763 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3765 * org-feed.el (org-feed-update): Bind the variable
3768 * org-html.el (org-export-as-html): Start paragraphs after literal
3771 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3774 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3776 * org.el (org-todo): Honor the NOBLOCKING property.
3778 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3779 NOBLOCKING property.
3781 * org.el (org-scan-tags): Fix bug in tag scanner
3783 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3785 * org.el (org-modules): Mark obsolete packages.
3787 * org-html.el: New file, split out from org-exp.el.
3789 * org-icalendar.el: New file, split out from org-exp.el.
3791 * org-xoxo.el: New file, split out from org-exp.el.
3793 * org-ascii.el: New file, split out from org-exp.el.
3795 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3797 * org-compat.el (org-find-library-name): New function.
3799 * org.el (org-pre-cycle-hook): New hook.
3800 (org-cycle): Call the new hook in appropriate places.
3801 (org-reload): Only reload files that have been loaded before.
3803 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3805 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3807 (org-todo): When changing TODO state, do matching
3809 (org-map-continue-from): New variable.
3810 (org-scan-tags): Respect values in `org-map-continue-from'.
3811 (org-reload): Make XEmacs compatible.
3813 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3815 * org-protocol.el (org-protocol-flatten-greedy): New function.
3816 (org-protocol-flatten): New function.
3818 * org.el (org-open-link-from-string): Pass reference buffer to
3819 `org-open-at-point'.
3820 (org-open-at-point): New optional argument `reference-buffer'.
3822 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3824 * org.el (org-scan-tags): Make tag scan find headline in first
3826 (org-get-refile-targets): Add the naked file name.
3827 (org-refile): Store as top-level entry when only file name was
3830 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3832 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3833 Renamed from org-block-todo-from-children-or-siblings, and
3834 enhanced to look for the parent's status as well.
3836 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3837 (org-agenda-get-progress): Add first notes line to log entry if so
3840 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3842 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3843 (org-agenda-cleanup-fancy-diary): Call the new hook.
3845 * org-remember.el (org-remember-apply-template): Take the default
3846 for the annotation from the :annotation property.
3848 * org-mac-message.el (org-mac-message-get-link): Remove the
3850 (org-mac-message-get-link): Return the result.
3852 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3854 * org.el (org-refile-get-location): Add file name only if not
3855 already included in outline path.
3857 * org-faces.el (org-n-level-faces): Fix customization type from
3860 * org-exp.el (org-export-headline-levels): Fix customization type
3861 from number to integer.
3863 * org-agenda.el (org-agenda-confirm-kill)
3864 (org-agenda-custom-commands-local-options)
3865 (org-timeline-show-empty-dates, org-agenda-ndays)
3866 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3867 customization type from number to integer.
3869 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3871 * org-protocol.el: Declare some functions.
3873 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3874 postion before inserting modified headline.
3876 * org-agenda.el (org-agenda-compare-effort): Honor
3877 `org-sort-agenda-noeffort-is-high'.
3878 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3879 (org-agenda-compare-effort): Implement the "?" operator for
3880 finding entries without effort setting.
3882 * org.el (org-extract-attributes-from-string): New function.
3884 * org-exp.el (org-export-splice-attributes): New function.
3886 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3888 * org-mouse.el: XEmacs compatibility fixes
3890 * org-docbook.el (org-export-as-docbook): Process footnotes like
3893 * org.el (org-modules): Add org-inlinetasks.el
3894 (org-cycle): Implement limiting level on cycling.
3895 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3898 * org-inlinetask.el: New file.
3900 * org.el (org-emphasis-regexp-components): Allow braces in
3901 emphasis pre and post match.
3903 * org-footnote.el (org-footnote-normalize): When only dorting, do
3904 not insert inline notes at the end.
3906 * org-docbook.el (org-id-find-id-file): Add function declaration.
3908 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3910 * org-docbook.el: New file.
3912 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3914 * org.el (org-reftex-citation): New command.
3916 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3918 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3919 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3921 (org-entries-lessp): Apply the new sorting option.
3923 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3924 blocker code, when an older sibling has children.
3926 * org-mac-message.el (org-mac-message-get-link): Improve getting
3927 links from multiple selected messages.
3929 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3931 * org-remember.el (org-remember-finalize): Do not set buffer file
3933 (org-remember-handler): Mark buffer as unmodified.
3934 (org-remember-handler): Delete backup file and show message about
3935 remaining backup files.
3936 (org-remember-auto-remove-backup-files): New option.
3938 * org.el (org-store-link): Use buffer name as link description in
3940 (org-ido-switchb): Fix argument bug for completion.
3942 * org-remember.el (org-remember-apply-template): Set local
3943 variable `auto-save-visited-file-name' instead of global one.
3945 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3947 * org-feed.el: Re-write.
3949 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3950 (org-agenda-get-todos): Mark file tags as inherited.
3951 (org-agenda-list): Always search diary lines for a time.
3953 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3955 * org-feed.el (org-feed-assume-stable): New option.
3956 (org-feed-before-adding-hook): New hook.
3958 * org-exp.el (org-export-as-html): Close local lists depending on
3959 indentation, also when starting a table.
3961 * org-remember.el (org-remember-backup-directory)
3962 (org-remember-backup-name): New internal variable.
3964 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3966 * org-clock.el (org-clock-out-if-current): Make buffer detection
3967 work in indirect buffers as well.
3969 * org.el (org-emphasis-regexp-components): Add the exxclamation
3970 mark to the post-emphasis characters.
3972 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3974 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3975 (org-read-date): Run the new hook.
3977 * org-mac-message.el (org-mac-flagged-mail): New group.
3978 (org-mac-mail-account): New variable.
3979 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3982 * org-remember.el (org-remember-backup-directory): New variable.
3983 (org-remember-apply-template): Write file to backup directory.
3985 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3987 * org-mouse.el (org-mouse-todo-menu): New function.
3988 (org-mouse-todo-keywords): Function removed.
3989 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3991 * org-table.el (org-table-beginning-of-field)
3992 (org-table-end-of-field): New commands
3993 (org-table-previous-field, org-table-beginning-of-field): Better
3995 (orgtbl-setup): Include `M-a' and `M-e'.
3997 * org.el (org-backward-sentence, org-forward-sentence): New
4000 * org-colview.el (org-colview-initial-truncate-line-value): New
4002 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4003 (org-columns): Remember the value of `truncate-lines'.
4005 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4007 (org-columns-remove-overlays): Restore the value of
4009 (org-columns): Remember the value of `truncate-lines'.
4011 * org.el (org-columns-skip-arrchived-trees): New option.
4013 * org-agenda.el (org-agenda-export-html-style): Define color for
4014 org-agenda-done face.
4015 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4016 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4018 * org.el (org-scan-tags): Use the new face.
4020 * org-faces.el (org-agenda-done): New face.
4022 * org.el (org-scan-tags): Test the value org
4023 `org-tags-match-list-sublevels'.
4024 (org-tags-match-list-sublevels): New allowed value: indented.
4026 * org-export-latex.el (org-export-latex-make-header): Apply macros
4029 * org-exp.el (org-export-apply-macros-in-string): New function.
4031 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4032 with the definition of a checked box.
4034 * org-clock.el (org-clock-find-position): Fix drawer indentations.
4036 * org-export-latex.el (org-export-latex-low-levels): More options
4037 for how to process lower levels in LaTeX.
4038 (org-export-latex-subcontent): Better treatment for lists as a
4039 means of publishing lower levels.
4041 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
4043 * org.el (org-set-font-lock-defaults): Use new checkbox face.
4045 * org-faces.el (org-checkbox): New face.
4047 * org-exp.el (org-export-html-preprocess): Only create LaTeX
4048 fragement images if there is an export file.
4050 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
4052 * org-agenda.el (org-stuck-projects): Document that the subtree of
4053 projects that are not stuck will now be searched for stuck
4055 (org-agenda-skip-entry-when-regexp-matches)
4056 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4057 (org-agenda-list-stuck-projects): Use
4058 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4060 * org-export-latex.el (org-export-latex-preprocess): Improve
4063 * org-exp.el (org-export-as-html): Implement centering as a div
4064 rather than a paragraph. Do a better job with line-end in verse
4067 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
4069 * org.el (org-open-at-point): Fix tags searches by mouse click.
4071 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
4073 * org-export-latex.el (org-export-latex-preprocess): Implement the
4076 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4077 from `org-export-mark-blockquote-and-verse'.
4078 (org-export-as-html): Implement the centering markup.
4080 * org-export-latex.el (org-export-latex-tables): Fix vertical
4083 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
4085 * org.el (org-read-date-history): New variable.
4086 (org-read-date): Use new history variable.
4087 (org-toggle-heading): Fix bug when used before first headline.
4088 (org-store-log-note): Remove drawer if empty while note is
4090 (org-remove-empty-drawer-at): New function.
4091 (org-check-after-date): New command.
4092 (org-sparse-tree): New sparse tree command "a".
4094 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4096 2009-03-14 Bastien Guerry <bzg@altern.org>
4098 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4099 column and a space, not only a column.
4101 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
4103 * org-export-latex.el (org-export-latex-emphasis-alist): Better
4104 defaults for verbose emphasis.
4105 (org-export-latex-emph-format): New function.
4106 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4108 * org-agenda.el (org-agenda-menu): Add new commands to menu.
4109 (org-agenda-do-date-later, org-agenda-do-date-earlier)
4110 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4111 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4114 * org.el (org-timestamp-change): Move end-time along with start
4117 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
4119 * org-exp.el (org-export-target-internal-links)
4120 (org-export-as-html): Protect links specified as #name.
4122 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
4124 * org.el (org-clone-subtree-with-time-shift): New command.
4126 * org-export-latex.el (org-export-latex-special-chars)
4127 (org-export-latex-treat-sub-super-char): Fix subscript export.
4129 * org-exp.el (org-create-multibrace-regexp): Do not add
4130 backslashes to the class.
4132 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
4134 * org-colview.el (org-columns-map): Better functions for moving up
4135 and down a row, even if `truncate-line' is nil.
4137 * org.el (org-insert-todo-heading): Make sure the keyword is
4138 inserted at the correct position.
4140 * org-publish.el (org-publish-project-alist)
4141 (org-publish-projects, org-publish-org-index): Change default anme
4142 for the index of file names to "sitemap.org".
4144 * org-export-latex.el (org-export-latex-tables): Use
4145 `org-split-string', for Emacs 21 compatibility.
4147 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
4149 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4151 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
4153 * org-exp.el (org-export-page-description)
4154 (org-export-page-keywords): New variables.
4155 (org-export-plist-vars): Add entries for :keywords and
4157 (org-infile-export-plist): Parse for new keywords.
4158 (org-get-current-options): Add new keywords
4159 (org-export-as-html): Publish description and keywords.
4161 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4163 (org-agenda-add-entry-text): Honor
4164 `org-agenda-add-entry-text-descriptive-links'.
4166 * org-export-latex.el (org-export-latex-preprocess): Make all
4167 external preprocess functions use a PARAMETER arg.
4169 * org-exp.el (org-export-preprocess-string)
4170 (org-export-select-backend-specific-text)
4171 (org-export-format-source-code-or-example)
4172 (org-format-org-table-html): Support docbook export.
4173 (org-export-preprocess-string): Make all external preprocess
4174 functions use a PARAMETER arg.
4176 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
4178 * org-exp.el (org-export-html-style-include-scripts): New option.
4179 (org-export-plist-vars): Add new option
4180 `org-export-html-style-include-scripts'.
4181 (org-export-as-html): Honor new option
4182 `org-export-html-style-include-scripts'.
4183 (org-export-html-scripts, org-export-html-style-default): Fix
4184 xml issues with the Safari browser.
4186 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
4188 * org-publish.el (org-publish-attachment): Only copy file when the
4191 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
4193 * org-clock.el (org-clocktable-steps): Use inactive time stamps
4194 for clocktable steps.
4196 * org.el (org-additional-option-like-keywords): Add two more
4199 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
4201 * org-exp.el (org-export-format-source-code-or-example): Mark
4202 temporary buffer unmodified, so that it will be killed even if
4203 mode like message mode has decided to assign a file name.
4205 * org.el (org-scan-tags): Improve tag inheritance.
4206 (org-scan-tags, org-make-tags-matcher): Make tag comparison
4208 (org-scan-tags): Use the internal tags list instead of creating it
4210 (org-trust-scanner-tags, org-scanner-tags): New variables.
4211 (org-scan-tags): Set `org-scanner-tags'.
4212 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4213 (org-map-entries): Document the possible speedup using scanner
4216 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
4218 * org.el (org-add-planning-info): Fix bug with looking for keyword
4221 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4222 option for tags filter preset.
4223 (org-prepare-agenda): Store filter preset as a property on the
4225 (org-finalize-agenda): Call the filter, if there is a preset.
4226 (org-agenda-filter-by-tag): Filter again after clearing the
4227 filter, when there still is a preset.
4228 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4229 Include the preset filter.
4230 (org-agenda-redo): Apply the filter again, also the preset filter.
4232 * org-exp.el (org-export-as-html): Use IDs in the correct way.
4234 * org.el (org-uuidgen-p): New funtion.
4236 * org-agenda.el (org-agenda-fontify-priorities): New default value
4238 (org-agenda-fontify-priorities): Renamed from
4239 org-fontify-priorities.
4241 * org.el (org-set-font-lock-defaults): Call
4242 `org-font-lock-add-priority-faces'.
4243 (org-font-lock-add-priority-faces): New function.
4245 * org-faces.el: (org-set-tag-faces): New option.
4246 (org-priority-faces): New variable.
4248 * org-exp.el (org-export-as-html): Add a "content" div around the
4249 entire content of the body tag.
4250 (org-export-html-get-bibliography): New function.
4251 (org-export-html-validation-link): New variable.
4252 (org-export-as-html): Add validation link to exported page.
4254 * org.el (org-match-sparse-tree): Renamed from
4255 `org-tags-sparse-tree'.
4256 (org-tags-sparse-tree): New alias.
4258 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
4260 * org.el (org-get-valid-level): Catch the case where the level
4263 * org-clock.el (org-clock-find-position): Better indentation of
4266 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
4268 * org-agenda.el (org-agenda-quit): Delete window only when the
4269 frame-setup was not `current-window'.
4271 * org.el (org-tag-persistent-alist): New option.
4272 (org-startup-options): Add keyword `noptag'.
4273 (org-fast-todo-selection): Handle :newline correctly.
4274 (org-set-tags): Handle :newline correctly.
4275 (org-fast-tag-selection): Handle :newline correctly.
4277 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
4279 * org-exp.el (org-export-as-ascii): Reverse link buffer before
4281 (org-export-ascii-push-links): Fix bug with pussing links into the
4284 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
4286 * org-archive.el (org-archive-subtree): Do not add 1 to level if
4287 pasting at top level.
4289 * org-bbdb.el: Improve documentation.
4291 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
4293 * org-list.el (org-insert-item): Only consider insert empty lines
4294 is `org-empty-line-terminates-plain-lists' is not nil.
4296 * org.el (org-blank-before-new-entry): Mention the dependence on
4297 `org-empty-line-terminates-plain-lists' in the docstring.
4299 * org-publish.el (org-publish-get-project-from-filename): New
4300 optional argument UP. Only find the top project if UP is set.
4301 (org-publish-current-project): Find the top encloding project.
4303 * org-agenda.el (org-agenda-before-write-hook)
4304 (org-agenda-add-entry-text-maxlines): New options.
4305 (org-write-agenda): Run the new hook in the temporary buffer.
4306 (org-agenda-add-entry-text): New function.
4307 (org-write-agenda): Implement PDF export, using ps2pdf.
4309 * org.el (org-global-properties-fixed, org-global-properties):
4310 Improve documentation string.
4312 * org-exp.el (org-export-ascii-links-to-notes): New option.
4313 (org-export-as-ascii): Handle links better.
4314 (org-export-ascii-wrap, org-export-ascii-push-links): New
4317 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
4319 * org-agenda.el (org-agenda): Make prefix arg optional.
4320 (org-agenda-search-headline-for-time): New option.
4321 (org-format-agenda-item): Honor
4322 `org-agenda-search-headline-for-time'.
4324 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4327 * org.el (org-self-insert-cluster-for-undo): New option.
4328 (org-self-insert-command): Cluster undo for 20 characters.
4329 (org-self-insert-command-undo-counter): New variable.
4331 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
4333 * org-exp.el (org-export-as-html): Fix problem with closing colone
4336 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
4338 * org-export-latex.el (org-export-as-latex)
4339 (org-export-latex-first-lines): Avoid modification flag when
4340 adding or removing text properties.
4341 (org-export-latex-fontify): Catch error when org-emph-alist has
4342 entries that are not defined for LaTeX export.
4344 * org.el (orgstruct++-mode): New function.
4345 (turn-on-orgstruct++): Call `orgstruct++-mode'.
4346 (org-context-p): Allow detecting item context after the first line
4348 (orgstruct-make-binding): Detect if item-body context should be
4350 (orgstruct-is-++): New variable.
4351 (org-add-planning-info): Catch the case when there is no planning
4352 info yet and the call does not want to add anything, only maybe
4353 tries to remove something.
4354 (org-special-ctrl-a/e): All value to be a cons cell with separate
4355 settings for `C-a. and `C-e'.
4356 (org-beginning-of-line, org-end-of-line): Honor separate values
4357 for `C-a' and `C-e'.
4359 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
4361 * org.el (org-reload): New command.
4363 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
4365 * org-exp.el (org-export-htm-get-tag-class-name)
4366 (org-export-htm-get-todo-kwd-class-name): New functions.
4367 (org-export-html-tag-class-prefix)
4368 (org-export-html-todo-kwd-class-prefix): New options.
4369 (org-export-as-html): Call
4370 `org-export-html-get-todo-kwd-class-name'.
4371 (org-html-level-start): Wrap tags into classes.
4372 (org-export-html-get-tag-class-name)
4373 (org-export-html-get-todo-kwd-class-name): New functions.
4375 * org-export-latex.el (org-export-latex-collect-header-macros):
4376 Remove fields that are used anyway.
4377 (org-export-latex-make-header): Insert the options earlier.
4379 * org-agenda.el (org-agenda-get-progress): Fix bug with state
4382 * org-list.el (org-indent-item): Allow point to be at the end of
4385 * org.el (org-metaleft, org-metaright): Be more accurate about
4386 detecting a region where commands apply.
4388 * org-compat.el (org-cursor-to-region-beginning): New function.
4390 * org.el (org-priority): Also find invisible heading.
4392 * org-colview-xemacs.el (org-columns-edit-value): No special
4393 treatment for `org-todo' prefix.
4395 * org-colview.el (org-columns-edit-value): No special treatment
4396 for `org-todo' prefix.
4398 * org-remember.el (org-remember-apply-template): Use
4399 `org-completing-read-no-ido'.
4401 * org.el (org-completing-read-no-ido): New function.
4402 (org-make-tags-matcher, org-set-property): Use
4403 `org-completing-read-no-ido'.
4405 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4407 (org-export-as-latex): Import in-buffer settings as TeX macros.
4408 (org-export-latex-make-header): Additional parameter OPT-DEFS.
4409 (org-export-latex-collect-header-macros): New function.
4411 * org.el (org-refile-get-location): Turn off
4412 `partial-completion-mode'.
4414 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
4416 * org.el (org-block-todo-from-checkboxes): Announce that
4417 checkboxes are the culprit.
4418 (org-block-todo-from-children-or-siblings): Call
4419 `org-up-heading-all instead' of `outline-up-heading'.
4421 * org-agenda.el (org-agenda-show-1): Renamed from
4423 (org-agenda-show): Re-install the old version for now.
4424 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
4425 variable into the blokker hook, so that the checkbox checker can
4426 anounce that it caused the blocking.
4428 * org.el (org-track-ordered-property-with-tag): New option.
4429 (org-toggle-ordered-property): Honor
4430 `org-track-ordered-property-with-tag'.
4431 (org-tag-alist): Add newline options.
4432 (org-set-regexps-and-options): Separate option lines imply a
4434 (org-set-regexps-and-options, org-assign-fast-keys)
4435 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4437 (org-indent-line-function): Make sure this works even if there is
4438 not `org-drawer-regexp' defined. This can happen when
4439 orgstruct-mode is used in a non-org buffer.
4441 * org-list.el (org-checkbox-blocked-p): New function.
4442 (org-toggle-checkbox): Check for blocking.
4444 * org.el (org-modules): Add an entry for org-R.el.
4446 * org-agenda.el (org-agenda-todo-ignore-with-date)
4447 (org-agenda-todo-ignore-scheduled)
4448 (org-agenda-todo-ignore-deadlines): Mention the variable
4449 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4451 * org.el (org-get-wdays): Find the warning period also if it is in
4453 (org-ido-completing-read): Provide the correct arguments to
4454 ido-completing-read and bind `ido-enter-matching-directory' to
4457 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
4459 * org.el (org-olpath-completing-read): Never use ido for this
4462 * org-exp.el (org-export-normalize-links): Use new macro.
4464 * org-macs.el (org-if-unprotected-at): New macro.
4466 * org-agenda.el (org-agenda-show): Allow numerical prefix
4467 arguments to specify how much context should be shown.
4468 (org-agenda-cycle-show): New command, could be bound to SPC in
4469 org-agenda-mode-map.
4471 * org-exp.el (org-html-level-start): Space after section number.
4473 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
4475 * org-agenda.el (org-agenda-get-sexps): Add todo state as
4476 property, for sorting.
4477 (org-cmp-todo-state): Get the applicable TODO keywords directly
4479 (org-run-agenda-series, org-agenda-list, org-search-view)
4480 (org-todo-list, org-tags-view): Only fit agenda window when the
4481 whole series is done.
4483 * org.el (org-scan-tags): Add todo state as property, for sorting.
4485 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4486 `org-agenda-overriding-header' as an option.
4487 (org-agenda-list): Honor org-agenda-overriding-header'.
4489 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
4491 * org-list.el (org-toggle-checkbox): Improve cursor positioning
4492 after removing a checkbox.
4494 * org.el (org-show-entry): Make this work correctly also if it is
4495 the last entry in the file.
4496 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4497 falling back to normal, default command.
4498 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4499 item, call the checkbox toggler to get a box.
4501 * org-list.el (org-toggle-checkbox): Make double prefix set the
4503 (org-fix-bullet-type): Only replace bullet if it is changed.
4504 (org-renumber-ordered-list): Handle case when first item does not
4507 * org.el (org-add-log-setup): Fix positioning when
4508 `org-log-states-order-reversed' is nil.
4510 * org-clock.el (org-clock-in): Fix positioning when
4511 `org-log-states-order-reversed' is nil.
4512 (org-clock-find-position): Fix positioning when
4513 `org-log-states-order-reversed' is nil.
4515 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
4517 * org-clock.el (org-clock-into-drawer): Take default from
4518 `org-log-into-drawer'.
4519 (org-clock-find-position): Look for the correct drawer.
4521 * org.el (org-log-into-drawer): Renamed from
4522 `org-log-state-notes-into-drawer'.
4523 (org-log-state-notes-into-drawer): New variable alias.
4524 (org-add-log-setup): Make drawer name default to LOGBOOK, not
4526 (org-insert-property-drawer): Also skip LOGBOOK drawers.
4528 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
4530 * org-agenda.el (org-agenda): Fix docstring.
4532 * org.el ("org-plot"): Help loading org-plot.
4533 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4534 (org-metadown-hook, org-shiftmetaleft-hook)
4535 (org-shiftmetaright-hook, org-shiftmetaup-hook)
4536 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4537 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4538 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4539 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4541 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4542 for selecting files with any (and even without) extension.
4544 * org.el (org-save-all-org-buffers): Also save id locations.
4545 (org-revert-all-org-buffers): Also load id locations.
4547 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4548 * org.el (org-drawers): Add LOGBOOK to the default drawers.
4549 (org-log-state-notes-into-drawer): New option.
4550 (org-add-log-setup): Place the sate note marker into the drawer,
4551 create drawer when necessary.
4552 (org-refile-targets): Document special interpretation of LEVEL
4553 when odd-levels are used.
4555 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
4557 * org.el (org-store-log-note): Fix note indentation when adding
4558 notes to end of list.
4560 * org-exp.el (org-export-as-html): Add TODO keyword as extra
4561 class, so that each keyword can get special colors through CSS.
4563 * org-clock.el (org-clock-out): Add another nil for the previous
4564 state into the call to `org-add-log-setup'.
4566 * org.el (org-log-note-previous-state): New variable.
4567 (org-log-note-headings): New %S escape for old state.
4568 (org-todo): Call the note setup with the old state as an
4570 (org-add-note): Add another nil for the previous state into the
4571 call to `org-add-log-setup'.
4572 (org-add-log-setup): New argument PREV-STATE.
4573 (org-add-log-note): Handle new %S escape.
4574 (org-store-log-note): Handle new %S escape.
4576 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
4578 * org-clock.el (org-clock-find-position): Do not swallow an item
4579 less indented than the CLOCK line itself.
4580 (org-clock-in): Push markers to lin after the clock line.
4581 (org-clock-find-position): Handle values of
4582 `org-clock-into-drawer' smaller than 2.
4584 * org-exp.el (org-html-level-start): Add a CSS class to section
4586 (org-export-html-toplevel-hlevel): Better documentation of the
4587 influence of this variables on H levels and css classes in
4590 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
4592 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4593 timestamp and nottimestamp to the chooe menu.
4595 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4596 (org-revert-all-org-buffers): New command.
4598 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
4600 * org.el (org-return): Implement `org-return-follows-link' in the
4601 function org-return. This is more robust than using the mouse
4603 (org-set-regexps-and-options): Match more general #+TODO lines.
4604 (org-make-options-regexp): New optional argument EXTRA, for an
4606 (org-tab-follows-link): Mark as deprecated.
4608 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
4610 * org-exp.el (org-export-preprocess-string): Remove clock lines
4611 earlier, so that they cannot cotribute to verbatim snippets.
4613 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
4615 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4616 for finding drawers.
4617 (org-export-as-ascii, org-export-as-html): Count levels relative
4618 to the subtree header.
4619 (org-get-min-level): New optional argument OFFSET.
4620 (org-export): Make sure point is restored after popping up that
4623 * org.el (org-do-sort): Also take an inactive timestamp if no
4624 active one is found.
4626 * org-colview-xemacs.el (org-columns-capture-view): Copy before
4627 deleting duplicates.
4629 * org-colview.el (org-columns-capture-view): Copy before
4630 deleting duplicates.
4632 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4633 text before first headline.
4635 * org.el (org-format-latex): Do not convert LaTeX fragments in
4638 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
4640 * org-exp.el (org-export-html-style-default): Use color values
4641 instead of names for XHTML validation.
4643 * org.el (org-get-scheduled-time, org-get-deadline-time): New
4645 (org-return-follows-link): Revert making this the default untile
4646 issues are resolved.
4648 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4651 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4653 * org.el (org-mode): Make dependence stuff work more reliably.
4654 (org-update-parent-todo-statistics): Fix bug with updating
4657 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4658 ~ as verbatim delimiters.
4660 * org-exp.el (org-export-html-format-image): New argument
4662 (org-export-as-html): Pass par-open to
4663 `org-export-html-format-image'.
4665 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
4667 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4668 (org-use-fast-todo-selection, org-tags-column): New default
4669 setting for variables, based on a poll what typical uses use.
4671 * org-agenda.el (org-agenda-sorting-strategy)
4672 (org-agenda-tags-column): New default setting for variables, based
4673 on a poll what typical uses use.
4675 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
4677 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4678 blocked entries from setting the blocked tag.
4680 * org-exp.el (org-export-html-footnotes-section): Use a more
4681 consistent id for footnotes.
4683 * org-export-latex.el (org-export-latex-classes): Remove the
4684 a4paper option from the default styles.
4686 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4688 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4689 (org-block-todo-from-checkboxes): New function.
4690 (org-todo): Make tripple prefix arg circumvent blocking.
4692 * org-timer.el (org-timer): Provide the timer feature.
4694 * org.el (org-require-autoloaded-modules): Add a few more files to
4695 the list of autoloaded modules.
4697 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4699 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4701 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4702 drawers that are unprotected.
4703 (org-export-html-format-image): Make sure inlined LaTeX fragment
4704 images remain inlined.
4706 * org.el (org-toggle-ordered-property): New function.
4707 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4708 (org-org-menu): Add menu entries for TODO dependencies.
4710 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4712 * org.el (org-default-properties): Add ORDERED to the default
4713 properties, to get completion support for it.
4715 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4717 * org.el (org-update-parent-todo-statistics): Update more than one
4720 * org-agenda.el (org-agenda-get-todos): Start search from correct
4723 * org.el (org-fast-todo-selection): Make sure TODO selection does
4724 not change buffer position.
4726 * org-list.el (org-toggle-checkbox): Implement adding or removing
4727 checkboxes from line or region when called with a prefix
4730 * org-rmail.el (org-rmail-store-link): Protect the call to
4731 `rmail-narrow-to-non-pruned-header'.
4733 * org-clock.el (org-clock-special-range): Fix week display in
4736 * org-exp.el (org-get-current-options): Fix bug when in indirect
4739 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4741 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4742 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4743 (org-agenda-dim-blocked-tasks): New function.
4745 * org.el (org-enforce-todo-dependencies): New option.
4746 (org-block-todo-from-children-or-siblings): New function.
4748 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4750 * org.el (org-todo): Return correct state type even if the blocker
4752 (org-modifier-cursor-error): Renamed from
4753 `org-shiftcursor-error'.
4754 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4755 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4757 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4758 to get real errors from the blocker hook.
4760 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4762 (org-set-visibility-according-to-property): Turn off the setting
4763 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4766 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4768 * org.el (org-support-shift-select): New option.
4769 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4770 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4771 selection outside contexts.
4773 * org-list.el (org-at-item-bullet-p): New function.
4775 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4778 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4780 (org-insert-footnote-reference-near-definition): Remove
4781 unnecessary let form.
4783 * org-export-latex.el (org-export-latex-first-lines): Add
4784 OPT-PLIST parameter.
4785 (org-export-as-latex): Call `org-export-latex-first-lines' with
4786 opt-plits parameter.
4787 (org-export-latex-preprocess): Remove unnecessary variables.
4789 * org-exp.el (org-infile-export-plist)
4790 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4791 (org-export-remove-headline-metadata)
4792 (org-export-get-title-from-subtree, org-get-min-level)
4793 (org-html-do-expand): Remove innecessary let form.
4795 * org-colview-xemacs.el (org-columns-display-here): Remove
4796 unnecessary variables.
4798 * org-colview.el (org-columns-display-here): Remove unnecessary
4801 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4804 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4805 unnecessary variables.
4807 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4808 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4811 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4812 (org-compact-display-after-subtree-move): Remove unnecessary
4814 (org-edit-fixed-width-region): Remove unnecessary variables.
4815 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4816 (org-olpath-completing-read): Remove unnecessary variable.
4817 (org-auto-repeat-maybe): Remove unnecessary variable.
4818 (org-map-entries): Remove unnecessary variable.
4819 (org-buffer-property-keys, org-imenu-get-tree)
4820 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4822 -----------------------------------------------------------------
4824 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4825 * org-exp.el (org-export-remove-timestamps): Never remove
4826 timestamps from tables.
4828 * org-export-latex.el (org-export-latex-first-lines): Add more
4829 options to the preprocessing of the text before the first
4832 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4834 * org-faces.el (org-clock-overlay): Make face compatible with
4837 * org.el (org-yank): Add property for delete-selection mode.
4839 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4841 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4844 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4847 * org-exp.el (org-export-as-html): Remove the initial space from
4850 * org.el (org-scan-tags): Call
4851 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4853 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4854 customization groups.
4855 (org-agenda-tags-todo-honor-ignore-options): New option.
4856 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4858 (org-agenda-get-todos): Use
4859 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4861 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4863 * org-exp.el (org-export-format-source-code-or-example): Escape
4864 HTML characters also in examples that anre not treated with
4865 htmlize. Also, just switch to EXAMPLE processing if we do not
4866 have a good version of htmlize.
4868 * org-rmail.el: Fix copyright notice.
4870 * org.el (org-activate-footnote-links): Improve footnote link
4873 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4874 a footnote definition at the end of the file.
4876 * org-table.el (org-table-get-specials): Add an imagined hline at
4877 the end of the table. This can be useful for references that want
4878 to go to the end of the table. Also fix bug when computing last
4879 row constants, in tables that do not start right at the right
4881 (org-table-eval-formula): Match and replace remove references.
4882 (org-table-formula-substitute-names): Make sure that names inside
4883 a "remote" call are left alone, the will be replaced later when
4884 the remote call is handled.
4885 (org-table-convert-refs-to-rc): Do not convert things that might
4886 look like a reference, but are really part of an ID or namei n a
4888 (org-table-get-remote-range): New function.
4890 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4892 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4894 * org-clock.el (org-clock-put-overlay): Use new face instead of
4895 `secondary-selection'.
4897 * org-faces.el (org-clock-overlay): New face.
4899 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4901 * org-exp.el (org-get-current-options): Include the option for
4902 publishing time stamps.
4904 * org.el (org-toggle-heading): Renamed from
4905 `org-toggel-region-headings'.
4906 No longer needs a region defined, but will use it if there is one.
4907 (org-ctrl-c-star): Simplified, relying more on the internal
4908 workings of `org-toggle-heading'.
4909 (org-toggle-item): Renamed from `org-toggle-region-items'.
4910 No longer needs a region defined, but will use it if there is one.
4911 (org-ctrl-c-minus): Simplified, relying more on the inernal
4912 workings of `org-toggle-item'.
4914 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4915 environment detection. Also, do real changes only in unprotected
4918 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4920 * org-export-latex.el (org-export-latex-quotation-marks): Use
4921 `org-if-unprotected-1'.
4922 (org-export-latex-set-initial-vars): Check for class definition in
4925 * org-macs.el (org-if-unprotected-1): New macro.
4927 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4929 * org-compat.el (org-count-lines): New function.
4931 * org-exp.el (org-export-format-source-code-or-example): Handle
4932 switches related to text areas.
4934 * org.el (org-activate-footnote-links): Don't allow match inside a
4937 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4939 * org-export-latex.el (org-export-latex-links): Keep a relative
4940 path relative also after export.
4942 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4944 * org.el (org-make-tags-matcher): Never use IDO for completing the
4945 tags matcher match string.
4946 (org-completing-read): Also remove the special biding for "?".
4948 * org-attach.el (org-attach-allow-inheritance): New option.
4949 (org-attach-inherited): New variable.
4950 (org-attach-dir): Handle properties related to the attachment
4952 (org-attach-check-absolute-path): New function.
4953 (org-attach-set-directory, org-attach-set-inherit): New commands.
4954 (org-attach): Accommodate the new commands in the dispatcher.
4956 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4958 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4959 `window-full-width-p'.
4961 * org-exp.el (org-export-as-html): Only check for images files
4962 that really can be inlined
4964 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4965 list of extensions to be a parameter.
4967 * org-exp.el (org-export-html-inline-image-extensions): New
4970 * org-agenda.el (org-prepare-agenda): Use
4971 `org-agenda-block-separator'.
4972 (org-agenda-block-separator): New option.
4974 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4976 * org-export-latex.el (org-export-latex-tables): Call
4977 `org-table-clean-before-export' with the new optional argument.
4979 * org-exp.el (org-table-clean-before-export): New optional
4980 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4983 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4985 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4988 * org-colview.el (org-colview-construct-allowed-dates): Better
4989 error catching when a date/time property does not have allowed
4992 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4993 Better error catching when a date/time property does not have
4994 allowed values defined.
4996 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4998 * org.el (org-map-entries): Restore point and restriction after
5001 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
5003 * org.el (org-time=, org-time<, org-time<=, org-time>)
5004 (org-time>=, org-time<>): Make sure both values are dates.
5006 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
5008 * org-archive.el (org-extract-archive-heading): Allow %s for file
5009 name also in achive location heading.
5011 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
5013 * org-archive.el (org-add-archive-files): Uniquify the list before
5016 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
5018 * org-compat.el (org-fit-window-to-buffer): Use
5019 `window-full-width-p'.
5021 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5022 space after the colon in short examples.
5024 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5025 enforce a space after the colon. However, we also allow lines
5026 that are *only* a colon.
5027 (org-export-as-html): Enforce the space after the colon in short
5029 (org-export-preprocess-string): Do the colon example protection
5031 (org-export-remove-timestamps): Do not check for protection at the
5034 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
5036 * org.el (org-format-latex-options): Add new matcher for single
5037 letters between dollars.
5038 (org-get-header): Function removed.
5039 (org-heading-components): New function.
5041 * org-exp.el (org-export-define-heading-targets): Record ID's also
5042 as alternative targets.
5043 (org-export-as-html): Interpret "id:" links to other files by
5044 preserving the relative path.
5046 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5049 * org-exp.el (org-export-normalize-links): Protect the main link,
5050 to avoid special character processing.
5052 * org-export-latex.el (org-export-latex-special-keyword-regexp):
5054 (org-export-latex-special-string-regexps): Variable removed.
5055 (org-export-latex-keywords): Use the new regexp.
5057 * org-exp.el (org-export-handle-include-files): Fetch switches and
5058 put them into the BEGIN statement.
5060 * org-timer.el (org-timer-mode-line-string): New variable.
5062 * org-clock.el (org-clock-mode-line-map): Renamed from
5063 `org-clock-mode-map'.
5064 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5065 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5066 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5067 (org-clock-remove-overlays): Renamed from
5068 `org-remove-clock-overlays'.
5070 * org-timer.el (org-timer-pause-or-continue): Implement stopping
5071 and mode line display.
5072 (org-timer-stop): New command.
5073 (org-timer-seconds): Return correct time when timer is paused.
5074 (org-timer-mode-line-timer): New variable.
5075 (org-timer-set-mode-line, org-timer-update-mode-line): New
5078 * org.el (org-insert-heading): Handle new value `auto' for
5079 `org-blank-before-new-entry'.
5080 (org-org-menu): Add new items for timer functions.
5082 * org-list.el (org-insert-item): Handle new value `auto' for
5083 `org-blank-before-new-entry'.
5085 * org.el (org-blank-before-new-entry): New value `auto', made
5088 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
5090 * org-exp.el (org-export-normalize-links): If the link is also
5091 used as the description, protect the description.
5093 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
5095 * org.el (org-closest-date): Fix bug with yearly repeats, in
5096 combination with preference of the past as it is used for deadline
5097 and scheduling search.
5099 * org-exp.el (org-html-handle-time-stamps): No longer check for
5100 the `org-export-with-timestamps' option, because the preprocesser
5101 has taken care of this already.
5103 * org.el (org-entry-properties): Catch the case when this is
5104 called in a non-org-mode file.
5106 * org-export-latex.el (org-export-latex-remove-from-headlines):
5107 Variable made obsolete, also LaTeX export now uses the standard
5109 (org-export-as-latex): Add the timestamps parameter to the
5110 preprocessor parameter list.
5111 (org-export-latex-content): Export the remaining keywords without
5112 considering to remove them.
5113 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5114 Use bold font instead of tt font for the keywords.
5115 (org-export-latex-fontify-headline): Format headlines, assuming
5116 that all keywords still present should be published.
5117 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5118 publish what ever remains of the time stamps.
5119 (org-export-latex-list-parameters): New option.
5120 (org-export-latex-lists): Pass additional parameters to the list
5123 * org-exp.el (org-export-preprocess-string): Remove clock lines
5124 and timestamps already in the preprocesor.
5125 (org-export-remove-timestamps, org-export-remove-clock-lines): New
5127 (org-export-as-ascii, org-export-as-html): Add the timestamps
5128 parameter to the preprocessor parameter list.
5130 * org-list.el (org-list-parse-list): Parse for checkboxes.
5131 (org-list-to-generic): Introduce and handle new parameters :cbon
5133 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5134 optional parameter PARAMS.
5136 * org-export-latex.el (org-export-latex-special-chars): Fix
5137 problems with interpreting dollar signs.
5138 (org-inside-latex-math-p): New function.
5139 (org-export-latex-preprocess): Protect all the math fragments.
5141 * org.el (org-latex-regexps): Allow a dash after a dollar.
5143 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5146 * org-agenda.el (org-run-agenda-series): Have series options set
5147 when finalizing the agenda.
5149 * org-exp.el (org-export-format-source-code-or-example): Protect
5150 the converted examples.
5152 * org.el (org-set-regexps-and-options): Fix the regexp
5153 `org-complex-heading-regexp'.
5155 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
5157 * org.el (org-edit-src-get-label-format): New function.
5158 (org-coderef-label-format): New option.
5159 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5160 a label format specification and make sure it is used in the edit
5162 (org-edit-src-get-label-format): New function.
5163 (org-store-link): Handle new coderef formats.
5164 (org-link-search): Handle new coderef formats.
5166 * org-footnote.el (org-footnote-create-definition)
5167 (org-footnote-goto-local-insertion-point): Make footnote insertion
5168 work correctly when the "Footnotes" headline is the last line in
5171 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5174 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
5176 * org-w3m.el (org-w3m): New customization group.
5177 (org-w3m-deactivate-mark): New option.
5178 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5181 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
5183 * org.el (org-set-font-lock-defaults): Trigger footnote
5185 (org-activate-footnote-links): New function.
5186 (org-activate-links): New entry `footnote'.
5188 * org-faces.el (org-footnote): New face.
5190 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
5192 * org-macs.el (org-re): Handle the [:word:] class.
5194 * org-exp.el (org-export-preprocess-string): Call
5195 `org-export-protect-colon-examples'.
5196 (org-export-protect-colon-examples): Renamed from
5197 `org-export-protect-examples', and scope limited to lines starting
5200 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
5202 * org-exp.el (org-export-preprocess-string): Move the preprocess
5203 hook to after turning on Org-mode.
5204 (org-export-preprocess-after-include-files-hook)
5205 (org-export-preprocess-after-tree-selection-hook)
5206 (org-export-preprocess-before-backend-specifics-hook)
5207 (org-export-preprocess-final-hook): New hooks.
5208 (org-export-preprocess-string): Run the new hooks.
5210 * org.el (org-ctrl-c-minus): Fix indentation for new items.
5212 * org-footnote.el: New file.
5214 * org.el (org-footnote): Require footnote code.
5215 (org-startup-options): Add new footnote options.
5216 (org-mode-map): New keybindig for footnotes.
5217 (org-ctrl-c-ctrl-c): Add function at footnotes.
5218 (org-org-menu): New menu entries for footnotes.
5220 * org-export-latex.el (org-export-as-latex): Pass footnote
5221 variable to preprocessor.
5222 (org-export-latex-preprocess): Treat multiple references to a
5225 * org-exp.el (org-export-preprocess-string): Call
5226 `org-footnote-normalize'.
5227 (org-export-as-ascii, org-export-as-html): Pass footnote variable
5229 (org-export-as-html): Treat multiple references to a footnote.
5231 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
5233 * org-export-latex.el (org-export-latex-links): Handle coderef
5236 * org.el (org-bracket-link-analytic-regexp++): New variable.
5237 (org-make-link-regexps): Initialize
5238 `org-bracket-link-analytic-regexp++'.
5239 (org-store-link): Implement special case in edit-src buffer.
5240 (org-insert-link): No use of ide to insert stored links.
5241 (org-link-search): Implement special case for coderefs.
5243 * org-exp.el (org-export-html-scripts): New constant.
5244 (org-export-html-style-default): Add a new style for highlighted
5246 (org-export-code-refs): New variable.
5247 (org-export-preprocess-string): Initialize `org-export-code-refs'.
5248 Call `org-export-replace-src-segments-and-examples'
5249 No longer call `org-export-protect-examples'.
5250 (org-export-target-internal-links): Take care of coderef targets.
5251 (org-export-last-code-line-counter-value): New variable.
5252 (org-export-replace-src-segments-and-examples): Renamed from
5253 `org-export-replace-src-segments', and modified.
5254 (org-export-format-source-code-or-example): Renamed from
5255 `org-export-format-source-code'.
5256 (org-export-number-lines): New function.
5257 (org-export-as-ascii, org-export-as-html): Handle coderef links.
5259 --------------------------------------------------------------------------
5261 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
5263 * org-remember.el (org-remember-handler): Safer way to get a new
5264 buffer accessing the target file.
5266 * org.el (org-refile-get-location): Handle case of current buffer
5267 not having a file associated with it.
5269 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
5271 * org-table.el (org-table-get-formula): Only ask to overwrite
5272 field formula if there really is one.
5274 * org-id.el (org-id-find): Allow the ID to be a symbol or a
5275 number, by converting these to a string.
5277 * org-colview.el (org-dblock-write:columnview): Allow ID to be
5278 located in a different file.
5280 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5283 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
5285 * org.el (org-completion-use-ido): Enhance docstring of
5286 `org-completion-use-ido'.
5288 * org-export-latex.el (org-export-latex-make-header): Double the %
5289 in the time stamp format.
5290 (org-export-latex-special-chars): Handle case where there is no
5293 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
5295 * org.el (org-get-refile-targets, org-refile-get-location): Use
5296 expanded file name to improve comparison.
5298 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
5300 * org.el (org-scan-tags): Rescan for tags, to get the correct
5301 upcase/downcase stuff. This slows things down for now, but it
5303 (org-mode): Make sure the tag-faces regexp is initialized.
5305 * org-export-latex.el (org-export-latex-links): Fix bug with
5308 * org-table.el (org-table-get-specials): Set
5309 `org-table-current-last-data-line'.
5310 (org-table-current-last-data-line): New variable.
5311 (org-table-insert-column, org-table-delete-column)
5312 (org-table-move-column, org-table-fix-formulas): Call
5313 `org-table-fix-formulas' a second time to fix the $LR references.
5314 (org-table-get-specials): Add the $LR references to the tables.
5315 (org-table-get-formula): Do not offer last-row names as LHS of
5318 * org.el (org-store-link): Capture link description from
5319 `org-id-store-link'.
5321 * org-exp.el (org-export-html-format-image): Add the / to the end
5323 (org-export-format-source-code): Surround example by empty lines,
5324 to make sure it will not be inside a paragraph.
5326 * org.el (org-ido-switchb): New function.
5328 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
5330 * org-agenda.el (org-agenda-show): New prefix argument
5333 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5336 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5337 `org-agenda-change-all-lines'.
5338 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5339 tags are now retrieved locally.
5341 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
5343 * org.el (org-get-outline-path): Fix bug if level is not given.
5344 (org-org-menu): Do not quote function in menu vector.
5346 * org-agenda.el (org-finalize-agenda): Fix typo with variable
5349 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
5351 * org.el (org-refile): Avoid refiling to within the region to be
5354 * org-export-latex.el (org-export-latex-special-chars): Replace
5355 special characters also in tables.
5357 * org-agenda.el (org-agenda-change-all-lines): New argument
5359 (org-agenda-set-tags): Cet the new tags and pass them to
5360 `org-format-agenda-item'.
5362 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
5364 * org-export-latex.el (org-export-latex-classes): Add longable as
5365 a default package to all classes.
5366 (org-export-latex-tables): Handle the longtable attribute and the
5369 * org-table.el (orgtbl-to-generic): Handle tables that start with
5372 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5373 \verb for colde-like snippets.
5374 (org-export-as-latex): Fix issues with region export.
5376 * org.el (org-up-heading-safe): Speed up function by using a
5377 direct regexp search.
5378 (org-olpa): New variable.
5379 (org-get-outline-path): Speed-up path constructions in cases where
5380 this is possible because the entire hierarchy is scanned anyway.
5381 (org-refile-get-location): Don't compare the truenames of files,
5383 (org-goto-max-level): New option.
5384 (org-goto): Use `org-goto-max-level'.
5386 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
5388 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5389 Strip angle brackets from message-ids in the former and don't do
5391 (org-gnus-follow-link): Open summary reliable, even if the last
5392 messages were deleted, and handle empty groups, too.
5394 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
5396 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5397 instead of \texttt for the =...= and ~===~ emphasis environments.
5398 (org-export-as-latex): Remove any old :org-license-to-kill text
5400 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5401 (org-export-latex-make-header): Add some hard space after the
5403 (org-export-latex-first-lines): Accept RBEG argument. Mark
5404 exported text so that it will be excuded in further steps.
5406 * org-table.el (org-table-get-specials): Make @0 reference the
5407 last line in a table.
5408 (org-table-recalculate): Improve docstring.
5410 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
5412 * org.el (org-log-done): Fix docstring.
5414 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
5416 * org-exp.el (org-export-html-format-image): Fix bugs.
5418 * org-export-latex.el (org-export-latex-tables)
5419 (org-export-latex-links): Implement attribute, label, and caption
5422 * org-exp.el (org-export-html-style-default): Add style
5423 definitions for the figure div.
5424 (org-export-preprocess-string, org-export-as-html): Implement
5425 attribute, label, and caption handling.
5426 (org-export-attach-captions-and-attributes): New function.
5427 (org-export-html-format-image): New function.
5428 (org-format-org-table-html): Implement attribute, label, and
5431 * org.el (org-find-text-property-in-string): New function.
5432 (org-extract-attributes): Use the property org-attr instead of
5433 org-attrobutes, because this property is now set with the #+ATTR
5436 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
5438 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5439 the case that FROM is nil.
5441 * org.el (org-before-first-heading-p): New function.
5443 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
5445 * org-exp.el (org-export-as-html): Do not add a space before
5446 enforces line breaks.
5447 (org-export-as-html): Close paragraph before blockquote and verse
5450 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
5452 * org-id.el (org-id-locations-file): Wrap file name with
5453 `convert-standard-filename'.
5454 (org-id-files): New variable.
5455 (org-id-use-hash): New option.
5456 (org-id-update-id-locations): Also search in all files current
5457 listed in `org-id-files'. Convert the resulting alist to a hash
5458 if the user customation says so.
5459 (org-id-locations-save): Handle he case if `org-id-locations' is a
5461 (org-id-locations-load): Convert the alist to a hash.
5462 (org-id-add-location): Handle the hast case.
5463 (kill-emacs-hook): Make sure id locations are saved when Emacs is
5465 (org-id-hash-to-alist, org-id-alist-to-hash)
5466 (org-id-paste-tracker): New functions.
5468 -------------------------------------------------------------------------
5470 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5472 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5473 bindings of calendar variables.
5475 * org-table.el (org-table-find-row-type): Renamed from
5476 `org-find-row-type'.
5477 (org-table-rewrite-old-row-references): Renamed from
5478 `org-rewrite-old-row-references'.
5479 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5480 (org-table-cleanup-narrow-column-properties): Renamed from
5481 `org-cleanup-narrow-column-properties'.
5483 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
5485 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5486 for better error messages.
5487 (org-table-get-descriptor-line): Supply the new arguments to
5488 `org-find-row-type'.
5489 (org-table-error-on-row-ref-crossing-hline): New option.
5491 * org.el (org-target-link-regexp): Make buffer-local.
5492 (org-move-subtree-down): Fix bug with trees at beginning of
5495 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
5497 * org-faces.el (org-set-tag-faces): New function.
5498 (org-tags-special-faces-re): New variable.
5500 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5502 * org-faces.el (org-tag-faces): New option.
5503 (org-tag): Mention `org-tag-faces' in the docstring.
5505 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
5507 * org-exp.el (org-export-html-style-default): Implement new
5510 * org-jsinfo.el (org-infojs-template): Implement new quoting.
5512 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5513 command to the `w3m-minor-mode-map'.
5515 * org-archive.el (org-archive-to-archive-sibling): Protect
5516 `this-command' to avoid appending kills during archiving.
5518 * org-exp.el (org-export-with-priority): New variable.
5519 (org-export-add-options-to-plist): Use `org-export-plist-vars'
5520 instead of internal list of strings and properties.
5521 (org-print-icalendar-entries): Retrieve the location property with
5524 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
5526 * org-exp.el (org-export-with-todo-keywords): New option.
5527 (org-export-plist-vars): Include also the keys for the #+OPTIONS
5529 (org-default-export-plist, org-export-add-options-to-plist)
5530 (org-export-as-ascii, org-export-as-html): Use the new structure
5531 of `org-export-plist-vars'.
5533 * org.el (org-map-entries): Return all values.
5535 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
5537 * org.el (org-matcher-time): Recognize more special values.
5539 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5541 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
5543 * org.el (org-tags-exclude-from-inheritance): New option.
5544 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5545 `org-tags-exclude-from-inheritance'.
5547 * org-agenda.el (org-agenda-show-inherited-tags): New option.
5548 (org-format-agenda-item): Add inherited tags to the agenda line
5549 string, and make sure that properties are kept when downcasing the
5551 (org-agenda-add-inherited-tags): New function.
5552 (org-downcase-keep-props): New function.
5554 * org.el (org-scan-tags): Mark inherited tags with a text
5556 (org-get-tags-at): Mark inherited tags with a text property.
5557 (org-add-prop-inherited): New function.
5559 * org-agenda.el (org-agenda-add-inherited-tags): New function.
5560 (org-agenda-show-inherited-tags): New option.
5562 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
5564 * org.el (org-modules): Add org-w3m to the default modules.
5566 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5568 (orgtabl-create-or-convert-from-region): New command.
5570 * org-exp.el (org-export-as-ascii): Remove the handling of
5572 (org-export-ascii-preprocess): Handle targets already in this
5575 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
5577 * org-timer.el (org-timer-start-time): Define this variable.
5578 (org-timer-item): Make argument optional.
5580 * org-list.el (org-insert-item): Automatically insert a timer item
5581 if the current list is a timer list.
5583 * org-timer.el: New file.
5585 * org-publish.el (org-publish-org-index): Only exclude the index
5586 file in the main directory from being added to the site-map.
5587 (org-publish-get-project-from-filename): If the current project is
5588 a component, start publishing from the parent project.
5590 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5592 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5594 * org-publish.el (org-publish-org-index): Improve removal of
5597 * org-agenda.el (org-get-closed): Re-apply changes
5598 accidentially overwritten by last commit to Emacs.
5600 * org.el (org-outline-path-complete-in-steps): New option.
5601 (org-refile-get-location): Honor
5602 `org-outline-path-complete-in-steps'.
5603 (org-agenda-change-all-lines, org-tags-sparse-tree)
5604 (org-time-string-to-absolute, org-small-year-to-year)
5605 (org-link-escape): Re-apply changes accidentially overwritten
5606 by last commit to Emacs
5608 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5610 * org-clock.el (org-dblock-write:clocktable): Make sure the
5611 clocktable sees the first line.
5612 (org-clock-in): Warn if the clock cannot be resumed.
5614 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
5616 * org.el (org-open-at-point): Fix mixup about interactive and
5617 non-interactive elisp links.
5619 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5621 * org-exp.el (org-export-preprocess-string): Allow one comment
5622 line before the first headline to always be included. This is
5623 to not miss a commented target.
5625 * org-mouse.el (org-mouse-insert-item): Call
5626 `org-indent-to-column' instead of `indent-to', for XEmacs
5629 * org.el (org-refile-targets): Fix customize definition so
5630 that it works also in XEmacs.
5631 (org-fixup-indentation): Call `org-indent-to-column' instead
5632 of `indent-to', for XEmacs compatibility.
5634 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5636 * org-mew.el (org-mew-store-link): Get the correct case folder
5637 for refiled messages.
5639 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5641 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5642 line break indicators.
5644 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5645 ido-completion propts.
5647 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5649 * org-remember.el (org-remember-apply-template): Use
5650 `org-substring-no-properties'.
5652 * org-compat.el (org-substring-no-properties): New function.
5654 * org-remember.el (org-remember-apply-template): Use
5655 `org-substring-no-properties' for compatibility.
5657 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5659 (org-fix-bullet-type): respect
5660 `org-list-two-spaces-after-bullet-regexp'.
5662 * org-clock.el (org-clock-load): Clean up the code.
5664 * org.el (org-adaptive-fill-function): Allow two spaces after
5665 "1." as a list bullet.
5667 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
5669 * org-clock.el (org-clock-save, org-clock-load): Check for
5670 live buffers, existing files, and buffer file names to ensure
5671 consistent information.
5672 (org-clock-persist): Make `clock' a special value of this
5673 variable, and improve docstring.
5675 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5676 (org-get-string-indentation): Adapt indentation when the bullet
5679 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
5681 * org-remember.el (org-remember-finalize): Make interactive.
5682 (org-remember-kill): New command.
5683 (org-remember-finish-immediately): Call `org-remember-finalize'
5685 (org-remember-finalize): Make `org-remember-finalize' an interactive
5688 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5690 * org-remember.el (org-remember-apply-template): No ido completion
5691 for free prompts in remember templates.
5692 (org-remember-before-finalize-hook): New hook.
5693 (org-remember-mode): New minor mode.
5694 (org-remember-apply-template): Turn on `org-remember-mode'.
5696 * org-id.el (org-id-add-location): Avoid error when no file is
5699 * org-remember.el (org-remember-apply-template): Fix the way how
5700 the list of allowed properties is retrieved from the target file.
5702 * org.el (org-insert-link): Improve file link matching.
5704 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5706 * org-colview.el (org-columns-display-here): New argument
5707 DATELINE, to trigger using the new face.
5708 (org-agenda-colview-summarize): Call `org-columns-display-here'
5709 with the new argument.
5711 * org-faces.el (org-agenda-column-dateline): New face.
5713 * org-publish.el (org-publish-org-index): Use index-title at page
5714 title, not as section.
5716 * org-exp.el (org-export-html-format-desc): Respect the
5717 org-protect property.
5718 (org-export-as-html): Protect image specifiers that are in the
5719 description part of a link.
5721 * org.el (org-sort-entries-or-items, org-completing-read)
5722 (org-refile-get-location, org-olpath-completing-read, org-todo)
5723 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5724 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5725 (org-set-property, org-delete-property)
5726 (org-delete-property-globally): Use `org-ido-completing-read'.
5728 * org-remember.el (org-remember-apply-template): Use
5729 `org-ido-completing-read'.
5731 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5733 * org-colview.el (org-columns-edit-value, org-columns-new)
5734 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5736 * org-colview-xemacs.el (org-columns-edit-value)
5737 (org-columns-new, org-insert-columns-dblock): Use
5738 `org-ido-completing-read'.
5740 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5741 `org-ido-completing-read'.
5743 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5744 `org-ido-completing-read'.
5746 * org.el (org-time-today): New function.
5747 (org-matcher-time): Use `org-time-today'. Add special treatment
5748 for "<tomorrow>" and "<yesterday>".
5749 (org-ido-completing-read): New function.
5750 (org-completion-use-ido): New option.
5752 * org-exp.el (org-export-format-source-code): Fix bug in require
5754 (org-export-target-internal-links): Fix bug in search for text
5757 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5759 * org-export-latex.el (org-export-latex-subcontent): Interprete
5760 target aliases as additonal labels.
5762 * org-exp.el (org-export-target-aliases): New variable.
5763 (org-export-preprocess-string)
5764 (org-export-handle-invisible-targets): Fill the alias alist.
5765 (org-export-as-html): Remove the from the anchor, and also
5767 (org-html-level-start): Insert the target aliases as additonal
5770 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5773 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5775 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5776 when following a link with the mouse from the agenda.
5778 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5779 headlines are created.
5781 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5783 * org-exp.el (org-export-preprocess-string): Reorder so that we
5784 can still see ID properties when we collect targets.
5785 (org-export-target-internal-links): Also store targets for ID's.
5787 * org.el (org-link-translation-function): New option.
5788 (org-open-at-point): Call `org-link-translation-function' if
5790 (org-translate-link): New function.
5791 (org-translate-link-from-planner): New function.
5792 (org-open-at-point): Allow interactive commands in elisp links.
5794 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5795 iCalendar quoting. The new one seems to caus problems with
5798 * org.el (org-yank): Set `this-command' to `yank', so that
5799 `yank-pop' will work.
5801 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5803 * org-id.el (org-id-search-archives): New option.
5805 * org.el (org-link-to-org-use-id): New option.
5806 (org-store-link): Use `org-link-to-org-use-id'.
5807 (org-id): Make org-id.el a standard component.
5809 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5811 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5812 hexified version of the tag.
5814 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5815 compliance as far as quoting is concerned.
5817 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5819 * org.el (org-up-heading-safe, org-forward-same-level): Always
5820 call `org-back-to-heading' instead of `outline-back-to-heading'.
5821 (org-back-to-heading): New wrapper around outline-back-to-heading,
5822 with a useful error message telling where the error happened.
5824 * org-list.el (org-update-checkbox-count): Always call
5825 `org-back-to-heading' instead of `outline-back-to-heading'.
5827 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5828 has an `alt' attribute, to ensure XHTML validation.
5830 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5832 * org-publish.el (org-publish-attachment): Allow publishing to
5833 overwrite attachment files.
5835 * org-agenda.el (org-agenda-timerange-leaders): New option.
5836 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5838 * org.el (org-edit-src-exit): Untabify ASCII image before
5852 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5854 * org.el (org-yank): Make any prefix force normal yanking.
5855 Suppress folding if text would be swallowed into a folded
5857 (org-yank-folded-subtrees, org-yank): Docstring updates.
5859 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5862 * org-exp.el (org-export-language-setup): Add Catalan and
5863 Esperanto language entries.
5865 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5867 * org.el (org-refile): Allow refiling of entire regions.
5869 * org-clock.el (org-clock-time%): New function.
5871 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5872 retrieve property values.
5874 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5876 * org-agenda.el (org-agenda-list): Handle the value `only' of
5877 org-agenda-show-log'.
5878 (org-agenda-log-mode): Interpret a double prefix arg.
5880 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5882 * org-exp.el (org-export-html-footnotes-section): New variable.
5883 (org-export-as-html): Use `org-export-html-footnotes-section' to
5884 insert the footnotes.
5885 (org-export-language-setup): Add "Footnotes" to language words.
5887 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5889 * org.el (org-yank): Fix bug when not inserting a subtree.
5891 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5893 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5894 instead of `vm-beginning-of-message'.
5896 * org.el (org-make-link-regexps): Make sure that links to gnus can
5899 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5901 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5904 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5907 * org.el (org-link-abbrev-alist): Improve customization type.
5909 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5912 * org-agenda.el (org-agenda-get-progress): Renamed from
5913 `org-get-closed'. Implement searching for state changes as well.
5914 (org-agenda-log-mode-items): New option.
5915 (org-agenda-log-mode): New option prefix argument, interpreted as
5916 request to show all possible progress info.
5917 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5919 (org-agenda-set-mode-name): Handle the more complex log mode
5921 (org-get-closed): New alias, pointing to `org-get-progress'.
5923 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5925 * org.el (org-file-apps-defaults-gnu)
5926 (org-file-apps-defaults-macosx)
5927 (org-file-apps-defaults-windowsnt): Add an entry defining the
5929 (org-file-apps): Allow `system' as key and value.
5930 (org-open-at-point): Explain the effect of a double prefix arg.
5931 (org-open-file): If the argument `in-emacs' is (16),
5932 i.e. corresponding to a double prefix argument, try to open the
5935 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5937 * org.el (org-insert-link): Abbreviate absolute files names in
5938 links. Also, fix a bug in which the double C-u prefix would not
5941 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5943 * org.el (org-insert-heading): If buffer does not end with a
5944 newline, add one if necessary to insert headline correctly.
5946 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5947 paragraphs, not inside.
5949 * org.el (org-todo): Quote
5950 `org-agenda-headline-snapshot-before-repeat'.
5952 * org-exp.el (org-export-as-html): Fully process link descriptions.
5953 (org-export-html-format-desc): New function.
5954 (org-export-as-html): Collect footnotes into the correct basket.
5955 (org-html-protect): No longer protect quotations marks here, this
5958 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5961 * org-compat.el (org-fit-window-to-buffer): New function (not
5962 really, a preliminary and incomplete version was present earlier,
5965 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5966 `org-fit-window-to-buffer'.
5968 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5970 * org-agenda.el (org-agenda-get-restriction-and-command)
5971 (org-fit-agenda-window, org-agenda-convert-date): Use
5972 `org-fit-window-to-buffer'.
5974 * org-exp.el (org-export-as-html): Process href links through
5975 `org-export-html-format-href'.
5976 (org-export-html-format-href): New function.
5978 * org-agenda.el (org-agenda-todo): Update only the current
5979 headline if this is a repeated TODO, marked done for today.
5980 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5981 only the current line.
5983 * org.el (org-todo): Take a snapshot of the headline if the
5984 repeater might change it.
5986 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5988 * org-publish.el (org-publish-find-title): Remove buffers visited
5989 only for extracting the title.
5991 * org-exp.el (org-export-html-style)
5992 (org-export-html-style-default): Mark style definitions as
5995 * org-publish.el (org-publish-validate-link): Function
5998 2008-11-02 Charles Sebold <csebold@gmail.com>
6000 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6002 (org-plot-quote-timestamp-field): New function.
6003 (org-plot-quote-tsv-field): Call timestamp field function when
6004 necessary rather than just quoting as a string.
6005 (org-plot/gnuplot-to-data): Pass in timefmt property.
6006 (org-plot/gnuplot-script): Supports timefmt property.
6007 (org-plot/gnuplot): Checks for timestamp column before checking
6008 for text index column.
6010 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
6012 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6014 * org-publish.el (org-publish-org-index): Create a section in the
6016 (org-publish-org-index): Stop linking to directories.
6018 * org.el (org-emphasis-alist): Use span instead of <u> to
6021 * org-exp.el (org-export-as-html): Make sure <p> is closed before
6024 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
6026 * org-jsinfo.el (org-infojs-template): Remove language attribute
6029 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
6031 * org-agenda.el (org-agenda-remove-marked-text): New function.
6032 (org-agenda-mark-filtered-text)
6033 (org-agenda-unmark-filtered-text): New functions.
6034 (org-write-agenda): Remove fltered text.
6036 * org.el (org-make-tags-matcher): Give access to TODO "property"
6037 without speed penalty.
6039 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
6041 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6043 (org-store-link-props): Make sure adding to the plist works
6046 * org-gnus.el (org-gnus-no-new-news): New function.
6047 (org-gnus-follow-link): Allow the article ID to be a message-id,
6048 in addition to allowing article numbers. Message IDs make much
6050 (org-gnus-store-link): Use message-id to create link.
6052 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
6054 * org.el (org-emphasize): Reverse the selection array.
6055 (org-emphasis-alist): Set <code> tags for the verbatim
6058 * org-remember.el (org-remember-handler): Fix bug with
6059 prefix-related changing of the note storage target.
6061 * org-exp.el (org-print-icalendar-entries): Make the exported
6062 priorities compatible with RFC 2445.
6064 * org-clock.el (org-clock-save): Insert time stamp without
6065 dependence on time-stamp.el.
6067 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
6069 * org.el ("saveplace"): If saveplace puts point into an invisible
6070 location, make it visible.
6071 (org-make-tags-matcher): Allow inactive time stamps in time
6073 (org-yank-adjusted-subtrees): New option.
6074 (org-yank): Incorporate adjusting trees.
6075 (org-paste-subtree): New argument FOR-YANK which will cause
6076 insertion at point without backing up over white lines, and leave
6077 point at the end of the inserted text. Also if the cursor is
6078 at the beginning of a headline, use the same level or the inserted
6081 * org-publish.el (org-publish-get-base-files-1): Deal correctly
6082 with broken symlinks
6084 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
6086 * org-exp.el (org-export-select-tags, org-get-current-options):
6089 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
6091 * org-agenda.el (org-format-agenda-item)
6092 (org-agenda-filter-make-matcher): Make sure tags are stored and
6095 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
6097 * org.el (org-insert-todo-heading): Fix bug with force-heading
6100 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
6102 * org-clock.el (org-clock-in-resume): Add a custom option to
6103 toggle starting the clock from an open clock line.
6104 (org-clock-in): When clocking in to an entry, if
6105 `org-clock-in-resume' is set, check if the first clock line is
6106 open and if so, start the clock from the time in the clock line.
6107 (org-clock-persist): Add a custom option to toggle clock
6109 (org-clock-persist-query-save): Add a custom option to toggle
6110 asking the user if they want to save the running clock when
6112 (org-clock-persist-query-resume): Add a custom option to toggle
6113 asking the user if they want to resume the saved clock when Emacs
6115 (org-clock-save): Add a function to save clock data.
6116 This includes the contents of `org-clock-history' and the buffer
6117 and position of the currently clocked task, if any.
6118 (org-clock-load): Add a function to load clock data.
6119 This populates `org-clock-history', and resumes the saved clocked
6120 task if there is one.
6121 (org-clock-persistence-insinuate): Add a method to set up the
6122 hooks for clock persistence.
6124 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
6126 * org-exp.el (org-export-as-ascii): Handle the case that we are
6127 publishing from an indirect buffer.
6129 * org-table.el (org-table-copy-down): Fix bug with time stamp
6132 * org-mouse.el (org-mouse-features): New option.
6133 (org-mode-hook): Turn on features depending on
6134 `org-mouse-features'.
6136 * org.el (org-insert-heading-respect-content): Force heading
6138 (org-insert-heading): keep the folding state of the heading before
6141 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
6143 * org-archive.el (org-archive-to-archive-sibling): Handle top
6144 level headlines better.
6146 2008-10-21 Bastien Guerry <bzg@altern.org>
6148 * org-export-latex.el (org-export-latex-classes): Added
6149 \usepackage{graphicx} to the default list of packages.
6151 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
6153 * org-agenda.el (org-agenda-filter): Renamed from
6154 `org-agenda-filter-tags'.
6156 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
6158 * org.el (org-entry-properties): Add CATEGORY property, iven if it
6159 is not defined as a property in this entry.
6160 (org-add-log-note): Mask prefix argument when immediately storing
6163 * org-agenda.el (org-agenda-filter-effort-default-operator): New
6166 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
6168 * org.el (org-add-log-setup): Bugfix; code to find insertion point
6169 after drawers was skipping ahead one line too many, so notes were
6170 inserted after the first note instead of before it.
6172 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
6174 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6176 (org-prepare-agenda): Reset the filter tags.
6177 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6178 Show filter tags in mode line.
6180 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6183 * org-export-latex.el (org-latex-entities-regexp): New constant.
6184 (org-export-as-pdf): Use two calls to `shell-command'.
6186 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
6188 * org-export-latex.el (org-export-latex-treat-sub-super-char):
6189 Honor the {} value of the subsuperscript setting. Make sure that
6190 longer subsuperscripts are typeset in a roman font.
6192 * org.el (org-clock-update-time-maybe): Compute negative clock
6193 intervals correctly.
6195 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
6197 * org.el (org-add-log-setup): Respect
6198 `org-log-state-notes-insert-after-drawers'.
6199 (org-log-state-notes-insert-after-drawers): New option.
6200 (org-todo-trigger-tag-changes): New function.
6201 (org-todo): Call `org-todo-trigger-tag-changes'.
6203 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
6205 * org.el (org-add-log-setup): Only skip drawers if the are
6206 immediately after the scheduling keywords.
6208 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6210 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6211 call it with the current todo state to get the state to switch to
6213 (org-clock-in): Use org-indent-line-function to indent clock lines.
6214 (org-clock-find-position): Fix indentation of empty clock drawers.
6216 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
6218 * org-publish.el (org-publish-org-to): Handle case when
6219 org-export-to-pdf does return a file name, not a buffer.
6220 (org-publish-org-to-pdf): New function.
6222 * org-export-latex.el (org-export-as-pdf)
6223 (org-export-as-pdf-and-open): New commands.
6225 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6228 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6229 things in protexted regions.
6231 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
6233 * org-export-latex.el (org-export-latex-preprocess): Improve
6234 quoting of LaTeX environments.
6236 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
6238 * org.el (org-edit-fixed-width-region): Exclude final newline from
6241 * org-export-latex.el (org-export-latex-subcontent): Add labels to
6242 sections, to make internal links work.
6243 (org-export-latex-fontify-headline): Do not remove all text
6244 properties, to make sure that target properties survive this
6247 * org-exp.el (org-export-preprocess-string): Change sequence of
6248 modifications, to make sure links are prepared before the LaTeX
6249 conversions do happen.
6251 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
6253 * org-attach.el (org-attach-delete-all): Renamed from
6254 `org-attch-delete'. Add a security query before deleting the
6255 entire directory. New optional argument FORCE can overrule the
6257 (org-attach-delete-one): New command.
6259 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
6261 * org-attach.el (org-attach-file-list): Fix bug with directory.
6263 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
6265 * org.el (org-apps-regexp-alist): New function.
6266 (org-file-apps): Add auto-mode to the default value.
6267 (org-open-file): Use the new structure of org-file-apps.
6269 * org-attach.el (org-attach): Support the new keys.
6270 (org-attach-method): New option.
6272 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
6274 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6277 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6278 of the list value o `org-use-tag-inheritance'.
6280 * org-attach.el (org-attach-auto-tag): New option.
6281 (org-attach-tag, org-attach-untag): New functions.
6282 (org-attach-attach, org-attach-new, org-attach-sync): Call
6284 (org-attach-delete): Call `org-attach-untag'.
6286 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
6288 * org-table.el (orgtbl-self-insert-command): Make this work for
6291 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
6293 * org.el (org-add-log-setup): Limit searc for drawers to entry
6294 text, not to subtree.
6296 * org-clock.el (org-clock-heading-for-remember): New variable.
6297 (org-clock-in): Set `org-clock-heading-for-remember'.
6299 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
6301 * org-remember.el (org-remember-apply-template): Add new
6302 expansions: %k, %K for currently clocked task and a link to the
6303 currently clocked task, and %< to file notes in the currently
6306 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
6308 * org-export-latex.el (org-export-latex-make-header): Also insert
6309 the content of the property :latex-header-extra.
6311 * org-exp.el (org-infile-export-plist): Put the content of
6312 #+LATEX_HEADER: into the property :latex-header-extra.
6314 * org-colview.el (org-columns-get-format-and-top-level): Remove
6315 resetting the marker.
6317 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6318 Remove resetting the marker.
6320 * org.el (org-entry-property-inherited-from): Improve docstring.
6321 (org-entry-get-with-inheritance): Reset marker before starting the
6324 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6326 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
6328 * org.el (org-entry-get-multivalued-property)
6329 (org-entry-protect-space, org-entry-restore-space): New
6331 (org-file-apps-defaults-macosx): Let postscript files be opened by
6333 (org-time-stamp-inactive): Call `org-time-stamp'.
6334 (org-time-stamp): New argument `inactive'. Also edit inacive
6335 stamps. Convert time stamp type.
6336 (org-open-file): Interpret the `default' value for the `command'
6339 * org-id.el (org-id-int-to-b36-one-digit)
6340 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6341 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6344 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
6346 * org-id.el (org-id-reverse-string): New function.
6347 (org-id-new): Use `org-id-reverse-string' to make sure the
6348 beginning chars of the ID are mutating fast. This allows to use a
6349 directory structure to spread things better.
6350 (org-id-prefix): Changed default to nil.
6352 * org-list.el (org-move-item-down, org-move-item-up): Remember and
6353 restore the column of the cursor position.
6355 * org-remember.el (org-remember-apply-template): Remove properties
6358 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
6360 * org-wl.el (org-wl-open): Remove useless call to
6361 `wl-thread-open-all'.
6363 * org-remember.el (org-remember-handler): Fix bug with `bottom'
6366 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
6368 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6369 `org-bbdb-anniversaries'.
6371 * org.el (org-get-next-sibling, org-forward-same-level): New
6372 functions, similar to the outline versions, but invisible headings
6375 2008-09-25 Bastien Guerry <bzg@altern.org>
6377 * org.el (org-auto-repeat-maybe): Insert a space between
6378 the timestamp's type and the timestamp itself.
6380 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
6382 * org-table.el (org-table-sum): Do not format the result with %g,
6383 it does rounding when there are too many digits.
6385 * org.el (org-map-entries): Protect the keyword-selecting variables.
6387 2008-09-23 Bastien Guerry <bzg@altern.org>
6389 * org-agenda.el (org-agenda-to-appt): Make sure the function check
6390 against all agenda files.
6392 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
6394 * org-list.el: New file, aggregating list functions from org.el
6395 and org-export-latex.el.
6397 * org.el (org-edit-src-region-extra): New option.
6399 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
6401 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6404 2008-09-22 Bastien Guerry <bzg@altern.org>
6406 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6408 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
6410 * org-plot.el (org-plot/gnuplot): Make tables starting with a
6411 hline work correctly.
6412 (org-plot/gnuplot-script): Put commas at the end of each script
6415 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
6417 * org.el (org-get-refile-targets): Replace links with their
6419 (org-imenu-get-tree): Replace links with their descriptions.
6421 * org-remember.el (org-remember-apply-template): Add a new
6422 expansion for adding properties to remember items.
6424 * org.el (org-add-log-setup): Skip over drawers (properties,
6425 clocks etc) when adding notes.
6427 * org-agenda.el (org-agenda-get-closed): show durations of clocked
6428 items as well as the start and end times.
6430 * org-compat.el (org-get-x-clipboard-compat): Add a compat
6431 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6433 * org-remember.el (org-get-x-clipboard): Use the compat
6434 function to get clipboard values when x-selection-value is
6435 unavailable. Use substring-no-properties instead of
6436 set-text-properties to remove text properties from the clipboard
6439 * lisp/org-clock.el (org-update-mode-line): Support limiting the
6440 modeline clock string, and display the full todo value in the
6441 tooltip. Set a local keymap so mouse-3 on the clock string goes to
6442 the currently clocked task.
6443 (org-clock-string-limit): Add a custom value for the maximum
6444 length of the clock string in the modeline.
6445 (org-clock-mode-map): Add a keymap for the modeline string
6447 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
6449 * org-compat.el (org-propertize): New function.
6451 2008-09-20 Bastien Guerry <bzg@altern.org>
6453 * org-export-latex.el (org-export-latex-tables): protect exported
6454 tables from further special chars conversion.
6455 (org-export-latex-preprocess): Preserve LaTeX environments.
6456 (org-list-parse-list): Parse descriptive lists.
6457 (org-list-to-generic, org-list-to-latex, org-list-to-html)
6458 (org-list-to-texinfo): Export descriptive lists.
6459 (org-quote-chars): Remove.
6460 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6461 (org-export-latex-list-beginning-re): Rename to
6462 `org-list-beginning-re'
6463 (org-list-item-begin): Rename to `org-list-item-beginning'
6465 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
6467 * org.el (org-refile): Allow refiling to the last entry in the
6469 (org-get-tags-at): Fix bug when inheritance is turned off.
6471 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
6473 * org.el (org-indent-line-function): No longer check for src
6474 regions, this is too much overhead.
6476 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6479 * org.el (org-scan-tags): Make sure that tags matching is not case
6480 sensitive. TODO keyword matching is case sensitive, however, to
6481 avoid confusion with similar words that are not meant to be
6484 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
6486 * org.el (org-get-local-tags-at): New function.
6487 (org-get-local-tags): New function.
6489 * org-exp.el (org-export-get-categories): New function.
6491 * org-agenda.el (org-sorting-choice)
6492 (org-agenda-sorting-strategy, org-agenda-get-todos)
6493 (org-agenda-get-timestamps, org-agenda-get-deadlines)
6494 (org-agenda-get-scheduled, org-agenda-get-blocks)
6495 (org-entries-lessp): Implement sorting by TODO state.
6496 (org-cmp-todo-state): New defsubst.
6498 * org-colview.el (org-colview-construct-allowed-dates): New
6500 (org-columns-next-allowed-value): Use
6501 `org-colview-construct-allowed-dates'.
6503 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6505 (org-columns-next-allowed-value): Use
6506 `org-colview-construct-allowed-dates'.
6508 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
6510 * org.el (org-protect-slash): New function.
6511 (org-get-refile-targets): Use `org-protect-slash'.
6513 * org-agenda.el (org-global-tags-completion-table): New variable.
6515 * org-exp.el (org-export-handle-export-tags): New function.
6516 (org-export-preprocess-string): Call
6517 `org-export-handle-export-tags'.
6519 * org-plot.el: New file.
6521 * org-publish.el (org-publish-expand-components): Function removed.
6522 (org-publish-expand-projects): Allow components to have components.
6524 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
6526 * org.el (org-indent-line-function): Do not indent in regions that
6527 are external source code.
6528 (org-yank-and-fold-if-subtree): New function.
6530 * org-agenda.el (org-agenda-todayp): New function.
6531 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6532 `org-agenda-todayp'.
6534 * org.el (org-insert-heading-respect-content)
6535 (org-insert-todo-heading-respect-content): New commands.
6536 (org-insert-heading-respect-content): New option.
6537 (org-insert-heading): Respect `org-insert-heading-respect-content'.
6539 * org-clock.el (org-clock-find-position): Make sure the note after
6540 the clock line gets moved into the new clock drawer.
6542 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
6544 * org-id.el (org-id-new): New option.
6546 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
6548 * org-table.el (org-table-copy-down): Avoid overflow during
6549 increment. Use prefix argument 0 to temporarily disable the
6552 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
6554 * org-exp.el (org-export-as-html): Do not turn on the major mode
6555 if the buffer will be killed anyway.
6556 (org-get-current-options): Exclude the #+TEXT field.
6557 (org-export-as-html): Make sure text before the first headline is
6560 * org-publish.el (org-publish-org-to): Tell the exporter that this
6561 buffer will be killed, so it is not necessary to do major mode
6564 * org-archive.el (org-archive-to-archive-sibling): Show empty
6565 lines after folding the archive sibling.
6567 * org.el (org-log-note-extra): New variable.
6569 2008-09-05 Bastien Guerry <bzg@altern.org>
6571 * org.el (org-additional-option-like-keywords): Added keywords for
6572 the _QUOTE, _VERSE and _SRC environments.
6574 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6575 exporting _QUOTE and _VERSE environments.
6577 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
6579 * org-agenda.el (org-agenda-filter-by-tag): New command.
6581 * org-exp.el (org-get-current-options): Remove angular brackets
6582 from the date entry.
6584 * org.el (org-edit-fixed-width-region): New function.
6585 (org-edit-fixed-width-region): Also try
6586 `org-edit-fixed-width-region'.
6587 (org-edit-fixed-width-region-mode): New option.
6588 (org-activate-code): Only interprete lines starting with colon
6589 plus a space as example lines.
6591 * org-remember.el (org-remember-templates): Add nil instead of
6592 empty strings to fix the length of remember templates.
6594 * org-table.el (org-calc-default-modes): Fix the time format for
6595 calc, from 12 hour to 24 hour clock.
6597 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
6599 * org-agenda.el (org-agenda-get-deadlines)
6600 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6601 entries that are pre-warnings of deadlines or reminders.
6603 * org.el (org-sort-entries-or-items): Make numeric and alpha
6604 comparisons ignore any TODO keyword and priority cookie.
6606 * org-remember.el (org-remember-handler): Reinterpretation of the
6609 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
6611 * org-agenda.el (org-agenda-get-scheduled): Use new
6612 `org-scheduled' face.
6614 * org-faces.el (org-scheduled): New face.
6616 * org-wl.el (org-wl-open): Remove incorrect declaration.
6618 * org-gnus.el (org-gnus-store-link): Support for :to information
6621 * org-exp.el (org-export-as-html): Fixed typo in creator
6623 (org-export-protect-examples): New parameter indent. Insert extra
6624 spaces only when this parameter is specified.
6625 (org-export-preprocess-string): Call `org-export-protect-examples'
6626 with an indentation parameter when exporting to ASCII.
6628 * org-remember.el (org-remember-templates)
6629 (org-remember-apply-template): Allow the file component to be a
6632 * org.el (org-goto-local-search-headings): Renamed from
6633 `org-goto-local-search-forward-headings'. Added the possibility
6634 to search backwards.
6636 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
6638 * org-export-latex.el (org-export-latex): New customization
6641 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6643 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
6645 * org-exp.el (org-html-do-expand): Allow {} to terminate
6648 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
6650 * org.el (org-buffer-list): Select buffers based on major mode,
6653 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6655 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6658 * org-colview.el (org-columns-display-here): Use
6659 `org-columns-modify-value-for-display-function'.
6661 * org-colview-xemacs.el (org-columns-display-here): Use
6662 `org-columns-modify-value-for-display-function'.
6664 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6666 * org.el (org-columns-modify-value-for-display-function): New option.
6678 * org-publish.el (org-publish-file): Make sure the directory match
6679 for the publishing directory works correctly.
6681 * org-agenda.el (org-agenda-execute-calendar-command)
6682 (org-agenda-diary-entry): Additional optional argument.
6684 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6686 * org-exp.el (org-export-as-html): Add attributes also in mailto
6689 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6698 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6700 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6701 sure that calls from `org-export-region-as-html' do not do the
6702 special check for a subtree.
6704 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6706 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6708 2008-07-20 Juri Linkov <juri@jurta.org>
6710 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6711 new keymap `narrow-map' instead of binding "\C-xns".
6713 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6715 * org.el (org-open-file): Use
6716 `org-open-directory-means-index-dot-org'.
6717 (org-open-directory-means-index-dot-org): New option.
6719 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6721 * org.el (org-make-link-string): Remove link attributes from
6723 (org-open-at-point): Remove link attributes bevore using the path.
6725 * org-exp.el (org-export-as-html): Handle link attributes.
6727 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6729 * org-table.el (org-table-to-lisp): New function.
6731 * org.el (org-narrow-to-subtree): Do not include the final newline
6732 into the narrowed region.
6734 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6735 bug with user-define skipping condition.
6737 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6739 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6741 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6743 * org-exp.el (org-export-html-style-default): Automatic overflow
6744 handling for pre fields.
6745 (org-export-as-ascii, org-export-as-html): Change default format
6748 * org-table.el (org-table-export): Offer completion for translator
6749 functions, and do not require a heading above the table.
6751 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6752 Cater for the case of a list starting in the first line of the
6755 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6757 * org-publish.el (org-publish-find-title): Bug fix.
6758 (org-publish-org-index): Implement new :index-style option.
6760 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6762 * org-publish.el (org-publish-timestamp-filename): Use
6763 SHA1-encoded file names in the timestamp directory.
6765 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6767 * org-publish.el (org-publish-needed-p): Be verbose about files
6768 published and files skipped.
6770 * org-exp.el (org-export-preprocess-string): Swap link
6771 normalization and inernal link targeting.
6773 * org-publish.el (org-publish-needed-p): Create timestamp
6774 directory when it does not exist.
6776 2008-07-04 Bastien Guerry <bzg@altern.org>
6778 * org-clock.el (org-clock-out-when-done): Doc fix.
6780 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6782 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6783 Ignore case when searching for the COMMENT cookie at export time.
6785 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6787 * org-exp.el (org-get-file-contents)
6788 (org-get-and-remove-property): New functions.
6789 (org-export-handle-include-files): Handle the new prefix options.
6790 (org-export-as-html): Fix the verse environment.
6792 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6794 * org.el (org-time=, org-time<, org-time<=, org-time>)
6795 (org-time>=, org-time<>, org-2ft): New functions.
6796 (org-op-to-function): Also provide for the time testing fucntions.
6798 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6800 * org-exp.el (org-export-html-style-default): New constant.
6802 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6804 * org-exp.el (org-export-html-style-extra): New variable.
6805 (org-export-splice-style): New function.
6807 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6809 * org-exp.el (org-export-plist-vars, org-export-as-html):
6810 Implement `org-export-creator-info'.
6811 (org-export-creator-info): New option.
6813 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6815 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6816 (org-property-drawer-re, org-clock-drawer-re): New constants.
6818 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6820 * org-exp.el (org-icalendar-use-deadline)
6821 (org-icalendar-use-scheduled): New options.
6822 (org-icalendar-include-todo): Default changed to t.
6823 (org-print-icalendar-entries): Implement better utilization of
6824 scheduling and deadline time stamps.
6825 (org-export-target-internal-links, org-export-as-html): Allow file
6826 lines without the "file:" prefix if the file path is an absolute
6827 path or starts with ".".
6829 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6831 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6833 2008-06-18 Glenn Morris <rgm@gnu.org>
6834 * org.el (org-map-entries): Let-bind `file'.
6836 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6838 * org.el (org-agenda-skip-archived-trees): Docstring now
6839 discourages using this.
6840 (org-scan-tags): Check for org-agenda-archives-mode.
6841 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6842 (org-agenda-files): Functionality of second arg changed.
6844 * org-agenda.el (org-agenda-archives-mode): New variable
6845 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6846 (org-search-view, org-todo-list, org-tags-view)
6847 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6849 (org-agenda-quit): Reset the archives mode.
6850 (org-agenda-archives-mode): New command.
6851 (org-agenda-set-mode-name): Include archives info.
6853 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6855 * org.el (org-paste-subtree): Make sure the yanked headline is
6856 visible if it was yanked at a visible point.
6857 (org-move-item-up): Fix the bug with moving white space at the end
6859 (org-show-empty-lines-in-parent): New function.
6861 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6863 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6865 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6867 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6868 agenda prefix as well.
6870 * org-publish.el (org-publish-org-index): Make a properly indented
6873 * org.el (org-calendar-agenda-action-key): New option.
6874 (org-get-cursor-date): New function.
6875 (org-mark-entry-for-agenda-action): New command.
6876 (org-overriding-default-time): New variable.
6877 (org-read-date): Respect `org-overriding-default-time'.
6879 * org-remember.el (org-remember-apply-template): Respect the
6880 ovverriding default time.
6882 * org-agenda.el (org-agenda-action-marker): New variable.
6883 (org-agenda-action): New command.
6884 (org-agenda-do-action): New function.
6886 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6888 * org.el (org-schedule, org-deadline): Protect scheduled and
6889 deadline tasks against changes that accidently remove the
6890 repeater. Also show a message with the new date when done.
6892 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6894 * org.el (org-beginning-of-line): Cater for the case when there
6895 are tags but no headline text.
6896 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6899 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6901 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6902 the return value is nil instead of "nil" when there is no match.
6904 * org-exp.el (org-insert-centered): Use fill-column instead of
6906 (org-export-as-ascii): Use string-width to measure the width of
6909 * org.el (org-diary-to-ical-string): No longer kill buffer
6910 FROMBUF, this is now done by the caller.
6912 * org-exp.el (org-print-icalendar-entries): Move the call to
6913 `org-diary-to-ical-string' out of the loop, and kill the buffer
6916 * org-remember.el (org-remember-visit-immediately): Position
6917 cursor after moving to the note.
6918 (org-remember-apply-template): Use a text property to record the
6920 (org-remember-handler): Align tags after pasting the note.
6922 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6924 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6926 * org-agenda.el (org-agenda-open-link): If there is an
6927 org-bbdb-name property in the current line, jump to that bbdb
6930 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6931 text property, so that the agenda knows where this entry comes
6934 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6935 interaction between clocking-in from the agenda, and automatic
6936 task state switching.
6938 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6940 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6941 zmacs-region stays after this command in XEmacs.
6943 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6945 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6947 * org-remember.el (org-remember-templates): Fix bug in
6948 customization type definition.
6950 * org.el (org-map-entries): New function.
6952 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6954 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6955 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6957 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6959 * org-remember.el (org-jump-to-target-location): New variable.
6960 (org-remember-apply-template): Set
6961 `org-remember-apply-template' if requested by template.
6962 (org-remember-handler): Start an idle timer to jump to
6965 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6967 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6969 (org-get-tags-at): Add the content of `org-file-tags'.
6971 * org-exp.el (org-export-handle-comments): Fix bug with several
6972 comment lines after each other.
6973 (org-number-to-roman, org-number-to-counter): New functions.
6974 (org-export-section-number-format): New option.
6976 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6978 * org-exp.el (org-export-protect-examples): Catch the case of a
6979 missing end_example line.
6981 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6982 `org-file-tags' to nil.
6984 * org-colview.el (org-columns-next-allowed-value): Handle next
6985 argument NTH to directly select a value.
6987 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6988 argument NTH to directly select a value.
6990 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6992 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6994 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6996 * org.el (org-columns-ellipses): New option.
6998 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
7000 * org-colview.el (org-columns-add-ellipses): New function.
7001 (org-columns-compact-links): New function.
7002 (org-columns-cleanup-item): Call `org-columns-compact-links'.
7003 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7005 (org-columns-edit-value): Fixed bug with editing values from
7007 (org-columns-redo): Also redo the agenda itself.
7009 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
7011 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7014 * org-colview.el (org-agenda-columns-cleanup-item): New function.
7016 * org-exp.el (org-export-ascii-preprocess): Renamed from
7017 `org-export-ascii-clean-string'.
7018 (org-export-kill-licensed-text)
7019 (org-export-define-heading-targets)
7020 (org-export-handle-invisible-targets)
7021 (org-export-target-internal-links)
7022 (org-export-remove-or-extract-drawers)
7023 (org-export-remove-archived-trees)
7024 (org-export-protect-quoted-subtrees)
7025 (org-export-protect-verbatim, org-export-protect-examples)
7026 (org-export-select-backend-specific-text)
7027 (org-export-mark-blockquote-and-verse)
7028 (org-export-remove-comment-blocks-and-subtrees)
7029 (org-export-handle-comments, org-export-mark-radio-links)
7030 (org-export-remove-special-table-lines)
7031 (org-export-normalize-links)
7032 (org-export-concatenate-multiline-links)
7033 (org-export-concatenate-multiline-emphasis): New functions,
7034 obtained from spliiting the export preprocessor.
7036 * org-table.el (org-table-recalculate): Improve error message if
7037 the row number is invalid.
7039 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
7041 * org-archive.el (org-archive-save-context-info): Fix bugs in
7042 customization setup and docstring.
7044 * org-exp.el (org-export-html-style): Changed the size of in the
7045 <pre> element to 90%.
7047 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
7049 * org.el (org-find-src-example-start): Function removed.
7050 (org-edit-src-find-region-and-lang): New function.
7052 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
7054 * org.el (org-edit-src-exit): New function.
7055 (org-exit-edit-mode): New minor mode.
7057 * org-exp.el (org-export-preprocess-string): Fix bug with removing
7058 comment-like lines from protected examples.
7060 * org.el (org-edit-src-example, org-find-src-example-start)
7061 (org-protect-source-example, org-edit-special): New functions.
7063 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
7065 * org-publish.el (org-publish-project-alist): Fix typo in
7067 (org-publish-project-alist): Handle :index-title property.
7069 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
7071 * org-export-latex.el (org-export-as-latex): Make sure region
7072 bounds are correct. Parse subtree properties relating to export.
7074 * org-exp.el (org-export-add-options-to-plist): New function.
7075 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7077 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
7079 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7082 * org-exp.el (org-export-get-title-from-subtree)
7083 (org-export-as-ascii, org-export-as-html): Make sure the original
7084 region-beginning and region-end are used, even after moving
7086 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7089 * org-remember.el (org-remember-last-stored-marker): New variable.
7090 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7091 (org-remember-handler): Also use marker to remember
7092 last-stored position.
7094 * org.el (org-goto-marker-or-bmk): New function.
7096 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
7098 * org.el (org-file-properties): Renamed from `org-local-properties'.
7099 (org-scan-tags): Take file tags into account.
7100 (org-tags-match-list-sublevels): Default changed to t.
7102 * org-exp.el (org-export-as-html): Close paragraph after a
7105 * org.el (org-update-parent-todo-statistics): New function.
7107 * org-exp.el (org-icalendar-store-UID): New option.
7108 (org-icalendar-force-UID): Option removed.
7109 (org-print-icalendar-entries): IMplement UIDs.
7111 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
7113 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7115 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
7117 * org-faces.el (org-column): Document how this face is being used
7118 and why sometimes the background faces shine through.
7120 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7122 * org-publish.el (org-publish-attachment): Create publishing
7123 directory if it does not yet exist.
7125 * org-table.el (org-calc-default-modes): Change default number
7126 format to (float 8).
7128 * org.el (org-olpath-completing-read): New function.
7129 (org-time-clocksum-format): New option.
7130 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7132 * org-clock.el (org-clock-display, org-clock-out)
7133 (org-update-mode-line): Use `org-time-clocksum-format'.
7135 * org-colview-xemacs.el (org-columns-number-to-string): Use
7136 `org-time-clocksum-format'.
7138 * org-colview.el (org-columns-number-to-string): Use
7139 `org-time-clocksum-format'.
7141 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
7143 * org-id.el: New file, move from contrib to core.
7145 * org-exp.el (org-icalendar-force-UID): New option.
7147 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
7149 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7150 shifted by one day if theere is a date range without an end
7153 * org.el (org-try-structure-completion): New function.
7155 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
7157 * org.el (org-set-font-lock-defaults): Improve fontification of
7159 (org-insert-item): Handle description lists.
7160 (org-adaptive-fill-function): Improve auto indentation in
7163 * org-exp.el (org-export-as-html, org-export-preprocess-string):
7164 Implement VERSE environment.
7165 (org-export-preprocess-string): Implement the COMMENT
7168 * org-export-latex.el (org-export-latex-preprocess): Implement
7171 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
7173 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7176 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
7178 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7180 * org.el (org-quote-csv-field): New functions.
7182 * org-table.el (org-table-export-default-format): Remove :splice
7183 from default format, we get the same effect by not specifying
7185 (org-table-export): Improve setup, distinguish better between
7186 interactive and non-interactive use, allow specifying the format
7187 on the fly, better protection against wrong file names.
7188 (orgtbl-to-generic): Fix documentation. Do not require :tstart
7189 and :tend when :splice is omitted.
7191 2008-05-09 Bernt Hansen <bernt@norang.ca>
7193 * org-clock.el (org-clock-select-task): Make sure the selection
7194 letters are 1-9 and A-Z, no special characters.
7196 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
7198 * org-exp.el (org-export-htmlize): New group.
7199 (org-export-htmlize-output-type)
7200 (org-export-htmlize-css-font-prefix): New options.
7201 (org-export-htmlize-region-for-paste): New function.
7202 (org-export-htmlize-generate-css): New command.
7204 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
7206 * org/org.el (org-modules, org-format-latex-options):
7207 * org/org-archive.el (org-archive-stamp-time)
7208 (org-archive-save-context-info):
7209 * org/org-faces.el (org-hide):
7210 * org/org-irc.el (org-irc-parse-link):
7211 * org/org-macs.el (org-call-with-arg, org-autoload):
7212 * org/org-mew.el (org-mew-store-link):
7213 * org/org-remember.el (org-remember-store-without-prompt)
7214 (org-remember-templates): Fix typos in docstrings.
7216 * org/org-info.el (org-info-store-link): Remove leftover docstring.
7218 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7219 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7220 (org-bbdb-anniv-split): Fix typos in docstrings.
7222 * org/org-publish.el (org-publish-project-alist): Doc fixes.
7223 (org-publish-use-timestamps-flag): Reflow docstring.
7224 (org-publish-files-alist): Fix typos in docstring.
7226 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
7228 * org.el (org-set-visibility-according-to-property): New function.
7229 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7230 and compute the regular expressions, and update font-lock.
7231 (org-property-re): Allow a dash in property names.
7233 * org-archive.el (org-extract-archive-file): Insert the file name
7234 without the path into the format, to allow the location format to
7235 contain a subdirectory.
7237 * org-agenda.el (org-agenda-post-command-hook): If point is at end
7238 of buffer, and the `org-agenda-type' property undefined, use the
7239 value from the character before.
7241 * org.el (org-add-planning-info): Don't let indentation for
7242 would-be timestamp become extra whitespace at the end of headline.
7244 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
7246 * org.el (org-remove-double-quotes, org-file-contents): New
7249 * org-exp.el (org-infile-export-plist): Also parse the
7250 contents of #+SETUPFILE files, recursively.
7252 * org.el (org-set-regexps-and-options): Also parse the
7253 contents of #+SETUPFILE files, recursively.
7255 * org-exp.el (org-export-handle-include-files): New function.
7256 (org-export-preprocess-string): Call
7257 `org-export-handle-include-files'.
7259 * org.el (org-delete-property-globally)
7260 (org-delete-property, org-set-property): Ignore case during
7262 (org-set-property): Use `org-completing-read' instead of
7265 * org.el (org-complete-expand-structure-template): New,
7266 experimental function.
7267 (org-structure-template-alist): New, experimental option.
7268 (org-complete): Call `org-complete-expand-structure-template'.
7270 2008-05-06 Bastien Guerry <bzg@altern.org>
7272 * org-export-latex.el (org-export-latex-preprocess): Added
7273 support for blockquotes.
7275 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
7277 * org.el (org-read-date-analyze): Catch the case where only a
7280 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
7282 * org.el (org-set-font-lock-defaults): Make the description
7285 * org-exp.el (org-export-as-html, org-close-li): Implement
7288 2008-05-04 Jason Riedy <jason@acm.org>
7290 * org-table.el (*orgtbl-default-fmt*): New variable.
7291 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7292 when there is no other fmt available.
7294 (orgtbl-to-generic): Allow an explicitly nil :tstart or
7295 :tend to suppress the appropriate string.
7297 (orgtbl-to-orgtbl): New function for translating to another orgtbl
7300 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
7302 * org.el (org-read-date-analyze): "." as an alias for "+0" in
7305 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7308 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7311 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
7313 * org-clock.el (org-clock-find-position): Don't include notes
7316 * org-archive.el (org-archive-subtree): No longer remove an
7317 extra line after cutting the subtree. `org-cut-subtree' already
7320 * org-remember.el (org-remember-handler): Only kill the target
7321 buffer if it does not contain the running clock.
7323 * org.el (org-markers-to-move): New variable.
7324 (org-save-markers-in-region, org-check-and-save-marker)
7325 (org-reinstall-markers-in-region): New function.
7326 (org-move-subtree-down, org-copy-subtree): Remember relative
7327 marker positions before cutting.
7328 (org-move-subtree-down, org-paste-subtree): Restore relative
7329 marker positions after pasting.
7331 * org-remember.el (org-remember-clock-out-on-exit): New option.
7332 (org-remember-finalize): Clock out only if the setting in
7333 `org-remember-clock-out-on-exit' requires it.
7334 (org-remember-handler): Do the cleanup in the buffer, to make sure
7335 that the clock marker remains in tact.
7337 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
7339 * org-clock.el (org-clock-goto): Widen buffer if necessary.
7340 (org-clock-in): Make sure that also tasks outside the narrowed
7341 region will be clocked in correctly.
7342 (org-clock-insert-selection-line): Widen the buffer so that we can
7343 find the correct task heading.
7345 * org.el (org-base-buffer): New function.
7347 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7348 and ";" are escaped.
7349 (org-print-icalendar-entries): Also apply
7350 `org-icalendar-cleanup-string' to the headline, not only to the
7353 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
7355 * org-exp.el (org-export-preprocess-hook): New hook.
7356 (org-export-preprocess-string): Call
7357 `org-export-preprocess-hook'.
7359 * org.el (org-font-lock-hook): New variable.
7360 (org-font-lock-hook): New function.
7361 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7365 ;; add-log-time-zone-rule: t
7368 Copyright (C) 2008 Free Software Foundation, Inc.
7370 This file is part of GNU Emacs.
7372 GNU Emacs is free software: you can redistribute it and/or modify
7373 it under the terms of the GNU General Public License as published by
7374 the Free Software Foundation, either version 3 of the License, or
7375 (at your option) any later version.
7377 GNU Emacs is distributed in the hope that it will be useful,
7378 but WITHOUT ANY WARRANTY; without even the implied warranty of
7379 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7380 GNU General Public License for more details.
7382 You should have received a copy of the GNU General Public License
7383 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7385 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c