Fix link encoding bug:
[org-mode.git] / lisp / ChangeLog
blob3f46f3c1b671af839c3f63916e726c4153df20e9
1 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
4         the table is not explicitly given.
6 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
8         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
9         as value.
10         (org-clock-out-if-current): Work with the new list value of
11         `org-clock-out-when-done'.
12         (org-clock-out, org-clock-out-if-current): Avoid circular logic
13         between clocking out and state changes.
15         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
17         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
18         accident protect a character that is before a backslash.
20 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
22         * org-agenda.el (org-diary-class): Use
23         `org-order-calendar-date-args'.
25         * org.el (org-order-calendar-date-args): New function.
27         * org-exp.el (org-export-target-internal-links): Check for
28         protectedness after the first bracket.
30         * org.el (org-entry-properties): Don't match wrong-case TODO
31         keywords.
33         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
34         Document that ARG is passed through to remove the date.
35         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
36         not read a date when the user has given a `C-u' prefix.
38 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
40         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
41         tags are hidden.
43 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
45         * org-latex.el (org-export-latex-fix-inputenc): New function.
46         (org-export-latex-inputenc-alist): New option.
48         * org-exp.el (org-export): New key SPC to publish enclosing
49         subtree.
51 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
53         * org-indent.el (org-indent-add-properties): Catch case when there
54         is no headline in the buffer.
56 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
58         * org-exp.el (org-html-entities): Add checkmark symbol.
60         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
61         verbatim code for ASCII export.
63         * org.el (org-update-statistics-cookies): Also see checkboxes in
64         ordered lists.
66 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
68         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
69         key.
71         * org-beamer.el (org-beamer-amend-header): Change the location
72         where `org-beamer-header-extra' is inserted.
74         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
75         just for computing this regexp.
77 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
79         * org-beamer.el (org-beamer-frame-default-options): New option.
80         (org-beamer-sectioning): Use default options if the user does not
81         have defined any.
82         (org-beamer-fix-toc): Put a frame around the table of contents.
84         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
85         sure case-folding works well when processing comment stuff.
87         * org-latex.el (org-export-latex-after-save-hook): New hook.
88         (org-export-as-latex): Run the new hook.
90 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org-beamer.el (org-beamer-environments-default): Add the note
93         environments.
94         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
95         lines and collect and combine the content.
96         (org-beamer-after-initial-vars): Check for note tags and make sure
97         they will be seen like a property.
99         * org.el (org-offer-links-in-entry): Fix bug when there is a
100         single link.
102         * org-exp.el (org-export): Make sure the mark is activated, also
103         when `transient-mark-mode' is off.
105         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
106         (org-agenda-search-view-search-words-only): Obsolete variable, is
107         now an alias for `org-agenda-search-view-always-boolean'.
108         (org-agenda-search-view-force-full-words): New option.
109         (org-search-view): Improve docstring, and implement a better logic
110         for Boolean and phrase searches.
111         (org-agenda-last-search-view-search-was-boolean): New variable.
112         (org-agenda-manipulate-query): Consider the type of the last
113         search when modifying the search string.
115 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org-latex.el (org-export-as-latex): Do the first letbind in the
118         right moment.
120         * org-agenda.el (org-get-entries-from-diary): Add the new face to
121         these entries.
123         * org-faces.el (org-agenda-diary): New face.
125         * org.el (org-make-link-regexps): Allow regexp-special characters
126         in link types.
127         (org-open-file): When in-emacs is `system', also force system
128         opening, like when the value was `(16)'.
129         (org-update-statistics-cookies): Handle entries without children.
131         * org-exp.el
132         (org-export-preprocess-before-normalizing-links-hook): New hook.
133         (org-export-preprocess-string): Run the new hook.
135         * org.el (org-offer-links-in-entry): Make RET open all links.
137         * org-html.el (org-export-as-html): Remove any left-over display
138         properties in the html file.
140         * org-wl.el (org-wl-store-link): Work-around for format bug with
141         text properties.
143         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
144         invisibility while adding the graphs.
146 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
148         * org-remember.el (org-select-remember-template): Use C letter to
149         customize remember templates.
151         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
152         Move cursor to next visible line.
154 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
156         * org-beamer.el (org-beamer-sectioning): Leave columns environment
157         by specifying 0 or 1 for column width.
158         (org-beamer-column-widths): Make 0 stand for 0.0.
160 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
162         * org-exp.el (org-export-mark-radio-links): Don't match inside
163         <<target>>.
165         * org.el (org-format-latex-header-extra): New variable.
166         (org-format-latex): Set org-format-latex-header-extra from
167         in-buffer stuff.
168         (org-format-latex): Add org-format-latex-header-extra to the
169         variables on which image creation depends.
170         (org-create-formula-image): Add the header stuff from in-buffer
171         settings.
172         (org-read-date-analyze): Base the analysis for future preference
173         on NOW, not on the default date.
175         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
176         for TODO keyword in inline tasks.
178         * org.el (org-log-note-headings): New headings for removing
179         deadline or scheduling date.
180         (org-deadline, org-schedule): Arrange for logging when removing a
181         date.
182         (org-add-log-note): Handle deadline and scheduling removal.
184 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
186         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
188 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
190         * org-agenda.el (org-diary-class): New function.
192 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
194         * org-latex.el (org-export-latex-preprocess): Do process the text
195         of a radio target.
197 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
199         * org.el (org-entry-properties): Add TIMESTAMP properties back
200         in.
202 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
204         * org.el (org-all-time-keywords): New variable.
205         (org-set-regexps-and-options): Set `org-all-time-keywords'.
206         (org-entry-blocked-p): New function.
207         (org-special-properties): Add BLOCKED as a new special property.
208         (org-entry-properties): New optional argument SPECIFIC, only parse
209         for this property when it is specified.
210         (org-entry-get): Pass a SPECIFIC argument to
211         `org-entry-properties'.
213         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
215 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
217         * org-latex.el (org-export-latex-tables): No forced line end if
218         there is no caption.
220 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
222         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
223         package.
225         * org-latex.el (org-export-latex-tables): Only add a caption when
226         macro in in longtable environments if one has been defined.
228         * org-html.el (org-export-as-html): Only take title from buffer if
229         not exporting body-only.
231         * org-latex.el (org-export-latex-preprocess): Better version of
232         the regular expression for protecting LaTeX macros.
233         (org-export-latex-preprocess): Start searching for macros to
234         protect from beginning of buffer.
236         * org-exp.el (org-export-target-internal-links): Check for
237         protectedness earlier in the string.
239         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
240         case sensitively.
242         * org-id.el (org-id-store-link): Match TODO keywords case
243         sensitively.
245         * org.el (org-heading-components, org-get-outline-path)
246         (org-display-outline-path): Match TODO keywords case sensitively.
248         * org-latex.el (org-export-as-latex): Ignore read-only
249         properties.
251         * org-exp.el (org-export-preprocess-string): Remove any
252         `read-only' properties.
254         * org-agenda.el (org-agenda-inactive-leader): New option.
255         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
256         (org-tags-view): Prompt for matcher if MATCH is an empty string.
257         (org-todo-list): Prompt for matcher if ARG is an empty string.
259 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
261         * org.el (org-open-link-functions): New hook.
262         (org-open-at-point): Run `org-open-link-functions'.
264 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
266         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
267         stamps as well.
269         * org.el (org-inhibit-startup-visibility-stuff): New variable.
270         (org-mode): Don't do startup visibility if inhibited.
271         (org-outline-overlay-data, org-set-outline-overlay-data): New
272         functions.
273         (org-save-outline-visibility): New macro.
274         (org-log-note-headings): Document that one should not change the
275         `state' note format.
277 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
279         * org.el (org-make-link-regexps): Capture link path into a group.
281 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
283         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
284         the options plist.
286 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
288         * org.el (org-startup-with-beamer-mode): New option.
289         (org-property-changed-functions)
290         (org-property-allowed-value-functions): New hooks.
291         (org-entry-put, org-property-get-allowed-values): Run the new
292         hooks.
293         (org-property-next-allowed-value): Run the new hooks.
295         * org-exp.el (org-export-select-backend-specific-text): Add the
296         special beamer tags.
298         * org-beamer.el
299         (org-export-preprocess-before-selecting-backend-code-hook): New
300         file.
302         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
303         (org-export-as-latex): Run
304         `org-export-latex-after-initial-vars-hook'.
305         (org-export-latex-format-toc-function)
306         (org-export-latex-make-header): Call
307         `org-export-latex-format-toc-function'.
309         * org.el (org-fill-template): Make template searches case sensitive.
311         * org-exp.el (org-export): Use "1" as a sign to export only the
312         subtree.
314         * org-colview-xemacs.el (org-columns-edit-value): Use
315         org-unrestricted property.
317         * org-colview.el (org-columns-edit-value):  Use
318         org-unrestricted property.
320         * org.el (org-compute-property-at-point): Set org-unrestricted
321         text property if the list contains ":ETC".
322         (org-insert-property-drawer):  Use
323         org-unrestricted property.
325         * org-exp.el
326         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
327         (org-export-preprocess-string): Run
328         `org-export-preprocess-before-selecting-backend-code-hook'.
330         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
332         * org-latex.el (org-export-region-as-latex): Run
333         `org-export-first-hook'.
335         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
337         * org-docbook.el (org-export-as-docbook): Run
338         `org-export-first-hook'.
340         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
342         * org-exp.el (org-export-first-hook): New hook.
344 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
346         * org-list.el (org-previous-item): Exit at the beginning of the
347         buffer.
349         * org-id.el (org-id-locations-save): Only write the id locations
350         if any are defined.
352         * org-archive.el (org-archive-all-done): Make this work in a file
353         with org-odd-levels-only set.
355         * org.el (org-get-refile-targets): Catch the case when a buffer
356         has no file.
358         * org-latex.el (org-export-as-latex): Cleanup forced line ends
359         where they are not needed.
360         (org-export-latex-subcontent): Remove unnecessary newlines.
362 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
365         (org-export-latex-fontify): Fix regexp bug that takes special
366         care of protecting the right boundary characters in emphasis
367         matches.
368         (org-export-latex-preprocess): Allow multiple arguments to latex
369         macros.
371         * org.el (org-make-link-regexps): Use John Gruber's regexp for
372         urls.
374         * org-macs.el (org-re): Interpret :punct: in regexps.
376         * org-exp.el (org-export-replace-src-segments-and-examples): Also
377         take the final newline after the END line.
379         * org.el (org-clean-visibility-after-subtree-move): Only fix
380         entries that are not entirely invisible already.
381         (org-insert-link): Respect org-link-file-path-type for
382         "docview:" links in addition to "file:" links.
384 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
386         * org-exp.el (org-export-format-source-code-or-example): Avoid
387         additional extra white lines in LaTeX.
389         * org-list.el (org-list-parse-list): Leave empty lines after the
390         list, don't consider them as part of the list.
392         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
393         searches.
395         * org-clock.el (org-clock-select-task): Convert integer to
396         character for XEmacs.
398 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
400         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
401         compatible.
403 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
405         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
406         variable.
407         (org-set-tags): Use it.
409 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
411         * org-list.el (org-empty-line-terminates-plain-lists): Update
412         docstring.
414         * org.el (org-format-latex): Fix link creation for processed latex
415         snippets.
417 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
419         * org-footnote.el (org-footnote-normalize): Protect replacement
420         text.
422         * org.el (org-inside-latex-macro-p): Save match data.
424 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
426         * org-docview.el: New file.
428 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
430         * org-latex.el (org-export-latex-class-options): New variable.
431         (org-export-latex-set-initial-vars): Use the class options.
433         * org.el (org-forward-same-level): Stop at headings that start
434         with an invisible character.
435         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
437 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
439         * org-footnote.el (org-footnote-normalize): Don't take optional
440         arguments in LaTeX macros as footnotes.
442         * org.el (org-inside-latex-macro-p): New function.
444         * org-latex.el (org-latex-to-pdf-process): Change customization
445         group to `org-export-pdf'.
447         * org-agenda.el (org-agenda-get-blocks): Look at time string also
448         on days after the first one.
450         * org.el (org-insert-heading): Also check for item before assuming
451         before-first-heading condition.
453         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
454         (org-export-pdf-logfiles): New option.
455         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
456         (org-export-pdf-logfiles): Fix customization type.
458         * org.el (org-insert-link): Improve error message when there is no
459         default link to select with RET.
461         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
462         parameter list.
464 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
466         * org-latex.el (org-export-latex-parse-global)
467         (org-export-latex-parse-content)
468         (org-export-latex-parse-subcontent): Use
469         `org-re-search-forward-unprotected'.
470         (org-export-as-pdf): Remove log files produced by XeTeX.
472         * org-macs.el (org-re-search-forward-unprotected): New function.
474 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
476         * org-colview.el (org-agenda-colview-summarize): Sort out some
477         confusion between properties and titles, which resulted in
478         agenda summaries not working if a title was set for a column.
480 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-mobile.el (org-mobile-agendas): New option.
483         (org-mobile-sumo-agenda-command): Select the right agendas.
485         * org-latex.el (org-export-latex-format-image): Preserve the
486         original-indentation property.
488 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
490         * org-clock.el (org-clock-insert-selection-line): Catch error when
491         an old tasks no longer exists.
493         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
494         (org-export-as-pdf): Don't remove the old PDF file before making
495         the new one.
497         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
498         (org-mouse-context-menu): Use `org-looking-back'.
500         * org.el (org-cycle-level): Use `org-looking-back'.
502         * org-list.el (org-cycle-item-indentation): Use
503         `org-looking-back'.
505         * org-compat.el (org-looking-back): New function.
507         * org.el (org-insert-heading): Catch before-first-headline when
508         inserting a headline.
510 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
512         * org-latex.el (org-export-latex-format-image): Indent figure
513         environment, so that it does not interrupt plain list.
515         * org.el (org-open-at-point): Allow long link descriptions.
517 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
519         * org-html.el (org-export-as-html): Remove empty lines at the
520         beginning of the exported text.
522 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
524         * org-protocol.el (org-protocol-remember): Cater for empty title,
525         region, link.
527         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
528         agenda after adding new entry.
529         (org-agenda-get-represented-tags): New function.
530         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
531         to get a list of tags in the agenda.
533         * org-datetree.el (org-datetree-find-day-create): Fix regular
534         expression.
536         * org.el (org-display-outline-path): Use a format specifier for
537         message, to avoid problems with heading containing `%'.
539         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
540         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
541         (org-agenda-fix-displayed-tags): New function.
542         (org-agenda-do-context-action): Just call
543         `org-display-outline-path', without piping the result through
544         `message'.
546         * org-latex.el (org-export-latex-preprocess): Protect secondary
547         footnote references.
549         * org-indent.el (org-indent-initialize): Avoid empty strings as
550         line prefixes.
552         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
553         hat checking for the mark does not throw an error.
554         (org-agenda-diary-entry-in-org-file): Catch the case that there is
555         not `day' text property in the cursor line.
557         * org.el (org-sort-entries-or-items): Make sure that the final
558         entry has a newline before doing the sorting.
560         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
561         property at the beginning of the line.
563         * org.el (org-make-link-string): Don't allow a description with
564         only white space.
566 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
568         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
569         (org-agenda-insert-diary-as-top-level): New function.
570         (org-agenda-add-entry-to-org-agenda-diary-file): Call
571         `org-agenda-insert-diary-as-top-level'.
573         * org.el (org-occur-in-agenda-files): Make sure none of the
574         buffers is narrowed.
575         (org-activate-plain-links): Add the face property here.
576         (org-set-font-lock-defaults): Do not add the face to plain links,
577         the activator function does this.
579         * org-habit.el (org-is-habit-p): Add doc string.
581 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
583         * org-archive.el (org-archive-subtree-default-with-confirmation):
584         Autoload.
586         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
587         after match optional (happens at the end of a line...).
589         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
590         for special blocks.
592         * org-faces.el (org-copy-face): Set lisp indentation.
593         (org-quote, org-verse): New faces.
595         * org-agenda.el (org-agenda-remove-date): Remove variable.
597 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
599         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
601 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
603         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
604         hash keys to cache and re-use images generated by the
605         org-exp-blocks interface to ditaa and dot.
607 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org-html.el (org-export-as-html): Move the home/up link into
610         the content div.
612         * org.el (org-export-latex-packages-alist): Option definition
613         moved here from org-latex.el.
615 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
617         * org.el (org-format-latex): Latex images are now saved to files
618         named by the sha1 hash of the latex source text avoiding
619         regeneration of identical images.
621 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
623         * org-html.el (org-export-html-home/up-format): Add an ID to the
624         up/home div.
626 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
628         * org-wl.el (org-wl-store-link): Handle the case that
629         `wl-use-petname' is set.
631         * org.el (org-set-effort): Improve prompt.
632         (org-get-outline-path): Widen to get full path.
633         (org-compact-display-after-subtree-move): Function removed.
635         * org-latex.el (org-export-as-latex): Add the :drawers property.
637 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
639         * org.el (org-speed-commands-user): Allow documentation headlines.
640         (org-speed-commands-default): Organize the value of this constant
641         with descriptive headlines.
642         (org-print-speed-command): Output the headlines.
644 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
646         * org-agenda.el (org-agenda-show-outline-path): New option.
647         (org-agenda-do-context-action): New function.
648         (org-agenda-next-line, org-agenda-previous-line): Use
649         `org-agenda-do-context-action'.
651         * org.el (org-use-speed-commands): Allow function value.
652         (org-speed-commands-default): Make headline motion safe, so that
653         these commands always end on a headline.
654         (org-speed-commands-default): New key `v' for `org-agenda'.
655         (org-speed-move-safe): New function.
656         (org-self-insert-command): Use the function value of
657         `org-use-speed-commands'.
658         (org-get-outline-path): Improve docstring.
659         (org-format-outline-path): New function.
660         (org-display-outline-path): New function.
662 2009-11-12  John Wiegley  <jwiegley@gmail.com>
664         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
665         a string, use that to find the LOGBOOK drawer.
667 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
669         * org.el (org-clone-subtree-with-time-shift): Make it work at the
670         end of the buffer.
672         * org-mobile.el (org-mobile-write-checksums): Specify coding
673         system.
674         (org-mobile-timestamp-buffer): Keep local variable/mode line at
675         beginning of buffer.
677         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
679         * org.el (org-block-todo-from-children-or-siblings-or-parent)
680         (org-block-todo-from-checkboxes): Do not block changes to a nil
681         TODO state.
683 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
685         * org-habit.el (org-habit-parse-todo): Indicate which habit is
686         wrongly set up in the error messages.
688         * org-colview.el (org-columns-display-here): Don't try to
689         calculate values if the underlying property is not set.
690         (org-columns-string-to-number): Convert age strings back into
691         fractional days.
692         (org-agenda-colview-summarize): Handle extended summary types
693         properly.
695         * org-colview-xemacs.el (org-columns-display-here): Don't try to
696         calculate values if the underlying property is not set.
697         (org-columns-string-to-number): Convert age strings back into
698         fractional days.
699         (org-agenda-colview-summarize): Handle extended summary types
700         properly.
702 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
704         * org-exp.el (org-export-format-drawer-function): New variable.
705         (org-export-format-drawer): New function.
706         (org-export-preprocess-string): Pass the backend as a parameter to
707         `org-export-remove-or-extract-drawers'.
708         (org-export-remove-or-extract-drawers): New parameter BACKEND.
710         * org-protocol.el (org-protocol-char-to-string): New defsubst.
712 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
714         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
715         message when no block is selected.
717         * org-latex.el (org-export-latex-links): Check for protectedness
718         in the last matched character, not after the match.
720         * org-datetree.el (org-datetree-find-date-create): Respect
721         restriction when KEEP-RESTRICTION is set.
722         (org-datetree-file-entry-under): New function.
723         (org-datetree-cleanup): New command.
725 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
727         * org-src.el (org-edit-src-code): New optional argument context
728         allows calling functions to avoid altering the saved window
729         configuration.
730         (org-edit-src-exit): Do not restore window configuration when this
731         function is used in the context of saving the edit buffer.
733 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
735         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
736         instances to switching to with-current-buffer, because these seem
737         to cause problems - no idea why.
739         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
740         Require diary-lib for (diary-date-display-form).
742         * org.el (org-log-reschedule, org-log-redeadline): New options.
743         (org-log-note-headings): Add templates for rescheduling and
744         deadline changing.
745         (org-startup-options): Add in-buffer settings for logging changing
746         schedule and deadline time stamps.
747         (org-deadline, org-schedule): Check for existing date and arrange
748         for logging if the user requests it.
749         (org-add-log-note): Prepare proper note buffers for rescheduling
750         and deadline changes.
752 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
754         * org-agenda.el (org-agenda-diary-entry-in-org-file)
755         (org-agenda-add-entry-to-org-agenda-diary-file)
756         (org-agenda-insert-diary-make-new-entry): New functions.
757         (org-agenda-diary-entry): Call
758         `org-agenda-diary-entry-in-org-file' when appropriate.
760         * org.el (org-calendar-insert-diary-entry-key): New option.
761         (org-agenda-diary-file): New option.
762         ("calendar"): Install our insertion function in the calendar.
764         * org-remember.el (org-datetree): Require.
765         (org-remember-templates): Add new positioning option.
766         (org-remember-reference-date): New variable.
767         (org-remember-apply-template): Store the reference date in a local
768         variable.
769         (org-remember-handler): Implement date tree positioning of entries.
771         * org-datetree.el: New file.
773         * org-latex.el (org-export-latex-preprocess): Protect targets in
774         verbatim emphasis.
776         * org-html.el (org-export-as-html): Protect targets in verbatim
777         emphasis.
779         * org-docbook.el (org-export-as-docbook): Protect targets in
780         verbatim emphasis.
782 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
784         * org.el (org-link-display-format): Should be literal replacement.
786 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
788         * org-clock.el (org-show-notification): Handle messages that
789         contain a percent character.
791         * org-remember.el (org-remember-apply-template): Turn of partial
792         completion.
794         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
795         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
797         * org.el (org-indent-mode): Define variable already in org.el.
798         (org-unfontify-region): Remove line-prefix and wrap-prefix
799         properties only if org-indent-mode is active.
801 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
803         * org-icalendar.el (org-print-icalendar-entries): Save match data
804         around call to verify function.
805         (org-print-icalendar-entries): Add a call to the verification
806         function.
808         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
809         save-restrivtion' form.
811 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
813         * org-exp.el (org-export-format-source-code-or-example): restrict
814         scope of preserve-indentp to the let binding.
815         (org-src): require org-src, since org-src-preserve-indentation is used.
817 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
819         * org-timer.el (org-timer-set-timer): Set variables
820         org-timer-timer[123] correctly.
823         * org-mobile.el (org-mobile-files-alist): Make it work when
824         `agenda-archives' is included in
825         `org-agenda-text-search-extra-files'.
826         (org-mobile-push): Restore agenda after mobile push.
828 2009-11-05  John Wiegley  <jwiegley@gmail.com>
830         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
831         way the amount of idle time is presented in the minibuffer.
833 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
835         * org-icalendar.el (org-print-icalendar-entries): Use
836         org-icalendar-verify-function only if non-nil.
838         * org.el (org-refile): Refile to clock only if the prefix arg is
839         2.
840         (org-sparse-tree): Fix docstring to be in line with prompt.
841         (org-update-parent-todo-statistics): Call
842         `org-after-todo-statistics-hook' on each level.
844 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org-remember.el (org-remember-apply-template): Make sure the
847         buffer exists.
849 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
851         * org.el (org-tab-ind-state): New variable.
852         (org-cycle-level): New function.
853         (org-cycle-level-after-item/entry-creation): New option.
854         (org-flag-subtree): New function.
855         (org-hide-archived-subtrees): Call `org-flag-subtree'.
856         (org-set-effort): Indexed access.
858         * org-list.el (org-cycle-item-indentation): New function.
860         * org.el (org-refile): Make prefix argument 2 refile to current
861         clock.
862         (org-priority): Interpret action `remove' as call to remove the
863         priority cookie.
865         * org-remember.el (org-remember-apply-template): Don't depend on
866         buffer name being like file name.
868 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
870         * org-clock.el (org-clock-play-sound): Expand file in
871         org-clock-sound, to allow ~ for home.
873         * org-remember.el (org-remember-handler): Set
874         text-before-node-creation even if this already looks like a node,
875         because the string might be needed on non-org-mode target files.
877         * org-agenda.el (org-agenda-open-link): Make this work in agenda
878         clocktables.
879         (org-agenda-switch-to): Follow a link at point if
880         org-return-follows-link' is set and there is nothing else to do in
881         this line.
883 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
885         * org-colview-xemacs.el: Add in changes from org-colview.el
887 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
889         * org-exp-blocks.el: Modify split separator regexp to avoid empty
890         strings.
892 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
894         * org-colview.el (org-columns-new): Make this work with the new
895         operators.
896         (org-columns-store-format): Make this work with the new operators.
898 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
900         * org-src.el (org-src-preserve-indentation): Document that this
901         variable is also used during export.
903         * org-exp.el (org-export-format-source-code-or-example): Preserve
904         indentation if a block has a -i option, or if
905         `org-src-preserve-indentation' is set.
907         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
908         indentation if a block has a -i option, or if
909         `org-src-preserve-indentation' is set.
911 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
913         * org.el (org-mode-map): Define the new archiving keys.
914         (org-speed-commands-default): Define an archiving key in the speed
915         command map.
916         (org-org-menu): Improve the menu structure concerning archiving.
918         * org-archive.el (org-archive-subtree-default-with-confirmation):
919         New command.
921         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
922         (org-agenda-menu): Add the new archiving commands to the menu.
923         (org-agenda-archive-default)
924         (org-agenda-archive-default-with-confirmation): New commands.
925         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
926         call `org-agenda-archive-with'.
927         (org-agenda-archive-with): New function.
929         * org-table.el (org-table-convert-region): Inert spaces around "|"
930         to avoid line beginnings like "|-1" which will be mistaken as
931         hlines.
933 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
935         * org.el (org-offer-links-in-entry): Return nil if there are no
936         links, t if a link has been selected.
937         (org-open-at-point): Open attachment directory when called in the
938         headline and there are no links in the entry body.
939         (org-speed-commands-default): Add "o" for open-at-point as a speed
940         command.
942         * org-attach.el (org-attach-reveal): Optional prefix arg
943         IF-EXISTS, which avoids creating the attachment directory if it
944         does not yet exist.
946         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
947         MATCH.
949 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
951         * org.el ("abbrev"): Work with abbrev tables only after they have
952         been loaded.
954         * org-list.el (org-list-send-list): Fix bug related to match
955         data.
957         * org-latex.el (org-export-latex-fontify): Apply verbatim
958         emphasis.
959         (org-export-latex-make-header): Insert \obeylines if line breaks
960         should be preserved.
962         * org-exp.el (org-export-protect-verbatim): Add an
963         `org-verbatim-emph' property to such text.
965 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
967         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
968         (org-print-icalendar-entries): Skip entries where the timestamp is
969         not a deadline and not scheduled, if the user requests that.
971         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
972         before an opening quote.
974         * org-archive.el (org-archive-subtree): Keep archive after
975         archiving something.
977         * org-id.el (org-id-update-id-locations): Add archive files if
978         that is required by `org-id-extra-files'.
980 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
982         * org-src.el (org-src-window-setup): New option.
983         (org-src-switch-to-buffer): New function.
984         (org-edit-src-exit): Add optional argument CONTEXT and use it to
985         restore window configuration.
986         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
987         Call `org-src-switch-to-buffer'.
989         * org.el (org-default-properties): Add STYLE property.
990         (org-files-list): Use the function call to get the files.
991         (org-additional-option-like-keywords): Add SETUPFILE to completion
992         list.
994 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
996         * org-table.el (org-table-convert-region): Correctly interpret
997         quoting in csv import.
999         * org.el (org-icompleting-read): Make iswitchb completion work
1000         with lists and tables.
1002         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1003         while pushing the mobile agenda.
1005 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1007         * org-clock.el
1008         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1009         and `when-no-clock-is-running'.
1010         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1011         whether or not to resolve Org buffers on clock in.
1013 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1015         * org-colview.el (org-format-time-period): Function to format
1016         times in fractional days for display.
1017         (org-columns-display-here): Add support for showing a calculated
1018         value in place of the property.
1019         (org-columns): Set `org-columns-time' to the current time so time
1020         difference calculations will work.
1021         (org-columns-time): Use to store the current time when column view
1022         is displayed, so all time differences will use the same reference
1023         point.
1024         (org-columns-compile-map): There is now an extra position in each
1025         entry specifying the function to use to calculate the displayed
1026         value for the non-calculated properties in the column,
1027         (org-columns-compute-all): Set `org-columns-time' to the current
1028         time so time difference calculations will work.
1029         (org-columns-compute): Handle column operators where the values
1030         used are calculated from the underlying property.
1031         (org-columns-number-to-string): Handle the 'age' column format
1032         (org-columns-string-to-number): Correct the function name (was
1033         org-column...). Add support for the 'age' column format.
1034         (org-columns-compile-format): Support the additional parameter in
1035         org-columns-compile-map.
1037 2009-10-26  Bastien Guerry  <bzg@altern.org>
1039         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1040         variable.
1042 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1044         * org-clock.el (org-clock-has-been-used): New variable.
1045         (org-clock-in): Set `org-clock-has-been-used'.
1046         (org-clock-save): Save only if clock data has been used or created
1047         during this session.
1049 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1051         * org-clock.el (org-clock-persist): New value, to store only the
1052         clock history.
1053         (org-clock-save): Don't save the clock if only the history should
1054         be stored.
1055         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1056         when restoring a saved clock.
1058 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1060         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1061         `org-time-clock-use-fractional'.
1063         * org.el (org-time-clocksum-use-fractional)
1064         (org-time-clocksum-fractional-format): Two new customizable
1065         variables which allow the user to select fractional times (1.25
1066         instead of 1:25) in the `org-clock-display' report.
1068 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1070         * org-habit.el (org-habit-build-graph): None of the arguments
1071         should be optional.
1072         (org-habit-parse-todo, org-habit-deadline)
1073         (org-habit-get-priority, org-habit-get-faces)
1074         (org-habit-build-graph): Further simplifications by storing all
1075         past, scheduled and deadline dates as a number of days past the
1076         epoch, and not as times.
1078         * org-habit.el (org-habit-warning-face)
1079         (org-habit-warning-future-face): Removed because these are no
1080         longer used.
1081         (org-habit-deadline, org-habit-deadline-repeat): Now always
1082         returns a date; computed if there was a scheduled repeater but no
1083         deadline repeater.
1084         (org-habit-get-priority): Further improvements to the priority
1085         algorithm.  In particular, items past due should always appear
1086         before items due or not yet due.
1087         (org-habit-get-faces): Greatly simplified the logic, now that
1088         `org-habit-deadline' always returns a valid time.
1090 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1093         New option.
1095         * org.el (org-tag-alist): Fix customization type.
1097 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1099         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1100         Make sure the regexp search can fail without throwing an error.
1101         (org-mobile-apply): Save the inbox buffer after removing
1102         successfully applied changes.
1104 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1106         * org-habit.el (org-habit-build-graph): Fix to the graph building
1107         when last DONE date is earlier than `org-habit-preceding-days'.
1109         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1110         time is reported after the user comes back (but before they
1111         resolve time).
1113         * org.el (org-get-repeat): Change so that this function can be
1114         called with either `org-scheduled-string' or
1115         `org-deadline-string'.
1117         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1118         to find the scheduled date.
1120         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1121         `org-clock-disable-clock-resolution', since negatives don't sound
1122         good in customization variables.
1123         (org-clock-in): Don't use the auto-resolution logic if the user is
1124         clocking into a different task while an active clock is running.
1125         This then allows the default behavior of clocking out of the open
1126         task and then into the new task.
1128         * org-habit.el (org-habit-parse-todo): Generate an error if a
1129         habit has a scheduled repeat period < 1.
1130         (org-habit-get-faces): Fixes to the way that colors are computed.
1131         (org-habit-build-graph): The graph wasn't displaying beyond any
1132         day that had two completions in it.
1134         * org.el (org-modules): Made this variable more consistent, since
1135         it was referring to Org, OrgMode and Org-mode, whereas the docs
1136         for the variable always refer to Org-mode.
1138 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1140         * org.el (org-repeat-re): The changed org-repeat-re no longer
1141         matched simple +2d type repeaters. Fix it so it does.
1143 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1145         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1146         macro in the VERSE environment.
1148 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1150         * org-habit.el (org-habit-get-priority): A new function that
1151         determines the relative priority of a habit, based on how long
1152         past its scheduled date it is, and how near the deadline is.
1154         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1155         using `org-habit-get-priority'.
1157         * org-habit.el (org-habit-build-graph): Start displaying colors
1158         from the first scheduled date, if that date is earlier than the
1159         first completion date.
1161         * org-habit.el: Changed all "color" variables to faces, and made
1162         them appropriate for light and dark backgrounds.
1164         * org-habit.el (org-habit-duration-to-days): Made this function
1165         more general.
1166         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1168         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1169         habits, since they don't use DEADLINE anymore.
1171         * org.el (org-repeat-re, org-display-custom-time)
1172         (org-timestamp-change): Extended to support the new ".+N/N"
1173         syntax, used for habits.
1175         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1176         variable reference.
1178         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1179         modeline when habits are being displayed (if that module is being
1180         loaded).
1182 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1184         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1185         idle time using the xscreensaver extension.
1186         (org-user-idle-seconds): Use X11 idle time if available.
1188 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-agenda.el (org-agenda-next-line): New command.
1191         (org-agenda-previous-line): New commands.
1192         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1193         commands.
1194         (org-agenda-follow-mode): Do the follow immediately if the mode is
1195         turned on here.
1196         (previous-line, next-line): Replace keys with the corresponding
1197         org functions.
1198         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1199         command.
1201         * org.el (org-icompleting-read): Turn off partial completion mode
1202         for the duration of this completion round.
1204         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1205         macros in author lines and similar stuff.
1207         * org.el (org-file-tags): Fix docstring.
1208         (org-get-buffer-tags): Add the #+FILETAGS tags.
1209         ("ecb"): Maks ecb show context after jumping into an Org file.
1211 2009-10-20  John Wiegley  <johnw@newartisans.com>
1213         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1214         graphs after everything else in the buffer has been setup.
1216 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1218         * org-mobile.el (org-mobile-apply): Count success and failure.
1220         * org.el (org-indent-line-function): Fix regexp replace problem.
1222 2009-10-19  John Wiegley  <johnw@newartisans.com>
1224         * org-clock.el (org-clock-disable-clock-resolution): New
1225         customization variable that disable automatic clock resolution on
1226         clock in.
1227         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1228         not automatically resolve anything.  This is does not affect
1229         idle-time resolution, however, if `org-clock-idle-time' is set.
1231 2009-10-19  John Wiegley  <johnw@newartisans.com>
1233         * org-habit.el: New file, which implements code to build a "habit
1234         consistency graph".
1236         * org-agenda.el (org-agenda-get-deadlines)
1237         (org-agenda-get-scheduled): Display consistency graphs when
1238         outputting habits into the agenda.  The graphs are always relative
1239         to the current time.
1240         (org-format-agenda-item): Added new parameter `habitp', which
1241         indicates whether we are formatting a habit or not.  Do not
1242         display "extra" leading information if habitp is true.
1244         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1245         leaders for repeat strings.
1246         (org-get-repeat): Now takes a string parameter `tagline', so the
1247         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1249 2009-10-19  John Wiegley  <johnw@newartisans.com>
1251         * org-agenda.el (org-agenda-auto-exclude-function): New
1252         customization variable for allowing the user to create an "auto
1253         exclusion" filter for doing context-aware auto tag filtering.
1254         (org-agenda-filter-by-tag): Changes to support the use of
1255         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1257 2009-10-18  John Wiegley  <johnw@newartisans.com>
1259         * org.el (org-files-list): Don't attempt to return a file name for
1260         Org buffers which have no associated file.
1262         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1264 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1266         * org-mobile.el (org-mobile-locate-entry): Interpret files
1267         relative to org-directory.
1268         (org-mobile-inbox-for-pull): Document the best location for this
1269         file.
1270         (org-mobile-check-setup): Verify `org-directory'.
1271         (org-mobile-create-index-file): Sort the files to be listed in
1272         index.org.
1274 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1276         * org.el (org-fast-tag-selection): Add a way to display a
1277         description for a tag group. This is done by adding a string to
1278         either the startgroup or endgroup cell.
1280 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1282         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1283         (org-emacs-idle-seconds): Use `org-float-time' instead of
1284         `time-to-seconds'
1286 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1288         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1289         type.
1291         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1292         the value of ARG when doing local cycling.
1294 2009-10-17  John Wiegley  <johnw@newartisans.com>
1296         * org-clock.el (org-clock-resolve-clock): If keeping or
1297         subtracting time results in a clock out at a time in the past, and
1298         if the resolution occurred due to idleness or invoking `M-x
1299         org-resolve-clocks', remember that past moment in time.  On the
1300         next clock in, the user will be prompted to see if they want to
1301         back-date their new clock to then.
1302         (org-clock-resolve): Do not jump the user to the location of a
1303         dangling clock if the resolution is occuring due to an idle
1304         timeout.  In that case there is typically only one dangling clock,
1305         the active one, and there is no value gained by shuffling their
1306         windows around to show it to them.  Being prompted to resolve an
1307         idle clock should be as inobtrusive as possible.
1308         (org-resolve-clocks-if-idle): New function that resolves only the
1309         currently active clock if the user has exceeded the time returned
1310         by `org-user-idle-seconds', based on the value of
1311         `org-clock-idle-time'.
1312         (org-clock-in): If, after resolving clocks,
1313         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1315         * org-clock.el (org-clock-resolve-clock): New function that
1316         resolves a clock to a specific time, closing or resuming as need
1317         be, and possibly even starting a new clock.
1318         (org-clock-resolve): New function used by `org-resolve-clocks'
1319         that sets up for the call to `org-clock-resolve-clock'.  It
1320         determines the time to resolve to based on a single-character
1321         selection from the user to either keep time, subtract away time or
1322         cancel the clock.
1323         (org-resolve-clocks): New user command which resolves dangling
1324         clocks -- that is, open but not active -- anywhere in the file
1325         list returned by `org-files-list'.
1326         (org-clock-in): Automatically resolve dangling clocks whenever a
1327         user clocks in.
1328         (org-clock-cancel): If the user cancels the solely clock in a
1329         LOGBOOK, remove the empty drawer.
1331         * org-clock.el (org-clock-idle-time): New user customizable option
1332         for detecting whether the user has left a clock idle.  Note: it is
1333         only used in this commit to test whether it's worthwhile to check
1334         OS X to get the Mac user's current idle time.  If the Emacs idle
1335         time is less than the value, the user hasn't been away long enough
1336         to be worth checking (a more expensive test than just getting
1337         Emacs idle time).
1338         (org-user-idle-seconds, org-mac-idle-seconds)
1339         (org-emacs-idle-seconds): This three functions, in conjunction
1340         with the user customization variable `org-clock-idle-time', return
1341         the number of seconds (as a floating point) that the user has been
1342         away from their Emacs (or, if running on OS X, their computer).
1344         * org-clock.el (org-find-open-clocks): New function that returns a
1345         list of all open clocks in the given FILE.  Note that each clock
1346         it returns is a cons cell of the format (MARKER . START-TIME).
1347         This "clock" value is used by several of the new clock module
1348         utility functions.
1349         (org-is-active-clock): New inline function which tests whether the
1350         given clock value is the same as the currently active clock.
1351         Returns non-nil if this is the case.
1352         (org-with-clock-position): New macro that evaluates FORMS with
1353         point in the buffer and at the position of the given clock.
1354         Changes to the current clock are global.
1355         (org-with-clock): New macro that evaluates FORMS with point in the
1356         buffer and at the position of the given clock.  However, changes
1357         to the current clock are local and have no effect on the user's
1358         active clock.  This allows, for example, far any clock to be
1359         cancelled without cancelling the active clock.
1360         (org-clock-clock-in): New inline function that switches the active
1361         clock to the given clock.  If either the argument RESUME, or the
1362         global `org-clock-in-resume', are non-nil, it will resume a clock
1363         that was previously left open.
1364         (org-clock-clock-out): New inline function that clocks out the
1365         given clock value without affecting the currently active clock.
1366         (org-clock-clock-cancel): New inline function that cancels the
1367         given clock value without affecting the currently active clock.
1369         * org-clock.el (org-clock-in): Before creating
1370         `org-clock-mode-line-timer', check to make sure an older timer is
1371         not currently running.
1372         (org-clock-out): Accept new third parameter `at-time', which
1373         permits a clock to be clocked out at a specific time.  Note that
1374         no attempt is made to verify that the clock out time is later than
1375         the clock in time.
1377         * org.el (org-files-list): New utility function for returning a
1378         list of all open org-mode buffers, plus all files used to build
1379         the agenda buffer.  Note that not all the files will necessarily
1380         be visited by a buffer at time of call.
1381         (org-entry-beginning-position): Like the function
1382         `line-beginning-position', this inline function returns the
1383         beginning position of the current heading/entry.
1384         (org-entry-end-position): Like the function `line-end-position',
1385         this inline function returns the end position of the current
1386         heading/entry.
1388 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1390         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1391         a header line.
1393 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1395         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1397 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1399         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1400         entries that have no tags.
1401         (org-agenda-search-view): New customize group.
1402         (org-agenda-search-view-search-words-only): New option.
1403         (org-search-view): Implement substring search.
1405 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1407         * org.el (org-outline-level): Add doc string.
1409 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1411         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1412         variable.
1413         (org-inlinetask-export-handler): Only export inline task if the
1414         user option calls for it.
1416 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1419         END if present.
1421 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1423         * org-latex.el (org-export-latex-tables): Don't format in
1424         protected regions.
1426 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1428         * org-src.el (org-edit-src-code)
1429         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1430         macro editing.
1432         * org-agenda.el (org-prefix-category-max-length): New variable.
1433         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1434         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1436 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1438         * org-mobile.el (org-mobile-create-index-file): Improve the
1439         listing of tags and todo keywords.
1441         * org-latex.el (org-export-latex-format-image): New function.
1442         (org-export-latex-links): Use `org-export-latex-format-image'.
1444 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1446         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1447         (org-inlinetask-remove-terminator): New functions.
1448         (org-inlinetask-export-handler): Terminate the description list.
1450         * org-exp.el (org-export-select-backend-specific-text): Remove the
1451         region markers.
1453         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1454         tasks without content.
1456         * org-clock.el: Make sure the clock-in target position does not
1457         move to a different node by widening the buffer.
1459         * org-html.el (org-export-html-format-image): Wrap image into
1460         figure div only when there is a caption.
1462         * org-archive.el (org-archive-mark-done): Change default value to
1463         nil.
1465 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1467         * org.el (org-context): Call `bobp', not `eobp'.
1469         * org-clock.el (org-clock-cancel): Remove quotes from marker
1470         variables.
1472         * org.el (org-read-date-prefer-future): New allowed value `time'.
1473         (org-read-date-analyze): Shift day to tomorrow depending on time
1474         entered and value of `org-read-date-prefer-future'.
1476 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1478         * org.el (org-set-tags-to): New command.
1480         * org-mobile.el (org-mobile-action-alist): Add more options and
1481         update the docstring.
1482         (org-mobile-apply-flags): Parse for and use the data.
1484         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1485         the plist.
1487         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1488         keyword.
1490         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1492 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1494         * org-inlinetask.el (org-inlinetask-export): Option removed.
1495         (org-inlinetask-export-handler): Better export.
1497         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1498         (org-export-as-xoxo): Run the new hook.
1500         * org-html.el (org-export-html-final-hook): New hook.
1501         (org-export-as-html): Run the new hook.
1503         * org-docbook.el (org-export-docbook-final-hook): New hook.
1504         (org-export-as-docbook): Run the new hook.
1506         * org-ascii.el (org-export-ascii-final-hook): New hook.
1507         (org-export-as-ascii): Run the new hook.
1509         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1510         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1512         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1513         space character as the character before the ^/_.
1514         (org-export-latex-final-hook): New hook.
1515         (org-export-as-latex): Run `org-export-latex-final-hook'.
1517 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1519         * org-macs.el (org-if-unprotected-at): Fix docstring.
1521         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1522         text in the prefix (if category is a link).
1524         * org-latex.el (org-export-latex-preprocess): Deal properly with
1525         empty lines in verse environments.
1527         * org.el (org-format-latex-header): Inline fullpage.sty.
1529         * org-footnote.el (org-footnote-create-definition): Reveal context
1530         to add a new footnote definition.
1532         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1533         the index file.
1534         (org-mobile-files): New option.
1535         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1536         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1537         functions.
1538         (org-mobile-push): Start by creating the files lists.
1539         (org-mobile-copy-agenda-files): Move killing the buffer to after
1540         the save-excursion has exited.
1541         (org-mobile-write-checksums): Write checksums also for files in
1542         sub-directories.
1544         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1545         org-table-recalculate when cursor is in TBLFM line.
1547         * org-list.el (org-renumber-ordered-list): Fix cursor position
1548         when bullet length has changed.
1550 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1552         * org.el (org-format-latex): Mention `org-format-latex-options' in
1553         the docstring.
1555 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1557         * org.el (org-agenda-get): New function.
1559         * org-agenda.el (org-agenda-post-command-hook): No longer move
1560         point away from end of line.
1561         (org-agenda-add-entry-text, org-agenda-collect-markers)
1562         (org-finalize-agenda, org-agenda-mark-clocking-task)
1563         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1564         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1565         (org-agenda-compare-effort, org-agenda-filter-apply)
1566         (org-agenda-later, org-agenda-change-time-span)
1567         (org-agenda-post-command-hook, org-agenda-show-priority)
1568         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1569         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1570         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1571         (org-agenda-open-link, org-agenda-copy-local-variable)
1572         (org-agenda-switch-to, org-agenda-check-no-diary)
1573         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1574         (org-agenda-add-note, org-agenda-change-all-lines)
1575         (org-agenda-priority, org-agenda-set-tags)
1576         (org-agenda-set-property, org-agenda-set-effort)
1577         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1578         (org-agenda-show-new-time, org-agenda-date-prompt)
1579         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1580         (org-agenda-clock-in, org-agenda-bulk-mark)
1581         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1582         `org-get-at-bol'.
1584         * org-colview.el (org-columns-display-here)
1585         (org-columns-edit-allowed, org-agenda-columns): Use
1586         `org-get-at-bol'.
1588 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org.el (org-special-ctrl-a/e): Improve documentation and
1591         customize type.
1592         (org-end-of-line): Don't jump to after the ellipsis.
1593         (org-mode-map): Bind <home> and <end> as well.
1595 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1597         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1598         space after #+ as comments.
1599         (org-open-at-point): Run `org-follow-link-hook' always.
1601         * org-latex.el (org-export-latex-emph-format): Use better commands
1602         to insert special characters in verbatim snippets.
1604 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1606         * org-faces.el (org-copy-face): New function.  Use it to create
1607         various faces formerly created by using `copy-face'.
1609         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1610         window dedicated.
1611         (org-agenda-quit): Kill the frame containing the agenda window if
1612         that frame was created for the agenda.
1614 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1617         stamp in the agenda.
1619 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1621         * org-mobile.el (org-mobile-create-index-file): Add the list of
1622         TODO keywords, and the list of drawers to the index file.
1624         * org-agenda.el (org-prepare-agenda): Reset
1625         `org-drawers-for-agenda'.
1626         (org-prepare-agenda): Uniquify list of drawers.
1628         * org.el (org-complex-heading-regexp-format): New variable.
1629         (org-set-regexps-and-options): Define
1630         `org-complex-heading-regexp-format'.
1631         (org-drawers-for-agenda): New variable.
1632         (org-map-entries): Bind `org-drawers-for-agenda'.
1633         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1635         * org-remember.el (org-go-to-remember-target)
1636         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1638 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1640         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1641         problem.
1643         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1644         the capture file, and make it non-configurable.
1646         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1647         always with `invisible-ok'.
1648         (org-store-link): No error when there is nothing to link to in the
1649         agenda.
1651         * org-list.el (org-update-checkbox-count): Insert changed cookie
1652         before the old, to avoid problems with invisibility at the end of
1653         the line.
1654         (org-update-checkbox-count): Insert changed cookie before the old,
1655         to avoid problems with invisibility at the end of the line.
1657         * org.el (org-sort-entries-or-items): Include the final newline.
1658         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1659         lines for fontification.
1660         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1661         (org-prepare-dblock): Store the current indentation of the BEGIN
1662         line.
1663         (org-update-dblock): Apply the indentation of the begin line to
1664         the rest of the block.
1665         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1666         (org-startup-folded): New allowed value `showeverything'.
1667         (org-startup-options): Add STARTUP keyword `showeverything'.
1668         (org-set-startup-visibility): Respect value `showeverything' in
1669         org-startup-folded.
1671 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1673         * org.el (org-closest-date): Fix issue with past preference.
1675         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1677         * org-archive.el (org-archive-set-tag)
1678         (org-archive-subtree-default): New commands.
1680         * org-mobile.el (org-mobile-create-index-file): Fix link to
1681         capture file.
1682         (org-mobile-copy-agenda-files): Create the capture file if it does
1683         not exist.
1685         * org-clock.el (org-clock-clocktable-default-properties): New
1686         option.
1687         (org-clock-report): Use
1688         `org-clock-clocktable-default-properties'.
1690 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1692         * org.el (org-iswitchb-completing-read): Fix typo.
1694         * org-crypt.el: New file.
1696         * org.el: Add an entry for org-crypt.
1698 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1700         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1701         consistency.
1702         (org-batch-store-agenda-views): New function.
1703         (org-mobile-force-id-on-agenda-items): Mention variable.
1704         (org-agenda-title-append): Define variable.
1705         (org-write-agenda): New export to Org files.
1706         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1707         (org-agenda): Allow to keep the restricted file list if a special
1708         variable is bound to t.
1709         (org-agenda): Define a special agenda view for working on flagged
1710         entries.
1711         (org-agenda-get-restriction-and-command): List the new agenda
1712         view.
1713         (org-agenda-show-the-flagging-note): New command.
1714         (org-agenda-mode-map): New key `?' for looking at the flagging
1715         note.
1717         * org.el (org-autoload): Autoload org-mobile.el.
1718         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1720         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1722 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1724         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1725         statements.
1726         (org-table-get-remote-range): Match indented #+TBLNAME
1727         statements.
1729         * org.el (org-convert-to-odd-levels)
1730         (org-convert-to-oddeven-levels): Work also correctly if the file
1731         is in outline-mode.
1733 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1735         * org.el (org-store-link): When in agenda buffer, link to
1736         referenced entry.
1737         (org-add-planning-info): Remove spaces at eol.
1739         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1740         property.
1742 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1744         * org-latex.el (org-export-latex-first-lines): Fix problem with
1745         LaTeX export of first line and selected subtree.
1747         * org.el (org-shifttab): Interpret arg differently when using only
1748         odd levels.
1750 2009-09-09  Bastien Guerry  <bzg@altern.org>
1752         * org.el (org-check-agenda-file): Use a more explicit message
1754 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1756         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1757         normal lines.
1759 2009-09-08  Bastien Guerry  <bzg@altern.org>
1761         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1762         prompt in the temporary window.
1764         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1765         prefix for marked entries in the agenda view.
1767 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1769         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1770         a way that prevents any trailing character from being displayed.
1772 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1774         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1775         menu.
1777         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1778         slow regexp match.
1780 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1782         * org-latex.el (org-export-latex-preprocess): Do not protect in
1783         the LaTeX header.
1785         * org-src.el (org-edit-src-save): Save window setup while saving.
1786         (org-edit-src-code): Use new buffer name construction scheme.
1788 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1790         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1791         variable.
1792         (org-agenda-entry-text-cleanup-hook): New hook.
1793         (org-agenda-get-some-entry-text): Remove matches of
1794         `org-agenda-entry-text-exclude-regexps' and run the hook
1795         `org-agenda-entry-text-cleanup-hook'.
1797         * org.el (org-offer-links-in-entry): New argument ZERO to
1798         implement a link with index zero.
1799         (org-cycle-show-empty-lines): Not keep empty line under header
1800         hidden.
1801         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1802         to nil for special completion.
1803         (org-store-link): Don't error before the first heading.
1805         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1806         `org-offer-links-in-entry'.
1808 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org-agenda.el (org-agenda-quit): Provide the window argument for
1811         `window-dedicated-p', Emacs 22 needs it.
1812         (org-format-agenda-item): If the category is a link, arrange for
1813         invisible text to replaced with spaces.
1814         (org-compile-prefix-format): Add the extra space.
1815         (org-prefix-category-length): New variable.
1817         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1818         references from TOC lines.
1820         * org.el (org-selected-window): New variable.
1822         * org-table.el (org-table-edit-formulas): Remember the selected
1823         window.
1824         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1825         that was originally selected.
1827         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1828         expansion of a macro for more macro definitions.
1830         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1831         invisibility overlay starts on the newline.
1833 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1835         * org-protocol.el (org-protocol-store-link)
1836         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1838         * org-compat.el (org-float-time): New function.
1840         * org.el (org-clock-update-time-maybe)
1841         (org-sort-entries-or-items, org-do-sort)
1842         (org-evaluate-time-range, org-time-string-to-seconds)
1843         (org-closed-in-range): Use `org-float-time'.
1845         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1846         (org-timer-seconds):  Use `org-float-time'.
1848         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1849         (org-clock-sum, org-dblock-write:clocktable)
1850         (org-clocktable-steps):  Use `org-float-time'.
1852         * org-agenda.el (org-agenda-last-marker-time)
1853         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1855         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1856         function.
1858         * org-exp.el (org-get-file-contents): Only protect lines that
1859         really need it.
1861         * org-html.el (require): Require cl for compilation.
1863         * org.el:  Avoid using `default-major-mode'.
1865         * org-plot.el (require): Require CL only at compile time.
1867         * org-exp.el (require): Require CL only at compile time.
1869         * org-agenda.el (org-agenda-quit): When the agenda window is
1870         dedicated, remove other windows before exiting, so that the frame
1871         really will be killed.
1873         * org-exp.el (org-export-handle-include-files): Reset START and
1874         END for each loop cycle.
1876 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1878         * org.el (org-eval-in-calendar): Use
1879         `org-select-frame-set-input-focus'.
1881         * org-compat.el (org-select-frame-set-input-focus): New function.
1883         * org.el (org-update-statistics-cookies): New function.
1884         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1886 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1888         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1889         after the local variables are set.
1891         * org-latex.el (org-export-latex-protect-amp): New function.
1892         (org-export-latex-links): Protect link ampersands in tables.
1894         * org-exp.el (org-export-select-backend-specific-text): Match in
1895         two steps, to avoid regexp problems.
1897         * org.el (org-offer-links-in-entry): Improve working with many and
1898         duplicate links.
1900         * org-agenda.el (org-agenda-show-1): Make more consistent with
1901         normal cycling.
1902         (org-agenda-cycle-show): Make more consistent with normal cycling.
1904         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1905         website.
1907 2009-08-30  Bastien Guerry  <bzg@altern.org>
1909         * org-latex.el (org-export-latex-first-lines): Bugfix.
1911 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1913         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1914         about new effort.
1916         * org.el (org-set-effort): New function.
1917         (org-mode-map): New key for effort setting command.
1919         * org-agenda.el (org-agenda): Keep window setup when calling
1920         agenda from within agenda window.
1921         (org-agenda-mode-map): New keys for effort setting commands.
1922         (org-agenda-menu): Add effort setting commands to menu.
1923         (org-agenda-set-property, org-agenda-set-effort): New functions.
1925         * org-latex.el (org-export-latex-tables): Fix
1926         `org-table-last-alignment' and `org-table-last-column-widths' if
1927         the first column has been removed.
1929 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1931         * org.el (org-remove-timestamp-with-keyword): Only remove in
1932         entry, not in subtree.
1934         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1935         emacs lisp.
1937         * org.el (org-open-at-point): When on headline, offer all strings
1938         in entry.
1940         * org-remember.el (org-remember-templates): Documentation fix.
1942         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1943         `org-get-last-sibling' instead of the outline versions of these
1944         functions.
1945         (org-get-last-sibling): New function.
1946         (org-refile): Use `org-get-next-sibling' instead of the outline
1947         version of this function.
1948         (org-clean-visibility-after-subtree-move): Use
1949         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1950         outline versions of these functions.
1952 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1954         * org-agenda.el (org-prepare-agenda): When creating a new frame
1955         for the agenda, make the window dedicated.
1957         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1959         * org-table.el (org-table-align): Change the order of reinsertion
1960         and deletion, to avoid problems with overlays following the table.
1962         * org.el (org-parse-time-string): Better error message.
1963         (org-show-subtree): Use org-end-of-subtree.
1965         * org-macs.el (org-goto-line): New defsubst.
1967         * org.el (org-open-file, org-change-tag-in-region)
1968         (org-fast-tag-show-exit): Don't use `goto-line'.
1970         * org-table.el (org-table-align, org-table-insert-column)
1971         (org-table-delete-column, org-table-move-column)
1972         (org-table-sort-lines, org-table-copy-region)
1973         (org-table-paste-rectangle, org-table-wrap-region)
1974         (org-table-get-specials, org-table-rotate-recalc-marks)
1975         (org-table-get-range, org-table-recalculate)
1976         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1977         (org-table-show-reference, org-table-highlight-rectangle): Don't
1978         use `goto-line'.
1980         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1981         (org-edit-src-exit): Don't use `goto-line'.
1983         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1985         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1986         Don't use `goto-line'.
1988         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1990         * org-colview.el (org-columns, org-columns-redo)
1991         (org-agenda-columns): Don't use `goto-line'.
1993         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1994         use `goto-line'.
1996         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1997         (org-agenda-add-entry-text-maxlines): Improve docstring.
1998         (org-agenda-start-with-entry-text-mode): New option.
1999         (org-agenda-entry-text-maxlines): New option.
2000         (org-agenda-entry-text-mode): New variable.
2001         (org-agenda-mode): Set initial value of
2002         `org-agenda-entry-text-mode'.
2003         (org-agenda-mode-map): Add the `E' key.
2004         (org-agenda-menu): Add entry text mode to the menu.
2005         (org-agenda-get-some-entry-text): Fix line count bug.
2006         (org-finalize-agenda): Apply entry text mode if appropriate.
2007         (org-agenda-entry-text-show-here): New function.
2008         (org-agenda-entry-text-show): New function.
2009         (org-agenda-entry-text-hide): New function.
2010         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2011         key menu.
2012         (org-agenda-entry-text-mode): New command.
2013         (org-agenda-set-mode-name): Add entry text mode to the mode line
2014         string.
2015         (org-agenda-undo, org-agenda-get-restriction-and-command)
2016         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2017         `goto-line'.
2019 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2021         * org-clock.el (org-notify): Bugfix.
2023 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2025         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2026         check for after-string.
2028         * org-gnus.el (org-gnus-store-link): Simplify.
2030         * org.el (org-latex-regexps): Don't add extra empty lines for
2031         display formulas.
2033 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2035         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2036         (org-agenda-add-entry-text): Use
2037         `org-agenda-get-some-entry-text'.
2039         * org.el (org-cycle-separator-lines): Update docstring.
2040         (org-cycle-show-empty-lines): Handle negative values for
2041         `org-cycle-show-empty-lines'.
2043         * org-exp.el (org-export-protect-sub-super): New function.
2044         (org-export-normalize-links): Protect the url of plain links from
2045         supscript and superscript processing.
2047         * org-remember.el (org-remember-escaped-%): New function.
2048         (org-remember-apply-template): Use `org-remember-escaped-%' to
2049         detect escaped % signs.
2051 2009-08-23  Bastien Guerry  <bzg@altern.org>
2053         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2054         sound when showing the notification.
2056         * org-clock.el (org-notify): New function.
2057         (org-clock-notify-once-if-expired): Use `org-notify'.
2059         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2060         and `gnus-article-mode' separately.
2061         (gnus-summary-article-header): Fix the declare-function.
2063 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2065         * org-exp.el (org-export-format-source-code-or-example): Translate
2066         language.
2068         * org-src.el (org-src-lang-modes): New variable
2069         (org-edit-src-code): Translate language.
2071         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2072         the new structure of the `org-export-latex-listings-langs'
2073         variable.
2075         * org-latex.el (org-export-latex-listings-langs): Change structure
2076         of the variable from plist to alist.
2078 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2080         * org.el (org-in-commented-line): New function.
2082 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2084         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2086 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2088         * org.el (org-flag-drawer): More useful error.
2090 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2092         * org-remember.el (org-remember-apply-template): Use
2093         org-icompleting-read.
2095         * org-publish.el (org-publish): Use org-icompleting-read.
2097         * org-colview.el (org-columns-edit-value, org-columns-new)
2098         (org-insert-columns-dblock): Use org-icompleting-read.
2100         * org-colview-xemacs.el (org-columns-edit-value)
2101         (org-columns-new, org-insert-columns-dblock): Use
2102         org-icompleting-read.
2104         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2105         org-icompleting-read.
2107 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2109         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2110         (org-version): Return the version text.
2111         (org-org-menu): Add a menu entry for the new bug reporter.
2112         (org-submit-bug-report): New command.
2114         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2115         docstring.
2117         * org.el (org-emphasis-regexp-components): Add "`" to set of
2118         pre-emphasis characters.
2120         * org-latex.el (org-export-latex-classes): Always include the soul
2121         package.
2122         (org-export-latex-emphasis-alist): Use \st for strikethough.
2124         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2125         `indent-code-rigidly' to indent.
2127         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2128         properties only if MATCH really is a string.
2130 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2132         * org-latex.el (org-export-latex-packages-alist): Fix
2133         customization type.
2135         * org.el (org-create-formula-image): Also use
2136         `org-export-latex-packages-alist'.
2138         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2139         (org-export-as-html): Format footnotes correctly.
2141 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2143         * org.el (org-fast-tag-selection): Avoid text properties on tags
2144         in the alist.
2146         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2147         text properties on the match element.
2149 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2151         * org.el (org-set-regexps-and-options): Make sure the list of done
2152         keywords is not invalid.
2154         * org-exp.el (org-export-interpolate-newlines): New function.
2156 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2158         * org.el (org-format-latex): Avoid nested overlays.
2160         * org-latex.el (org-export-latex-listings-langs): Add a few more
2161         languages.
2163         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2164         ignore newlines and space before the first macro argument.
2166         * org-latex.el (org-export-latex-tables): Remove save-excursion
2167         around `org-table-align'.
2169 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2171         * org.el (org-export-html-special-string-regexps): Definition
2172         moved into org.el
2174         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2175         in macro calls.
2177 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2179         * org-latex.el (org-export-latex-listings)
2180         (org-export-latex-listings-langs): New options.
2182         * org-exp.el (org-export-format-source-code-or-example): Use
2183         listing package if requested by the user.
2185 2009-08-08  Bastien Guerry  <bzg@altern.org>
2187         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2188         command before actually switching to a buffer.
2190 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2192         * org-exp.el (org-get-file-contents): Only quote org lines when
2193         the markup is src or example.
2195         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2196         New option
2197         (org-agenda-get-day-entries): Remember deadline results and pass
2198         them on into the function getting the scheduling information.
2199         (org-agenda-get-scheduled): Accept deadline results as parameters
2200         and maybe skip some entries.
2201         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2203         * org.el (org-insert-heading): When respecting content, do not
2204         convert current line to headline.
2206         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2207         cheeeeeck the hd marker
2208         (org-clock-in): Also set the hd marker.
2209         (org-clock-out): Also set the hd marker.
2210         (org-clock-cancel): Reset markers.
2212         * org.el (org-clock-hd-marker): New marker.
2214         * org-faces.el (org-agenda-clocking): New face.
2216         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2217         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2219         * org.el (org-modules): Add org-track.el.
2221         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2222         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2223         `org-agenda-bulk-marked-p'.
2224         (org-agenda-bulk-toggle): New command.
2226 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2228         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2229         not just the body.
2231         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2232         messages.
2234 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2236         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2237         before gnuplot can read it.
2239 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2241         * org-latex.el (org-export-latex-first-lines): Fix bug with
2242         finding the end of the first lines.
2244         * org.el (org-create-formula-image): Remove the -E option for
2245         dvipng.
2247         * org-exp.el (org-default-export-plist): Respect #+BIND.
2248         (org-export-confirm-letbind): New function.
2250         * org.el (org-paste-subtree): Test the kill ring entry if it is
2251         going to be used.
2252         (org-copy-subtree): Use `org-forward-same-level'.
2253         (org-forward-same-level): Respect the `invisibe-ok' arg for
2254         back-to-heading.
2256 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2258         * org.el (org-table-map-tables): Make sure cursor is back at table
2259         beginning after funcall.
2261         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2262         handled before children, and do not error if an entry is not
2263         found, probably because it hase been remove when the parent was
2264         archived or refiled.
2266         * org.el (org-ido-completing-read): Accept straight lists for
2267         completion as well as alists.
2269         * org-html.el (org-export-as-html): Fix parenthesis error in
2270         footnore code.
2272         * org-timer.el (org-timer-cancel-timers): Renamed from
2273         `org-timer-cancel-timers'.
2275         * org.el (org-cycle-internal-local): Fix problem with finding next
2276         invisible line.
2278 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2280         * org-list.el (org-list-send-list): Call
2281         `org-list-goto-true-beginning' instead of
2282         `org-list-find-true-beginning', which does not exist.
2284         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2285         (org-timer-set-timer): Do not assign to heading.
2287         * org-id.el (org-id-open): Quote function name.
2289         * org-macs.el (org-unmodified): Turn off recording undo
2290         information while running inside the macro.
2292         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2293         variable.
2294         (org-indent-mode): Remember and restore value of
2295         org-hide-leading-stars before `org-indent-mode'.
2297         * org-table.el (org-table-export): Also work in file-less
2298         buffers.
2300         * org.el (org-startup-indented): New option.
2301         (org-startup-options): Add new options indent and noindent.
2302         (org-unfontify-region): Remove line-prefix and wrap-prefix
2303         properties.
2304         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2305         hooks.
2306         (org-promote, org-demote): Run the new hooks.
2308         * org-table.el (org-table-align): Replace leading \n as well.
2310         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2311         and `line-wrap' text properties.
2313         * org-compat.el (org-kill-new): New function.
2315         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2316         `line-wrap' text properties.
2318         * org-indent.el: New file.
2320 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2322         * org.el (org-provide-todo-statistics): Tweak docstring.
2324         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2326 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2328         * org-exp.el (org-export-as-org): Insert the "-source" string
2329         before the extension.
2331         * org.el (org-read-date): Make sure the calendar is in the current
2332         frame.
2333         (org-set-emph-re): Remove the ? from the post-match.
2334         (org-emphasis-regexp-components): Add backslash to the
2335         postmatch class.
2336         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2337         optional so that also lines at the end of the buffers will still
2338         be matched as headlines.
2340         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2341         Variable made obsolete.
2342         (org-table-relative-ref-may-cross-hline): New option.
2343         (org-table-find-row-type): Honow the new option
2344         `org-table-relative-ref-may-cross-hline'.
2346 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2348         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2349         on single field if no active region.
2351 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2353         * org-latex.el (org-export-latex-make-header): Only insert title
2354         if one is defined.
2356         * org.el (org-make-options-regexp): Allow empty values.
2358         * org-html.el (org-export-as-html): Move hrule detection to after
2359         plain list handling.
2361 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2363         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2365 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2367         * org.el (org-cycle-internal-local): Improved version of finding
2368         next visible line.
2369         (org-cycle-hide-drawers): Only hide drawers if this is really
2370         necessary.
2371         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2372         org-version of this function in Org-mode.  We use advice to
2373         implement this change, so that future changes to this function in
2374         outline.el wil be handled properly.
2375         (org-forward-same-level, org-backward-same-level): New commands.
2377 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2379         * org.el (org-remove-empty-overlays-at)
2380         (org-clean-visibility-after-subtree-move): New functons.
2381         (org-move-subtree-down): Simplify cleanup of display.
2383 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2385         * org-mac-message.el (org-mac-message-get-links): Improve
2386         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2387         "s".  Fix the return value.
2388         (org-mac-message-insert-flagged): Simplify.
2390         * org.el (org-refile-get-location): Tamper with refile history o
2391         that history contains compete matches instead of the entered
2392         string.
2394 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2396         * org.el (org-store-link): Never store a link to an inline task.
2398         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2400         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2401         inline tasks when positioning footnotes.
2403         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2404         function.
2406         * org.el (org-refile): Remove the END line when archiving an
2407         inline task that does have an END line.
2409         * org-archive.el (org-archive-subtree): Remove the END line when
2410         archiving an inline task that does have an END line.
2412         * org-macs.el (org-with-limited-levels): New macro.
2413         (org-get-limited-outline-regexp): New function.
2415         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2416         that did not enumerate first line.
2417         (org-export-mark-radio-links): Skip matches in links.
2419 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2421         * org.el (org-activate-plain-links): Make single-match.
2422         (org-adapt-indentation): Fix docstring.
2424         * org-macs.el (org-unmodified): Turn of modification hooks while
2425         running this macro.
2427 2009-08-02  Bastien Guerry  <bzg@altern.org>
2429         * org.el (org-adapt-indentation): Slightly improve the docstring.
2430         (org-occur): Sends an error when the user inputs an empty string.
2431         (org-priority): Bugfix: the tag alignement should happen within
2432         save-excursion.
2434 2009-07-31  Bastien Guerry  <bzg@altern.org>
2436         * org.el (org-make-link-regexps): Don't exclude parentheses from
2437         `org-plain-link-re'
2438         (org-cycle-internal-local): When locally cycling, switch directly
2439         from CHILDREN to FOLDED if there is no subtree
2440         (org-cycle): Update the docstring to document the new behavior of
2441         `org-cycle-internal-local'.
2443 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2445         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2446         an abbreviated format for days.
2448 2009-07-27  Bastien Guerry  <bzg@altern.org>
2450         * org-protocol.el (org-protocol-default-template-key): New
2451         option.
2453         * org.el (org-refile): Bugfix: save-excursion before reading the
2454         refile target, otherwise cursor moves might confuse `org-refile'.
2456         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2457         footnote reference before the footnote itself.
2459         * org.el (org-toggle-heading): Bugfix: correctly convert list
2460         items before the first headline.
2462         * org-html.el (org-export-html-footnote-format): New option for
2463         formatting the footnote reference.
2464         (org-export-as-html): Use the new option.
2466         * org.el (org-provide-todo-statistics): Allow a list of TODO
2467         keywords to compute statistics against headlines containing a
2468         keyword from this list.
2469         (org-update-parent-todo-statistics): Possibly use the new allowed
2470         value of `org-provide-todo-statistics'.
2472 2009-07-26  Bastien Guerry  <bzg@altern.org>
2474         * org-timer.el: Add autoload cookie.
2476         * org.el (org-occur-link-in-agenda-files): New function.
2478         * org-timer.el (org-timer-last-timer): New variable.
2480         * org-agenda.el (org-agenda-mode-map): New key for
2481         org-timer-set-timer called from the agenda.
2483         * org.el (org-mode-map): New key for org-timer-set-timer.
2485         * org-timer.el (org-timer-reset-timers)
2486         (org-timer-show-remaining-time, org-timer-set-timer): New
2487         functions.
2489         * org-clock.el (org-show-notification): Update the docstring.
2491         * org.el (org-provide-todo-statistics): Allow new value
2492         'all-headlines for this option, which includes entries with no
2493         TODO keywords in the todo statistics.
2494         (org-update-parent-todo-statistics): Possibly use the new
2495         'all-headline value from `org-provide-todo-statistics'.
2497 2009-07-25  Bastien Guerry  <bzg@altern.org>
2499         * org-clock.el (org-dblock-write:clocktable): Add a new option
2500         :timestamp which allows display of timestamps in clock reports.
2502         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2503         list to a subtree, preserving the structure of the list.
2504         (org-set-emph-re): Make the last element optional in the regexp.
2505         This regexp now matches an emphasized string at the end of a line.
2507         * org-list.el (org-list-goto-true-beginning)
2508         (org-list-make-subtree, org-list-make-subtrees): New functions.
2510         * org.el (org-eval-in-calendar): Select the right frame.
2511         (org-save-frame-excursion): Remove this macro.
2513 2009-07-24  Bastien Guerry  <bzg@altern.org>
2515         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2516         trying to find the beginning of a list.
2518         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2519         When present, tell org-get-file-contents not to protect org-like
2520         lines.
2522         * org-id.el (org-id-uuid-program): New option to set the name of
2523         the uuidgen program.
2524         (org-id-method): Use `org-id-uuid-program'.
2525         (org-id-new): Use `org-id-uuid-program'.
2527 2009-07-23  Bastien Guerry  <bzg@altern.org>
2529         * org-exp.el (org-export-number-lines): Allow whitespace in code
2530         references.  Allow the -r switch to remove the references in the
2531         source code even when the lines are not numbered: the labels can
2532         be explicit enough.
2534         * org.el (org-fontify-whole-heading-line): New option.
2535         (org-set-font-lock-defaults): Use the new option.
2537         * org-clock.el (org-show-notification-handler): New option.
2538         (org-show-notification): Use the new option.
2540 2009-07-21  Bastien Guerry  <bzg@altern.org>
2542         * org.el (org-eval-in-calendar): Fix a bug about calendar
2543         navigation when `calendar-setup' value is 'calendar-only.
2545 2009-07-19  Bastien Guerry  <bzg@altern.org>
2547         * org.el (orgstruct++-mode): Fix typo in docstring.
2548         (org-insert-link): Clean up: (or (...)) => (...)
2549         (org-insert-link): Use TAB for stored links completion.
2551 2009-07-18  Bastien Guerry  <bzg@altern.org>
2553         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2554         building the list of targets.
2556         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2557         option.
2558         (org-remember-handler): Use the new option.
2560 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2562         * org.el (org-tags-sort-function): New option for sorting tags.
2563         (org-set-tags): Use the new option to sort tags.
2565         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2566         premature deletion of the data when using org-plot in a script.
2568 2009-07-17  Bastien Guerry  <bzg@altern.org>
2570         * org-clock.el (org-clock-in-prepare-hook): New hook.
2571         (org-clock-in): Use this new hook.
2573 2009-07-16  Bastien Guerry  <bzg@altern.org>
2575         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2576         'reversed for this option to the "true line boundary first"
2577         behavior.
2578         (org-tags-match-list-sublevels): Document the 'indented value for
2579         this variable.
2581         * org-latex.el (org-export-latex-first-lines): Fix problem with
2582         publishing the region.
2584         * org-exp.el (org-export-format-source-code-or-example): Fix
2585         bad line numbering when exporting examples in HTML.
2587         * org-colview.el (org-format-time-period): Formats a time in
2588         fractional days as days, hours, mins, seconds.
2589         (org-columns-display-here): Add special handling for SINCE and
2590         SINCE_IA to format for display.
2592 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2594         * org.el (org-tags-sort-function): Add custom declaration for tags
2595         sorting function.
2596         (org-set-tags): Sort tags if org-tags-sort-function is set
2598 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2600         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2602         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2604         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2605         option.
2607 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2609         * org-publish.el (org-publish-remove-all-timestamps): New function.
2610         (org-publish-all): Remove all timestamp files if `org-publish-all'
2611         is called with a prefix argument.
2613         * org-list.el (org-indent-item): Fix typo.
2614         (org-item-indent-positions): Normalize ordered bullet.
2616         * org-html.el (org-export-html-home/up-format): New option.
2617         (org-export-as-html): Insert the up and HOME links.
2619 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2621         * org-html.el (org-export-as-html): Insert the title into the
2622         option plist.
2623         (org-export-html-insert-plist-item): New function.
2624         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2626         * org-macs.el (org-set-local): Make a local variable, do not make
2627         the variable buffer-local!
2629         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2631         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2633         * org-docbook.el (org-export-as-docbook): Call
2634         `org-install-letbind'.
2636         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2638         * org-exp.el (org-infile-export-plist): Read BIND lines.
2639         (org-install-letbind): New function.
2640         (org-export-as-org, org-export-preprocess-string): Call
2641         `org-install-letbind'.
2643         * org-src.el (org-edit-src-exit): Untabify the example before
2644         returning to Org.
2646         * org-list.el (org-list-demote-modify-bullet): New option.
2647         (org-first-list-item-p): Save point.
2648         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2649         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2650         (org-item-indent-positions): Return bullet types along with
2651         indentation.
2653 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2655         * org.el (org-show-entry): Hide drawers.
2657 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2659         * org-footnote.el (org-footnote-auto-adjust): New option.
2660         (org-footnote-auto-adjust-maybe): New function.
2661         (org-footnote-new, org-footnote-delete): Call
2662         `org-footnote-auto-adjust-maybe'.
2664         * org.el (org-startup-options): Add new footnote-related
2665         keywords.
2667         * org-publish.el (org-publish-timestamp-filename): Additional
2668         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2669         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2670         TRUE-PUB-DIR.  Pass them through to
2671         `org-publish-timestamp-filename'.
2672         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2673         PUB-FUNC, which are included in the hash.
2674         (org-publish-file): Delay timestamp test until the publishing
2675         function is known.
2677 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2679         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2680         setting the deadline.
2682         * org.el (org-read-date-final-answer): New variable.
2683         (org-read-date): Store the final answer string, including the date
2684         from the calendar, for reuse by agenda bulk commands.
2686         * org-publish.el (org-publish-attachment): Fix publishing of
2687         attachments.
2689         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2690         quotation makrs in parenthesis.
2691         (org-remove-initial-hash): New function.
2692         (org-export-latex-preprocess): Fix bug with infinite loop if
2693         environment is not properly closed.
2695         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2696         when indented.
2698         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2699         highlight also when indented.
2701 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2703         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2704         (org-footnote-action): Offer renumbering.
2706         * org.el (org-cycle): Honor the `integrate' value of
2707         org-cycle-include-plain-lists'.
2709         * org-list.el (org-cycle-include-plain-lists): New allowed value
2710         `internal'.  Improve the docstring.
2712         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2713         regexp to work better with LaTeX commands.
2715 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2717         * org-feed.el (org-feed-update): fix problem with non-existing
2718         buffer.
2719         (org-feed-skip-http-headers): New function.
2720         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2721         (org-feed-get-feed): Fix command line arguments for curl.
2723 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2725         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2726         and eps extensions.
2728 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2730         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2731         loaded.
2733         * org.el (org-map-entries): No longer force
2734         `org-tags-match-list-sublevels' to t during a todo-only tags
2735         search.
2737 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2739         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2740         environment.
2741         (org-export-latex-subcontent): Handle user-defined environment.
2743         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2744         the View dispatcher.
2746         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2747         `make-overlay'.
2749         * org-latex.el (org-export-as-pdf): Protect match data during call
2750         to shell-quote-argument.
2752         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2753         (org-agenda-view-mode-dispatch): New function.
2755 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2757         * org-agenda.el (org-agenda-mode): Reset list of marks.
2758         (org-agenda-mode-map): Define new keys for refile and bulk action.
2759         (org-agenda-menu): Add menu itesm for refile and bulk action.
2760         (org-agenda-refile): New function.
2761         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2762         (org-agenda-marked-entries): New variable.
2763         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2764         (org-agenda-remove-all-bulk-action-marks)
2765         (org-agenda-bulk-action): New functions/commands.
2767 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2769         * org-exp.el (org-get-file-contents): Protect org-like lines in
2770         included files.
2771         (org-export-format-source-code-or-example): Remove newlines.
2773         * org-latex.el (org-export-latex-links): Check for no-description
2774         marking.
2776         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2777         argument separator back to comma.
2778         (org-export-normalize-links): Mark links without description.
2780 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2782         * org-exp.el (org-infile-export-plist): Fix bug in macro
2783         processing.
2785         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2786         out.
2787         (org-agenda-highlight-todo): Fix bug with highlighting.
2789 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2791         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2792         new alignment strings.
2794         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2795         command list.
2796         (org-table-align): Check for forced align type.
2798         * org.el (org-self-insert-command): Add yas/expand to command
2799         list.
2801         * org-clock.el (org-clock-in-hook): New hook.
2802         (org-clock-in): Run `org-clock-in-hook.
2803         (org-clock-out-hook): New hook.
2804         (org-clock-out): Run `org-clock-out-hook.
2805         (org-clock-cancel-hook): New hook.
2806         (org-clock-cancel): Run `org-clock-cancel-hook.
2807         (org-clock-goto-hook): New hook.
2808         (org-clock-goto): Run `org-clock-goto-hook.
2810 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2812         * org.el (org-store-link): Better default description for link to
2813         Org-mode headline.
2815         * org-exp.el (org-export-generic): Autoload the generic exporter
2816         function.
2817         (org-export): Implement the `g' key for the generic exporter.
2819 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2821         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2822         and for zbacktab'.
2824         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2826         * org-exp.el (org-infile-export-plist): Get macros also from
2827         #+SETUPFILE.
2829 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2831         * org-colview.el (org-columns-capture-view): Protect vertical bars
2832         in column values.
2833         (org-columns-capture-view): Exclude comment and archived trees.
2835         * org-colview-xemacs.el (org-columns-capture-view): Protect
2836         vertical bars in column values.
2837         (org-columns-capture-view): Exclude comment and archived trees.
2839         * org.el (org-quote-vert): New function.
2841         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2843         * org-exp.el (org-export-format-source-code-or-example): Use
2844         `org-export-latex-verbatim-wrap'.
2846         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2847         time stamps.
2849         * org-html.el (org-export-table-row-tags): New option.
2850         (org-format-org-table-html): Rename `nlines' to `nline', use new
2851         option.
2854 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2856         * org-exp-blocks.el: Declare functions and variables.
2858         * org-remember.el (org-remember-templates): Allow the headline
2859         element to be a function.
2860         (org-remember-apply-template): If the headline is a function, call
2861         it to get the true function.
2863         * org-clock.el (org-clock-menu): New function.
2864         (org-clock-update-mode-line): Update help string.
2865         (org-clock-modify-effort-estimate): New function.
2866         (org-clock-mark-default-task): New function.
2868         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2869         minutes as input.
2870         (org-org-menu): Add new clocking stuff.
2871         (org-clock-is-active): New function.
2873 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2875         * org.el (org-open-non-existing-files): Improve docstring.
2877 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2879         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2880         option.
2881         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2883         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2885         * org-list.el (org-get-checkbox-statistics-face): Use the new
2886         faces.
2888         * org-faces.el (org-checkbox-statistics-todo)
2889         (org-checkbox-statistics-done): New faces.
2891 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2893         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2894         (org-edit-src-exit): Better cursor positioning when returning from
2895         editing.
2897         * org-latex.el (org-export-latex-use-verb): New variable.
2898         (org-export-latex-emph-format): Prefer \texttt over \verb when
2899         org-export-latex-use-verb is set.
2901 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2903         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2904         at normal indentation.
2906         * org-html.el (org-export-html-close-lists-maybe): Also look at
2907         normal indentation.
2909         * org-remember.el (org-remember-handler): Abort remember if the
2910         buffer is empty.
2912         * org-src.el (org-edit-src-content-indentation): New option.
2913         (org-edit-src-exit): Apply extra indentation.
2915         * org-exp.el (org-export-format-source-code-or-example): Run
2916         `org-src-mode-hook'.
2918         * org-src.el (org-src-mode-hook): New variable.
2919         (org-edit-src-code): Run `org-src-mode-hook'.
2921 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2923         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2925         * org-src.el (org-edit-src-get-indentation): New function.
2926         (org-edit-src-code): Base indentation on the begin line.
2928 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2930         * org-gnus.el (org-gnus-store-link): Require message.el in
2931         org-gnus-store-link.
2933 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2935         * org-src.el: New file, split out of org.el
2937         * org-docbook.el (org-export-as-docbook): Better indentation
2938         treatment.
2940         * org-macs.el (org-replace-match-keep-properties): New function.
2942         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2943         preprocessing of center and quote and verse blocks.
2945         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2946         (org-export-as-docbook): Close lists when original indentation
2947         mandates it.
2949         * org-html.el (org-export-html-close-lists-maybe): New function.
2950         (org-export-as-html): Close lists when original indentation
2951         mandates it.
2953         * org-list.el (org-list-end): Respect the stored "original"
2954         indentation when determining the end of the list.
2956         * org-exp.el (org-export-replace-src-segments-and-examples):
2957         Remember indentation correctly.
2959 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2961         * org-clock.el (org-clock-update-mode-line): Apply face
2962         org-mode-line-clock.
2964         * org-faces.el (org-mode-line-clock): New face.
2966 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2968         * org-gnus.el (org-gnus-store-link): Fix bug where
2969         `org-gnus-store-link' used wrong subject when called in an article
2970         buffer.  Patch provided by fengli AT gmail DOT com.
2972 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2974         * org-exp.el (org-export-format-source-code-or-example): Remember
2975         the original indentation of source code snippets and examples.
2977         * org-latex.el (org-export-as-latex): Relocate the table of
2978         contents.
2980         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2982         * org-agenda.el (org-run-agenda-series): Scope global options also
2983         when creating the agenda buffer.
2985 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2987         * org.el (org-adapt-indentation): Improve documentation.
2988         (org-insert-property-drawer): Respect org-adapt-indentation when
2989         inserting the drawer.
2990         (org-remove-flyspell-overlays-in): New function.
2991         (org-do-emphasis-faces, org-activate-plain-links)
2992         (org-activate-code, org-fontify-meta-lines-and-blocks)
2993         (org-activate-angle-links, org-activate-footnote-links)
2994         (org-activate-bracket-links, org-activate-dates)
2995         (org-activate-target-links, org-activate-tags): Remove flyspell
2996         overlays.
2998 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3000         * org.el (org-edit-src-save): New function.
3002         * org-clock.el (org-clock-out-switch-to-state): New option.
3003         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3005         * org-compat.el (org-compatible-face): Improve macro.
3007         * org.el (org-global-properties-fixed): Add default for
3008         CLOCK_MODELINE_TOTAL.
3010         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3011         andd tend.
3012         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3013         org-clock-sum.
3014         (org-clock-get-sum-start): New function.
3016         * org.el (org-startup-options): New keywords blockhide and
3017         blockshow.
3018         (org-mode): Add new invisibility spec.
3019         (org-set-startup-visibility): Hide block on startup if so
3020         desired.
3021         (org-hide-block-startup): New option.
3022         (org-block-regexp): New constant.
3023         (org-hide-block-overlays): New variable.
3024         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3025         (org-show-block-all, org-hide-block-toggle-maybe)
3026         (org-hide-block-toggle): New functions.
3027         (org-edit-src-exit): Do not quote lines starting with # and no +
3028         behind it.
3029         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3030         entry.
3032 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3034         * org.el (org-buffer-property-keys): Add Effort property for
3035         completion.
3037 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3039         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3040         when retrieving total clocked time in the subtree.
3042         * org.el (org-quoting-blocks): New variable.
3044 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3046         * org-table.el (org-table-store-formulas)
3047         (org-table-get-stored-formulas, org-table-fix-formulas)
3048         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3049         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3051         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3052         indented #+TBLFM line.
3054         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3055         indented #+TBLFM line.
3057         * org-colview.el (org-dblock-write:columnview): Allow indented
3058         #+TBLFM line.
3060         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3061         indented #+TBLFM line.
3063         * org-clock.el (org-dblock-write:clocktable): Allow indented
3064         #+TBLFM line.
3066 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3068         * org-exp.el (org-export-format-source-code-or-example): Make
3069         editing indented blocks work correctly.
3071         * org.el (org-edit-src-nindent): New variable.
3072         (org-edit-src-code, org-edit-fixed-width-region)
3073         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3074         editing indented blocks work correctly.
3076 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3078         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3079         indented blocks.
3080         (org-export-format-source-code-or-example): Fix indentation of
3081         blocks.
3082         (org-export-remove-indentation): New function.
3083         (org-export-select-backend-specific-text): Allow backend-specific
3084         code to be indented.
3085         (org-export-mark-blockquote-verse-center): Allow markers to be
3086         indented.
3088         * org.el (org-fontify-meta-lines): New function.
3089         (org-set-font-lock-defaults): Call the new fontification
3090         function.
3092         * org-faces.el (org-meta-line): New face
3093         (org-block):  New face.
3095 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3097         * org.el (org-treat-insert-todo-heading-as-state-change)
3098         (org-treat-S-cursor-todo-selection-as-state-change): New
3099         variables.
3100         (org-insert-todo-heading): Honor
3101         `org-treat-insert-todo-heading-as-state-change'.
3102         (org-shiftright, org-shiftleft): Honor
3103         `org-treat-S-cursor-todo-selection-as-state-change'.
3104         (org-inhibit-logging): New variable.
3106 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3108         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3109         range for marker position checking.
3111         * org-latex.el (org-export-latex-first-lines): Fix bug when
3112         exporting a region.
3114 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3116         * org-exp.el (org-export-push-to-kill-ring): Protect using
3117         x-set-selection, because that does not always work.
3119         * org-agenda.el (org-agenda-list): Apply the new face
3120         `org-agenda-date-today'.
3122         * org-faces.el (org-agenda-date-today): New face.
3124 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3126         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3127         creating appointments.
3129         * org-latex.el (org-export-latex-low-levels): Fix customization
3130         type.
3132         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3133         priority commands.
3135         * org-agenda.el (org-agenda-priority): Disable priority commands.
3137         * org.el (org-enable-priority-commands): New option.
3139         * org-colview-xemacs.el (org-columns-compute)
3140         (org-columns-number-to-string): Fix problems with empty fields.
3142         * org-colview.el (org-columns-compute)
3143         (org-columns-number-to-string): Fix problems with empty fields.
3145         * org-exp.el (org-export-push-to-kill-ring): New function.
3146         (org-export-copy-to-kill-ring): New option.
3148         * org-latex.el (org-export-as-latex): Call
3149         `org-export-push-to-kill-ring'.
3151         * org-html.el (org-export-as-html): Call
3152         `org-export-push-to-kill-ring'.
3154         * org-docbook.el (org-export-as-docbook): Call
3155         `org-export-push-to-kill-ring'.
3157         * org-ascii.el (org-export-as-ascii): Call
3158         `org-export-push-to-kill-ring'.
3160         * org-exp.el (org-export-show-temporary-export-buffer): New
3161         option.
3163         * org-latex.el (org-export-as-latex): Use
3164         `org-export-show-temporary-export-buffer'.
3166         * org-html.el (org-export-as-html): Use
3167         `org-export-show-temporary-export-buffer'.
3169         * org-docbook.el (org-export-as-docbook): Use
3170         `org-export-show-temporary-export-buffer'.
3172         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3173         `org-export-show-temporary-export-buffer'.
3175         * org-exp.el (org-export-show-temporary-export-buffer): New
3176         option.
3177         (org-export-push-to-kill-ring): New function.
3179         * org-colview.el (org-columns-compile-map): New variable.
3180         (org-columns-new, org-columns-compute)
3181         (org-columns-number-to-string, org-columns-uncompile-format)
3182         (org-columns-compile-format): Implement new operators.
3184 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3186         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3188         * org-html.el (org-export-html-xml-declaration): New option.
3189         (org-export-as-html): Use `org-export-html-xml-declaration'.
3191         * org-list.el (org-update-checkbox-count): Make property
3192         dependent.
3194         * org.el (org-hierarchical-todo-statistics): New option.
3195         (org-update-parent-todo-statistics): Modified to handle recursive
3196         statistics.
3198 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3200         * org-publish.el (org-publish): Make this function behave
3201         correctly in interactive use when called with a prefix argument.
3203         * org.el (org-todo-statistics-hook): New hook.
3204         (org-update-parent-todo-statistics): Use new hook.
3205         (org-log-into-drawer): New function.
3206         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3207         determine if we should be logging into a drawer.
3208         (org-log-into-drawer): Update docstring.
3209         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3211         * org-list.el (org-checkbox-statistics-hook): New hook.
3212         (org-update-checkbox-count-maybe): Use new hook.
3214         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3215         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3216         to kill ring.
3218 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3220         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3221         a line.
3223 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3225         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3226         better bufer-generating mechanism.
3227         (org-edit-src-find-buffer): New function.
3229         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3230         archive tag, this is already done by `org-agenda-skip'.
3231         data while constructing lost of tags.
3233 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3235         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3236         as argument separator in macros.
3238         * org-html.el (org-export-as-html): Add xml declaration.
3240 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3242         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3243         (org-sort-entries-or-items): Run the new hook.
3244         (org-after-refile-insert-hook): New hook.
3245         (org-refile): Run `org-after-refile-insert-hook'.
3247         * org-agenda.el (org-agenda-get-progress): Never take time of day
3248         from headline when displaying progress.
3250         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3251         (org-export-as-latex): Force the correct regexp in the
3252         preprocessor buffer.
3253         (org-export-latex-set-initial-vars): Set
3254         `org-export-latex-complex-heading-re'.
3256         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3257         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3259 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3261         * org-latex.el (org-export-latex-tables-centered): New option.
3262         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3264         * org-exp.el (org-export-as-org): New command.
3265         (org-export-as-org): New command.
3267         * org-publish.el (org-publish-org-to-org): New function.
3269 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3271         * org.el (org-yank): Just call `org-yank-generic'.
3272         (org-yank-generic): New function, containing the formaer
3273         functionality of `org-yank'.
3275         * org-latex.el (org-export-latex-not-done-keywords)
3276         (org-export-latex-done-keywords): New variables.
3277         (org-export-latex-todo-keyword-markup): New option.
3278         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3279         (org-export-latex-keywords-maybe): Apply the TODO markup.
3281 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3283         * org-exp.el (org-infile-export-plist): Add more default macros.
3284         (org-export-preprocess-apply-macros): Process macro arguments.
3286 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3288         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3289         `unblocked'.
3290         (org-print-icalendar-entries): Respect the new value of
3291         `org-icalendar-include-todo'.
3293         * org.el (org-link-try-special-completion)
3294         (org-file-complete-link): New functions.
3295         (org-insert-link): Add special completion support for some link
3296         types.
3298         * org-bbdb.el (org-bbdb-complete-link): New function.
3300 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3302         * org-list.el (org-update-checkbox-count): Allow recursive
3303         statistics.
3304         (org-hierarchical-checkbox-statistics): New option.
3306         * org.el (org-cycle): Remove erraneous space character.
3308         * org-icalendar.el (org-icalendar-timezone): Initialize from
3309         environment.
3311         * org-html.el (org-format-org-table-html): Specify the scope.
3312         (org-format-table-table-html): Specify the scope.
3313         (org-export-table-header-tags): Prepare the scope parameter.
3315 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3317         * org-html.el
3318         (org-export-html-table-use-header-tags-for-first-column): New
3319         option.
3321         * org.el (org-autoload): Fix autoloading of ascii export
3322         functions.
3323         (org-modules): Add org-special-blocks.
3325 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3327         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3328         (org-ical-timezone): New option.
3330         * org-exp.el (org-export-get-coderef-format): Use the description
3331         is present.
3333         * org.el (org-sort-entries-or-items): Improve docstring, and make
3334         better implementation for time sorting.
3336 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3338         * org.el (org-edit-src-persistent-message): New option.
3339         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3340         option.
3342         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3343         patch.
3345         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3346         separate buffer instead of indirect buffer to edit source code.
3347         (org-edit-src-exit): Make this function work with the new setup.
3349         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3350         are properly fontified before shown in the selection menu.
3352         * org.el (org-fontify-like-in-org-mode): New function.
3354         * org-latex.el (org-export-latex-links): Use the property list to
3355         retrieve the default image attributes.
3357         * org-exp.el (org-export-plist-vars): Add a new option.
3359 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3361         * org-exp.el (org-export, org-export-visible): Support ASCII
3362         export to buffer
3363         (org-export-normalize-links): Do not protect the description if it
3364         is explicitly given.
3366         * org-ascii.el (org-export-as-ascii-to-buffer)
3367         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3368         commands.
3369         (org-export-as-ascii): Add all the same parameters that are also
3370         supported by the other export functions.
3372         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3373         org-checklist.el.
3374         (org-reset-checkbox-state-subtree): Call
3375         `org-reset-checkbox-state-subtree'.
3377         * org-remember.el (org-select-remember-template): For the
3378         selection of a valid template.
3380         * org-latex.el (org-export-region-as-latex): Supply the
3381         force-no-subtree argument.
3382         (org-export-as-latex): Provide better limits when exporting the
3383         first line.  When exporting to string, we still want the first
3384         lines.
3385         (org-export-latex-first-lines): New argument END, to force the end
3386         of the region.
3387         (org-export-region-as-latex): Use the property list.
3388         (org-export-as-latex):
3390         * org-colview-xemacs.el (org-columns-remove-overlays)
3391         (org-columns): Fix call to `local-variable-p'.
3393 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3395         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3396         (org-export-as-html): Run the new hook.
3398         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3399         (org-export-latex-preprocess): Run the new hook.
3401         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3402         (org-export-preprocess-string): Run the new hook.
3404 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org-macs.el (org-check-external-command): New defsubst.
3408         * org.el (org-mode-map): New key for reload.
3409         (org-format-latex): Better error message when external programs
3410         are not available.
3412         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3414         * org.el (org-sort-entries-or-items): Explicit sorting function
3415         for priorities, needed for XEmacs compatibility.
3417         * org-remember.el (org-remember-apply-template): Improve auto-save
3418         behavior.
3420 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3422         * org-latex.el (org-export-latex-preprocess): Also protect
3423         environments ending in a star.
3425         * org-list.el (org-at-item-p): Fix regular expression.
3427 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3429         * org.el (org-end-of-subtree): Improve speed.
3431         * org-agenda.el (org-agenda-get-timestamps)
3432         (org-agenda-get-progress, org-agenda-get-deadlines)
3433         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3434         in particular, wait as long as possible to collect the tags.
3435         (org-stuck-projects): Improve docstring.
3437         * org.el (org-store-link): No errors when getting custom id before
3438         first headline.
3439         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3441 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3443         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3445         * org-protocol.el: Remove dependency on url.el.
3446         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3447         dependency on url.el.
3449         * org-latex.el (org-export-as-pdf): Use
3450         `org-latex-to-pdf-process'.
3452 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3454         * org-latex.el (org-latex-to-pdf-process): New option.
3456         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3457         New option.
3458         (org-agenda-get-timestamps): Honor
3459         `org-agenda-skip-additional-timestamps-same-entry'.
3461         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3462         (org-clock-goto): Find recent task only if
3463         `org-clock-goto-may-find-recent-task' allows it.
3465         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3466         drawers, and drawers that are missing the :END: line.
3468 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3470         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3471         clock is running.
3473 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3475         * org.el (org-update-parent-todo-statistics): Check for
3476         STATISTICS_FROM property.
3478         * org-list.el (org-update-checkbox-count): Check for
3479         STATISTICS_FROM property.
3481         * org.el (org-tab-first-hook)
3482         (org-tab-after-check-for-table-hook)
3483         (org-tab-after-check-for-cycling-hook): New hooks.
3484         (org-cycle-internal-global, org-cycle-internal-local): New
3485         functions, split out from `org-cycle'.
3486         (org-cycle): Call the new hooks.
3488 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3490         * org-exp.el (org-export-preprocess-string): Reset the list of
3491         preferred targets for each run of the preprocessor.
3493         * org.el (org-refile-target-verify-function): Improve
3494         documentation.
3495         (org-get-refile-targets): Respect point being moved by the
3496         verification function.
3498         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3499         option.
3500         (org-export-latex-keywords): Use new option.
3502         * org.el (org-rear-nonsticky-at): New defsubst.
3503         (org-activate-plain-links, org-activate-angle-links)
3504         (org-activate-footnote-links, org-activate-bracket-links)
3505         (org-activate-dates, org-activate-target-links)
3506         (org-activate-tags): Place the rear-nonsticky properties at the
3507         correct location.
3509 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3511         * org-protocol.el (server-edit): Declare `server-edit'.
3512         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3513         functions.
3514         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3516         * org.el (org-default-properties): New default properteis for
3517         completion.
3519         * org-exp.el (org-export-add-subtree-options): Add new properties
3520         for subtree export.
3522         * org-docbook.el (org-export-docbook-keywords-markup)
3523         (org-export-docbook-timestamp-markup): New options.
3524         (org-export-docbook-protect-tags): New function.
3526 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3528         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3529         org-refile-target-verify-function for the duration of the command.
3531         * org.el (org-link-to-org-use-id): New possible value
3532         `create-if-interactive-and-no-custom-id'.
3533         (org-store-link): Use custom IDs.
3534         (org-link-search): Find custom ID properties from #link.
3535         (org-default-properties): Add CUSTOM_ID for property completion.
3536         (org-refile-target-verify-function): New option.
3537         (org-goto): Turn off org-refile-target-verify-function
3538         for the duration of the command.
3540 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3542         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3544         * org-exp.el (org-export-preferred-target-alist): New variable.
3545         (org-export-define-heading-targets): Find the new CUSTOM_ID
3546         property.
3547         (org-export-target-internal-links): Target the custom ids when
3548         possible.
3550         * org-latex.el (org-export-latex-preprocess): Better regexp for
3551         matching latex macros with arguments.
3553 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3555         * org-remember.el (org-remember-handler): Allow filing to non-org
3556         files.
3558 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3560         * org-feed.el (org-feed-alist): New keyword options.
3561         (org-feed-update): Use the new options.
3562         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3563         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3564         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3565         functions.
3567         * org-table.el (org-table-fix-formulas): Do not change references
3568         to remote tables.
3569         (org-table-get-remote-range): Convert standard coordinates to RC
3570         format.
3572         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3574 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3576         * org-compat.el (org-sha1-string): Function removed.
3578         * org.el (org-refile-allow-creating-parent-nodes): New option.
3579         (org-refile-get-location): New argument NEW-NODES.
3580         (org-refile): Call `org-refile-get-location' with the new
3581         argument.
3582         (org-refile-get-location): Arrange for adding a new child.
3583         (org-refile-new-child): New function.
3585         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3586         an additional span element.
3588         * org-clock.el: Fix a number of docstrings.
3589         (org-clock-find-position): New argument
3590         FIND-UNCLOSED to make the function find an unclosed clock in the
3591         entry.
3592         (org-clock-in): Call `org-clock-find-position' with the new
3593         argument if we might be resuming a clock.
3595 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3597         * org-latex.el (org-export-latex-display-custom-times): New variable.
3598         (org-export-latex-timestamp-markup): New option.
3599         (org-export-latex-set-initial-vars): Remember the local value of
3600         `org-display-custom-times'.
3601         (org-export-latex-content): Process time stamps.
3602         (org-export-latex-time-stamps): New function.
3604         * org-macs.el (org-maybe-intangible): Add intangible property
3605         again to invisible text.
3607 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3609         * org-exp.el (org-default-export-plist): Handle undefined
3610         variables.
3612 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3614         * org.el (org-sort-entries-or-items): Match TODO keywrds
3615         case-sensitively, when sorting.
3616         (org-priority): Do not match TODO keywords with wrong case.
3618 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3620         * org-feed.el (org-feed-update): Bind the variable
3621         `new-formatted'.
3623         * org-html.el (org-export-as-html): Start paragraphs after literal
3624         examples.
3626         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3627         literal examples.
3629 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3631         * org.el (org-todo): Honor the NOBLOCKING property.
3633         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3634         NOBLOCKING property.
3636         * org.el (org-scan-tags): Fix bug in tag scanner
3638 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3640         * org.el (org-modules): Mark obsolete packages.
3642         * org-html.el: New file, split out from org-exp.el.
3644         * org-icalendar.el: New file, split out from org-exp.el.
3646         * org-xoxo.el: New file, split out from org-exp.el.
3648         * org-ascii.el: New file, split out from org-exp.el.
3650 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3652         * org-compat.el (org-find-library-name): New function.
3654         * org.el (org-pre-cycle-hook): New hook.
3655         (org-cycle): Call the new hook in appropriate places.
3656         (org-reload): Only reload files that have been loaded before.
3658 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3660         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3661         after todo keyword.
3662         (org-todo): When changing TODO state, do matching
3663         case-sensitively.
3664         (org-map-continue-from): New variable.
3665         (org-scan-tags): Respect values in `org-map-continue-from'.
3666         (org-reload): Make XEmacs compatible.
3668 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3670         * org-protocol.el (org-protocol-flatten-greedy): New function.
3671         (org-protocol-flatten): New function.
3673         * org.el (org-open-link-from-string): Pass reference buffer to
3674         `org-open-at-point'.
3675         (org-open-at-point): New optional argument `reference-buffer'.
3677 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3679         * org.el (org-scan-tags): Make tag scan find headline in first
3680         line, 2nd attempt.
3681         (org-get-refile-targets): Add the naked file name.
3682         (org-refile): Store as top-level entry when only file name was
3683         given.
3685         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3687         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3688         Renamed from org-block-todo-from-children-or-siblings, and
3689         enhanced to look for the parent's status as well.
3691         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3692         (org-agenda-get-progress): Add first notes line to log entry if so
3693         desired.
3695 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3697         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3698         (org-agenda-cleanup-fancy-diary): Call the new hook.
3700         * org-remember.el (org-remember-apply-template): Take the default
3701         for the annotation from the :annotation property.
3703         * org-mac-message.el (org-mac-message-get-link): Remove the
3704         quotes.
3705         (org-mac-message-get-link): Return the result.
3707 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3709         * org.el (org-refile-get-location): Add file name only if not
3710         already included in outline path.
3712         * org-faces.el (org-n-level-faces): Fix customization type from
3713         number to integer.
3715         * org-exp.el (org-export-headline-levels): Fix customization type
3716         from number to integer.
3718         * org-agenda.el (org-agenda-confirm-kill)
3719         (org-agenda-custom-commands-local-options)
3720         (org-timeline-show-empty-dates, org-agenda-ndays)
3721         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3722         customization type from number to integer.
3724 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3726         * org-protocol.el: Declare some functions.
3728         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3729         postion before inserting modified headline.
3731         * org-agenda.el (org-agenda-compare-effort): Honor
3732         `org-sort-agenda-noeffort-is-high'.
3733         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3734         (org-agenda-compare-effort): Implement the "?" operator for
3735         finding entries without effort setting.
3737         * org.el (org-extract-attributes-from-string): New function.
3739         * org-exp.el (org-export-splice-attributes): New function.
3741 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3743         * org-mouse.el: XEmacs compatibility fixes
3745         * org-docbook.el (org-export-as-docbook): Process footnotes like
3746         normal text.
3748         * org.el (org-modules): Add org-inlinetasks.el
3749         (org-cycle): Implement limiting level on cycling.
3750         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3751         buffer.
3753         * org-inlinetask.el: New file.
3755         * org.el (org-emphasis-regexp-components): Allow braces in
3756         emphasis pre and post match.
3758         * org-footnote.el (org-footnote-normalize): When only dorting, do
3759         not insert inline notes at the end.
3761         * org-docbook.el (org-id-find-id-file): Add function declaration.
3763         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3765         * org-docbook.el: New file.
3767 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3769         * org.el (org-reftex-citation): New command.
3771 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3773         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3774         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3775         sorting options.
3776         (org-entries-lessp): Apply the new sorting option.
3778         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3779         blocker code, when an older sibling has children.
3781         * org-mac-message.el (org-mac-message-get-link): Improve getting
3782         links from multiple selected messages.
3784 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3786         * org-remember.el (org-remember-finalize): Do not set buffer file
3787         name to nil.
3788         (org-remember-handler): Mark buffer as unmodified.
3789         (org-remember-handler): Delete backup file and show message about
3790         remaining backup files.
3791         (org-remember-auto-remove-backup-files): New option.
3793         * org.el (org-store-link): Use buffer name as link description in
3794         w3-mode buffers.
3795         (org-ido-switchb): Fix argument bug for completion.
3797         * org-remember.el (org-remember-apply-template): Set local
3798         variable `auto-save-visited-file-name' instead of global one.
3800 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3802         * org-feed.el: Re-write.
3804         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3805         (org-agenda-get-todos): Mark file tags as inherited.
3806         (org-agenda-list): Always search diary lines for a time.
3808 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3810         * org-feed.el (org-feed-assume-stable): New option.
3811         (org-feed-before-adding-hook): New hook.
3813         * org-exp.el (org-export-as-html): Close local lists depending on
3814         indentation, also when starting a table.
3816         * org-remember.el (org-remember-backup-directory)
3817         (org-remember-backup-name): New internal variable.
3819 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3821         * org-clock.el (org-clock-out-if-current): Make buffer detection
3822         work in indirect buffers as well.
3824         * org.el (org-emphasis-regexp-components): Add the exxclamation
3825         mark to the post-emphasis characters.
3827 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3829         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3830         (org-read-date): Run the new hook.
3832         * org-mac-message.el (org-mac-flagged-mail): New group.
3833         (org-mac-mail-account): New variable.
3834         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3835         commands.
3837         * org-remember.el (org-remember-backup-directory): New variable.
3838         (org-remember-apply-template): Write file to backup directory.
3840 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3842         * org-mouse.el (org-mouse-todo-menu): New function.
3843         (org-mouse-todo-keywords): Function removed.
3844         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3846         * org-table.el (org-table-beginning-of-field)
3847         (org-table-end-of-field): New commands
3848         (org-table-previous-field, org-table-beginning-of-field): Better
3849         error messages.
3850         (orgtbl-setup): Include `M-a' and `M-e'.
3852         * org.el (org-backward-sentence, org-forward-sentence): New
3853         commands.
3855         * org-colview.el (org-colview-initial-truncate-line-value): New
3856         variable.
3857         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3858         (org-columns): Remember the value of `truncate-lines'.
3860         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3861         New variable.
3862         (org-columns-remove-overlays): Restore the value of
3863         `truncate-lines'.
3864         (org-columns): Remember the value of `truncate-lines'.
3866         * org.el (org-columns-skip-arrchived-trees): New option.
3868         * org-agenda.el (org-agenda-export-html-style): Define color for
3869         org-agenda-done face.
3870         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3871         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3873         * org.el (org-scan-tags): Use the new face.
3875         * org-faces.el (org-agenda-done): New face.
3877         * org.el (org-scan-tags): Test the value org
3878         `org-tags-match-list-sublevels'.
3879         (org-tags-match-list-sublevels): New allowed value: indented.
3881         * org-export-latex.el (org-export-latex-make-header): Apply macros
3882         in header.
3884         * org-exp.el (org-export-apply-macros-in-string): New function.
3886         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3887         with the definition of a checked box.
3889         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3891         * org-export-latex.el (org-export-latex-low-levels): More options
3892         for how to process lower levels in LaTeX.
3893         (org-export-latex-subcontent): Better treatment for lists as a
3894         means of publishing lower levels.
3896 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3898         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3900         * org-faces.el (org-checkbox): New face.
3902         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3903         fragement images if there is an export file.
3905 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3907         * org-agenda.el (org-stuck-projects): Document that the subtree of
3908         projects that are not stuck will now be searched for stuck
3909         sub-projects.
3910         (org-agenda-skip-entry-when-regexp-matches)
3911         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3912         (org-agenda-list-stuck-projects): Use
3913         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3915         * org-export-latex.el (org-export-latex-preprocess): Improve
3916         export of verses.
3918         * org-exp.el (org-export-as-html): Implement centering as a div
3919         rather than a paragraph.  Do a better job with line-end in verse
3920         environments.
3922 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3924         * org.el (org-open-at-point): Fix tags searches by mouse click.
3926 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org-export-latex.el (org-export-latex-preprocess): Implement the
3929         centering markup.
3931         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3932         from `org-export-mark-blockquote-and-verse'.
3933         (org-export-as-html): Implement the centering markup.
3935         * org-export-latex.el (org-export-latex-tables): Fix vertical
3936         lines in tables.
3938 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3940         * org.el (org-read-date-history): New variable.
3941         (org-read-date): Use new history variable.
3942         (org-toggle-heading): Fix bug when used before first headline.
3943         (org-store-log-note): Remove drawer if empty while note is
3944         aborted.
3945         (org-remove-empty-drawer-at): New function.
3946         (org-check-after-date): New command.
3947         (org-sparse-tree): New sparse tree command "a".
3949         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3951 2009-03-14  Bastien Guerry  <bzg@altern.org>
3953         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3954         column and a space, not only a column.
3956 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3958         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3959         defaults for verbose emphasis.
3960         (org-export-latex-emph-format): New function.
3961         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3963         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3964         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3965         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3966         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3967         commands.
3969         * org.el (org-timestamp-change): Move end-time along with start
3970         time.
3972 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3974         * org-exp.el (org-export-target-internal-links)
3975         (org-export-as-html): Protect links specified as #name.
3977 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3979         * org.el (org-clone-subtree-with-time-shift): New command.
3981         * org-export-latex.el (org-export-latex-special-chars)
3982         (org-export-latex-treat-sub-super-char): Fix subscript export.
3984         * org-exp.el (org-create-multibrace-regexp): Do not add
3985         backslashes to the class.
3987 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3989         * org-colview.el (org-columns-map): Better functions for moving up
3990         and down a row, even if `truncate-line' is nil.
3992         * org.el (org-insert-todo-heading): Make sure the keyword is
3993         inserted at the correct position.
3995         * org-publish.el (org-publish-project-alist)
3996         (org-publish-projects, org-publish-org-index): Change default anme
3997         for the index of file names to "sitemap.org".
3999         * org-export-latex.el (org-export-latex-tables): Use
4000         `org-split-string', for Emacs 21 compatibility.
4002 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4004         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4006 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4008         * org-exp.el (org-export-page-description)
4009         (org-export-page-keywords): New variables.
4010         (org-export-plist-vars): Add entries for :keywords and
4011         :description.
4012         (org-infile-export-plist): Parse for new keywords.
4013         (org-get-current-options): Add new keywords
4014         (org-export-as-html): Publish description and keywords.
4016         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4017         option.
4018         (org-agenda-add-entry-text): Honor
4019         `org-agenda-add-entry-text-descriptive-links'.
4021         * org-export-latex.el (org-export-latex-preprocess): Make all
4022         external preprocess functions use a PARAMETER arg.
4024         * org-exp.el (org-export-preprocess-string)
4025         (org-export-select-backend-specific-text)
4026         (org-export-format-source-code-or-example)
4027         (org-format-org-table-html): Support docbook export.
4028         (org-export-preprocess-string): Make all external preprocess
4029         functions use a PARAMETER arg.
4031 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4033         * org-exp.el (org-export-html-style-include-scripts): New option.
4034         (org-export-plist-vars): Add new option
4035         `org-export-html-style-include-scripts'.
4036         (org-export-as-html): Honor new option
4037         `org-export-html-style-include-scripts'.
4038         (org-export-html-scripts, org-export-html-style-default): Fix
4039         xml issues with the Safari browser.
4041 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4043         * org-publish.el (org-publish-attachment): Only copy file when the
4044         directories differ.
4046 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4048         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4049         for clocktable steps.
4051         * org.el (org-additional-option-like-keywords): Add two more
4052         keywords.
4054 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4056         * org-exp.el (org-export-format-source-code-or-example): Mark
4057         temporary buffer unmodified, so that it will be killed even if
4058         mode like message mode has decided to assign a file name.
4060         * org.el (org-scan-tags): Improve tag inheritance.
4061         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4062         case-sensitive.
4063         (org-scan-tags): Use the internal tags list instead of creating it
4064         from scratch.
4065         (org-trust-scanner-tags, org-scanner-tags): New variables.
4066         (org-scan-tags): Set `org-scanner-tags'.
4067         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4068         (org-map-entries): Document the possible speedup using scanner
4069         tags.
4071 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4073         * org.el (org-add-planning-info): Fix bug with looking for keyword
4074         only at column 0.
4076         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4077         option for tags filter preset.
4078         (org-prepare-agenda): Store filter preset as a property on the
4079         filter variable.
4080         (org-finalize-agenda): Call the filter, if there is a preset.
4081         (org-agenda-filter-by-tag): Filter again after clearing the
4082         filter, when there still is a preset.
4083         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4084         Include the preset filter.
4085         (org-agenda-redo): Apply the filter again, also the preset filter.
4087         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4089         * org.el (org-uuidgen-p): New funtion.
4091         * org-agenda.el (org-agenda-fontify-priorities): New default value
4092         `cookies'.
4093         (org-agenda-fontify-priorities): Renamed from
4094         org-fontify-priorities.
4096         * org.el (org-set-font-lock-defaults): Call
4097         `org-font-lock-add-priority-faces'.
4098         (org-font-lock-add-priority-faces): New function.
4100         * org-faces.el: (org-set-tag-faces): New option.
4101         (org-priority-faces): New variable.
4103         * org-exp.el (org-export-as-html): Add a "content" div around the
4104         entire content of the body tag.
4105         (org-export-html-get-bibliography): New function.
4106         (org-export-html-validation-link): New variable.
4107         (org-export-as-html): Add validation link to exported page.
4109         * org.el (org-match-sparse-tree): Renamed from
4110         `org-tags-sparse-tree'.
4111         (org-tags-sparse-tree): New alias.
4113 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4115         * org.el (org-get-valid-level): Catch the case where the level
4116         change is nil.
4118         * org-clock.el (org-clock-find-position): Better indentation of
4119         new clock drawers.
4121 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4123         * org-agenda.el (org-agenda-quit): Delete window only when the
4124         frame-setup was not `current-window'.
4126         * org.el (org-tag-persistent-alist): New option.
4127         (org-startup-options): Add keyword `noptag'.
4128         (org-fast-todo-selection): Handle :newline correctly.
4129         (org-set-tags): Handle :newline correctly.
4130         (org-fast-tag-selection): Handle :newline correctly.
4132 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4134         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4135         outputting it.
4136         (org-export-ascii-push-links): Fix bug with pussing links into the
4137         export buffer.
4139 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4141         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4142         pasting at top level.
4144         * org-bbdb.el: Improve documentation.
4146 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4148         * org-list.el (org-insert-item): Only consider insert empty lines
4149         is `org-empty-line-terminates-plain-lists' is not nil.
4151         * org.el (org-blank-before-new-entry): Mention the dependence on
4152         `org-empty-line-terminates-plain-lists' in the docstring.
4154         * org-publish.el (org-publish-get-project-from-filename): New
4155         optional argument UP.  Only find the top project if UP is set.
4156         (org-publish-current-project): Find the top encloding project.
4158         * org-agenda.el (org-agenda-before-write-hook)
4159         (org-agenda-add-entry-text-maxlines): New options.
4160         (org-write-agenda): Run the new hook in the temporary buffer.
4161         (org-agenda-add-entry-text): New function.
4162         (org-write-agenda): Implement PDF export, using ps2pdf.
4164         * org.el (org-global-properties-fixed, org-global-properties):
4165         Improve documentation string.
4167         * org-exp.el (org-export-ascii-links-to-notes): New option.
4168         (org-export-as-ascii): Handle links better.
4169         (org-export-ascii-wrap, org-export-ascii-push-links): New
4170         functions.
4172 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4174         * org-agenda.el (org-agenda): Make prefix arg optional.
4175         (org-agenda-search-headline-for-time): New option.
4176         (org-format-agenda-item): Honor
4177         `org-agenda-search-headline-for-time'.
4179         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4180         characters.
4182         * org.el (org-self-insert-cluster-for-undo): New option.
4183         (org-self-insert-command): Cluster undo for 20 characters.
4184         (org-self-insert-command-undo-counter): New variable.
4186 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4188         * org-exp.el (org-export-as-html): Fix problem with closing colone
4189         example.
4191 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4193         * org-export-latex.el (org-export-as-latex)
4194         (org-export-latex-first-lines): Avoid modification flag when
4195         adding or removing text properties.
4196         (org-export-latex-fontify): Catch error when org-emph-alist has
4197         entries that are not defined for LaTeX export.
4199         * org.el (orgstruct++-mode): New function.
4200         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4201         (org-context-p): Allow detecting item context after the first line
4202         of an item.
4203         (orgstruct-make-binding): Detect if item-body context should be
4204         seen.
4205         (orgstruct-is-++): New variable.
4206         (org-add-planning-info): Catch the case when there is no planning
4207         info yet and the call does not want to add anything, only maybe
4208         tries to remove something.
4209         (org-special-ctrl-a/e): All value to be a cons cell with separate
4210         settings for `C-a. and `C-e'.
4211         (org-beginning-of-line, org-end-of-line): Honor separate values
4212         for `C-a' and `C-e'.
4214 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4216         * org.el (org-reload): New command.
4218 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4220         * org-exp.el (org-export-htm-get-tag-class-name)
4221         (org-export-htm-get-todo-kwd-class-name): New functions.
4222         (org-export-html-tag-class-prefix)
4223         (org-export-html-todo-kwd-class-prefix): New options.
4224         (org-export-as-html): Call
4225         `org-export-html-get-todo-kwd-class-name'.
4226         (org-html-level-start): Wrap tags into classes.
4227         (org-export-html-get-tag-class-name)
4228         (org-export-html-get-todo-kwd-class-name): New functions.
4230         * org-export-latex.el (org-export-latex-collect-header-macros):
4231         Remove fields that are used anyway.
4232         (org-export-latex-make-header): Insert the options earlier.
4234         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4235         matching.
4237         * org-list.el (org-indent-item): Allow point to be at the end of
4238         the region.
4240         * org.el (org-metaleft, org-metaright): Be more accurate about
4241         detecting a region where commands apply.
4243         * org-compat.el (org-cursor-to-region-beginning): New function.
4245         * org.el (org-priority): Also find invisible heading.
4247         * org-colview-xemacs.el (org-columns-edit-value): No special
4248         treatment for `org-todo' prefix.
4250         * org-colview.el (org-columns-edit-value): No special treatment
4251         for `org-todo' prefix.
4253         * org-remember.el (org-remember-apply-template): Use
4254         `org-completing-read-no-ido'.
4256         * org.el (org-completing-read-no-ido): New function.
4257         (org-make-tags-matcher, org-set-property): Use
4258         `org-completing-read-no-ido'.
4260         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4261         New option.
4262         (org-export-as-latex): Import in-buffer settings as TeX macros.
4263         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4264         (org-export-latex-collect-header-macros): New function.
4266         * org.el (org-refile-get-location): Turn off
4267         `partial-completion-mode'.
4269 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4271         * org.el (org-block-todo-from-checkboxes): Announce that
4272         checkboxes are the culprit.
4273         (org-block-todo-from-children-or-siblings): Call
4274         `org-up-heading-all instead' of `outline-up-heading'.
4276         * org-agenda.el (org-agenda-show-1): Renamed from
4277         `org-agenda-show'.
4278         (org-agenda-show): Re-install the old version for now.
4279         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4280         variable into the blokker hook, so that the checkbox checker can
4281         anounce that it caused the blocking.
4283         * org.el (org-track-ordered-property-with-tag): New option.
4284         (org-toggle-ordered-property): Honor
4285         `org-track-ordered-property-with-tag'.
4286         (org-tag-alist): Add newline options.
4287         (org-set-regexps-and-options): Separate option lines imply a
4288         newline.
4289         (org-set-regexps-and-options, org-assign-fast-keys)
4290         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4291         option.
4292         (org-indent-line-function): Make sure this works even if there is
4293         not `org-drawer-regexp' defined.  This can happen when
4294         orgstruct-mode is used in a non-org buffer.
4296         * org-list.el (org-checkbox-blocked-p): New function.
4297         (org-toggle-checkbox): Check for blocking.
4299         * org.el (org-modules): Add an entry for org-R.el.
4301         * org-agenda.el (org-agenda-todo-ignore-with-date)
4302         (org-agenda-todo-ignore-scheduled)
4303         (org-agenda-todo-ignore-deadlines): Mention the variable
4304         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4306         * org.el (org-get-wdays): Find the warning period also if it is in
4307         the wrong place.
4308         (org-ido-completing-read): Provide the correct arguments to
4309         ido-completing-read and bind `ido-enter-matching-directory' to
4310         nil.
4312 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4314         * org.el (org-olpath-completing-read): Never use ido for this
4315         one.
4317         * org-exp.el (org-export-normalize-links): Use new macro.
4319         * org-macs.el (org-if-unprotected-at): New macro.
4321         * org-agenda.el (org-agenda-show): Allow numerical prefix
4322         arguments to specify how much context should be shown.
4323         (org-agenda-cycle-show): New command, could be bound to SPC in
4324         org-agenda-mode-map.
4326         * org-exp.el (org-html-level-start): Space after section number.
4328 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4330         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4331         property, for sorting.
4332         (org-cmp-todo-state): Get the applicable TODO keywords directly
4333         from the buffer.
4334         (org-run-agenda-series, org-agenda-list, org-search-view)
4335         (org-todo-list, org-tags-view): Only fit agenda window when the
4336         whole series is done.
4338         * org.el (org-scan-tags): Add todo state as property, for sorting.
4340         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4341         `org-agenda-overriding-header' as an option.
4342         (org-agenda-list): Honor org-agenda-overriding-header'.
4344 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4346         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4347         after removing a checkbox.
4349         * org.el (org-show-entry): Make this work correctly also if it is
4350         the last entry in the file.
4351         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4352         falling back to normal, default command.
4353         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4354         item, call the checkbox toggler to get a box.
4356         * org-list.el (org-toggle-checkbox): Make double prefix set the
4357         checkbox to "[-]".
4358         (org-fix-bullet-type): Only replace bullet if it is changed.
4359         (org-renumber-ordered-list): Handle case when first item does not
4360         have a number.
4362         * org.el (org-add-log-setup): Fix positioning when
4363         `org-log-states-order-reversed' is nil.
4365         * org-clock.el (org-clock-in): Fix positioning when
4366         `org-log-states-order-reversed' is nil.
4367         (org-clock-find-position): Fix positioning when
4368         `org-log-states-order-reversed' is nil.
4370 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4372         * org-clock.el (org-clock-into-drawer): Take default from
4373         `org-log-into-drawer'.
4374         (org-clock-find-position): Look for the correct drawer.
4376         * org.el (org-log-into-drawer): Renamed from
4377         `org-log-state-notes-into-drawer'.
4378         (org-log-state-notes-into-drawer): New variable alias.
4379         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4380         CLOCK.
4381         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4383 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4385         * org-agenda.el (org-agenda): Fix docstring.
4387         * org.el ("org-plot"): Help loading org-plot.
4388         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4389         (org-metadown-hook, org-shiftmetaleft-hook)
4390         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4391         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4392         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4393         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4394         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4396         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4397         for selecting files with any (and even without) extension.
4399         * org.el (org-save-all-org-buffers): Also save id locations.
4400         (org-revert-all-org-buffers): Also load id locations.
4402 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4403         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4404         (org-log-state-notes-into-drawer): New option.
4405         (org-add-log-setup): Place the sate note marker into the drawer,
4406         create drawer when necessary.
4407         (org-refile-targets): Document special interpretation of LEVEL
4408         when odd-levels are used.
4410 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4412         * org.el (org-store-log-note): Fix note indentation when adding
4413         notes to end of list.
4415         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4416         class, so that each keyword can get special colors through CSS.
4418         * org-clock.el (org-clock-out): Add another nil for the previous
4419         state into the call to `org-add-log-setup'.
4421         * org.el (org-log-note-previous-state): New variable.
4422         (org-log-note-headings): New %S escape for old state.
4423         (org-todo): Call the note setup with the old state as an
4424         argument.
4425         (org-add-note): Add another nil for the previous state into the
4426         call to `org-add-log-setup'.
4427         (org-add-log-setup): New argument PREV-STATE.
4428         (org-add-log-note): Handle new %S escape.
4429         (org-store-log-note): Handle new %S escape.
4431 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4433         * org-clock.el (org-clock-find-position): Do not swallow an item
4434         less indented than the CLOCK line itself.
4435         (org-clock-in): Push markers to lin after the clock line.
4436         (org-clock-find-position): Handle values of
4437         `org-clock-into-drawer' smaller than 2.
4439         * org-exp.el (org-html-level-start): Add a CSS class to section
4440         numbers.
4441         (org-export-html-toplevel-hlevel): Better documentation of the
4442         influence of this variables on H levels and css classes in
4443         export.
4445 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4447         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4448         timestamp and nottimestamp to the chooe menu.
4450         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4451         (org-revert-all-org-buffers): New command.
4453 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4455         * org.el (org-return): Implement `org-return-follows-link' in the
4456         function org-return.  This is more robust than using the mouse
4457         map, I think.
4458         (org-set-regexps-and-options): Match more general #+TODO lines.
4459         (org-make-options-regexp): New optional argument EXTRA, for an
4460         extra regexp.
4461         (org-tab-follows-link): Mark as deprecated.
4463 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4465         * org-exp.el (org-export-preprocess-string): Remove clock lines
4466         earlier, so that they cannot cotribute to verbatim snippets.
4468 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4470         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4471         for finding drawers.
4472         (org-export-as-ascii, org-export-as-html): Count levels relative
4473         to the subtree header.
4474         (org-get-min-level): New optional argument OFFSET.
4475         (org-export): Make sure point is restored after popping up that
4476         window.
4478         * org.el (org-do-sort): Also take an inactive timestamp if no
4479         active one is found.
4481         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4482         deleting duplicates.
4484         * org-colview.el (org-columns-capture-view): Copy before
4485         deleting duplicates.
4487         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4488         text before first headline.
4490         * org.el (org-format-latex): Do not convert LaTeX fragments in
4491         protected examples.
4493 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org-exp.el (org-export-html-style-default): Use color values
4496         instead of names for XHTML validation.
4498         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4499         functions.
4500         (org-return-follows-link): Revert making this the default untile
4501         issues are resolved.
4503         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4504         nottimestamp.
4506 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4508         * org.el (org-mode): Make dependence stuff work more reliably.
4509         (org-update-parent-todo-statistics): Fix bug with updating
4510         statistics cookie.
4512         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4513         ~ as verbatim delimiters.
4515         * org-exp.el (org-export-html-format-image): New argument
4516         PAR-OPEN.
4517         (org-export-as-html): Pass par-open to
4518         `org-export-html-format-image'.
4520 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4522         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4523         (org-use-fast-todo-selection, org-tags-column): New default
4524         setting for variables, based on a poll what typical uses use.
4526         * org-agenda.el (org-agenda-sorting-strategy)
4527         (org-agenda-tags-column): New default setting for variables, based
4528         on a poll what typical uses use.
4530 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4532         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4533         blocked entries from setting the blocked tag.
4535         * org-exp.el (org-export-html-footnotes-section): Use a more
4536         consistent id for footnotes.
4538         * org-export-latex.el (org-export-latex-classes): Remove the
4539         a4paper option from the default styles.
4541 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4543         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4544         (org-block-todo-from-checkboxes): New function.
4545         (org-todo): Make tripple prefix arg circumvent blocking.
4547         * org-timer.el (org-timer): Provide the timer feature.
4549         * org.el (org-require-autoloaded-modules): Add a few more files to
4550         the list of autoloaded modules.
4552         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4554 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4556         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4557         drawers that are unprotected.
4558         (org-export-html-format-image): Make sure inlined LaTeX fragment
4559         images remain inlined.
4561         * org.el (org-toggle-ordered-property): New function.
4562         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4563         (org-org-menu): Add menu entries for TODO dependencies.
4565 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4567         * org.el (org-default-properties): Add ORDERED to the default
4568         properties, to get completion support for it.
4570         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4572         * org.el (org-update-parent-todo-statistics): Update more than one
4573         cookie.
4575         * org-agenda.el (org-agenda-get-todos): Start search from correct
4576         position.
4578         * org.el (org-fast-todo-selection): Make sure TODO selection does
4579         not change buffer position.
4581         * org-list.el (org-toggle-checkbox): Implement adding or removing
4582         checkboxes from line or region when called with a prefix
4583         argument.
4585         * org-rmail.el (org-rmail-store-link): Protect the call to
4586         `rmail-narrow-to-non-pruned-header'.
4588         * org-clock.el (org-clock-special-range): Fix week display in
4589         clock tables.
4591         * org-exp.el (org-get-current-options): Fix bug when in indirect
4592         buffer.
4594 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4596         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4597         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4598         (org-agenda-dim-blocked-tasks): New function.
4600         * org.el (org-enforce-todo-dependencies): New option.
4601         (org-block-todo-from-children-or-siblings): New function.
4603         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4605         * org.el (org-todo): Return correct state type even if the blocker
4606         throws an error.
4607         (org-modifier-cursor-error): Renamed from
4608         `org-shiftcursor-error'.
4609         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4610         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4612         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4613         to get real errors from the blocker hook.
4615         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4616         functions.
4617         (org-set-visibility-according-to-property): Turn off the setting
4618         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4619         property.
4621 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4623         * org.el (org-support-shift-select): New option.
4624         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4625         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4626         selection outside contexts.
4628         * org-list.el (org-at-item-bullet-p): New function.
4630         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4631         variables.
4633         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4634         variable.
4635         (org-insert-footnote-reference-near-definition): Remove
4636         unnecessary let form.
4638         * org-export-latex.el (org-export-latex-first-lines): Add
4639         OPT-PLIST parameter.
4640         (org-export-as-latex): Call `org-export-latex-first-lines' with
4641         opt-plits parameter.
4642         (org-export-latex-preprocess): Remove unnecessary variables.
4644         * org-exp.el (org-infile-export-plist)
4645         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4646         (org-export-remove-headline-metadata)
4647         (org-export-get-title-from-subtree, org-get-min-level)
4648         (org-html-do-expand): Remove innecessary let form.
4650         * org-colview-xemacs.el (org-columns-display-here): Remove
4651         unnecessary variables.
4653         * org-colview.el (org-columns-display-here): Remove unnecessary
4654         variables.
4656         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4657         variables.
4659         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4660         unnecessary variables.
4662         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4663         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4664         variables.
4666         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4667         (org-compact-display-after-subtree-move): Remove unnecessary
4668         variables.
4669         (org-edit-fixed-width-region): Remove unnecessary variables.
4670         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4671         (org-olpath-completing-read): Remove unnecessary variable.
4672         (org-auto-repeat-maybe): Remove unnecessary variable.
4673         (org-map-entries): Remove unnecessary variable.
4674         (org-buffer-property-keys, org-imenu-get-tree)
4675         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4677 -----------------------------------------------------------------
4679 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4680         * org-exp.el (org-export-remove-timestamps): Never remove
4681         timestamps from tables.
4683         * org-export-latex.el (org-export-latex-first-lines): Add more
4684         options to the preprocessing of the text before the first
4685         headline.
4687 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4689         * org-faces.el (org-clock-overlay): Make face compatible with
4690         XEmacs.
4692         * org.el (org-yank): Add property for delete-selection mode.
4694         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4696         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4697         variable.
4699         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4700         to `backward-char'.
4702         * org-exp.el (org-export-as-html): Remove the initial space from
4703         colon examples.
4705         * org.el (org-scan-tags): Call
4706         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4708         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4709         customization groups.
4710         (org-agenda-tags-todo-honor-ignore-options): New option.
4711         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4712         New function.
4713         (org-agenda-get-todos): Use
4714         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4716 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4718         * org-exp.el (org-export-format-source-code-or-example): Escape
4719         HTML characters also in examples that anre not treated with
4720         htmlize.  Also, just switch to EXAMPLE processing if we do not
4721         have a good version of htmlize.
4723         * org-rmail.el: Fix copyright notice.
4725         * org.el (org-activate-footnote-links): Improve footnote link
4726         highlighting.
4728         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4729         a footnote definition at the end of the file.
4731         * org-table.el (org-table-get-specials): Add an imagined hline at
4732         the end of the table.  This can be useful for references that want
4733         to go to the end of the table.  Also fix bug when computing last
4734         row constants, in tables that do not start right at the right
4735         margin.
4736         (org-table-eval-formula): Match and replace remove references.
4737         (org-table-formula-substitute-names): Make sure that names inside
4738         a "remote" call are left alone, the will be replaced later when
4739         the remote call is handled.
4740         (org-table-convert-refs-to-rc): Do not convert things that might
4741         look like a reference, but are really part of an ID or namei n a
4742         remote reference.
4743         (org-table-get-remote-range): New function.
4745 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4747         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4749         * org-clock.el (org-clock-put-overlay): Use new face instead of
4750         `secondary-selection'.
4752         * org-faces.el (org-clock-overlay): New face.
4754 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4756         * org-exp.el (org-get-current-options): Include the option for
4757         publishing time stamps.
4759         * org.el (org-toggle-heading): Renamed from
4760         `org-toggel-region-headings'.
4761         No longer needs a region defined, but will use it if there is one.
4762         (org-ctrl-c-star): Simplified, relying more on the internal
4763         workings of `org-toggle-heading'.
4764         (org-toggle-item): Renamed from `org-toggle-region-items'.
4765         No longer needs a region defined, but will use it if there is one.
4766         (org-ctrl-c-minus): Simplified, relying more on the inernal
4767         workings of `org-toggle-item'.
4769         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4770         environment detection.  Also, do real changes only in unprotected
4771         places.
4773 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4775         * org-export-latex.el (org-export-latex-quotation-marks): Use
4776         `org-if-unprotected-1'.
4777         (org-export-latex-set-initial-vars): Check for class definition in
4778         property.
4780         * org-macs.el (org-if-unprotected-1): New macro.
4782 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4784         * org-compat.el (org-count-lines): New function.
4786         * org-exp.el (org-export-format-source-code-or-example): Handle
4787         switches related to text areas.
4789         * org.el (org-activate-footnote-links): Don't allow match inside a
4790         link.
4792         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4794         * org-export-latex.el (org-export-latex-links): Keep a relative
4795         path relative also after export.
4797         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4799         * org.el (org-make-tags-matcher): Never use IDO for completing the
4800         tags matcher match string.
4801         (org-completing-read): Also remove the special biding for "?".
4803         * org-attach.el (org-attach-allow-inheritance): New option.
4804         (org-attach-inherited): New variable.
4805         (org-attach-dir): Handle properties related to the attachment
4806         directory.
4807         (org-attach-check-absolute-path): New function.
4808         (org-attach-set-directory, org-attach-set-inherit): New commands.
4809         (org-attach): Accommodate the new commands in the dispatcher.
4811 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4813         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4814         `window-full-width-p'.
4816         * org-exp.el (org-export-as-html): Only check for images files
4817         that really can be inlined
4819         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4820         list of extensions to be a parameter.
4822         * org-exp.el (org-export-html-inline-image-extensions): New
4823         variable.
4825         * org-agenda.el (org-prepare-agenda): Use
4826         `org-agenda-block-separator'.
4827         (org-agenda-block-separator): New option.
4829 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4831         * org-export-latex.el (org-export-latex-tables): Call
4832         `org-table-clean-before-export' with the new optional argument.
4834         * org-exp.el (org-table-clean-before-export): New optional
4835         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4836         first column.
4838 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4840         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4841         histograms.
4843         * org-colview.el (org-colview-construct-allowed-dates): Better
4844         error catching when a date/time property does not have allowed
4845         values defined.
4847         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4848         Better error catching when a date/time property does not have
4849         allowed values defined.
4851 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4853         * org.el (org-map-entries): Restore point and restriction after
4854         `org-map-entries'.
4856 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4858         * org.el (org-time=, org-time<, org-time<=, org-time>)
4859         (org-time>=, org-time<>): Make sure both values are dates.
4861 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4863         * org-archive.el (org-extract-archive-heading): Allow %s for file
4864         name also in achive location heading.
4866 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4868         * org-archive.el (org-add-archive-files): Uniquify the list before
4869         returning it.
4871 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4873         * org-compat.el (org-fit-window-to-buffer): Use
4874         `window-full-width-p'.
4876         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4877         space after the colon in short examples.
4879         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4880         enforce a space after the colon.  However, we also allow lines
4881         that are *only* a colon.
4882         (org-export-as-html): Enforce the space after the colon in short
4883         examples.
4884         (org-export-preprocess-string): Do the colon example protection
4885         earlier.
4886         (org-export-remove-timestamps): Do not check for protection at the
4887         end of the line.
4889 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4891         * org.el (org-format-latex-options): Add new matcher for single
4892         letters between dollars.
4893         (org-get-header): Function removed.
4894         (org-heading-components): New function.
4896         * org-exp.el (org-export-define-heading-targets): Record ID's also
4897         as alternative targets.
4898         (org-export-as-html): Interpret "id:" links to other files by
4899         preserving the relative path.
4901         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4902         is nil.
4904         * org-exp.el (org-export-normalize-links): Protect the main link,
4905         to avoid special character processing.
4907         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4908         New variable.
4909         (org-export-latex-special-string-regexps): Variable removed.
4910         (org-export-latex-keywords): Use the new regexp.
4912         * org-exp.el (org-export-handle-include-files): Fetch switches and
4913         put them into the BEGIN statement.
4915         * org-timer.el (org-timer-mode-line-string): New variable.
4917         * org-clock.el (org-clock-mode-line-map): Renamed from
4918         `org-clock-mode-map'.
4919         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4920         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4921         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4922         (org-clock-remove-overlays): Renamed from
4923         `org-remove-clock-overlays'.
4925         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4926         and mode line display.
4927         (org-timer-stop): New command.
4928         (org-timer-seconds): Return correct time when timer is paused.
4929         (org-timer-mode-line-timer): New variable.
4930         (org-timer-set-mode-line, org-timer-update-mode-line): New
4931         functions.
4933         * org.el (org-insert-heading):  Handle new value `auto' for
4934         `org-blank-before-new-entry'.
4935         (org-org-menu): Add new items for timer functions.
4937         * org-list.el (org-insert-item): Handle new value `auto' for
4938         `org-blank-before-new-entry'.
4940         * org.el (org-blank-before-new-entry): New value `auto', made
4941         default.
4943 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4945         * org-exp.el (org-export-normalize-links): If the link is also
4946         used as the description, protect the description.
4948 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4950         * org.el (org-closest-date): Fix bug with yearly repeats, in
4951         combination with preference of the past as it is used for deadline
4952         and scheduling search.
4954         * org-exp.el (org-html-handle-time-stamps): No longer check for
4955         the `org-export-with-timestamps' option, because the preprocesser
4956         has taken care of this already.
4958         * org.el (org-entry-properties): Catch the case when this is
4959         called in a non-org-mode file.
4961         * org-export-latex.el (org-export-latex-remove-from-headlines):
4962         Variable made obsolete, also LaTeX export now uses the standard
4963         variables.
4964         (org-export-as-latex): Add the timestamps parameter to the
4965         preprocessor parameter list.
4966         (org-export-latex-content): Export the remaining keywords without
4967         considering to remove them.
4968         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4969         Use bold font instead of tt font for the keywords.
4970         (org-export-latex-fontify-headline): Format headlines, assuming
4971         that all keywords still present should be published.
4972         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4973         publish what ever remains of the time stamps.
4974         (org-export-latex-list-parameters): New option.
4975         (org-export-latex-lists): Pass additional parameters to the list
4976         converter.
4978         * org-exp.el (org-export-preprocess-string): Remove clock lines
4979         and timestamps already in the preprocesor.
4980         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4981         functions.
4982         (org-export-as-ascii, org-export-as-html): Add the timestamps
4983         parameter to the preprocessor parameter list.
4985         * org-list.el (org-list-parse-list): Parse for checkboxes.
4986         (org-list-to-generic): Introduce and handle new parameters :cbon
4987         and :cboff.
4988         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4989         optional parameter PARAMS.
4991         * org-export-latex.el (org-export-latex-special-chars): Fix
4992         problems with interpreting dollar signs.
4993         (org-inside-latex-math-p): New function.
4994         (org-export-latex-preprocess): Protect all the math fragments.
4996         * org.el (org-latex-regexps): Allow a dash after a dollar.
4998         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4999         mark after copying.
5001         * org-agenda.el (org-run-agenda-series): Have series options set
5002         when finalizing the agenda.
5004         * org-exp.el (org-export-format-source-code-or-example): Protect
5005         the converted examples.
5007         * org.el (org-set-regexps-and-options): Fix the regexp
5008         `org-complex-heading-regexp'.
5010 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5012         * org.el (org-edit-src-get-label-format): New function.
5013         (org-coderef-label-format): New option.
5014         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5015         a label format specification and make sure it is used in the edit
5016         buffer.
5017         (org-edit-src-get-label-format): New function.
5018         (org-store-link): Handle new coderef formats.
5019         (org-link-search): Handle new coderef formats.
5021         * org-footnote.el (org-footnote-create-definition)
5022         (org-footnote-goto-local-insertion-point): Make footnote insertion
5023         work correctly when the "Footnotes" headline is the last line in
5024         the buffer.
5026         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5027         the location.
5029 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5031         * org-w3m.el (org-w3m): New customization group.
5032         (org-w3m-deactivate-mark): New option.
5033         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5034         option say not to.
5036 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5038         * org.el (org-set-font-lock-defaults): Trigger footnote
5039         fontification.
5040         (org-activate-footnote-links): New function.
5041         (org-activate-links): New entry `footnote'.
5043         * org-faces.el (org-footnote): New face.
5045 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5047         * org-macs.el (org-re): Handle the [:word:] class.
5049         * org-exp.el (org-export-preprocess-string): Call
5050         `org-export-protect-colon-examples'.
5051         (org-export-protect-colon-examples): Renamed from
5052         `org-export-protect-examples', and scope limited to lines starting
5053         with a colon.
5055 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5057         * org-exp.el (org-export-preprocess-string): Move the preprocess
5058         hook to after turning on Org-mode.
5059         (org-export-preprocess-after-include-files-hook)
5060         (org-export-preprocess-after-tree-selection-hook)
5061         (org-export-preprocess-before-backend-specifics-hook)
5062         (org-export-preprocess-final-hook): New hooks.
5063         (org-export-preprocess-string): Run the new hooks.
5065         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5067         * org-footnote.el: New file.
5069         * org.el (org-footnote): Require footnote code.
5070         (org-startup-options): Add new footnote options.
5071         (org-mode-map): New keybindig for footnotes.
5072         (org-ctrl-c-ctrl-c): Add function at footnotes.
5073         (org-org-menu): New menu entries for footnotes.
5075         * org-export-latex.el (org-export-as-latex): Pass footnote
5076         variable to preprocessor.
5077         (org-export-latex-preprocess): Treat multiple references to a
5078         footnote.
5080         * org-exp.el (org-export-preprocess-string): Call
5081         `org-footnote-normalize'.
5082         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5083         to preprocessor.
5084         (org-export-as-html): Treat multiple references to a footnote.
5086 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5088         * org-export-latex.el (org-export-latex-links): Handle coderef
5089         links.
5091         * org.el (org-bracket-link-analytic-regexp++): New variable.
5092         (org-make-link-regexps): Initialize
5093         `org-bracket-link-analytic-regexp++'.
5094         (org-store-link): Implement special case in edit-src buffer.
5095         (org-insert-link): No use of ide to insert stored links.
5096         (org-link-search): Implement special case for coderefs.
5098         * org-exp.el (org-export-html-scripts): New constant.
5099         (org-export-html-style-default): Add a new style for highlighted
5100         code.
5101         (org-export-code-refs): New variable.
5102         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5103         Call `org-export-replace-src-segments-and-examples'
5104         No longer call `org-export-protect-examples'.
5105         (org-export-target-internal-links): Take care of coderef targets.
5106         (org-export-last-code-line-counter-value): New variable.
5107         (org-export-replace-src-segments-and-examples): Renamed from
5108         `org-export-replace-src-segments', and modified.
5109         (org-export-format-source-code-or-example): Renamed from
5110         `org-export-format-source-code'.
5111         (org-export-number-lines): New function.
5112         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5114 --------------------------------------------------------------------------
5116 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5118         * org-remember.el (org-remember-handler): Safer way to get a new
5119         buffer accessing the target file.
5121         * org.el (org-refile-get-location): Handle case of current buffer
5122         not having a file associated with it.
5124 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5126         * org-table.el (org-table-get-formula): Only ask to overwrite
5127         field formula if there really is one.
5129         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5130         number, by converting these to a string.
5132         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5133         located in a different file.
5135         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5136         org-colview.el.
5138 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5140         * org.el (org-completion-use-ido): Enhance docstring of
5141         `org-completion-use-ido'.
5143         * org-export-latex.el (org-export-latex-make-header): Double the %
5144         in the time stamp format.
5145         (org-export-latex-special-chars): Handle case where there is no
5146         match group 3.
5148 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5150         * org.el (org-get-refile-targets, org-refile-get-location): Use
5151         expanded file name to improve comparison.
5153 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5155         * org.el (org-scan-tags): Rescan for tags, to get the correct
5156         upcase/downcase stuff.  This slows things down for now, but it
5157         works.
5158         (org-mode): Make sure the tag-faces regexp is initialized.
5160         * org-export-latex.el (org-export-latex-links): Fix bug with
5161         undefined label.
5163         * org-table.el (org-table-get-specials): Set
5164         `org-table-current-last-data-line'.
5165         (org-table-current-last-data-line): New variable.
5166         (org-table-insert-column, org-table-delete-column)
5167         (org-table-move-column, org-table-fix-formulas): Call
5168         `org-table-fix-formulas' a second time to fix the $LR references.
5169         (org-table-get-specials): Add the $LR references to the tables.
5170         (org-table-get-formula): Do not offer last-row names as LHS of
5171         formulas.
5173         * org.el (org-store-link): Capture link description from
5174         `org-id-store-link'.
5176         * org-exp.el (org-export-html-format-image): Add the / to the end
5177         of the <img> tag.
5178         (org-export-format-source-code): Surround example by empty lines,
5179         to make sure it will not be inside a paragraph.
5181         * org.el (org-ido-switchb): New function.
5183 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5185         * org-agenda.el (org-agenda-show): New prefix argument
5186         FULL-ENTRY.
5188         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5189         argument.
5191         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5192         `org-agenda-change-all-lines'.
5193         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5194         tags are now retrieved locally.
5196 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5198         * org.el (org-get-outline-path): Fix bug if level is not given.
5199         (org-org-menu): Do not quote function in menu vector.
5201         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5202         name.
5204 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5206         * org.el (org-refile): Avoid refiling to within the region to be
5207         refiled.
5209         * org-export-latex.el (org-export-latex-special-chars): Replace
5210         special characters also in tables.
5212         * org-agenda.el (org-agenda-change-all-lines): New argument
5213         FORCE-TAGS.
5214         (org-agenda-set-tags): Cet the new tags and pass them to
5215         `org-format-agenda-item'.
5217 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5219         * org-export-latex.el (org-export-latex-classes): Add longable as
5220         a default package to all classes.
5221         (org-export-latex-tables): Handle the longtable attribute and the
5222         align attribute.
5224         * org-table.el (orgtbl-to-generic): Handle tables that start with
5225         a hline.
5227         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5228         \verb for colde-like snippets.
5229         (org-export-as-latex): Fix issues with region export.
5231         * org.el (org-up-heading-safe): Speed up function by using a
5232         direct regexp search.
5233         (org-olpa): New variable.
5234         (org-get-outline-path): Speed-up path constructions in cases where
5235         this is possible because the entire hierarchy is scanned anyway.
5236         (org-refile-get-location): Don't compare the truenames of files,
5237         this is too slow.
5238         (org-goto-max-level): New option.
5239         (org-goto): Use `org-goto-max-level'.
5241 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5243         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5244         Strip angle brackets from message-ids in the former and don't do
5245         it in the latter.
5246         (org-gnus-follow-link): Open summary reliable, even if the last
5247         messages were deleted, and handle empty groups, too.
5249 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5251         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5252         instead of \texttt for the =...= and ~===~ emphasis environments.
5253         (org-export-as-latex): Remove any old :org-license-to-kill text
5254         properties.
5255         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5256         (org-export-latex-make-header): Add some hard space after the
5257         table of contents.
5258         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5259         exported text so that it will be excuded in further steps.
5261         * org-table.el (org-table-get-specials): Make @0 reference the
5262         last line in a table.
5263         (org-table-recalculate): Improve docstring.
5265 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5267         * org.el (org-log-done): Fix docstring.
5269 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5271         * org-exp.el (org-export-html-format-image): Fix bugs.
5273         * org-export-latex.el (org-export-latex-tables)
5274         (org-export-latex-links): Implement attribute, label, and caption
5275         handling.
5277         * org-exp.el (org-export-html-style-default): Add style
5278         definitions for the figure div.
5279         (org-export-preprocess-string, org-export-as-html): Implement
5280         attribute, label, and caption handling.
5281         (org-export-attach-captions-and-attributes): New function.
5282         (org-export-html-format-image): New function.
5283         (org-format-org-table-html): Implement attribute, label, and
5284         caption handling.
5286         * org.el (org-find-text-property-in-string): New function.
5287         (org-extract-attributes): Use the property org-attr instead of
5288         org-attrobutes, because this property is now set with the #+ATTR
5289         lines.
5291 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5293         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5294         the case that FROM is nil.
5296         * org.el (org-before-first-heading-p): New function.
5298 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5300         * org-exp.el (org-export-as-html): Do not add a space before
5301         enforces line breaks.
5302         (org-export-as-html): Close paragraph before blockquote and verse
5303         tags.
5305 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5307         * org-id.el (org-id-locations-file): Wrap file name with
5308         `convert-standard-filename'.
5309         (org-id-files): New variable.
5310         (org-id-use-hash): New option.
5311         (org-id-update-id-locations): Also search in all files current
5312         listed in `org-id-files'.  Convert the resulting alist to a hash
5313         if the user customation says so.
5314         (org-id-locations-save): Handle he case if `org-id-locations' is a
5315         hash.
5316         (org-id-locations-load): Convert the alist to a hash.
5317         (org-id-add-location): Handle the hast case.
5318         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5319         exited.
5320         (org-id-hash-to-alist, org-id-alist-to-hash)
5321         (org-id-paste-tracker): New functions.
5323 -------------------------------------------------------------------------
5325 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5327         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5328         bindings of calendar variables.
5330         * org-table.el (org-table-find-row-type): Renamed from
5331         `org-find-row-type'.
5332         (org-table-rewrite-old-row-references): Renamed from
5333         `org-rewrite-old-row-references'.
5334         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5335         (org-table-cleanup-narrow-column-properties): Renamed from
5336         `org-cleanup-narrow-column-properties'.
5338 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5340         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5341         for better error messages.
5342         (org-table-get-descriptor-line): Supply the new arguments to
5343         `org-find-row-type'.
5344         (org-table-error-on-row-ref-crossing-hline): New option.
5346         * org.el (org-target-link-regexp): Make buffer-local.
5347         (org-move-subtree-down): Fix bug with trees at beginning of
5348         buffer.
5350 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5352         * org-faces.el (org-set-tag-faces): New function.
5353         (org-tags-special-faces-re): New variable.
5355         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5357         * org-faces.el (org-tag-faces): New option.
5358         (org-tag): Mention `org-tag-faces' in the docstring.
5360 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5362         * org-exp.el (org-export-html-style-default): Implement new
5363         quoting.
5365         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5367         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5368         command to the `w3m-minor-mode-map'.
5370         * org-archive.el (org-archive-to-archive-sibling): Protect
5371         `this-command' to avoid appending kills during archiving.
5373         * org-exp.el (org-export-with-priority): New variable.
5374         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5375         instead of internal list of strings and properties.
5376         (org-print-icalendar-entries): Retrieve the location property with
5377         inheritance.
5379 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5381         * org-exp.el (org-export-with-todo-keywords): New option.
5382         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5383         line.
5384         (org-default-export-plist, org-export-add-options-to-plist)
5385         (org-export-as-ascii, org-export-as-html): Use the new structure
5386         of `org-export-plist-vars'.
5388         * org.el (org-map-entries): Return all values.
5390 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5392         * org.el (org-matcher-time): Recognize more special values.
5394         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5396 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5398         * org.el (org-tags-exclude-from-inheritance): New option.
5399         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5400         `org-tags-exclude-from-inheritance'.
5402         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5403         (org-format-agenda-item): Add inherited tags to the agenda line
5404         string, and make sure that properties are kept when downcasing the
5405         tags list.
5406         (org-agenda-add-inherited-tags): New function.
5407         (org-downcase-keep-props): New function.
5409         * org.el (org-scan-tags): Mark inherited tags with a text
5410         property.
5411         (org-get-tags-at): Mark inherited tags with a text property.
5412         (org-add-prop-inherited): New function.
5414         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5415         (org-agenda-show-inherited-tags): New option.
5417 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5419         * org.el (org-modules): Add org-w3m to the default modules.
5421         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5422         orgtbl-mode.
5423         (orgtabl-create-or-convert-from-region): New command.
5425         * org-exp.el (org-export-as-ascii): Remove the handling of
5426         targets.
5427         (org-export-ascii-preprocess): Handle targets already in this
5428         function.
5430 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5432         * org-timer.el (org-timer-start-time): Define this variable.
5433         (org-timer-item): Make argument optional.
5435         * org-list.el (org-insert-item): Automatically insert a timer item
5436         if the current list is a timer list.
5438         * org-timer.el: New file.
5440         * org-publish.el (org-publish-org-index): Only exclude the index
5441         file in the main directory from being added to the site-map.
5442         (org-publish-get-project-from-filename): If the current project is
5443         a component, start publishing from the parent project.
5445 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5447         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5449         * org-publish.el (org-publish-org-index): Improve removal of
5450         temporary buffers.
5452         * org-agenda.el (org-get-closed): Re-apply changes
5453         accidentially overwritten by last commit to Emacs.
5455         * org.el (org-outline-path-complete-in-steps): New option.
5456         (org-refile-get-location): Honor
5457         `org-outline-path-complete-in-steps'.
5458         (org-agenda-change-all-lines, org-tags-sparse-tree)
5459         (org-time-string-to-absolute, org-small-year-to-year)
5460         (org-link-escape): Re-apply changes accidentially overwritten
5461         by last commit to Emacs
5463 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5465         * org-clock.el (org-dblock-write:clocktable): Make sure the
5466         clocktable sees the first line.
5467         (org-clock-in): Warn if the clock cannot be resumed.
5469 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5471         * org.el (org-open-at-point): Fix mixup about interactive and
5472         non-interactive elisp links.
5474 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5476         * org-exp.el (org-export-preprocess-string): Allow one comment
5477         line before the first headline to always be included.  This is
5478         to not miss a commented target.
5480         * org-mouse.el (org-mouse-insert-item): Call
5481         `org-indent-to-column' instead of `indent-to', for XEmacs
5482         compatibility.
5484         * org.el (org-refile-targets): Fix customize definition so
5485         that it works also in XEmacs.
5486         (org-fixup-indentation): Call `org-indent-to-column' instead
5487         of `indent-to', for XEmacs compatibility.
5489 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5491         * org-mew.el (org-mew-store-link): Get the correct case folder
5492         for refiled messages.
5494 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5496         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5497         line break indicators.
5499         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5500         ido-completion propts.
5502 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5504         * org-remember.el (org-remember-apply-template): Use
5505         `org-substring-no-properties'.
5507         * org-compat.el (org-substring-no-properties): New function.
5509         * org-remember.el (org-remember-apply-template): Use
5510         `org-substring-no-properties' for compatibility.
5512         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5513         option.
5514         (org-fix-bullet-type): respect
5515         `org-list-two-spaces-after-bullet-regexp'.
5517         * org-clock.el (org-clock-load): Clean up the code.
5519         * org.el (org-adaptive-fill-function): Allow two spaces after
5520         "1." as a list bullet.
5522 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5524         * org-clock.el (org-clock-save, org-clock-load): Check for
5525         live buffers, existing files, and buffer file names to ensure
5526         consistent information.
5527         (org-clock-persist): Make `clock' a special value of this
5528         variable, and improve docstring.
5530         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5531         (org-get-string-indentation): Adapt indentation when the bullet
5532         width changes.
5534 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5536         * org-remember.el (org-remember-finalize): Make interactive.
5537         (org-remember-kill): New command.
5538         (org-remember-finish-immediately): Call `org-remember-finalize'
5539         directly.
5540         (org-remember-finalize): Make `org-remember-finalize' an interactive
5541         function.
5543 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5545         * org-remember.el (org-remember-apply-template): No ido completion
5546         for free prompts in remember templates.
5547         (org-remember-before-finalize-hook): New hook.
5548         (org-remember-mode): New minor mode.
5549         (org-remember-apply-template): Turn on `org-remember-mode'.
5551         * org-id.el (org-id-add-location): Avoid error when no file is
5552         given.
5554         * org-remember.el (org-remember-apply-template): Fix the way how
5555         the list of allowed properties is retrieved from the target file.
5557         * org.el (org-insert-link): Improve file link matching.
5559 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5561         * org-colview.el (org-columns-display-here): New argument
5562         DATELINE, to trigger using the new face.
5563         (org-agenda-colview-summarize): Call `org-columns-display-here'
5564         with the new argument.
5566         * org-faces.el (org-agenda-column-dateline): New face.
5568         * org-publish.el (org-publish-org-index): Use index-title at page
5569         title, not as section.
5571         * org-exp.el (org-export-html-format-desc): Respect the
5572         org-protect property.
5573         (org-export-as-html): Protect image specifiers that are in the
5574         description part of a link.
5576         * org.el (org-sort-entries-or-items, org-completing-read)
5577         (org-refile-get-location, org-olpath-completing-read, org-todo)
5578         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5579         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5580         (org-set-property, org-delete-property)
5581         (org-delete-property-globally): Use `org-ido-completing-read'.
5583         * org-remember.el (org-remember-apply-template): Use
5584         `org-ido-completing-read'.
5586         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5588         * org-colview.el (org-columns-edit-value, org-columns-new)
5589         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5591         * org-colview-xemacs.el (org-columns-edit-value)
5592         (org-columns-new, org-insert-columns-dblock): Use
5593         `org-ido-completing-read'.
5595         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5596         `org-ido-completing-read'.
5598         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5599         `org-ido-completing-read'.
5601         * org.el (org-time-today): New function.
5602         (org-matcher-time): Use `org-time-today'.  Add special treatment
5603         for "<tomorrow>" and "<yesterday>".
5604         (org-ido-completing-read): New function.
5605         (org-completion-use-ido): New option.
5607         * org-exp.el (org-export-format-source-code): Fix bug in require
5608         htmlize code.
5609         (org-export-target-internal-links): Fix bug in search for text
5610         property.
5612 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5614         * org-export-latex.el (org-export-latex-subcontent): Interprete
5615         target aliases as additonal labels.
5617         * org-exp.el (org-export-target-aliases): New variable.
5618         (org-export-preprocess-string)
5619         (org-export-handle-invisible-targets): Fill the alias alist.
5620         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5621         assign an id.
5622         (org-html-level-start): Insert the target aliases as additonal
5623         anchors.
5625         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5626         picture area.
5628 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5630         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5631         when following a link with the mouse from the agenda.
5633         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5634         headlines are created.
5636 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5638         * org-exp.el (org-export-preprocess-string): Reorder so that we
5639         can still see ID properties when we collect targets.
5640         (org-export-target-internal-links): Also store targets for ID's.
5642         * org.el (org-link-translation-function): New option.
5643         (org-open-at-point): Call `org-link-translation-function' if
5644         non-nil.
5645         (org-translate-link): New function.
5646         (org-translate-link-from-planner): New function.
5647         (org-open-at-point): Allow interactive commands in elisp links.
5649         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5650         iCalendar quoting.  The new one seems to caus problems with
5651         applications.
5653         * org.el (org-yank): Set `this-command' to `yank', so that
5654         `yank-pop' will work.
5656 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5658         * org-id.el (org-id-search-archives): New option.
5660         * org.el (org-link-to-org-use-id): New option.
5661         (org-store-link): Use `org-link-to-org-use-id'.
5662         (org-id): Make org-id.el a standard component.
5664 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5666         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5667         hexified version of the tag.
5669         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5670         compliance as far as quoting is concerned.
5672         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5674         * org.el (org-up-heading-safe, org-forward-same-level): Always
5675         call `org-back-to-heading' instead of `outline-back-to-heading'.
5676         (org-back-to-heading): New wrapper around outline-back-to-heading,
5677         with a useful error message telling where the error happened.
5679         * org-list.el (org-update-checkbox-count): Always call
5680         `org-back-to-heading' instead of `outline-back-to-heading'.
5682         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5683         has an `alt' attribute, to ensure XHTML validation.
5685 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5687         * org-publish.el (org-publish-attachment): Allow publishing to
5688         overwrite attachment files.
5690         * org-agenda.el (org-agenda-timerange-leaders): New option.
5691         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5693         * org.el (org-edit-src-exit): Untabify ASCII image before
5694         returning.
5707 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5709         * org.el (org-yank): Make any prefix force normal yanking.
5710         Suppress folding if text would be swallowed into a folded
5711         subtree.
5712         (org-yank-folded-subtrees, org-yank): Docstring updates.
5714         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5715         defined as 0.
5717         * org-exp.el (org-export-language-setup): Add Catalan and
5718         Esperanto language entries.
5720 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5722         * org.el (org-refile): Allow refiling of entire regions.
5724         * org-clock.el (org-clock-time%): New function.
5726         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5727         retrieve property values.
5729 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5731         * org-agenda.el (org-agenda-list): Handle the value `only' of
5732         org-agenda-show-log'.
5733         (org-agenda-log-mode): Interpret a double prefix arg.
5735 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5737         * org-exp.el (org-export-html-footnotes-section): New variable.
5738         (org-export-as-html): Use `org-export-html-footnotes-section' to
5739         insert the footnotes.
5740         (org-export-language-setup): Add "Footnotes" to language words.
5742 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5744         * org.el (org-yank): Fix bug when not inserting a subtree.
5746 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5748         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5749         instead of `vm-beginning-of-message'.
5751         * org.el (org-make-link-regexps): Make sure that links to gnus can
5752         contain brackets.
5754 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5756         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5757         code.
5759         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5760         shell output.
5762         * org.el (org-link-abbrev-alist): Improve customization type.
5764         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5765         functions.
5767         * org-agenda.el (org-agenda-get-progress): Renamed from
5768         `org-get-closed'.  Implement searching for state changes as well.
5769         (org-agenda-log-mode-items): New option.
5770         (org-agenda-log-mode): New option prefix argument, interpreted as
5771         request to show all possible progress info.
5772         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5773         `org-get-closed'.
5774         (org-agenda-set-mode-name): Handle the more complex log mode
5775         settings.
5776         (org-get-closed): New alias, pointing to `org-get-progress'.
5778 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5780         * org.el (org-file-apps-defaults-gnu)
5781         (org-file-apps-defaults-macosx)
5782         (org-file-apps-defaults-windowsnt): Add an entry defining the
5783         system command.
5784         (org-file-apps): Allow `system' as key and value.
5785         (org-open-at-point): Explain the effect of a double prefix arg.
5786         (org-open-file): If the argument `in-emacs' is (16),
5787         i.e. corresponding to a double prefix argument, try to open the
5788         file externally.
5790 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5792         * org.el (org-insert-link): Abbreviate absolute files names in
5793         links.  Also, fix a bug in which the double C-u prefix would not
5794         be honored.
5796 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5798         * org.el (org-insert-heading): If buffer does not end with a
5799         newline, add one if necessary to insert headline correctly.
5801         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5802         paragraphs, not inside.
5804         * org.el (org-todo): Quote
5805         `org-agenda-headline-snapshot-before-repeat'.
5807         * org-exp.el (org-export-as-html): Fully process link descriptions.
5808         (org-export-html-format-desc): New function.
5809         (org-export-as-html): Collect footnotes into the correct basket.
5810         (org-html-protect): No longer protect quotations marks here, this
5811         goes wrong.
5813         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5814         BEG.
5816         * org-compat.el (org-fit-window-to-buffer): New function (not
5817         really, a preliminary and incomplete version was present earlier,
5818         but not used).
5820         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5821         `org-fit-window-to-buffer'.
5823         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5825         * org-agenda.el (org-agenda-get-restriction-and-command)
5826         (org-fit-agenda-window, org-agenda-convert-date): Use
5827         `org-fit-window-to-buffer'.
5829         * org-exp.el (org-export-as-html): Process href links through
5830         `org-export-html-format-href'.
5831         (org-export-html-format-href): New function.
5833         * org-agenda.el (org-agenda-todo): Update only the current
5834         headline if this is a repeated TODO, marked done for today.
5835         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5836         only the current line.
5838         * org.el (org-todo): Take a snapshot of the headline if the
5839         repeater might change it.
5841 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5843         * org-publish.el (org-publish-find-title): Remove buffers visited
5844         only for extracting the title.
5846         * org-exp.el (org-export-html-style)
5847         (org-export-html-style-default): Mark style definitions as
5848         unparsed CDATA.
5850         * org-publish.el (org-publish-validate-link): Function
5851         re-introduced.
5853 2008-11-02  Charles Sebold  <csebold@gmail.com>
5855         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5856         property.
5857         (org-plot-quote-timestamp-field): New function.
5858         (org-plot-quote-tsv-field): Call timestamp field function when
5859         necessary rather than just quoting as a string.
5860         (org-plot/gnuplot-to-data): Pass in timefmt property.
5861         (org-plot/gnuplot-script): Supports timefmt property.
5862         (org-plot/gnuplot): Checks for timestamp column before checking
5863         for text index column.
5865 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5867         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5869         * org-publish.el (org-publish-org-index): Create a section in the
5870         index file.
5871         (org-publish-org-index): Stop linking to directories.
5873         * org.el (org-emphasis-alist): Use span instead of <u> to
5874         underline text.
5876         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5877         <pre> sections.
5879 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5881         * org-jsinfo.el (org-infojs-template): Remove language attribute
5882         from script tag.
5884 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5886         * org-agenda.el (org-agenda-remove-marked-text): New function.
5887         (org-agenda-mark-filtered-text)
5888         (org-agenda-unmark-filtered-text): New functions.
5889         (org-write-agenda): Remove fltered text.
5891         * org.el (org-make-tags-matcher): Give access to TODO "property"
5892         without speed penalty.
5894 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5896         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5897         option.
5898         (org-store-link-props): Make sure adding to the plist works
5899         correctly.
5901         * org-gnus.el (org-gnus-no-new-news): New function.
5902         (org-gnus-follow-link): Allow the article ID to be a message-id,
5903         in addition to allowing article numbers.  Message IDs make much
5904         more roubust links.
5905         (org-gnus-store-link): Use message-id to create link.
5907 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5909         * org.el (org-emphasize): Reverse the selection array.
5910         (org-emphasis-alist): Set <code> tags for the verbatim
5911         environment.
5913         * org-remember.el (org-remember-handler): Fix bug with
5914         prefix-related changing of the note storage target.
5916         * org-exp.el (org-print-icalendar-entries): Make the exported
5917         priorities compatible with RFC 2445.
5919         * org-clock.el (org-clock-save): Insert time stamp without
5920         dependence on time-stamp.el.
5922 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5924         * org.el ("saveplace"): If saveplace puts point into an invisible
5925         location, make it visible.
5926         (org-make-tags-matcher): Allow inactive time stamps in time
5927         comparisons.
5928         (org-yank-adjusted-subtrees): New option.
5929         (org-yank): Incorporate adjusting trees.
5930         (org-paste-subtree): New argument FOR-YANK which will cause
5931         insertion at point without backing up over white lines, and leave
5932         point at the end of the inserted text.  Also if the cursor is
5933         at the beginning of a headline, use the same level or the inserted
5934         tree.
5936         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5937         with broken symlinks
5939 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5941         * org-exp.el (org-export-select-tags, org-get-current-options):
5942         Fix typo.
5944 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5946         * org-agenda.el (org-format-agenda-item)
5947         (org-agenda-filter-make-matcher): Make sure tags are stored and
5948         compared donwcased.
5950 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5952         * org.el (org-insert-todo-heading): Fix bug with force-heading
5953         argument.
5955 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5957         * org-clock.el (org-clock-in-resume): Add a custom option to
5958         toggle starting the clock from an open clock line.
5959         (org-clock-in): When clocking in to an entry, if
5960         `org-clock-in-resume' is set, check if the first clock line is
5961         open and if so, start the clock from the time in the clock line.
5962         (org-clock-persist): Add a custom option to toggle clock
5963         persistence.
5964         (org-clock-persist-query-save): Add a custom option to toggle
5965         asking the user if they want to save the running clock when
5966         exiting.
5967         (org-clock-persist-query-resume): Add a custom option to toggle
5968         asking the user if they want to resume the saved clock when Emacs
5969         is restarted.
5970         (org-clock-save): Add a function to save clock data.
5971         This includes the contents of `org-clock-history' and the buffer
5972         and position of the currently clocked task, if any.
5973         (org-clock-load): Add a function to load clock data.
5974         This populates `org-clock-history', and resumes the saved clocked
5975         task if there is one.
5976         (org-clock-persistence-insinuate): Add a method to set up the
5977         hooks for clock persistence.
5979 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5981         * org-exp.el (org-export-as-ascii): Handle the case that we are
5982         publishing from an indirect buffer.
5984         * org-table.el (org-table-copy-down): Fix bug with time stamp
5985         increment.
5987         * org-mouse.el (org-mouse-features): New option.
5988         (org-mode-hook): Turn on features depending on
5989         `org-mouse-features'.
5991         * org.el (org-insert-heading-respect-content): Force heading
5992         creation.
5993         (org-insert-heading): keep the folding state of the heading before
5994         the inserted one.
5996 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5998         * org-archive.el (org-archive-to-archive-sibling): Handle top
5999         level headlines better.
6001 2008-10-21  Bastien Guerry  <bzg@altern.org>
6003         * org-export-latex.el (org-export-latex-classes): Added
6004         \usepackage{graphicx} to the default list of packages.
6006 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6008         * org-agenda.el (org-agenda-filter): Renamed from
6009         `org-agenda-filter-tags'.
6011 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6013         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6014         is not defined as a property in this entry.
6015         (org-add-log-note): Mask prefix argument when immediately storing
6016         the note.
6018         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6019         option.
6021 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6023         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6024         after drawers was skipping ahead one line too many, so notes were
6025         inserted after the first note instead of before it.
6027 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6029         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6030         New variables.
6031         (org-prepare-agenda): Reset the filter tags.
6032         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6033         Show filter tags in mode line.
6035         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6036         formatter.
6038         * org-export-latex.el (org-latex-entities-regexp): New constant.
6039         (org-export-as-pdf): Use two calls to `shell-command'.
6041 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6043         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6044         Honor the {} value of the subsuperscript setting.  Make sure that
6045         longer subsuperscripts are typeset in a roman font.
6047         * org.el (org-clock-update-time-maybe): Compute negative clock
6048         intervals correctly.
6050 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6052         * org.el (org-add-log-setup): Respect
6053         `org-log-state-notes-insert-after-drawers'.
6054         (org-log-state-notes-insert-after-drawers): New option.
6055         (org-todo-trigger-tag-changes): New function.
6056         (org-todo): Call `org-todo-trigger-tag-changes'.
6058 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6060         * org.el (org-add-log-setup): Only skip drawers if the are
6061         immediately after the scheduling keywords.
6063         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6064         function
6065         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6066         call it with the current todo state to get the state to switch to
6067         when clocking in.
6068         (org-clock-in): Use org-indent-line-function to indent clock lines.
6069         (org-clock-find-position): Fix indentation of empty clock drawers.
6071 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6073         * org-publish.el (org-publish-org-to): Handle case when
6074         org-export-to-pdf does return a file name, not a buffer.
6075         (org-publish-org-to-pdf): New function.
6077         * org-export-latex.el (org-export-as-pdf)
6078         (org-export-as-pdf-and-open): New commands.
6080         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6081         forms as ranges.
6083         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6084         things in protexted regions.
6086 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6088         * org-export-latex.el (org-export-latex-preprocess): Improve
6089         quoting of LaTeX environments.
6091 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6093         * org.el (org-edit-fixed-width-region): Exclude final newline from
6094         picture area.
6096         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6097         sections, to make internal links work.
6098         (org-export-latex-fontify-headline): Do not remove all text
6099         properties, to make sure that target properties survive this
6100         process.
6102         * org-exp.el (org-export-preprocess-string): Change sequence of
6103         modifications, to make sure links are prepared before the LaTeX
6104         conversions do happen.
6106 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6108         * org-attach.el (org-attach-delete-all): Renamed from
6109         `org-attch-delete'.  Add a security query before deleting the
6110         entire directory.  New optional argument FORCE can overrule the
6111         security query.
6112         (org-attach-delete-one): New command.
6114 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6116         * org-attach.el (org-attach-file-list): Fix bug with directory.
6118 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6120         * org.el (org-apps-regexp-alist): New function.
6121         (org-file-apps): Add auto-mode to the default value.
6122         (org-open-file): Use the new structure of org-file-apps.
6124         * org-attach.el (org-attach): Support the new keys.
6125         (org-attach-method): New option.
6127 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6129         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6130         March.
6132         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6133         of the list value o `org-use-tag-inheritance'.
6135         * org-attach.el (org-attach-auto-tag): New option.
6136         (org-attach-tag, org-attach-untag): New functions.
6137         (org-attach-attach, org-attach-new, org-attach-sync): Call
6138         `org-attach-tag'.
6139         (org-attach-delete): Call `org-attach-untag'.
6141 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6143         * org-table.el (orgtbl-self-insert-command): Make this work for
6144         the keypad as well.
6146 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6148         * org.el (org-add-log-setup): Limit searc for drawers to entry
6149         text, not to subtree.
6151         * org-clock.el (org-clock-heading-for-remember): New variable.
6152         (org-clock-in): Set `org-clock-heading-for-remember'.
6154 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6156         * org-remember.el (org-remember-apply-template): Add new
6157         expansions: %k, %K for currently clocked task and a link to the
6158         currently clocked task, and %< to file notes in the currently
6159         clocked task.
6161 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6163         * org-export-latex.el (org-export-latex-make-header): Also insert
6164         the content of the property :latex-header-extra.
6166         * org-exp.el (org-infile-export-plist): Put the content of
6167         #+LATEX_HEADER: into the property :latex-header-extra.
6169         * org-colview.el (org-columns-get-format-and-top-level): Remove
6170         resetting the marker.
6172         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6173         Remove resetting the marker.
6175         * org.el (org-entry-property-inherited-from): Improve docstring.
6176         (org-entry-get-with-inheritance): Reset marker before starting the
6177         search.
6179         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6181 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6183         * org.el (org-entry-get-multivalued-property)
6184         (org-entry-protect-space, org-entry-restore-space): New
6185         functions.
6186         (org-file-apps-defaults-macosx): Let postscript files be opened by
6187         preview.
6188         (org-time-stamp-inactive): Call `org-time-stamp'.
6189         (org-time-stamp): New argument `inactive'.  Also edit inacive
6190         stamps. Convert time stamp type.
6191         (org-open-file): Interpret the `default' value for the `command'
6192         in `org-file-apps'.
6194         * org-id.el (org-id-int-to-b36-one-digit)
6195         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6196         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6197         b36.
6199 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6201         * org-id.el (org-id-reverse-string): New function.
6202         (org-id-new): Use `org-id-reverse-string' to make sure the
6203         beginning chars of the ID are mutating fast.  This allows to use a
6204         directory structure to spread things better.
6205         (org-id-prefix): Changed default to nil.
6207         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6208         restore the column of the cursor position.
6210         * org-remember.el (org-remember-apply-template): Remove properties
6211         from `initial'.
6213 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6215         * org-wl.el (org-wl-open): Remove useless call to
6216         `wl-thread-open-all'.
6218         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6219         location.
6221 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6223         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6224         `org-bbdb-anniversaries'.
6226         * org.el (org-get-next-sibling, org-forward-same-level): New
6227         functions, similar to the outline versions, but invisible headings
6228         are OK.
6230 2008-09-25  Bastien Guerry  <bzg@altern.org>
6232         * org.el (org-auto-repeat-maybe): Insert a space between
6233         the timestamp's type and the timestamp itself.
6235 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6237         * org-table.el (org-table-sum): Do not format the result with %g,
6238         it does rounding when there are too many digits.
6240         * org.el (org-map-entries): Protect the keyword-selecting variables.
6242 2008-09-23  Bastien Guerry  <bzg@altern.org>
6244         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6245         against all agenda files.
6247 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6249         * org-list.el: New file, aggregating list functions from org.el
6250         and org-export-latex.el.
6252         * org.el (org-edit-src-region-extra): New option.
6254 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6256         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6257         time before 1am.
6259 2008-09-22  Bastien Guerry  <bzg@altern.org>
6261         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6263 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6265         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6266         hline work correctly.
6267         (org-plot/gnuplot-script): Put commas at the end of each script
6268         line.
6270 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6272         * org.el (org-get-refile-targets): Replace links with their
6273         descriptions
6274         (org-imenu-get-tree): Replace links with their descriptions.
6276         * org-remember.el (org-remember-apply-template): Add a new
6277         expansion for adding properties to remember items.
6279         * org.el (org-add-log-setup): Skip over drawers (properties,
6280         clocks etc) when adding notes.
6282         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6283         items as well as the start and end times.
6285         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6286         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6288         * org-remember.el (org-get-x-clipboard): Use the compat
6289         function to get clipboard values when x-selection-value is
6290         unavailable. Use substring-no-properties instead of
6291         set-text-properties to remove text properties from the clipboard
6292         value.
6294         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6295         modeline clock string, and display the full todo value in the
6296         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6297         the currently clocked task.
6298         (org-clock-string-limit): Add a custom value for the maximum
6299         length of the clock string in the modeline.
6300         (org-clock-mode-map): Add a keymap for the modeline string
6302 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6304         * org-compat.el (org-propertize): New function.
6306 2008-09-20  Bastien Guerry  <bzg@altern.org>
6308         * org-export-latex.el (org-export-latex-tables): protect exported
6309         tables from further special chars conversion.
6310         (org-export-latex-preprocess): Preserve LaTeX environments.
6311         (org-list-parse-list): Parse descriptive lists.
6312         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6313         (org-list-to-texinfo): Export descriptive lists.
6314         (org-quote-chars): Remove.
6315         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6316         (org-export-latex-list-beginning-re): Rename to
6317         `org-list-beginning-re'
6318         (org-list-item-begin): Rename to `org-list-item-beginning'
6320 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6322         * org.el (org-refile): Allow refiling to the last entry in the
6323         buffer.
6324         (org-get-tags-at): Fix bug when inheritance is turned off.
6326 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6328         * org.el (org-indent-line-function): No longer check for src
6329         regions, this is too much overhead.
6331         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6332         matching.
6334         * org.el (org-scan-tags): Make sure that tags matching is not case
6335         sensitive.  TODO keyword matching is case sensitive, however, to
6336         avoid confusion with similar words that are not meant to be
6337         keywords.
6339 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6341         * org.el (org-get-local-tags-at): New function.
6342         (org-get-local-tags): New function.
6344         * org-exp.el (org-export-get-categories): New function.
6346         * org-agenda.el (org-sorting-choice)
6347         (org-agenda-sorting-strategy, org-agenda-get-todos)
6348         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6349         (org-agenda-get-scheduled, org-agenda-get-blocks)
6350         (org-entries-lessp): Implement sorting by TODO state.
6351         (org-cmp-todo-state): New defsubst.
6353         * org-colview.el (org-colview-construct-allowed-dates): New
6354         function.
6355         (org-columns-next-allowed-value): Use
6356         `org-colview-construct-allowed-dates'.
6358         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6359         function.
6360         (org-columns-next-allowed-value): Use
6361         `org-colview-construct-allowed-dates'.
6363 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6365         * org.el (org-protect-slash): New function.
6366         (org-get-refile-targets): Use `org-protect-slash'.
6368         * org-agenda.el (org-global-tags-completion-table): New variable.
6370         * org-exp.el (org-export-handle-export-tags): New function.
6371         (org-export-preprocess-string): Call
6372         `org-export-handle-export-tags'.
6374         * org-plot.el: New file.
6376         * org-publish.el (org-publish-expand-components): Function removed.
6377         (org-publish-expand-projects): Allow components to have components.
6379 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6381         * org.el (org-indent-line-function): Do not indent in regions that
6382         are external source code.
6383         (org-yank-and-fold-if-subtree): New function.
6385         * org-agenda.el (org-agenda-todayp): New function.
6386         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6387         `org-agenda-todayp'.
6389         * org.el (org-insert-heading-respect-content)
6390         (org-insert-todo-heading-respect-content): New commands.
6391         (org-insert-heading-respect-content): New option.
6392         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6394         * org-clock.el (org-clock-find-position): Make sure the note after
6395         the clock line gets moved into the new clock drawer.
6397 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6399         * org-id.el (org-id-new): New option.
6401 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6403         * org-table.el (org-table-copy-down): Avoid overflow during
6404         increment.  Use prefix argument 0 to temporarily disable the
6405         increment.
6407 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6409         * org-exp.el (org-export-as-html): Do not turn on the major mode
6410         if the buffer will be killed anyway.
6411         (org-get-current-options): Exclude the #+TEXT field.
6412         (org-export-as-html): Make sure text before the first headline is
6413         a paragraph.
6415         * org-publish.el (org-publish-org-to): Tell the exporter that this
6416         buffer will be killed, so it is not necessary to do major mode
6417         initialization.
6419         * org-archive.el (org-archive-to-archive-sibling): Show empty
6420         lines after folding the archive sibling.
6422         * org.el (org-log-note-extra): New variable.
6424 2008-09-05  Bastien Guerry  <bzg@altern.org>
6426         * org.el (org-additional-option-like-keywords): Added keywords for
6427         the _QUOTE, _VERSE and _SRC environments.
6429         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6430         exporting _QUOTE and _VERSE environments.
6432 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6434         * org-agenda.el (org-agenda-filter-by-tag): New command.
6436         * org-exp.el (org-get-current-options): Remove angular brackets
6437         from the date entry.
6439         * org.el (org-edit-fixed-width-region): New function.
6440         (org-edit-fixed-width-region): Also try
6441         `org-edit-fixed-width-region'.
6442         (org-edit-fixed-width-region-mode): New option.
6443         (org-activate-code): Only interprete lines starting with colon
6444         plus a space as example lines.
6446         * org-remember.el (org-remember-templates): Add nil instead of
6447         empty strings to fix the length of remember templates.
6449         * org-table.el (org-calc-default-modes): Fix the time format for
6450         calc, from 12 hour to 24 hour clock.
6452 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6454         * org-agenda.el (org-agenda-get-deadlines)
6455         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6456         entries that are pre-warnings of deadlines or reminders.
6458         * org.el (org-sort-entries-or-items): Make numeric and alpha
6459         comparisons ignore any TODO keyword and priority cookie.
6461         * org-remember.el (org-remember-handler): Reinterpretation of the
6462         prefix argument.
6464 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6466         * org-agenda.el (org-agenda-get-scheduled): Use new
6467         `org-scheduled' face.
6469         * org-faces.el (org-scheduled): New face.
6471         * org-wl.el (org-wl-open): Remove incorrect declaration.
6473         * org-gnus.el (org-gnus-store-link): Support for :to information
6474         in gnus links.
6476         * org-exp.el (org-export-as-html): Fixed typo in creator
6477         information.
6478         (org-export-protect-examples): New parameter indent.  Insert extra
6479         spaces only when this parameter is specified.
6480         (org-export-preprocess-string): Call `org-export-protect-examples'
6481         with an indentation parameter when exporting to ASCII.
6483         * org-remember.el (org-remember-templates)
6484         (org-remember-apply-template): Allow the file component to be a
6485         function.
6487         * org.el (org-goto-local-search-headings): Renamed from
6488         `org-goto-local-search-forward-headings'.  Added the possibility
6489         to search backwards.
6491 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6493         * org-export-latex.el (org-export-latex): New customization
6494         group.
6496         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6498 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6500         * org-exp.el (org-html-do-expand): Allow {} to terminate
6501         tex macro
6503 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6505         * org.el (org-buffer-list): Select buffers based on major mode,
6506         not on file name.
6508 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6510         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6511         face property.
6513         * org-colview.el (org-columns-display-here): Use
6514         `org-columns-modify-value-for-display-function'.
6516         * org-colview-xemacs.el (org-columns-display-here): Use
6517         `org-columns-modify-value-for-display-function'.
6519 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6521         * org.el (org-columns-modify-value-for-display-function): New option.
6533         * org-publish.el (org-publish-file): Make sure the directory match
6534         for the publishing directory works correctly.
6536         * org-agenda.el (org-agenda-execute-calendar-command)
6537         (org-agenda-diary-entry): Additional optional argument.
6539 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6541         * org-exp.el (org-export-as-html): Add attributes also in mailto
6542         and ftp links.
6544         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6553 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6555         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6556         sure that calls from `org-export-region-as-html' do not do the
6557         special check for a subtree.
6559 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6561         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6563 2008-07-20  Juri Linkov  <juri@jurta.org>
6565         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6566         new keymap `narrow-map' instead of binding "\C-xns".
6568 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6570         * org.el (org-open-file): Use
6571         `org-open-directory-means-index-dot-org'.
6572         (org-open-directory-means-index-dot-org): New option.
6574 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6576         * org.el (org-make-link-string): Remove link attributes from
6577         description.
6578         (org-open-at-point): Remove link attributes bevore using the path.
6580         * org-exp.el (org-export-as-html): Handle link attributes.
6582         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6584         * org-table.el (org-table-to-lisp): New function.
6586         * org.el (org-narrow-to-subtree): Do not include the final newline
6587         into the narrowed region.
6589         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6590         bug with user-define skipping condition.
6592 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6594         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6596 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6598         * org-exp.el (org-export-html-style-default): Automatic overflow
6599         handling for pre fields.
6600         (org-export-as-ascii, org-export-as-html): Change default format
6601         for time stamp.
6603         * org-table.el (org-table-export): Offer completion for translator
6604         functions, and do not require a heading above the table.
6606         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6607         Cater for the case of a list starting in the first line of the
6608         buffer.
6610 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6612         * org-publish.el (org-publish-find-title): Bug fix.
6613         (org-publish-org-index): Implement new :index-style option.
6615 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6617         * org-publish.el (org-publish-timestamp-filename): Use
6618         SHA1-encoded file names in the timestamp directory.
6620 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6622         * org-publish.el (org-publish-needed-p): Be verbose about files
6623         published and files skipped.
6625         * org-exp.el (org-export-preprocess-string): Swap link
6626         normalization and inernal link targeting.
6628         * org-publish.el (org-publish-needed-p): Create timestamp
6629         directory when it does not exist.
6631 2008-07-04  Bastien Guerry  <bzg@altern.org>
6633         * org-clock.el (org-clock-out-when-done): Doc fix.
6635         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6637         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6638         Ignore case when searching for the COMMENT cookie at export time.
6640 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6642         * org-exp.el (org-get-file-contents)
6643         (org-get-and-remove-property): New functions.
6644         (org-export-handle-include-files): Handle the new prefix options.
6645         (org-export-as-html): Fix the verse environment.
6647 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6649         * org.el (org-time=, org-time<, org-time<=, org-time>)
6650         (org-time>=, org-time<>, org-2ft): New functions.
6651         (org-op-to-function): Also provide for the time testing fucntions.
6653 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6655         * org-exp.el (org-export-html-style-default): New constant.
6657 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6659         * org-exp.el (org-export-html-style-extra): New variable.
6660         (org-export-splice-style): New function.
6662 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6664         * org-exp.el (org-export-plist-vars, org-export-as-html):
6665         Implement `org-export-creator-info'.
6666         (org-export-creator-info): New option.
6668 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6670         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6671         (org-property-drawer-re, org-clock-drawer-re): New constants.
6673 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6675         * org-exp.el (org-icalendar-use-deadline)
6676         (org-icalendar-use-scheduled): New options.
6677         (org-icalendar-include-todo): Default changed to t.
6678         (org-print-icalendar-entries): Implement better utilization of
6679         scheduling and deadline time stamps.
6680         (org-export-target-internal-links, org-export-as-html): Allow file
6681         lines without the "file:" prefix if the file path is an absolute
6682         path or starts with ".".
6684         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6685         lastweek etc.
6686         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6688 2008-06-18  Glenn Morris  <rgm@gnu.org>
6689         * org.el (org-map-entries): Let-bind `file'.
6691 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6693         * org.el (org-agenda-skip-archived-trees): Docstring now
6694         discourages using this.
6695         (org-scan-tags): Check for org-agenda-archives-mode.
6696         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6697         (org-agenda-files): Functionality of second arg changed.
6699         * org-agenda.el (org-agenda-archives-mode): New variable
6700         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6701         (org-search-view, org-todo-list, org-tags-view)
6702         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6703         `ifmode' argument.
6704         (org-agenda-quit): Reset the archives mode.
6705         (org-agenda-archives-mode): New command.
6706         (org-agenda-set-mode-name): Include archives info.
6708 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6710         * org.el (org-paste-subtree): Make sure the yanked headline is
6711         visible if it was yanked at a visible point.
6712         (org-move-item-up): Fix the bug with moving white space at the end
6713         of the item.
6714         (org-show-empty-lines-in-parent): New function.
6716 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6718         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6720         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6722         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6723         agenda prefix as well.
6725         * org-publish.el (org-publish-org-index): Make a properly indented
6726         list.
6728         * org.el (org-calendar-agenda-action-key): New option.
6729         (org-get-cursor-date): New function.
6730         (org-mark-entry-for-agenda-action): New command.
6731         (org-overriding-default-time): New variable.
6732         (org-read-date): Respect `org-overriding-default-time'.
6734         * org-remember.el (org-remember-apply-template): Respect the
6735         ovverriding default time.
6737         * org-agenda.el (org-agenda-action-marker): New variable.
6738         (org-agenda-action): New command.
6739         (org-agenda-do-action): New function.
6741 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6743         * org.el (org-schedule, org-deadline): Protect scheduled and
6744         deadline tasks against changes that accidently remove the
6745         repeater.  Also show a message with the new date when done.
6747 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6749         * org.el (org-beginning-of-line): Cater for the case when there
6750         are tags but no headline text.
6751         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6752         it set.
6754 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6756         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6757         the return value is nil instead of "nil" when there is no match.
6759         * org-exp.el (org-insert-centered): Use fill-column instead of
6760         80.
6761         (org-export-as-ascii): Use string-width to measure the width of
6762         the heading.
6764         * org.el (org-diary-to-ical-string): No longer kill buffer
6765         FROMBUF, this is now done by the caller.
6767         * org-exp.el (org-print-icalendar-entries): Move the call to
6768         `org-diary-to-ical-string' out of the loop, and kill the buffer
6769         afterwords.
6771         * org-remember.el (org-remember-visit-immediately): Position
6772         cursor after moving to the note.
6773         (org-remember-apply-template): Use a text property to record the
6774         cursor position.
6775         (org-remember-handler): Align tags after pasting the note.
6777 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6779         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6781         * org-agenda.el (org-agenda-open-link): If there is an
6782         org-bbdb-name property in the current line, jump to that bbdb
6783         entry.
6785         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6786         text property, so that the agenda knows where this entry comes
6787         from.
6789         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6790         interaction between clocking-in from the agenda, and  automatic
6791         task state switching.
6793         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6795         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6796         zmacs-region stays after this command in XEmacs.
6798 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6800         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6802         * org-remember.el (org-remember-templates): Fix bug in
6803         customization type definition.
6805         * org.el (org-map-entries): New function.
6807 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6809         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6810         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6812 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6814         * org-remember.el (org-jump-to-target-location): New variable.
6815         (org-remember-apply-template): Set
6816         `org-remember-apply-template' if requested by template.
6817         (org-remember-handler): Start an idle timer to jump to
6818         remember location.
6820         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6822         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6823         file tags.
6824         (org-get-tags-at): Add the content of `org-file-tags'.
6826         * org-exp.el (org-export-handle-comments): Fix bug with several
6827         comment lines after each other.
6828         (org-number-to-roman, org-number-to-counter): New functions.
6829         (org-export-section-number-format): New option.
6831 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6833         * org-exp.el (org-export-protect-examples): Catch the case of a
6834         missing end_example line.
6836         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6837         `org-file-tags' to nil.
6839         * org-colview.el (org-columns-next-allowed-value): Handle next
6840         argument NTH to directly select a value.
6842         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6843         argument NTH to directly select a value.
6845 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6847         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6849 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6851         * org.el (org-columns-ellipses): New option.
6853 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6855         * org-colview.el (org-columns-add-ellipses): New function.
6856         (org-columns-compact-links): New function.
6857         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6858         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6859         when in agenda.
6860         (org-columns-edit-value): Fixed bug with editing values from
6861         agenda column view.
6862         (org-columns-redo): Also redo the agenda itself.
6864 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6866         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6867         option.
6869         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6871         * org-exp.el (org-export-ascii-preprocess): Renamed from
6872         `org-export-ascii-clean-string'.
6873         (org-export-kill-licensed-text)
6874         (org-export-define-heading-targets)
6875         (org-export-handle-invisible-targets)
6876         (org-export-target-internal-links)
6877         (org-export-remove-or-extract-drawers)
6878         (org-export-remove-archived-trees)
6879         (org-export-protect-quoted-subtrees)
6880         (org-export-protect-verbatim, org-export-protect-examples)
6881         (org-export-select-backend-specific-text)
6882         (org-export-mark-blockquote-and-verse)
6883         (org-export-remove-comment-blocks-and-subtrees)
6884         (org-export-handle-comments, org-export-mark-radio-links)
6885         (org-export-remove-special-table-lines)
6886         (org-export-normalize-links)
6887         (org-export-concatenate-multiline-links)
6888         (org-export-concatenate-multiline-emphasis): New functions,
6889         obtained from spliiting the export preprocessor.
6891         * org-table.el (org-table-recalculate): Improve error message if
6892         the row number is invalid.
6894 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6896         * org-archive.el (org-archive-save-context-info): Fix bugs in
6897         customization setup and docstring.
6899         * org-exp.el (org-export-html-style): Changed the size of in the
6900         <pre> element to 90%.
6902 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6904         * org.el (org-find-src-example-start): Function removed.
6905         (org-edit-src-find-region-and-lang): New function.
6907 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6909         * org.el (org-edit-src-exit): New function.
6910         (org-exit-edit-mode): New minor mode.
6912         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6913         comment-like lines from protected examples.
6915         * org.el (org-edit-src-example, org-find-src-example-start)
6916         (org-protect-source-example, org-edit-special): New functions.
6918 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6920         * org-publish.el (org-publish-project-alist): Fix typo in
6921         docstring.
6922         (org-publish-project-alist): Handle :index-title property.
6924 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6926         * org-export-latex.el (org-export-as-latex): Make sure region
6927         bounds are correct.  Parse subtree properties relating to export.
6929         * org-exp.el (org-export-add-options-to-plist): New function.
6930         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6932 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6934         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6935         EXPORT_TITLE.
6937         * org-exp.el (org-export-get-title-from-subtree)
6938         (org-export-as-ascii, org-export-as-html): Make sure the original
6939         region-beginning and region-end are used, even after moving
6940         point.
6941         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6942         property.
6944         * org-remember.el (org-remember-last-stored-marker): New variable.
6945         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6946         (org-remember-handler): Also use marker to remember
6947         last-stored position.
6949         * org.el (org-goto-marker-or-bmk): New function.
6951 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6953         * org.el (org-file-properties): Renamed from `org-local-properties'.
6954         (org-scan-tags): Take file tags into account.
6955         (org-tags-match-list-sublevels): Default changed to t.
6957         * org-exp.el (org-export-as-html): Close paragraph after a
6958         footnote.
6960         * org.el (org-update-parent-todo-statistics): New function.
6962         * org-exp.el (org-icalendar-store-UID): New option.
6963         (org-icalendar-force-UID): Option removed.
6964         (org-print-icalendar-entries): IMplement UIDs.
6966 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6968         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6970 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6972         * org-faces.el (org-column): Document how this face is being used
6973         and why sometimes the background faces shine through.
6975         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6977         * org-publish.el (org-publish-attachment): Create publishing
6978         directory if it does not yet exist.
6980         * org-table.el (org-calc-default-modes): Change default number
6981         format to (float 8).
6983         * org.el (org-olpath-completing-read): New function.
6984         (org-time-clocksum-format): New option.
6985         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6987         * org-clock.el (org-clock-display, org-clock-out)
6988         (org-update-mode-line): Use `org-time-clocksum-format'.
6990         * org-colview-xemacs.el (org-columns-number-to-string): Use
6991         `org-time-clocksum-format'.
6993         * org-colview.el (org-columns-number-to-string): Use
6994         `org-time-clocksum-format'.
6996 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6998         * org-id.el: New file, move from contrib to core.
7000         * org-exp.el (org-icalendar-force-UID): New option.
7002 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7004         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7005         shifted by one day if theere is a date range without an end
7006         time.
7008         * org.el (org-try-structure-completion): New function.
7010 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7012         * org.el (org-set-font-lock-defaults): Improve fontification of
7013         description lists.
7014         (org-insert-item): Handle description lists.
7015         (org-adaptive-fill-function): Improve auto indentation in
7016         description lists.
7018         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7019         Implement VERSE environment.
7020         (org-export-preprocess-string): Implement the COMMENT
7021         environment.
7023         * org-export-latex.el (org-export-latex-preprocess): Implement
7024         VERSE environment.
7026 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7028         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7029         option.
7031 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7033         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7035         * org.el (org-quote-csv-field): New functions.
7037         * org-table.el (org-table-export-default-format): Remove :splice
7038         from default format, we get the same effect by not specifying
7039         :tstart and :tend.
7040         (org-table-export): Improve setup, distinguish better between
7041         interactive and non-interactive use, allow specifying the format
7042         on the fly, better protection against wrong file names.
7043         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7044         and :tend when :splice is omitted.
7046 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7048         * org-clock.el (org-clock-select-task): Make sure the selection
7049         letters are 1-9 and A-Z, no special characters.
7051 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7053         * org-exp.el (org-export-htmlize): New group.
7054         (org-export-htmlize-output-type)
7055         (org-export-htmlize-css-font-prefix): New options.
7056         (org-export-htmlize-region-for-paste): New function.
7057         (org-export-htmlize-generate-css): New command.
7059 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7061         * org/org.el (org-modules, org-format-latex-options):
7062         * org/org-archive.el (org-archive-stamp-time)
7063         (org-archive-save-context-info):
7064         * org/org-faces.el (org-hide):
7065         * org/org-irc.el (org-irc-parse-link):
7066         * org/org-macs.el (org-call-with-arg, org-autoload):
7067         * org/org-mew.el (org-mew-store-link):
7068         * org/org-remember.el (org-remember-store-without-prompt)
7069         (org-remember-templates): Fix typos in docstrings.
7071         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7073         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7074         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7075         (org-bbdb-anniv-split): Fix typos in docstrings.
7077         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7078         (org-publish-use-timestamps-flag): Reflow docstring.
7079         (org-publish-files-alist): Fix typos in docstring.
7081 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7083         * org.el (org-set-visibility-according-to-property): New function.
7084         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7085         and compute the regular expressions, and update font-lock.
7086         (org-property-re): Allow a dash in property names.
7088         * org-archive.el (org-extract-archive-file): Insert the file name
7089         without the path into the format, to allow the location format to
7090         contain a subdirectory.
7092         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7093         of buffer, and the `org-agenda-type' property undefined, use the
7094         value from the character before.
7096         * org.el (org-add-planning-info): Don't let indentation for
7097         would-be timestamp become extra whitespace at the end of headline.
7099 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7101         * org.el (org-remove-double-quotes, org-file-contents): New
7102         functions.
7104         * org-exp.el (org-infile-export-plist): Also parse the
7105         contents of #+SETUPFILE files, recursively.
7107         * org.el (org-set-regexps-and-options): Also parse the
7108         contents of #+SETUPFILE files, recursively.
7110         * org-exp.el (org-export-handle-include-files): New function.
7111         (org-export-preprocess-string): Call
7112         `org-export-handle-include-files'.
7114         * org.el (org-delete-property-globally)
7115         (org-delete-property, org-set-property): Ignore case during
7116         completion.
7117         (org-set-property): Use `org-completing-read' instead of
7118         `completing-read'.
7120         * org.el (org-complete-expand-structure-template): New,
7121         experimental function.
7122         (org-structure-template-alist): New, experimental option.
7123         (org-complete): Call `org-complete-expand-structure-template'.
7125 2008-05-06  Bastien Guerry  <bzg@altern.org>
7127         * org-export-latex.el (org-export-latex-preprocess): Added
7128         support for blockquotes.
7130 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7132         * org.el (org-read-date-analyze): Catch the case where only a
7133         weekday is given.
7135 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7137         * org.el (org-set-font-lock-defaults): Make the description
7138         tag bold.
7140         * org-exp.el (org-export-as-html, org-close-li): Implement
7141         description lists.
7143 2008-05-04  Jason Riedy  <jason@acm.org>
7145         * org-table.el (*orgtbl-default-fmt*): New variable.
7146         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7147         when there is no other fmt available.
7149         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7150         :tend to suppress the appropriate string.
7152         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7153         table.
7155 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7157         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7158         read date.
7160         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7161         New function.
7163         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7164         New function.
7166 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7168         * org-clock.el (org-clock-find-position): Don't include notes
7169         into clock drawer.
7171         * org-archive.el (org-archive-subtree): No longer remove an
7172         extra line after cutting the subtree.  `org-cut-subtree' already
7173         takes care of this.
7175         * org-remember.el (org-remember-handler): Only kill the target
7176         buffer if it does not contain the running clock.
7178         * org.el (org-markers-to-move): New variable.
7179         (org-save-markers-in-region, org-check-and-save-marker)
7180         (org-reinstall-markers-in-region): New function.
7181         (org-move-subtree-down, org-copy-subtree): Remember relative
7182         marker positions before cutting.
7183         (org-move-subtree-down, org-paste-subtree): Restore relative
7184         marker positions after pasting.
7186         * org-remember.el (org-remember-clock-out-on-exit): New option.
7187         (org-remember-finalize): Clock out only if the setting in
7188         `org-remember-clock-out-on-exit' requires it.
7189         (org-remember-handler): Do the cleanup in the buffer, to make sure
7190         that the clock marker remains in tact.
7192 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7194         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7195         (org-clock-in): Make sure that also tasks outside the narrowed
7196         region will be clocked in correctly.
7197         (org-clock-insert-selection-line): Widen the buffer so that we can
7198         find the correct task heading.
7200         * org.el (org-base-buffer): New function.
7202         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7203         and ";" are escaped.
7204         (org-print-icalendar-entries): Also apply
7205         `org-icalendar-cleanup-string' to the headline, not only to the
7206         summary property.
7208 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7210         * org-exp.el (org-export-preprocess-hook): New hook.
7211         (org-export-preprocess-string): Call
7212         `org-export-preprocess-hook'.
7214         * org.el (org-font-lock-hook): New variable.
7215         (org-font-lock-hook): New function.
7216         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7218 ;; Local Variables:
7219 ;; coding: utf-8
7220 ;; add-log-time-zone-rule: t
7221 ;; End:
7223     Copyright (C) 2008  Free Software Foundation, Inc.
7225   This file is part of GNU Emacs.
7227   GNU Emacs is free software: you can redistribute it and/or modify
7228   it under the terms of the GNU General Public License as published by
7229   the Free Software Foundation, either version 3 of the License, or
7230   (at your option) any later version.
7232   GNU Emacs is distributed in the hope that it will be useful,
7233   but WITHOUT ANY WARRANTY; without even the implied warranty of
7234   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7235   GNU General Public License for more details.
7237   You should have received a copy of the GNU General Public License
7238   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7240 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c